1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-pay-order-pay-order"],{"0b0e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("1ba5"),a={data:function(){return{order_num:"",order_id:"",money:"",fromS:""}},computed:{hadMoney:function(){return this.$store.state.userinfo.money}},onLoad:function(e){var t=e.order_id,r=e.money,n=e.fromS,a=e.order_num;this.order_num=a,this.order_id=t,this.money=r,this.fromS=n},methods:{pay:function(){var e=this;this.money-this.hadMoney>0?uni.toast("您的余额不足,无法付款"):(uni.loading(),(0,n._API_OrderPay)({order_id:this.order_id}).then((function(t){var r=t.code,n=t.message;200==r?(e.$store.commit("userinfo/REDUCEMONEY",e.money),uni.$emit("INIT"),uni.$emit("PAYSUCCESS",e.order_num),uni.showModal({showCancel:!1,title:"提示",content:"付款成功",success:function(){uni.navigateBack({delta:e.fromS?2:1})}})):uni.toast(n)})))}}};t.default=a},"1ba5":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.GetApplyBigGift=t.ApplyBigGift=t.CheckMoney=t.UploadApplyImg=t.GetUserInfo=t.CheckGoodNum=t.getSzyExpress=t.GetEnrollInfo=t.UpdateAddAddress=t.GetEnrollUserAddress=t._API_SearchStatus=t._API_GetStatus=t._API_payment=t._API_destory=t._API_DestoryOrder=t._API_mergeOrder=t._API_GetExpressTrack=t._API_GetLogistics=t._API_GetOrderGift=t._API_GetallGift=t._API_SubmitTShirtNum=t._API_GetTShirtNum=t._API_OrderAgain=t._API_OrderStorage=t._API_OrderSend=t._API_OrderDetail1=t._API_OrderDetail=t._API_OrderDel=t._API_OrderReceiveMoney=t._API_OrderReceiveGoods1=t._API_OrderReceiveGoods=t._API_PlaceOrder=t._API_OrderDownCompleted=t._API_OrderDownForward=t._API_OrderDownSended=t._API_OrderDownWillsend=t._API_OrderDownWillpay=t.getOrderList=t._API_OrderMy5=t._API_OrderMy4=t._API_OrderMy3=t._API_OrderMy2=t._API_OrderMy1=t._API_GetOrderDetail=t._API_OrderMyCompleted=t._API_OrderMySended=t._API_OrderMyExamine=t._API_OrderLog=t._API_OrderCancel=t._API_OrderPay=t._API_OrderChart=void 0;var a=n(r("daa8")),i=function(e){return a.default.get("/app/chart?type=0",e)};t._API_OrderChart=i;var d=function(e){return a.default.get("/pay_order",e)};t._API_OrderPay=d;var o=function(e){return a.default.get("/destory",e)};t._API_OrderCancel=o;var c=function(e){return a.default.get("/get_log",e)};t._API_OrderLog=c;var f=function(e){return a.default.get("/order/my_order?status=0",e)};t._API_OrderMyExamine=f;var u=function(e){return a.default.get("/order/my_order?status=1",e)};t._API_OrderMySended=u;var s=function(e){return a.default.get("/order/my_order?status=2",e)};t._API_OrderMyCompleted=s;var l=function(e){return a.default.get("/order/GetOrderDetail",e)};t._API_GetOrderDetail=l;var _=function(e){return a.default.get("/order_list?status=0",e)};t._API_OrderMy1=_;var g=function(e){return a.default.get("/order_list?status=1",e)};t._API_OrderMy2=g;var p=function(e){return a.default.get("/order_list?status=2",e)};t._API_OrderMy3=p;var v=function(e){return a.default.get("/order_list?status=3",e)};t._API_OrderMy4=v;var m=function(e){return a.default.get("/order_list?status=4",e)};t._API_OrderMy5=m;var h=function(e,t){return a.default.get("/order_list?status=".concat(e),t)};t.getOrderList=h;var y=function(e){return a.default.get("/order/order_lower?status=0",e)};t._API_OrderDownWillpay=y;var b=function(e){return a.default.get("/order/order_lower?status=1",e)};t._API_OrderDownWillsend=b;var A=function(e){return a.default.get("/order/order_lower?status=2",e)};t._API_OrderDownSended=A;var I=function(e){return a.default.get("/order/order_turn",e)};t._API_OrderDownForward=I;var P=function(e){return a.default.get("/order/order_lower?status=3",e)};t._API_OrderDownCompleted=P;var w=function(e){return a.default.post("/submit_order",e)};t._API_PlaceOrder=w;var x=function(e){return a.default.get("/order/order_complete",e)};t._API_OrderReceiveGoods=x;var O=function(e){return a.default.get("/order/sure_order",e)};t._API_OrderReceiveGoods1=O;var G=function(e){return a.default.get("/order/order_sure_pay",e)};t._API_OrderReceiveMoney=G;var k=function(e){return a.default.get("/order/del",e)};t._API_OrderDel=k;var M=function(e){return a.default.get("/order/detail",e)};t._API_OrderDetail=M;var S=function(e){return a.default.get("/order_detail",e)};t._API_OrderDetail1=S;var C=function(e){return a.default.post("/order/forward",e)};t._API_OrderSend=C;var D=function(e){return a.default.get("/order/my_storage",e)};t._API_OrderStorage=D;var j=function(e){return a.default.get("/order/again",e)};t._API_OrderAgain=j;var z=function(e){return a.default.get("/order/type_count",e)};t._API_GetTShirtNum=z;var E=function(e){return a.default.post("/order/type_submit",e)};t._API_SubmitTShirtNum=E;var B=function(){return a.default.get("/order/get_gift_info")};t._API_GetallGift=B;var U=function(e){return a.default.get("/order/get_gift",e)};t._API_GetOrderGift=U;var N=function(e){return a.default.get("/order/get_order_expresses",e)};t._API_GetLogistics=N;var R=function(e){return a.default.get("/order/get_express",e)};t._API_GetExpressTrack=R;var T=function(e){return a.default.get("/order/search_order",e)};t._API_mergeOrder=T;var L=function(e){return a.default.get("/order/ApplyDestoryOrder",e)};t._API_DestoryOrder=L;var $=function(e){return a.default.get("/order/destory",e)};t._API_destory=$;var W=function(e){return a.default.get("/pays/payment",e)};t._API_payment=W;var F=function(e){return a.default.get("/pays/GetStatus",e)};t._API_GetStatus=F;var J=function(e){return a.default.get("/pays/SearchStatus",e)};t._API_SearchStatus=J;var Y=function(e){return a.default.get("/pays/GetEnrollUserAddress",e)};t.GetEnrollUserAddress=Y;var q=function(e){return a.default.post("/pays/UpdateAddAddress",e)};t.UpdateAddAddress=q;var H=function(e){return a.default.get("/pays/GetEnrollInfo",e)};t.GetEnrollInfo=H;var K=function(e){return a.default.get("/pays/getSzyExpress",e)};t.getSzyExpress=K;var Q=function(e){return a.default.post("/order/CheckGoodNum",e)};t.CheckGoodNum=Q;var V=function(e){return a.default.get("/BigGift/GetUserInfo",e)};t.GetUserInfo=V;var X=function(e){return a.default.post("/BigGift/UploadApplyImg",e)};t.UploadApplyImg=X;var Z=function(e){return a.default.get("/BigGift/CheckMoney",e)};t.CheckMoney=Z;var ee=function(e){return a.default.post("/BigGift/ApplyBigGift",e)};t.ApplyBigGift=ee;var te=function(e){return a.default.get("/BigGift/GetApplyBigGift",e)};t.GetApplyBigGift=te},3800:function(e,t,r){"use strict";var n=r("d626"),a=r.n(n);a.a},"438f":function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return n}));var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"pay-order"},[r("v-uni-view",{staticClass:"need"},[e._v("待支付"),r("v-uni-text",[e._v("¥"+e._s(e.money))])],1),r("v-uni-view",{staticClass:"app-item "},[r("v-uni-text",[e._v("账户余额")]),r("v-uni-text",{staticClass:"basecolor"},[e._v("¥"+e._s(e._f("numDot")(e.hadMoney)))])],1),r("v-uni-view",{staticClass:"app-item"},[r("v-uni-text",[e._v("还需充值")]),r("v-uni-text",{staticClass:"basecolor"},[e._v("¥"+e._s(e.money-e.hadMoney>=0?e.money-e.hadMoney:0))])],1),r("v-uni-view",{staticClass:"big-btn bg",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.pay.apply(void 0,arguments)}}},[e._v("确认支付")])],1)},i=[]},4476:function(e,t,r){"use strict";r.r(t);var n=r("0b0e"),a=r.n(n);for(var i in n)"default"!==i&&function(e){r.d(t,e,(function(){return n[e]}))}(i);t["default"]=a.a},"69e5":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-4319ccdb]{margin-top:%?10?%}.app-item uni-input[data-v-4319ccdb], .app-item uni-picker[data-v-4319ccdb], .app-item uni-textarea[data-v-4319ccdb]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-4319ccdb]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-4319ccdb]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-4319ccdb]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-4319ccdb]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-4319ccdb]{color:#fff;background:#f76454}.small-btn[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-4319ccdb]{color:#999;border-color:#999}.login-btn[data-v-4319ccdb]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-4319ccdb]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-4319ccdb]{margin-right:%?20?%}.border-right[data-v-4319ccdb]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-4319ccdb]{margin-right:%?6?%}.position-center[data-v-4319ccdb]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-4319ccdb]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-4319ccdb]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-4319ccdb]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-4319ccdb]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-4319ccdb]{color:#f76454}.swiper-nav[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-4319ccdb]{color:#f76454}.swiper-nav .moveBar[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-4319ccdb]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-4319ccdb]{flex:1;width:100%}.swiper-area uni-swiper[data-v-4319ccdb]{width:100%;height:100%}.article-header[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-4319ccdb]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-4319ccdb]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-4319ccdb]{color:#f76454}.article-footer[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-4319ccdb]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-4319ccdb]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-4319ccdb]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.pay-order[data-v-4319ccdb]{height:100vh;background:#f2f2f2}.pay-order .need[data-v-4319ccdb]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;background:#fff;font-size:%?42?%}.pay-order .need uni-text[data-v-4319ccdb]{font-weight:700;margin-left:%?57?%}.pay-order .app-item[data-v-4319ccdb]{margin-top:%?20?%}.pay-order .big-btn[data-v-4319ccdb]{margin-top:%?390?%;width:%?400?%}',""]),e.exports=t},a288:function(e,t,r){"use strict";r.r(t);var n=r("438f"),a=r("4476");for(var i in a)"default"!==i&&function(e){r.d(t,e,(function(){return a[e]}))}(i);r("3800");var d,o=r("f0c5"),c=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"4319ccdb",null,!1,n["a"],d);t["default"]=c.exports},d626:function(e,t,r){var n=r("69e5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("4f06").default;a("baed2498",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|