dggzichahu/public/mobile/static/js/pages-pay_result-pay_result...

1 line
8.1 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-pay_result-pay_result"],{"0292":function(t,e,r){"use strict";var n=r("cec2"),i=r.n(n);i.a},"27fe":function(t,e,r){var n=r("6d5d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("27a7df3f",n,!0,{sourceMap:!1,shadowMode:!1})},"39d7":function(t,e,r){"use strict";r.r(e);var n=r("be93"),i=r("d1b7");for(var a in i)"default"!==a&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("0292");var s,o=r("f0c5"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"60f6159f",null,!1,n["a"],s);e["default"]=c.exports},"552a":function(t,e,r){"use strict";r.r(e);var n=r("8e0c"),i=r("6b89");for(var a in i)"default"!==a&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("a953");var s,o=r("f0c5"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"5d5d2d7e",null,!1,n["a"],s);e["default"]=c.exports},"6b89":function(t,e,r){"use strict";r.r(e);var n=r("7c40"),i=r.n(n);for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"6d5d":function(t,e,r){var n=r("24fb");e=n(!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-5d5d2d7e]{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-5d5d2d7e]{width:%?112?%;height:%?112?%}.pay-result .contain .header[data-v-5d5d2d7e]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:%?-50?%}.pay-result .contain .order-num[data-v-5d5d2d7e]{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.pay-result .contain .info[data-v-5d5d2d7e]{margin-bottom:%?40?%}.pay-result .contain .opt-btn-contain[data-v-5d5d2d7e]{margin-top:%?40?%}.pay-result .contain .opt-btn-contain .check-order-btn[data-v-5d5d2d7e]{width:%?650?%;height:%?84?%}.pay-result .contain .opt-btn-contain .go-back-btn[data-v-5d5d2d7e]{width:%?650?%;height:%?84?%;border:1px solid #ff2c3c;box-sizing:border-box}.pay-result .contain .line[data-v-5d5d2d7e]{width:%?650?%;border-top:1px solid #e5e5e5}',""]),t.exports=e},"7c40":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("800a"),i={data:function(){return{payInfo:{}}},components:{},props:{},onLoad:function(t){this.id=t.id,this.getOrderResultFun()},methods:{getOrderResultFun:function(){var t=this;(0,n.getOrderDetail)(this.id).then((function(e){1==e.code&&(t.payInfo=e.data)}))}}};e.default=i},"800a":function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderBuy=a,e.delOrder=s,e.getOrderList=o,e.getOrderDetail=c,e.cancelOrder=u,e.orderTraces=d,e.confirmOrder=l,e.getOrderCoupon=f;var i=n(r("3522"));r("1f2b");function a(t){return i.default.post("order/buy",t)}function s(t){return i.default.post("order/del",{id:t})}function o(t){return i.default.get("order/lists",{params:t})}function c(t){return i.default.get("order/detail",{params:{id:t}})}function u(t){return i.default.post("order/cancel",{id:t})}function d(t){return i.default.get("order/orderTraces",{params:{id:t}})}function l(t){return i.default.post("order/confirm",{id:t})}function f(t){return i.default.post("coupon/orderCoupon",t)}},8388:function(t,e,r){var n=r("24fb");e=n(!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},"8e0c":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return n}));var n={priceFormat:r("39d7").default},i=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=[]},a953:function(t,e,r){"use strict";var n=r("27fe"),i=r.n(n);i.a},be93:function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return n}));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)},a=[]},cec2:function(t,e,r){var n=r("8388");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("2404ad89",n,!0,{sourceMap:!1,shadowMode:!1})},d1b7:function(t,e,r){"use strict";r.r(e);var n=r("e96f"),i=r.n(n);for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},e96f:function(t,e,r){"use strict";r("a9e3"),r("acd8"),r("ac1f"),r("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={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=n}}]);