1 line
8.6 KiB
JavaScript
1 line
8.6 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-pay_result-pay_result"],{"09e1":function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return i}));var i={priceFormat:r("97b9").default},n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"pay-result column-center"},[r("v-uni-view",{staticClass:"contain bg-white"},[r("v-uni-view",{staticClass:"header column-center"},[r("v-uni-view",[r("v-uni-image",{staticClass:"tips-icon",attrs:{src:"/static/images/icon_paySuccess.png"}})],1),r("v-uni-view",{staticClass:"xl mt20"},[t._v("订单支付成功")])],1),r("v-uni-view",{staticStyle:{height:"181rpx"}}),r("v-uni-view",{staticClass:"info"},[r("v-uni-view",{staticClass:"order-num row-between mt20"},[r("v-uni-view",{staticClass:"ml20"},[t._v("订单编号")]),r("v-uni-view",{staticClass:"mr20"},[t._v(t._s(t.payInfo.order_sn))])],1),t.payInfo.pay_time?r("v-uni-view",{staticClass:"order-time row-between mt20"},[r("v-uni-view",{staticClass:"ml20"},[t._v("付款时间")]),r("v-uni-view",{staticClass:"mr20"},[t._v(t._s(t.payInfo.pay_time))])],1):t._e(),r("v-uni-view",{staticClass:"order-pay-type row-between mt20"},[r("v-uni-view",{staticClass:"ml20"},[t._v("支付方式")]),r("v-uni-view",{staticClass:"mr20"},[t._v(t._s(t.payInfo.pay_way_text))])],1),r("v-uni-view",{staticClass:"order-pay-money row-between mt20"},[r("v-uni-view",{staticClass:"ml20"},[t._v("支付金额")]),r("v-uni-view",{staticClass:"mr20"},[r("price-format",{attrs:{price:t.payInfo.order_amount}})],1)],1)],1),r("v-uni-view",{staticClass:"line ml20"}),r("v-uni-view",{staticClass:"opt-btn-contain row-center wrap"},[r("v-uni-navigator",{staticClass:"check-order-btn row-center bg-primary br60 mt20",attrs:{"open-type":"redirect","hover-class":"none",url:"/pages/user_order/user_order"}},[r("v-uni-view",{staticClass:"white bg-primary lg"},[t._v("查看订单")])],1),r("v-uni-navigator",{staticClass:"go-back-btn row-center br60 mt20",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/index/index"}},[r("v-uni-view",{staticClass:"primary br60 lg"},[t._v("返回首页")])],1)],1)],1)],1)},a=[]},1628:function(t,e,r){"use strict";r.r(e);var i=r("b346"),n=r.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},"34f6":function(t,e,r){"use strict";var i=r("5537"),n=r.n(i);n.a},"4b6c":function(t,e,r){"use strict";r.r(e);var i=r("09e1"),n=r("1628");for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);r("34f6");var o=r("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"7eac1398",null,!1,i["a"],void 0);e["default"]=s.exports},"4cad":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-text",{class:(t.lineThrough?"line-through":"")+" price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?r("v-uni-text",{style:{"font-size":t.subscriptSize+"rpx","margin-right":"2rpx"}},[t._v("¥")]):t._e(),r("v-uni-text",{style:{"font-size":t.firstSize+"rpx","margin-right":"1rpx"}},[t._v(t._s(t.priceSlice.first))]),t.priceSlice.second?r("v-uni-text",{style:{"font-size":t.secondSize+"rpx"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()],1)},n=[]},"4f99":function(t,e,r){var i=r("24fb");e=i(!1),e.push([t.i,".price-format[data-v-60f6159f]{font-family:Avenir,SourceHanSansCN,PingFang SC,Arial,Hiragino Sans GB,Microsoft YaHei,sans-serif}",""]),t.exports=e},5537:function(t,e,r){var i=r("5e5a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=r("4f06").default;n("70ff1024",i,!0,{sourceMap:!1,shadowMode:!1})},"5da8":function(t,e,r){var i=r("4f99");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=r("4f06").default;n("1a36fbb8",i,!0,{sourceMap:!1,shadowMode:!1})},"5e56":function(t,e,r){"use strict";r.r(e);var i=r("ea6b"),n=r.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},"5e5a":function(t,e,r){var i=r("24fb");e=i(!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/* 行为相关颜色 */.pay-result .contain[data-v-7eac1398]{width:%?682?%;margin-left:%?20?%;margin-right:%?20?%;border-radius:%?10?%;margin-top:%?78?%;padding-left:%?20?%;padding-right:%?20?%;padding-bottom:%?40?%;position:relative}.pay-result .contain .tips-icon[data-v-7eac1398]{width:%?112?%;height:%?112?%}.pay-result .contain .header[data-v-7eac1398]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:%?-50?%}.pay-result .contain .order-num[data-v-7eac1398]{align-items:flex-start}.pay-result .contain .info[data-v-7eac1398]{margin-bottom:%?40?%}.pay-result .contain .opt-btn-contain[data-v-7eac1398]{margin-top:%?40?%}.pay-result .contain .opt-btn-contain .check-order-btn[data-v-7eac1398]{width:%?650?%;height:%?84?%}.pay-result .contain .opt-btn-contain .go-back-btn[data-v-7eac1398]{width:%?650?%;height:%?84?%;border:1px solid #ff2c3c;box-sizing:border-box}.pay-result .contain .line[data-v-7eac1398]{width:%?650?%;border-top:1px solid #e5e5e5}',""]),t.exports=e},"97b9":function(t,e,r){"use strict";r.r(e);var i=r("4cad"),n=r("5e56");for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);r("bf77");var o=r("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"60f6159f",null,!1,i["a"],void 0);e["default"]=s.exports},b346:function(t,e,r){"use strict";r("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r("ea3c"),n={data:function(){return{payInfo:{}}},components:{},props:{},onLoad:function(t){this.id=t.id,this.getOrderResultFun()},methods:{getOrderResultFun:function(){var t=this;(0,i.getOrderDetail)(this.id).then((function(e){1==e.code&&(t.payInfo=e.data)}))}}};e.default=n},bf77:function(t,e,r){"use strict";var i=r("5da8"),n=r.n(i);n.a},ea3c:function(t,e,r){"use strict";r("7a82");var i=r("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.cancelOrder=function(t){return n.default.post("order/cancel",{id:t})},e.confirmOrder=function(t){return n.default.post("order/confirm",{id:t})},e.delOrder=function(t){return n.default.post("order/del",{id:t})},e.getDelivery=function(){return n.default.get("order/getDeliveryType")},e.getOrderCoupon=function(t){return n.default.post("coupon/orderCoupon",t)},e.getOrderDetail=function(t){return n.default.get("order/detail",{params:{id:t}})},e.getOrderList=function(t){return n.default.get("order/lists",{params:t})},e.getVerifyLists=function(t){return n.default.get("order/verificationLists",{params:t})},e.getwechatSyncCheck=function(t){return n.default.get("order/wechatSyncCheck",{params:t})},e.getwxReceiveDetail=function(t){return n.default.get("order/wxReceiveDetail",{params:t})},e.orderBuy=function(t){return n.default.post("order/buy",t)},e.orderTraces=function(t){return n.default.get("order/orderTraces",{params:{id:t}})},e.verification=function(t){return n.default.post("order/verification",t)},e.verificationConfirm=function(t){return n.default.post("order/verificationConfirm",t)};var n=i(r("7716"));r("1f9b")},ea6b:function(t,e,r){"use strict";r("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("a9e3"),r("acd8");var i={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:[String,Number],default:28},secondSize:{type:[String,Number],default:28},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:[String,Number],default:28},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&""!==t&&void 0!==t&&(t=parseFloat(t),t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}};e.default=i}}]); |