You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
9.3 KiB
1 lines
9.3 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-payment_on_behalf-pay_status"],{"0d18":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("451d"),i=n("666f"),o=n("26cb"),u=r(n("66ca")),d=n("8ba8"),s={mixins:[u.default],data:function(){return{loading:!1,isAuto:!1,isShowAuth:!1,resData:{}}},computed:(0,o.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){t&&(void 0).getDetail()},deep:!0}},onLoad:function(t){if(this.options=t,!t.order_id)return this.$util.Tips({title:this.$t("缺少参数无法查看订单支付状态")},{tab:3,url:1});this.orderId=t.order_id},onShow:function(){this.isLogin?this.getDetail():(0,i.toLogin)()},methods:{getDetail:function(){var t=this;(0,d.friendDetail)(this.orderId).then((function(e){if(0==t.resData.paid)return t.$util.Tips({title:t.$t("该订单暂未支付")},{tab:3,url:1});t.resData=e.data.info}))},openTap:function(){this.$set(this,"couponsHidden",!this.couponsHidden)},onLoadFun:function(){this.getDetail()},getOrderPayInfo:function(){var t=this,e=this;uni.showLoading({title:e.$t("正在加载中")}),(0,a.getOrderDetail)(e.orderId).then((function(n){uni.hideLoading(),e.$set(e,"order_pay_info",n.data),uni.setNavigationBarTitle({title:n.data.paid?e.$t("支付成功"):e.$t("未支付")}),t.loading=!0})).catch((function(e){t.loading=!0,uni.hideLoading()}))},goIndex:function(t){uni.switchTab({url:"/pages/index/index"})}}};e.default=s},"26df":function(t,e,n){"use strict";n.r(e);var r=n("0d18"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"2a0e":function(t,e,n){"use strict";var r=n("ccac"),a=n.n(r);a.a},"451d":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.adminExpress=function(t,e){return i.default.get("admin/order/express/"+t+"".concat(e?"/refund":""))},e.aliPay=function(t,e){return i.default.get("ali_pay",{key:t,quitUrl:e},{noAuth:!0})},e.cancelRefundOrder=function(t){return i.default.post("order/refund/cancel/"+t)},e.cartDel=function(t){"object"===(0,a.default)(t)&&(t=t.join(","));return i.default.post("cart/del",{ids:t})},e.changeCartNum=function(t,e){return i.default.post("cart/num",{id:t,number:e})},e.checkShipping=function(t,e){return i.default.post("order/check_shipping",{cartId:t,new:e})},e.express=function(t,e){return i.default.get("order/express/"+t+"".concat(e?"/refund":""))},e.getCartCounts=function(t){return i.default.get("cart/count",{numType:void 0===t?0:t})},e.getCartList=function(t){return i.default.get("cart/list",t)},e.getCashierOrder=function(t,e){return i.default.get("order/cashier/".concat(t,"/").concat(e))},e.getCouponsOrderPrice=function(t,e){return i.default.get("coupons/order/"+t,e)},e.getNewOrderList=function(t){return i.default.get("order/refund/list",t)},e.getOrderDetail=function(t,e){return i.default.get("order/detail/"+t+"".concat(e?"/".concat(e):""))},e.getOrderList=function(t){return i.default.get("order/list",t)},e.getRefundOrderDetail=function(t,e){return i.default.get("order/refund_detail/"+t+"".concat(e?"/".concat(e):""))},e.getResetCart=function(t){return i.default.post("v2/reset_cart",t)},e.offlineCheckPrice=function(t){return i.default.post("order/offline/check/price",t)},e.offlineCreate=function(t){return i.default.post("order/offline/create",t)},e.ordeRefundReason=function(){return i.default.get("order/refund/reason")},e.orderAgain=function(t){return i.default.post("order/again",{uni:t})},e.orderCancel=function(t){return i.default.post("order/cancel",{id:t})},e.orderComment=function(t){return i.default.post("order/comment",t)},e.orderConfirm=function(t,e,n,r){return i.default.post("order/confirm",{cartId:t,new:e,addressId:n,shipping_type:r})},e.orderCoupon=function(t){return i.default.post("v2/order/product_coupon/"+t)},e.orderCreate=function(t,e){return i.default.post("order/create/"+t,e)},e.orderData=function(){return i.default.get("order/data")},e.orderDel=function(t){return i.default.post("order/del",{uni:t})},e.orderInvoiceDetail=function(t){return i.default.get("v2/order/invoice_detail/".concat(t))},e.orderInvoiceList=function(t){return i.default.get("v2/order/invoice_list",t)},e.orderOfflinePayType=function(){return i.default.get("order/offline/pay/type")},e.orderPay=function(t){return i.default.post("order/pay",t)},e.orderProduct=function(t){return i.default.post("order/product",{unique:t})},e.orderRefundVerify=function(t){return i.default.post("order/refund/verify",t)},e.orderTake=function(t){return i.default.post("order/take",{uni:t})},e.postOrderComputed=function(t,e){return i.default.post("order/computed/"+t,e)},e.postRefundGoods=function(t){return i.default.post("order/refund/cart_info",t)},e.refundExpress=function(t){return i.default.post("order/refund/express",t)},e.refundGoodsList=function(t){return i.default.get("order/refund/cart_info/".concat(t))},e.refundOrderDel=function(t){return i.default.get("order/refund/del/"+t,{})},e.refundOrderDetail=function(t){return i.default.get("order/refund/detail/"+t)},e.returnGoodsSubmit=function(t,e){return i.default.post("order/refund/apply/".concat(t),e)},e.vcartList=function(){return i.default.get("v2/cart_list")},n("99af");var a=r(n("53ca")),i=r(n("3160"))},6098:function(t,e,n){"use strict";n.r(e);var r=n("ebde"),a=n("26df");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("2a0e");var o=n("f0c5"),u=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"5d154a61",null,!1,r["a"],void 0);e["default"]=u.exports},"94f5":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.main[data-v-5d154a61]{width:100%;height:100vh;background-color:#fff}.main .payment-status[data-v-5d154a61]{background-color:#fff;margin:%?0?% %?30?% 0 %?30?%;border-radius:%?10?%;padding:%?94?% 0 %?60?% 0;color:#333}.main .payment-status .icons[data-v-5d154a61]{font-size:%?70?%;width:%?140?%;height:%?140?%;border-radius:50%;color:#fff;text-align:center;line-height:%?140?%;border:%?6?% solid #f5f5f5;margin:%?0?% auto 0 auto;background-color:#999}.main .payment-status .rmb[data-v-5d154a61]{font-size:%?33?%}.main .payment-status .status[data-v-5d154a61]{font-size:%?32?%;font-weight:700;text-align:center;margin:%?25?% 0 %?7?% 0}.main .payment-status .wrapper[data-v-5d154a61]{text-align:center;color:#333;font-size:%?66?%;font-weight:700}.main .payment-status .head-other[data-v-5d154a61]{display:flex;align-items:center;justify-content:center;padding-top:%?20?%}.main .payment-status .head-other .user-img[data-v-5d154a61]{display:flex;align-items:center}.main .payment-status .head-other .user-img uni-image[data-v-5d154a61]{width:%?50?%;height:%?50?%;border-radius:50%}.main .payment-status .head-other .order-status[data-v-5d154a61]{margin-left:%?20?%;color:#666;padding:%?6?% %?13?%;font-size:%?24?%}.main .returnBnt[data-v-5d154a61]{width:80%;height:%?86?%;border-radius:%?50?%;color:#fff;font-size:%?30?%;text-align:center;line-height:%?86?%;margin:0 auto;background-color:var(--view-theme)}',""]),t.exports=e},ccac:function(t,e,n){var r=n("94f5");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("03379ce2",r,!0,{sourceMap:!1,shadowMode:!1})},ebde:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"main",style:t.colorStyle},[n("v-uni-view",{staticClass:"payment-status"},[n("v-uni-view",{staticClass:"iconfont icons icon-duihao2 bg-color"}),n("v-uni-view",{staticClass:"status"},[t._v(t._s(t.$t("代付成功")))]),n("v-uni-view",{staticClass:"wrapper"},[n("v-uni-view",{staticClass:"itemCom"},[n("v-uni-text",{staticClass:"rmb"},[t._v(t._s(t.$t("¥")))]),t._v(t._s(t.resData.pay_price||0))],1)],1),n("v-uni-view",{staticClass:"head-other"},[n("v-uni-view",{staticClass:"user-img"},[n("v-uni-image",{attrs:{src:t.resData.avatar,mode:""}})],1),n("v-uni-view",{staticClass:"order-status"},[t._v(t._s(t.$t("谢谢你为我付款,还可以再去看看其他商品哟~")))])],1)],1),n("v-uni-button",{staticClass:"returnBnt",attrs:{formType:"submit","hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goIndex.apply(void 0,arguments)}}},[t._v(t._s(t.$t("返回首页")))])],1)},a=[]}}]); |