pages-confirm-order-confirm-order.2853f934.js 21 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-confirm-order-confirm-order"],{"0295":function(e,t,r){"use strict";var i=r("717d"),n=r.n(i);n.a},"04a5":function(e,t,r){"use strict";r.r(t);var i=r("c5df"),n=r.n(i);for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);t["default"]=n.a},4003:function(e,t,r){e.exports=r.p+"static/img/ok.0dba888e.png"},"717d":function(e,t,r){var i=r("8835");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=r("4f06").default;n("7b72c816",i,!0,{sourceMap:!1,shadowMode:!1})},"73ea":function(e,t,r){"use strict";var i;r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"confirm-order"},[i("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),e.confirmed?e._e():i("v-uni-view",{staticClass:"pay"},[i("v-uni-view",{staticClass:"num"},[e._v("共"+e._s(e.totalNum)+"套")]),i("v-uni-view",{staticClass:"total"},[e._v("总计:"),i("v-uni-text",[e._v("¥"+e._s(e.totalPrice+""))])],1),i("v-uni-view",{staticClass:"buy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}}},[e._v("结算("+e._s(" "+e.totalNum+" ")+")")])],1),e.confirmed?i("v-uni-view",{staticClass:"success"},[i("v-uni-image",{staticClass:"ok",attrs:{src:r("4003")}}),i("v-uni-view",{staticClass:"title"},[e._v("下单成功,请等待上级审核发货...")]),i("v-uni-view",{staticClass:"big-btn bg",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.upload.apply(void 0,arguments)}}},[e._v("查看订单")]),i("v-uni-view",{staticClass:"big-btn know",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.know.apply(void 0,arguments)}}},[e._v("我知道了")])],1):i("v-uni-view",{staticClass:"content"},[i("v-uni-navigator",{staticClass:"address",attrs:{url:"../address-manage/address-manage?choose=1"}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"name-tel"},[i("v-uni-text",{staticClass:"name"},[e._v("收货人:"+e._s(e.address?e.address.con_name:"未选择"))]),i("v-uni-text",{staticClass:"tel"},[e._v(e._s(e.address?e.address.con_mobile:""))])],1),i("v-uni-view",{staticClass:"text"},[e._v(e._s(e._f("getAddressString")(e.address)))])],1),i("v-uni-text",{staticClass:"cuIcon-right"})],1),i("v-uni-view",{staticClass:"list"},e._l(e.list,(function(t,r){return i("v-uni-view",{key:r,staticClass:"comfirm-item"},[i("v-uni-view",{staticClass:"info item"},[i("v-uni-image",{attrs:{src:t.img,mode:""}}),i("v-uni-view",{staticClass:"name ellipsis"},[e._v(e._s(t.name))])],1),e._l(t.typeList,(function(r,n){return i("v-uni-view",{key:n,staticClass:"type"},e._l(r.size,(function(n,a){return i("v-uni-view",{key:a,staticClass:"item type-size-counter"},[i("v-uni-view",{staticClass:"type-size"},[i("v-uni-text",[e._v("款式:"+e._s(r.name)+" 尺码: "+e._s(a))]),i("v-uni-text",{staticClass:"cost"},[e._v("¥"+e._s(t.price*n))])],1),i("v-uni-view",{staticClass:"num"},[e._v("×"+e._s(" "+n+" "))])],1)})),1)}))],2)})),1),i("v-uni-view",{staticClass:"remark"},[i("v-uni-textarea",{staticClass:"textarea",attrs:{"auto-height":!0,placeholder:"请输入备注"},model:{value:e.remark,callback:function(t){e.remark=t},expression:"remark"}})],1)],1)],1)},a=[]},8835:function(e,t,r){var i=r("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-b5943e0a]{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-b5943e0a]{margin-top:%?10?%}.app-item uni-input[data-v-b5943e0a], .app-item uni-picker[data-v-b5943e0a], .app-item uni-textarea[data-v-b5943e0a]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-b5943e0a]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-b5943e0a]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-b5943e0a]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-b5943e0a]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-b5943e0a]{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-b5943e0a]{color:#fff;background:#f76454}.small-btn[data-v-b5943e0a]{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-b5943e0a]{color:#999;border-color:#999}.login-btn[data-v-b5943e0a]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-b5943e0a]{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-b5943e0a]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-b5943e0a]{margin-right:%?20?%}.border-right[data-v-b5943e0a]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-b5943e0a]{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-b5943e0a]{margin-right:%?6?%}.position-center[data-v-b5943e0a]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-b5943e0a]{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-b5943e0a]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-b5943e0a]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-b5943e0a]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-b5943e0a]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-b5943e0a]{color:#f76454}.swiper-nav[data-v-b5943e0a]{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-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-b5943e0a]{color:#f76454}.swiper-nav .moveBar[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-b5943e0a]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-b5943e0a]{flex:1;width:100%}.swiper-area uni-swiper[data-v-b5943e0a]{width:100%;height:100%}.article-header[data-v-b5943e0a]{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-b5943e0a]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-b5943e0a]{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-b5943e0a]{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-b5943e0a]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-b5943e0a]{color:#f76454}.article-footer[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-b5943e0a]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-b5943e0a]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-b5943e0a]{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/* 文章场景相关 */.confirm-order[data-v-b5943e0a]{height:100%;box-sizing:border-box;flex-direction:column;background:#f2f2f2}.confirm-order .content[data-v-b5943e0a]{flex:1;height:100%;position:relative;box-sizing:border-box}.confirm-order .pay[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;left:0;right:0;bottom:0;z-index:1;height:%?98?%;position:fixed;font-size:%?32?%;background:#fff;box-shadow:%?0?% %?-1?% %?0?% %?0?% #b2b2b2}.confirm-order .pay .num[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:100%;padding:0 %?30?%;box-sizing:border-box}.confirm-order .pay .total[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;padding:0 %?30?%;box-sizing:border-box}.confirm-order .pay .total uni-text[data-v-b5943e0a]{color:#f76454}.confirm-order .pay .buy[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:100%;width:%?220?%;color:#fff;background:#f76454}.confirm-order .success[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;background:#fff;box-sizing:border-box;padding:%?98?% %?111?% 0;justify-content:flex-start}.confirm-order .success .ok[data-v-b5943e0a]{width:%?228?%;height:%?228?%}.confirm-order .success .title[data-v-b5943e0a]{font-size:%?36?%;margin-top:%?100?%;text-align:center}.confirm-order .success .big-btn[data-v-b5943e0a]{width:100%;margin-top:%?121?%}.confirm-order .success .big-btn.know[data-v-b5943e0a]{margin-top:%?30?%}.confirm-order .content[data-v-b5943e0a]{overflow:auto;border-bottom:%?98?% solid #fff}.confirm-order .content .address[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;min-height:%?128?%;background:#fff;padding:%?20?% %?30?%;margin-bottom:%?10?%;box-sizing:border-box}.confirm-order .content .address .left[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1;height:100%}.confirm-order .content .address .left .name-tel[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;font-size:%?26?%;justify-content:space-between;margin-bottom:%?16?%}.confirm-order .content .address .left .name-tel .name[data-v-b5943e0a]{font-size:%?32?%}.confirm-order .content .address .left .text[data-v-b5943e0a]{width:100%;font-size:%?26?%;line-height:%?36?%;color:#999}.confirm-order .content .address > uni-text[data-v-b5943e0a]{margin-left:%?20?%}.confirm-order .content .list .comfirm-item[data-v-b5943e0a]{margin-bottom:%?10?%}.confirm-order .content .list .comfirm-item .item[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?100?%;font-size:%?26?%;padding:0 %?30?%;margin-bottom:%?2?%;background:#fff;box-sizing:border-box;justify-content:flex-start}.confirm-order .content .list .comfirm-item .item.info[data-v-b5943e0a]{height:%?180?%}.confirm-order .content .list .comfirm-item .item.info uni-image[data-v-b5943e0a]{width:%?140?%;height:%?140?%;margin-right:%?30?%}.confirm-order .content .list .comfirm-item .item.info .name[data-v-b5943e0a]{flex:1}.confirm-order .content .list .comfirm-item .item.type-size-counter .type-size[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1;height:100%;margin-right:%?30?%}.confirm-order .content .list .comfirm-item .item.type-size-counter .type-size uni-text[data-v-b5943e0a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;width:100%;justify-content:space-between}.confirm-order .content .list .comfirm-item .item.type-size-counter .type-size uni-text.cost[data-v-b5943e0a]{color:#f76454}.confirm-order .content .remark[data-v-b5943e0a]{font-size:%?26?%;margin-top:%?10?%;min-height:%?120?%;line-height:%?36?%;position:relative;background:#fff;padding:%?20?% %?30?%;box-sizing:border-box}.confirm-order .content .remark .textarea[data-v-b5943e0a]{width:100%;height:%?80?%}',""]),e.exports=t},a33d:function(e,t,r){"use strict";var i=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.GetApplyBigGift=t.ApplyBigGift=t.CheckMoney=t.UploadApplyImg=t.GetUserInfo=t.CheckGoodNum=t.GetSzyGiftInfo=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 n=i(r("ef4f")),a=function(e){return n.default.get("/app/chart?type=0",e)};t._API_OrderChart=a;var o=function(e){return n.default.get("/pay_order",e)};t._API_OrderPay=o;var d=function(e){return n.default.get("/destory",e)};t._API_OrderCancel=d;var s=function(e){return n.default.get("/get_log",e)};t._API_OrderLog=s;var c=function(e){return n.default.get("/order/my_order?status=0",e)};t._API_OrderMyExamine=c;var f=function(e){return n.default.get("/order/my_order?status=1",e)};t._API_OrderMySended=f;var l=function(e){return n.default.get("/order/my_order?status=2",e)};t._API_OrderMyCompleted=l;var u=function(e){return n.default.get("/order/GetOrderDetail",e)};t._API_GetOrderDetail=u;var g=function(e){return n.default.get("/order_list?status=0",e)};t._API_OrderMy1=g;var m=function(e){return n.default.get("/order_list?status=1",e)};t._API_OrderMy2=m;var v=function(e){return n.default.get("/order_list?status=2",e)};t._API_OrderMy3=v;var _=function(e){return n.default.get("/order_list?status=3",e)};t._API_OrderMy4=_;var p=function(e){return n.default.get("/order_list?status=4",e)};t._API_OrderMy5=p;var b=function(e,t){return n.default.get("/order_list?status=".concat(e),t)};t.getOrderList=b;var h=function(e){return n.default.get("/order/order_lower?status=0",e)};t._API_OrderDownWillpay=h;var y=function(e){return n.default.get("/order/order_lower?status=1",e)};t._API_OrderDownWillsend=y;var x=function(e){return n.default.get("/order/order_lower?status=2",e)};t._API_OrderDownSended=x;var w=function(e){return n.default.get("/order/order_turn",e)};t._API_OrderDownForward=w;var A=function(e){return n.default.get("/order/order_lower?status=3",e)};t._API_OrderDownCompleted=A;var I=function(e){return n.default.post("/submit_order",e)};t._API_PlaceOrder=I;var P=function(e){return n.default.get("/order/order_complete",e)};t._API_OrderReceiveGoods=P;var O=function(e){return n.default.get("/order/sure_order",e)};t._API_OrderReceiveGoods1=O;var k=function(e){return n.default.get("/order/order_sure_pay",e)};t._API_OrderReceiveMoney=k;var G=function(e){return n.default.get("/order/del",e)};t._API_OrderDel=G;var C=function(e){return n.default.get("/order/detail",e)};t._API_OrderDetail=C;var z=function(e){return n.default.get("/order_detail",e)};t._API_OrderDetail1=z;var j=function(e){return n.default.post("/order/forward",e)};t._API_OrderSend=j;var S=function(e){return n.default.get("/order/my_storage",e)};t._API_OrderStorage=S;var M=function(e){return n.default.get("/order/again",e)};t._API_OrderAgain=M;var D=function(e){return n.default.get("/order/type_count",e)};t._API_GetTShirtNum=D;var E=function(e){return n.default.post("/order/type_submit",e)};t._API_SubmitTShirtNum=E;var B=function(){return n.default.get("/order/get_gift_info")};t._API_GetallGift=B;var L=function(e){return n.default.get("/order/get_gift",e)};t._API_GetOrderGift=L;var U=function(e){return n.default.get("/order/get_order_expresses",e)};t._API_GetLogistics=U;var N=function(e){return n.default.get("/order/get_express",e)};t._API_GetExpressTrack=N;var R=function(e){return n.default.get("/order/search_order",e)};t._API_mergeOrder=R;var $=function(e){return n.default.get("/order/ApplyDestoryOrder",e)};t._API_DestoryOrder=$;var T=function(e){return n.default.get("/order/destory",e)};t._API_destory=T;var q=function(e){return n.default.get("/pays/payment",e)};t._API_payment=q;var F=function(e){return n.default.get("/pays/GetStatus",e)};t._API_GetStatus=F;var W=function(e){return n.default.get("/pays/SearchStatus",e)};t._API_SearchStatus=W;var J=function(e){return n.default.get("/pays/GetEnrollUserAddress",e)};t.GetEnrollUserAddress=J;var H=function(e){return n.default.post("/pays/UpdateAddAddress",e)};t.UpdateAddAddress=H;var K=function(e){return n.default.get("/pays/GetEnrollInfo",e)};t.GetEnrollInfo=K;var Q=function(e){return n.default.get("/pays/GetExpress",e)};t.getSzyExpress=Q;var V=function(e){return n.default.get("/pays/GetGiftInfo",e)};t.GetSzyGiftInfo=V;var X=function(e){return n.default.post("/order/CheckGoodNum",e)};t.CheckGoodNum=X;var Y=function(e){return n.default.get("/BigGift/GetUserInfo",e)};t.GetUserInfo=Y;var Z=function(e){return n.default.post("/BigGift/UploadApplyImg",e)};t.UploadApplyImg=Z;var ee=function(e){return n.default.get("/BigGift/CheckMoney",e)};t.CheckMoney=ee;var te=function(e){return n.default.post("/BigGift/ApplyBigGift",e)};t.ApplyBigGift=te;var re=function(e){return n.default.get("/BigGift/GetApplyBigGift",e)};t.GetApplyBigGift=re},c5df:function(e,t,r){"use strict";r("13d5"),r("b64b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r("e16a"),n=r("a33d"),a={data:function(){return{title:"确认订单",list:[],from:"",remark:"",confirmed:!1,order_num:"",requesting:!1}},computed:{address:function(){return this.$store.state.address.list[this.$store.getters["address/usingAddressIndex"]]},totalNum:function(){return this.list.reduce((function(e,t){return t.typeList.reduce((function(e,t){return Object.keys(t.size).reduce((function(e,r){return e+t.size[r]}),e)}),e)}),0)},totalPrice:function(){return this.list.reduce((function(e,t){return t.typeList.reduce((function(e,r){return Object.keys(r.size).reduce((function(e,i){return e+r.size[i]*t.price}),e)}),e)}),0)}},onLoad:function(e){this.from=e.from,this.list=JSON.parse(e.order)},beforeDestroy:function(){this.$store.commit("address/CLEARCHOOSED")},methods:{upload:function(){uni.redirectTo({url:"../order-detail/order-detail?order_num=".concat(this.order_num)})},know:function(){uni.navigateBack()},confirm:function(){var e=this;this.address?this.requesting||(this.requesting=!0,uni.showLoading({mask:!0}),(0,n._API_PlaceOrder)({remark:this.remark,total:this.totalPrice,list:(0,i.confirmOrder)(this.list),address_id:this.address.id}).then((function(t){200===t.code?(e.requesting=!1,e.confirmed=!0,e.order_num=t.data.order_num,e.$store.commit("address/CLEARCHOOSED"),"gooddetail"===e.from?e.$store.commit("choosed/CLEAR"):"shopcar"===e.from&&e.$store.commit("shopcar/CLEARCONFIRM",e.list)):(e.requesting=!1,uni.toast("下单失败,请稍后重试"))}))):uni.toast("请选择地址")}}};t.default=a},eb19:function(e,t,r){"use strict";r.r(t);var i=r("73ea"),n=r("04a5");for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);r("0295");var o,d=r("f0c5"),s=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"b5943e0a",null,!1,i["a"],o);t["default"]=s.exports}}]);