pages-order-payment-result.2635743b.js
17.0 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-payment-result"],{"280f":function(t,a,i){"use strict";i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return d})),i.d(a,"a",(function(){return e}));var e={shoproLoginModal:i("4061").default},n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"success-page"},[t.orderDetail.total_fee?i("v-uni-view",{staticClass:"success-box flex flex-direction align-center"},[i("v-uni-image",{staticClass:"pay-img",attrs:{src:t.pay?"http://shopro.7wpp.com/imgs/pay_success.png":"http://shopro.7wpp.com/imgs/pay_fail.png",mode:""}}),i("v-uni-text",{staticClass:"notice"},[t._v(t._s(t.pay?"支付成功":"支付失败"))]),t.pay&&t.orderDetail.total_fee?i("v-uni-text",{staticClass:"pay-money"},[t._v("¥"+t._s(t.orderDetail.total_fee))]):t._e(),i("v-uni-view",{staticClass:"btn-box flex justify-between"},[t.pay&&"groupon"===t.orderDetail.activity_type&&"groupon"===t.orderDetail.ext_arr.buy_type?[t.orderDetail.ext_arr.groupon_id>0?i("v-uni-button",{staticClass:"cu-btn base-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.replace("/pages/activity/groupon/detail",{id:t.orderDetail.ext_arr.groupon_id})}}},[t._v("拼团详情")]):i("v-uni-button",{staticClass:"cu-btn base-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.replace("/pages/activity/groupon/my-groupon")}}},[t._v("我的拼团")])]:i("v-uni-button",{staticClass:"cu-btn base-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.routerTo.push("/pages/index/index")}}},[t._v("返回首页")]),i("v-uni-button",{staticClass:"cu-btn base-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onOrder.apply(void 0,arguments)}}},[t._v("查看订单")]),t.pay?t._e():i("v-uni-button",{staticClass:"again-pay cu-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onPay.apply(void 0,arguments)}}},[t._v("重新支付")])],2)],1):t._e(),i("shopro-login-modal")],1)},d=[]},"7a85":function(t,a,i){"use strict";var e=i("99eb"),n=i.n(e);n.a},"7b59":function(t,a,i){"use strict";i.r(a);var e=i("db63"),n=i.n(e);for(var d in e)"default"!==d&&function(t){i.d(a,t,(function(){return e[t]}))}(d);a["default"]=n.a},"99eb":function(t,a,i){var e=i("e476");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("57cd77c0",e,!0,{sourceMap:!1,shadowMode:!1})},db63:function(t,a,i){"use strict";var e=i("4ea4");i("ac1f"),i("5319"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(i("5530")),d=e(i("31e7")),o=i("2f62"),r={components:{},data:function(){return{routerTo:this.$Router,orderDetail:{},pay:null}},computed:{},onLoad:function(){this.pay=+this.$Route.query.pay,this.pay&&this.getCartList(),this.getOrderDetail()},methods:(0,n.default)((0,n.default)({},(0,o.mapActions)(["getCartList"])),{},{jump:function(t,a){this.$Router.push({path:t,query:a})},replace:function(t,a){this.$Router.replace({path:t,query:a})},onOrder:function(){this.$Router.replace({path:"/pages/order/detail",query:{id:this.orderDetail.id}})},getOrderDetail:function(){var t=this;t.$api("order.detail",{order_sn:t.$Route.query.orderSn}).then((function(a){1===a.code&&(t.orderDetail=a.data)}))},onPay:function(){var t=this;new d.default(t.$Route.query.type,t.orderDetail)}})};a.default=r},e476:function(t,a,i){var e=i("24fb");a=e(!1),a.push([t.i,'@charset "UTF-8";\r\n/* ==================\r\n uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n theme \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n 自定义变量 \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-04b2797c]{background-color:#f33!important}.bg-purple[data-v-04b2797c]{background-color:#ff33a9!important}.bg-orange[data-v-04b2797c]{background-color:#f83!important}.bg-blue[data-v-04b2797c]{background-color:#37f!important}.color-red[data-v-04b2797c]{color:#f33!important}.color-purple[data-v-04b2797c]{color:#ff33a9!important}.color-orange[data-v-04b2797c]{color:#f83!important}.color-blue[data-v-04b2797c]{color:#37f!important}.text-black[data-v-04b2797c]{color:#000}.text-dark[data-v-04b2797c]{color:#333}.text-deep[data-v-04b2797c]{color:#555}.text-weak[data-v-04b2797c]{color:#b3b3b3}.text-white[data-v-04b2797c]{color:#fff}\r\n/*字体*/.f10[data-v-04b2797c]{font-size:10px}.f12[data-v-04b2797c]{font-size:12px}.f14[data-v-04b2797c]{font-size:14px}.f15[data-v-04b2797c]{font-size:15px}.f17[data-v-04b2797c]{font-size:17px}.f20[data-v-04b2797c]{font-size:20px}.f24[data-v-04b2797c]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-04b2797c]{text-align:left}.tc[data-v-04b2797c]{text-align:center}.tr[data-v-04b2797c]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-04b2797c]{float:left}.fr[data-v-04b2797c]{float:right}\n.fix[data-v-04b2797c]{zoom:1}.fix[data-v-04b2797c]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-04b2797c]{display:none}.di[data-v-04b2797c]{display:inline}.db[data-v-04b2797c]{display:block}.dib[data-v-04b2797c]{display:inline-block}.dt[data-v-04b2797c]{display:table}\ndiv.dib[data-v-04b2797c]{display:inline;zoom:1}\n.vm[data-v-04b2797c]{vertical-align:middle}.vib[data-v-04b2797c]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-04b2797c]{position:relative}.pa[data-v-04b2797c]{position:absolute}.pf[data-v-04b2797c]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-04b2797c]{margin-top:%?2?%}.mr2[data-v-04b2797c]{margin-right:%?2?%}.mb2[data-v-04b2797c]{margin-bottom:%?2?%}.ml2[data-v-04b2797c]{margin-left:%?2?%}.mx2[data-v-04b2797c]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-04b2797c]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-04b2797c]{margin:%?2?%}.mt4[data-v-04b2797c]{margin-top:%?4?%}.mr4[data-v-04b2797c]{margin-right:%?4?%}.mb4[data-v-04b2797c]{margin-bottom:%?4?%}.ml4[data-v-04b2797c]{margin-left:%?4?%}.mx4[data-v-04b2797c]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-04b2797c]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-04b2797c]{margin:%?4?%}.mt8[data-v-04b2797c]{margin-top:%?8?%}.mr8[data-v-04b2797c]{margin-right:%?8?%}.mb8[data-v-04b2797c]{margin-bottom:%?8?%}.ml8[data-v-04b2797c]{margin-left:%?8?%}.mx8[data-v-04b2797c]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-04b2797c]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-04b2797c]{margin:%?8?%}.mt10[data-v-04b2797c]{margin-top:%?10?%}.mr10[data-v-04b2797c]{margin-right:%?10?%}.mb10[data-v-04b2797c]{margin-bottom:%?10?%}.ml10[data-v-04b2797c]{margin-left:%?10?%}.mx10[data-v-04b2797c]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-04b2797c]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-04b2797c]{margin:%?10?%}.mt15[data-v-04b2797c]{margin-top:%?15?%}.mr15[data-v-04b2797c]{margin-right:%?15?%}.mb15[data-v-04b2797c]{margin-bottom:%?15?%}.ml15[data-v-04b2797c]{margin-left:%?15?%}.mx15[data-v-04b2797c]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-04b2797c]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-04b2797c]{margin:%?15?%}.mt20[data-v-04b2797c]{margin-top:%?20?%}.mr20[data-v-04b2797c]{margin-right:%?20?%}.mb20[data-v-04b2797c]{margin-bottom:%?20?%}.ml20[data-v-04b2797c]{margin-left:%?20?%}.mx20[data-v-04b2797c]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-04b2797c]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-04b2797c]{margin:%?20?%}.mt24[data-v-04b2797c]{margin-top:%?24?%}.mr24[data-v-04b2797c]{margin-right:%?24?%}.mb24[data-v-04b2797c]{margin-bottom:%?24?%}.ml24[data-v-04b2797c]{margin-left:%?24?%}.mx24[data-v-04b2797c]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-04b2797c]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-04b2797c]{margin:%?24?%}.mt30[data-v-04b2797c]{margin-top:%?30?%}.mr30[data-v-04b2797c]{margin-right:%?30?%}.mb30[data-v-04b2797c]{margin-bottom:%?30?%}.ml30[data-v-04b2797c]{margin-left:%?30?%}.mx30[data-v-04b2797c]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-04b2797c]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-04b2797c]{margin:%?30?%}.pt2[data-v-04b2797c]{padding-top:%?2?%}.pr2[data-v-04b2797c]{padding-right:%?2?%}.pb2[data-v-04b2797c]{padding-bottom:%?2?%}.pl2[data-v-04b2797c]{padding-left:%?2?%}.px2[data-v-04b2797c]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-04b2797c]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-04b2797c]{padding:%?2?%}.pt4[data-v-04b2797c]{padding-top:%?4?%}.pr4[data-v-04b2797c]{padding-right:%?4?%}.pb4[data-v-04b2797c]{padding-bottom:%?4?%}.pl4[data-v-04b2797c]{padding-left:%?4?%}.px4[data-v-04b2797c]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-04b2797c]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-04b2797c]{padding:%?4?%}.pt8[data-v-04b2797c]{padding-top:%?8?%}.pr8[data-v-04b2797c]{padding-right:%?8?%}.pb8[data-v-04b2797c]{padding-bottom:%?8?%}.pl8[data-v-04b2797c]{padding-left:%?8?%}.px8[data-v-04b2797c]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-04b2797c]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-04b2797c]{padding:%?8?%}.pt10[data-v-04b2797c]{padding-top:%?10?%}.pr10[data-v-04b2797c]{padding-right:%?10?%}.pb10[data-v-04b2797c]{padding-bottom:%?10?%}.pl10[data-v-04b2797c]{padding-left:%?10?%}.px10[data-v-04b2797c]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-04b2797c]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-04b2797c]{padding:%?10?%}.pt15[data-v-04b2797c]{padding-top:%?15?%}.pr15[data-v-04b2797c]{padding-right:%?15?%}.pb15[data-v-04b2797c]{padding-bottom:%?15?%}.pl15[data-v-04b2797c]{padding-left:%?15?%}.px15[data-v-04b2797c]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-04b2797c]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-04b2797c]{padding:%?15?%}.pt20[data-v-04b2797c]{padding-top:%?20?%}.pr20[data-v-04b2797c]{padding-right:%?20?%}.pb20[data-v-04b2797c]{padding-bottom:%?20?%}.pl20[data-v-04b2797c]{padding-left:%?20?%}.px20[data-v-04b2797c]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-04b2797c]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-04b2797c]{padding:%?20?%}.pt24[data-v-04b2797c]{padding-top:%?24?%}.pr24[data-v-04b2797c]{padding-right:%?24?%}.pb24[data-v-04b2797c]{padding-bottom:%?24?%}.pl24[data-v-04b2797c]{padding-left:%?24?%}.px24[data-v-04b2797c]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-04b2797c]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-04b2797c]{padding:%?24?%}.pt30[data-v-04b2797c]{padding-top:%?30?%}.pr30[data-v-04b2797c]{padding-right:%?30?%}.pb30[data-v-04b2797c]{padding-bottom:%?30?%}.pl30[data-v-04b2797c]{padding-left:%?30?%}.px30[data-v-04b2797c]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-04b2797c]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-04b2797c]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-04b2797c]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-04b2797c]{padding:0 %?30?%}.page_box[data-v-04b2797c]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-04b2797c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-04b2797c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-04b2797c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-04b2797c]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-04b2797c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n flex布局 \r\n ==================== */\r\n/* ==================\r\n 渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-04b2797c]{background:#000}#dark-theme .bColor[data-v-04b2797c]{background:#fff;color:#999}#dark-theme .borderColor[data-v-04b2797c]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-04b2797c]{background:#f9e5ee}#red-theme .bColor[data-v-04b2797c]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-04b2797c]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-04b2797c]{background:#f6e1c9}#yellow-theme .bColor[data-v-04b2797c]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-04b2797c]{border-color:#8c6031}.success-box[data-v-04b2797c]{background:#fff;width:%?750?%;padding:%?40?% 0}.success-box .pay-img[data-v-04b2797c]{width:%?128?%;height:%?76?%}.success-box .notice[data-v-04b2797c]{font-size:%?30?%;font-family:PingFang SC;font-weight:700;color:#333;line-height:%?30?%;margin-top:%?30?%}.success-box .pay-money[data-v-04b2797c]{font-size:%?36?%;color:#e1212b;font-weight:600;margin-top:%?20?%}.success-box .btn-box[data-v-04b2797c]{margin-top:%?30?%;width:%?660?%}.success-box .btn-box .base-btn[data-v-04b2797c]{width:%?320?%;height:%?70?%;background:#fff;border:%?1?% solid hsla(0,0%,87.5%,.5);border-radius:%?35?%;font-size:%?28?%;font-family:PingFang SC;font-weight:400;color:#999;padding:0}.success-box .btn-box .again-pay[data-v-04b2797c]{width:%?320?%;height:%?70?%;background:-webkit-linear-gradient(left,#e9b461,#eecc89);background:linear-gradient(90deg,#e9b461,#eecc89);box-shadow:0 %?7?% %?6?% 0 rgba(229,138,0,.22);border-radius:%?35?%;font-size:%?28?%;font-family:PingFang SC;font-weight:400;color:hsla(0,0%,100%,.8);padding:0}.hot-box[data-v-04b2797c]{background:#fff;padding:%?20?%;margin-top:%?20?%}.hot-box .hot-title[data-v-04b2797c]{font-size:%?30?%;font-family:PingFang SC;font-weight:500;color:#333;height:%?80?%}',""]),t.exports=a},f036:function(t,a,i){"use strict";i.r(a);var e=i("280f"),n=i("7b59");for(var d in n)"default"!==d&&function(t){i.d(a,t,(function(){return n[t]}))}(d);i("7a85");var o,r=i("f0c5"),b=Object(r["a"])(n["default"],e["b"],e["c"],!1,null,"04b2797c",null,!1,e["a"],o);a["default"]=b.exports}}]);