pages-order_details-index.ea74db91.js 41 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_details-index"],{"09e1":function(e,t,i){var a=i("2791");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=i("4f06").default;o("d45f69de",a,!0,{sourceMap:!1,shadowMode:!1})},2791:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.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/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.merchant[data-v-1356c9e4]{width:100%;height:%?86?%;padding:0 %?30?%;margin-top:%?15?%;border-bottom:%?2?% solid #f0f0f0;font-size:%?30?%;color:#282828;line-height:%?86?%;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.merchant .iconfont[data-v-1356c9e4]{margin-top:%?6?%;font-size:%?22?%}.goodCall[data-v-1356c9e4]{text-align:center;width:100%;height:%?86?%;padding:0 %?30?%;border-bottom:%?1?% solid #eee;font-size:%?30?%;line-height:%?86?%;background:#fff;color:#282828}.goodCall .icon-kefu[data-v-1356c9e4]{font-size:%?28?%;margin-right:%?15?%}.order-details .header[data-v-1356c9e4]{padding:0 %?30?%;height:%?150?%}.order-details .header.presell_header[data-v-1356c9e4]{background-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MyQEFRcP/aAAgBAwEBPwCqnU5pqyeBqoUUVCX1vaqFFFen7q3NvtFFenAVx4RdNFm6bClHad54DRTznkNTFFKOpRtJRRqR1KKP8jK8jLyLyJpsjjRi3n+Inc0/3IthZSQ3hM4yDYSb8bVN9RWpdaCuS64h8gfCGKl1vG56i/XK96//2Q==");background-repeat:no-repeat;background-size:cover;padding:%?35?% %?50?%}.order-details .header.presell_header .data[data-v-1356c9e4]{margin:%?8?% 0 0 %?13?%}.order-details .header.presell_header .data .state[data-v-1356c9e4]{font-weight:400;font-size:%?24?%}.order-details .header.on[data-v-1356c9e4]{background-color:#666!important}.order-details .header .pictrue[data-v-1356c9e4]{width:%?110?%;height:%?110?%}.order-details .header .pictrue uni-image[data-v-1356c9e4]{width:100%;height:100%}.order-details .header .data[data-v-1356c9e4]{color:hsla(0,0%,100%,.8);font-size:%?24?%;margin-left:%?27?%}.order-details .header .data.on[data-v-1356c9e4]{margin-left:0}.order-details .header .data .state[data-v-1356c9e4]{font-size:%?30?%;font-weight:700;color:#fff;margin-bottom:%?7?%}.presell_header .presell_payment[data-v-1356c9e4]{color:#fff;font-size:%?30?%;font-weight:700}.presell_header .presell_payment .iconfont[data-v-1356c9e4]{font-weight:400;margin-right:%?8?%}.order-details .header .data .time[data-v-1356c9e4]{margin-left:%?20?%}.order-details .nav[data-v-1356c9e4]{background-color:#fff;font-size:%?26?%;color:#282828;padding:%?25?% 0}.order-details .nav .navCon[data-v-1356c9e4]{padding:0 %?40?%}.order-details .nav .on[data-v-1356c9e4]{color:#e93323}.order-details .nav .progress[data-v-1356c9e4]{padding:0 %?65?%;margin-top:%?10?%}.order-details .nav .progress .line[data-v-1356c9e4]{width:%?100?%;height:%?2?%;background-color:#939390}.order-details .nav .progress .iconfont[data-v-1356c9e4]{font-size:%?25?%;color:#939390;margin-top:%?-2?%}.order-details .address[data-v-1356c9e4]{font-size:%?26?%;color:#868686;background-color:#fff;margin-top:%?13?%;padding:%?35?% %?30?%}.order-details .address .name[data-v-1356c9e4]{font-size:%?30?%;color:#282828;margin-bottom:%?15?%}.order-details .address .name .phone[data-v-1356c9e4]{margin-left:%?40?%}.order-details .line[data-v-1356c9e4]{width:100%;height:%?3?%}.order-details .line uni-image[data-v-1356c9e4]{width:100%;height:100%;display:block}.order-details .wrapper[data-v-1356c9e4]{background-color:#fff;margin-top:%?12?%;padding:%?30?%}.order-details .wrapper .item[data-v-1356c9e4]{font-size:%?28?%;color:#282828}.order-details .wrapper .item ~ .item[data-v-1356c9e4]{margin-top:%?20?%}.order-details .wrapper .item .conter[data-v-1356c9e4]{color:#868686;width:%?460?%;text-align:right}.order-details .wrapper .item .conter .copy[data-v-1356c9e4]{font-size:%?20?%;color:#333;-webkit-border-radius:%?17?%;border-radius:%?17?%;border:%?1?% solid #666;padding:%?3?% %?15?%;margin-left:%?24?%}.order-details .wrapper .actualPay[data-v-1356c9e4]{border-top:%?1?% solid #eee;margin-top:%?30?%;padding-top:%?30?%}.order-details .wrapper .actualPay .money[data-v-1356c9e4]{font-weight:700;font-size:%?30?%}.order-details .footer[data-v-1356c9e4]{width:100%;height:%?100?%;position:fixed;bottom:0;left:0;background-color:#fff;padding:0 %?30?%;-webkit-box-sizing:border-box;box-sizing:border-box}.order-details .footer .bnt[data-v-1356c9e4]{width:%?176?%;height:%?60?%;text-align:center;line-height:%?60?%;-webkit-border-radius:%?50?%;border-radius:%?50?%;color:#fff;font-size:%?27?%;margin-left:%?20?%}.order-details .footer .bnt.btn_auto[data-v-1356c9e4]{width:auto;padding:0 %?40?%}.order-details .footer .bnt.cancel[data-v-1356c9e4]{color:#aaa;border:%?1?% solid #ddd}.order-details .footer .bnt ~ .bnt[data-v-1356c9e4]{margin-left:%?18?%}.order-details .writeOff[data-v-1356c9e4]{background-color:#fff;margin-top:%?13?%;padding-bottom:%?30?%}.order-details .writeOff .title[data-v-1356c9e4]{font-size:%?30?%;color:#282828;height:%?87?%;border-bottom:1px solid #f0f0f0;padding:0 %?30?%;line-height:%?87?%}.order-details .writeOff .grayBg[data-v-1356c9e4]{background-color:#f2f5f7;width:%?590?%;height:%?384?%;-webkit-border-radius:%?20?% %?20?% 0 0;border-radius:%?20?% %?20?% 0 0;margin:%?50?% auto 0 auto;padding-top:%?55?%}.order-details .writeOff .grayBg .pictrue[data-v-1356c9e4]{width:%?290?%;height:%?290?%;margin:0 auto}.order-details .writeOff .grayBg .pictrue uni-image[data-v-1356c9e4]{width:100%;height:100%;display:block}.order-details .writeOff .gear[data-v-1356c9e4]{width:%?590?%;height:%?30?%;margin:0 auto}.order-details .writeOff .gear uni-image[data-v-1356c9e4]{width:100%;height:100%;display:block}.order-details .writeOff .num[data-v-1356c9e4]{background-color:#f0c34c;width:%?590?%;height:%?84?%;color:#282828;font-size:%?48?%;margin:0 auto;-webkit-border-radius:0 0 %?20?% %?20?%;border-radius:0 0 %?20?% %?20?%;text-align:center;padding-top:%?4?%}.order-details .writeOff .rules[data-v-1356c9e4]{margin:%?46?% %?30?% 0 %?30?%;border-top:1px solid #f0f0f0;padding-top:%?10?%}.order-details .writeOff .rules .item[data-v-1356c9e4]{margin-top:%?20?%}.order-details .writeOff .rules .item .rulesTitle[data-v-1356c9e4]{font-size:%?28?%;color:#282828}.order-details .writeOff .rules .item .rulesTitle .iconfont[data-v-1356c9e4]{font-size:%?30?%;color:#333;margin-right:%?8?%;margin-top:%?5?%}.order-details .writeOff .rules .item .info[data-v-1356c9e4]{font-size:%?28?%;color:#999;margin-top:%?7?%}.order-details .writeOff .rules .item .info .time[data-v-1356c9e4]{margin-left:%?20?%}.order-details .map[data-v-1356c9e4]{height:%?86?%;font-size:%?30?%;color:#282828;line-height:%?86?%;border-bottom:1px solid #f0f0f0;margin-top:%?13?%;background-color:#fff;padding:0 %?30?%}.order-details .map .place[data-v-1356c9e4]{font-size:%?26?%;width:%?176?%;height:%?50?%;-webkit-border-radius:%?25?%;border-radius:%?25?%;line-height:%?50?%;text-align:center}.order-details .map .place .iconfont[data-v-1356c9e4]{font-size:%?27?%;height:%?27?%;line-height:%?27?%;margin:%?2?% %?3?% 0 0}.order-details .address .name .iconfont[data-v-1356c9e4]{font-size:%?34?%;margin-left:%?10?%}.refund[data-v-1356c9e4]{padding:0 %?30?% %?30?%;margin-top:%?24?%;background-color:#fff}.refund .title[data-v-1356c9e4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?30?%;color:#333;height:%?86?%;border-bottom:1px solid #f5f5f5}.refund .title uni-image[data-v-1356c9e4]{width:%?32?%;height:%?32?%;margin-right:%?10?%}.refund .con[data-v-1356c9e4]{padding-top:%?25?%;font-size:%?28?%;color:#868686}',""]),e.exports=t},"2b44":function(e,t,i){"use strict";var a=i("4ea4");i("99af"),i("a15b"),i("d81d"),i("26e9"),i("d3b7"),i("acd8"),i("e25e"),i("ac1f"),i("25f0"),i("5319"),i("1276"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(i("5530")),n=i("5020"),r=i("7d4f"),s=i("c117"),d=i("e755"),c=i("5e22"),l=a(i("ba1f")),u=a(i("f687")),f=a(i("d227")),v=i("c496"),p=i("2f62"),h=getApp(),w={components:{payment:l.default,orderGoods:u.default},data:function(){return{order_id:"",evaluate:0,activityType:0,cartInfo:[],orderInfo:{system_store:{},_status:{},take:{}},system_store:{},isGoodsReturn:!1,status:{},isClose:!1,payMode:[{name:"微信支付",icon:"icon-weixinzhifu",value:"wechat",title:"微信快捷支付",payStatus:1},{name:"支付宝支付",icon:"icon-zhifubao",value:"alipay",title:"支付宝支付",payStatus:h.globalData.alipay_open},{name:"余额支付",icon:"icon-yuezhifu",value:"balance",title:"可用余额:",number:0,payStatus:h.globalData.yue_pay_status}],pay_close:!1,pay_order_id:"",totalPrice:"0",isAuto:!1,isShowAuth:!1,refundNum:[],imgUrl:n.HTTP_REQUEST_URL,codeUrl:"",isTimePay:!1,hide_mer_status:h.globalData.hide_mer_status}},computed:(0,o.default)({},(0,p.mapGetters)(["isLogin","uid"])),filters:{filterDay:function(e){if(e){var t=/(\d{4})\-(\d{2})\-(\d{2})/,i=e.replace(t,"$2月$3日");return i}}},onLoad:function(e){e.order_id&&this.$set(this,"order_id",e.order_id)},onShow:function(){this.isLogin?(this.getOrderInfo(),this.getUserInfo(),this.isPayBalance()):(0,v.toLogin)()},onHide:function(){this.isClose=!0},onReady:function(){var e=this;this.$nextTick((function(){var e=this,t=new f.default(".copy-data");t.on("success",(function(){e.$util.Tips({title:"复制成功"})}))})),uni.$on("update",(function(t){e.hide_mer_status=t.hide_mer_status}))},mounted:function(){var e=this,t=getApp();this.$nextTick((function(){e.hide_mer_status=t.globalData.hide_mer_status}))},methods:{isPayBalance:function(){var e=this;10===e.orderInfo.status&&(new Date<new Date(e.orderInfo.presellOrder.final_start_time)?e.isTimePay=!1:new Date>=new Date(e.orderInfo.presellOrder.final_start_time)&&new Date<=new Date(e.orderInfo.presellOrder.final_start_time)&&(e.isTimePay=!0))},toChinese:function(e){var t=["零","一","二","三","四","五","六","日","八","九"],i=["","十","百","千","万"];e=parseInt(e);var a=function(e){for(var a=e.toString().split("").reverse(),o="",n=0;n<a.length;n++)o=(0==n&&0==a[n]||n>0&&0==a[n]&&0==a[n-1]?"":t[a[n]]+(0==a[n]?i[0]:i[n]))+o;return o},o=Math.floor(e/1e4),n=e%1e4;return n.toString().length<4&&(n="0"+n),o?a(o)+"万"+a(n):a(e)},goStore:function(e){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id="+e})},allRefund:function(){0==this.orderInfo.status?uni.navigateTo({url:"/pages/users/refund/index?order_id="+this.order_id+"&refund_type=1&type=2"}):uni.navigateTo({url:"/pages/users/refund/select?order_id="+this.order_id+"&type=2"})},getCombinationRemove:function(){var e=this;(0,s.postCombinationRemove)({group_buying_id:e.orderInfo.orderProduct[0].activity_id}).then((function(t){e.$util.Tips({title:t.message},{tab:3})})).catch((function(t){e.$util.Tips({title:t.message})}))},goGoodCall:function(){var e=this;uni.navigateTo({url:"/pages/chat/customer_list/chat?mer_id=".concat(e.orderInfo.mer_id,"&uid=").concat(this.uid,"&order_id=").concat(this.order_id)})},openSubcribe:function(e){var t=e;uni.showLoading({title:"正在加载"}),(0,d.openOrderRefundSubscribe)().then((function(e){uni.hideLoading(),uni.navigateTo({url:t})})).catch((function(){uni.hideLoading()}))},onChangeFun:function(e){var t=e,i=t.action||null,a=void 0!=t.value?t.value:null;i&&this[i]&&this[i](a)},makePhone:function(){uni.makePhoneCall({phoneNumber:this.orderInfo.take.mer_take_phone})},showMaoLocation:function(){if(!this.orderInfo.take.mer_take_location[0]||!this.orderInfo.take.mer_take_location[1])return this.$util.Tips({title:"缺少经纬度信息无法查看地图!"});uni.openLocation({latitude:parseFloat(this.orderInfo.take.mer_take_location[0]),longitude:parseFloat(this.orderInfo.take.mer_take_location[1]),scale:8,success:function(){}})},payClose:function(){this.pay_close=!1},pay_open:function(){this.pay_close=!0,this.pay_order_id=this.orderInfo.order_id.toString(),this.totalPrice=this.orderInfo.pay_price},pay_complete:function(){this.pay_close=!1,this.pay_order_id="",this.getOrderInfo()},pay_fail:function(){this.pay_close=!1,this.pay_order_id=""},onLoadFun:function(){this.isShowAuth=!1,this.getOrderInfo(),this.getUserInfo()},getUserInfo:function(){var e=this;(0,c.getUserInfo)().then((function(t){e.payMode[2].number=t.data.now_money}))},getOrderCode:function(){var e=this;(0,r.verifyCode)(this.order_id).then((function(t){e.codeUrl=t.data.qrcode}))},getOrderInfo:function(){var e=this,t=this;uni.showLoading({title:"正在加载中"}),(0,r.getOrderDetail)(this.order_id).then((function(i){uni.hideLoading(),t.$set(t,"orderInfo",i.data),t.orderInfo.take=i.data.take?i.data.take:{},t.$set(t,"cartInfo",i.data.orderProduct),"-1"==e.orderInfo.status&&(e.isGoodsReturn=!0),i.data.orderProduct.map((function(t){0==t.refund_num&&e.refundNum.push(t)})),1==i.data.order_type&&e.getOrderCode()})).catch((function(e){uni.hideLoading(),t.$util.Tips({title:e},"/pages/users/order_list/index")}))},goTel:function(){uni.makePhoneCall({phoneNumber:this.orderInfo.delivery_id})},goJoinPink:function(){uni.navigateTo({url:"/pages/activity/combination_status/index?id="+this.orderInfo.orderProduct[0].activity_id})},goOrderConfirm:function(){var e=[];this.cartInfo.map((function(t,i){var a={};a.product_id=t.product_id,a.product_attr_unique=t.product_sku,a.cart_num=t.product_num,e.push(a)})),(0,r.orderAgain)({data:e}).then((function(e){var t=e.data.cart_id.join(",");return uni.navigateTo({url:"/pages/users/order_confirm/index?cartId="+t})}))},confirmOrder:function(){var e=this;uni.showModal({title:"确认收货",content:"为保障权益,请收到货确认无误后,再确认收货",success:function(t){t.confirm&&(0,r.orderTake)(e.order_id).then((function(t){return e.$util.Tips({title:"操作成功",icon:"success"},(function(){e.getOrderInfo()}))})).catch((function(t){return e.$util.Tips({title:t})}))}})},delOrder:function(){var e=this;(0,r.orderDel)(this.order_id).then((function(t){return e.$util.Tips({title:"删除成功",icon:"success"},{tab:3,url:1})})).catch((function(t){return e.$util.Tips({title:t})}))},cancelOrder:function(){var e=this;uni.showModal({title:"提示",content:"确认取消该订单?",success:function(t){t.confirm?(0,r.orderDel)(e.orderInfo.order_id).then((function(t){e.$util.Tips({title:t.msg},{tab:3})})).catch((function(t){return e.$util.Tips({title:t})})):t.cancel}})}}};t.default=w},"3ac7":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".qs-btn[data-v-1356c9e4]{width:auto;height:%?60?%;text-align:center;line-height:%?60?%;-webkit-border-radius:%?50?%;border-radius:%?50?%;color:#fff;font-size:%?27?%;padding:0 3%;color:#aaa;border:1px solid #ddd;margin-right:%?20?%}",""]),e.exports=t},"42a7":function(e,t,i){"use strict";var a=i("85ed"),o=i.n(a);o.a},"4d49":function(e,t,i){"use strict";i.r(t);var a=i("6a41"),o=i("7c739");for(var n in o)"default"!==n&&function(e){i.d(t,e,(function(){return o[e]}))}(n);i("80b8"),i("c06e");var r,s=i("f0c5"),d=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"1356c9e4",null,!1,a["a"],r);t["default"]=d.exports},"596a":function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"payment",class:e.pay_close?"on":""},[i("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[e._v("选择付款方式"),i("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}})],1),e._l(e.payMode,(function(t,a){return 1==t.payStatus?i("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.goPay(t.number||0,t.value)}}},[i("v-uni-view",{staticClass:"left acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"iconfont",class:t.icon}),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"name"},[e._v(e._s(t.name))]),t.number?i("v-uni-view",{staticClass:"info"},[e._v(e._s(t.title)),i("span",{staticClass:"money"},[e._v("¥"+e._s(t.number))])]):i("v-uni-view",{staticClass:"info"},[e._v(e._s(t.title))])],1)],1),i("v-uni-view",{staticClass:"iconfont icon-xiangyou"})],1):e._e()}))],2),e.pay_close?i("v-uni-view",{ref:"close",staticClass:"mask",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}}):e._e()],1)},n=[]},"6a41":function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"order-details"},[2!=e.orderInfo.activity_type||10!=e.orderInfo.status&&11!=e.orderInfo.status?i("v-uni-view",[i("v-uni-view",{staticClass:"header bg-color acea-row row-middle",class:e.isGoodsReturn?"on":""},[0==e.isGoodsReturn?i("v-uni-view",{staticClass:"pictrue"},[9!=e.orderInfo.status?i("v-uni-image",{attrs:{src:e.imgUrl+"/static/order_"+(e.orderInfo.status+2)+".gif"}}):i("v-uni-image",{attrs:{src:e.imgUrl+"/static/order_2.gif"}})],1):e._e(),i("v-uni-view",{staticClass:"data",class:e.isGoodsReturn?"on":""},[i("v-uni-view",{staticClass:"state"},[0==e.orderInfo.status&&0==e.orderInfo.order_type?[e._v("待发货")]:e._e(),9==e.orderInfo.status?[e._v("等待其他人参加拼团")]:e._e(),0==e.orderInfo.status&&1==e.orderInfo.order_type?[e._v("待核销")]:e._e(),1==e.orderInfo.status?[e._v("待收货")]:e._e(),2==e.orderInfo.status?[e._v("待评价")]:e._e(),3==e.orderInfo.status?[e._v("已完成")]:e._e(),-1==e.orderInfo.status?[e._v("已为您退款,感谢您的支持")]:e._e()],2),i("v-uni-view",[e._v(e._s(e.orderInfo.pay_time))])],1)],1),0==e.isGoodsReturn?[i("v-uni-view",{staticClass:"nav"},[i("v-uni-view",{staticClass:"navCon acea-row row-between-wrapper"},[i("v-uni-view",[e._v("待付款")]),0==e.orderInfo.order_type?i("v-uni-view",{class:0==e.orderInfo.status||9==e.orderInfo.status?"on":""},[e._v("待发货")]):e._e(),1==e.orderInfo.order_type?i("v-uni-view",{class:0==e.orderInfo.status||9==e.orderInfo.status?"on":""},[e._v("待核销")]):e._e(),0==e.orderInfo.order_type?i("v-uni-view",{class:1==e.orderInfo.status?"on":""},[e._v("待收货")]):e._e(),i("v-uni-view",{class:2==e.orderInfo.status?"on":""},[e._v("待评价")]),i("v-uni-view",{class:3==e.orderInfo.status?"on":""},[e._v("已完成")])],1),i("v-uni-view",{staticClass:"progress acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"iconfont icon-yuandianxiao font-color"}),i("v-uni-view",{staticClass:"line bg-color"}),i("v-uni-view",{staticClass:"iconfont",class:(0==e.orderInfo.status||9==e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=0?"font-color":"")}),i("v-uni-view",{staticClass:"line",class:e.orderInfo.status>0&&9!=e.orderInfo.status?"bg-color":""}),0==e.orderInfo.order_type?i("v-uni-view",{staticClass:"iconfont",class:(1==e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=1&&9!=e.orderInfo.status?"font-color":"")}):e._e(),0==e.orderInfo.order_type?i("v-uni-view",{staticClass:"line",class:e.orderInfo.status>1&&9!=e.orderInfo.status?"bg-color":""}):e._e(),i("v-uni-view",{staticClass:"iconfont",class:(2==e.orderInfo.status&&9!=e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=2&&9!=e.orderInfo.status?"font-color":"")}),i("v-uni-view",{staticClass:"line",class:e.orderInfo.status>2&&9!=e.orderInfo.status?"bg-color":""}),i("v-uni-view",{staticClass:"iconfont",class:(3==e.orderInfo.status?"icon-webicon318":"icon-yuandianxiao")+" "+(e.orderInfo.status>=3&&9!=e.orderInfo.status?"font-color":"")})],1)],1),i("v-uni-view",{staticClass:"line"},[i("v-uni-image",{attrs:{src:"/static/images/line.jpg"}})],1)]:e._e()],2):i("v-uni-view",[i("v-uni-view",{staticClass:"header presell_header"},[i("v-uni-view",{staticClass:"presell_payment"},[i("v-uni-text",{staticClass:"iconfont icon-shijian1"}),e._v(e._s(11==e.orderInfo.status?"交易已关闭":"待付尾款"))],1),i("v-uni-view",{staticClass:"data",staticStyle:{"margin-left":"0"}},[i("v-uni-view",{staticClass:"state"},[e._v("请在"+e._s(e.orderInfo.orderProduct[0].cart_info.productPresell.final_end_time)+"前完成支付,超时订单将自动取消")])],1)],1)],1),i("v-uni-view",[0==e.orderInfo.order_type?i("v-uni-view",{staticClass:"address"},[i("v-uni-view",{staticClass:"name"},[e._v(e._s(e.orderInfo.real_name)),i("v-uni-text",{staticClass:"phone"},[e._v(e._s(e.orderInfo.user_phone))])],1),i("v-uni-view",[e._v(e._s(e.orderInfo.user_address))])],1):e._e(),1==e.orderInfo.order_type&&0==e.isGoodsReturn&&e.orderInfo.take&&10!=e.orderInfo.status&&11!=e.orderInfo.status?i("v-uni-view",{staticClass:"writeOff"},[i("v-uni-view",{staticClass:"title"},[e._v("核销信息")]),i("v-uni-view",{staticClass:"grayBg"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.codeUrl}})],1)],1),i("v-uni-view",{staticClass:"gear"},[i("v-uni-image",{attrs:{src:"/static/images/writeOff.jpg"}})],1),i("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderInfo.verify_code))]),i("v-uni-view",{staticClass:"rules"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"rulesTitle acea-row row-middle"},[i("v-uni-text",{staticClass:"iconfont icon-shijian"}),e._v("核销时间")],1),e.orderInfo.take?i("v-uni-view",{staticClass:"info"},[e.orderInfo.take.mer_take_day!==e.undefind&&7==e.orderInfo.take.mer_take_day.length?i("v-uni-text",[e._v("每日:")]):e._l(e.orderInfo.take.mer_take_day,(function(t){return i("v-uni-text",[e._v(e._s("周"+e.toChinese(t))+",")])})),i("v-uni-text",{staticClass:"time"},[e._v(e._s(e.orderInfo.take.mer_take_time[0])+"-"+e._s(e.orderInfo.take.mer_take_time[1]))])],2):e._e()],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"rulesTitle acea-row row-middle"},[i("v-uni-text",{staticClass:"iconfont icon-shuoming1"}),e._v("使用说明")],1),i("v-uni-view",{staticClass:"info"},[e._v("可将二维码出示给店员扫描或提供数字核销码")])],1)],1)],1):e._e(),1==e.orderInfo.order_type?i("v-uni-view",{staticClass:"map acea-row row-between-wrapper"},[i("v-uni-view",[e._v("自提地址信息")]),i("v-uni-view",{staticClass:"place cart-color acea-row row-center-wrapper",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showMaoLocation.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-weizhi"}),e._v("查看位置")],1)],1):e._e(),1==e.orderInfo.order_type?i("v-uni-view",{staticClass:"address",staticStyle:{"margin-top":"0"}},[i("v-uni-view",{staticClass:"name"},[e._v(e._s(e.orderInfo.take.mer_take_name)),i("v-uni-text",{staticClass:"phone",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.makePhone.apply(void 0,arguments)}}},[e._v(e._s(e.orderInfo.take.mer_take_phone))]),i("v-uni-text",{staticClass:"iconfont icon-tonghua font-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.makePhone.apply(void 0,arguments)}}})],1),i("v-uni-view",[e._v(e._s(e.orderInfo.take.mer_take_address))])],1):e._e(),e.orderInfo.merchant?i("v-uni-view",{staticClass:"merchant",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goStore(e.orderInfo.mer_id)}}},[e._v(e._s(e.orderInfo.merchant.mer_name)),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1):e._e(),e.cartInfo.length>0?[i("orderGoods",{attrs:{orderData:e.orderInfo,evaluate:e.orderInfo.status,activityType:e.orderInfo.activity_type,orderId:e.order_id,cartInfo:e.cartInfo,jump:!0}})]:e._e(),i("div",{staticClass:"goodCall",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goGoodCall.apply(void 0,arguments)}}},[i("span",{staticClass:"iconfont icon-kefu"}),i("span",{staticStyle:{"font-size":"28rpx"}},[e._v("联系客服")])]),2==e.orderInfo.delivery_type?i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("配送方式:")]),i("v-uni-view",{staticClass:"conter"},[e._v("送货")])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("配送员:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.delivery_name))])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("联系电话:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.delivery_id))])],1)],1):e._e(),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("订单编号:")]),i("v-uni-view",{staticClass:"conter acea-row row-middle row-right"},[e._v(e._s(e.orderInfo.order_sn)),i("v-uni-text",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":e.orderInfo.order_sn}},[e._v("复制")])],1)],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("下单时间:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.create_time))])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("支付状态:")]),i("v-uni-view",{staticClass:"conter"},[e._v("已支付")])],1),e.orderInfo.pay_time?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("支付时间:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.pay_time))])],1):e._e(),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("商品总额:")]),i("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.total_price))])],1),i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("支付方式:")]),0==e.orderInfo.pay_type?i("v-uni-view",{staticClass:"conter"},[e._v("余额支付")]):e._e(),4==e.orderInfo.pay_type||5==e.orderInfo.pay_type?i("v-uni-view",{staticClass:"conter"},[e._v("支付宝支付")]):e._e(),1==e.orderInfo.pay_type||2==e.orderInfo.pay_type||3==e.orderInfo.pay_type?i("v-uni-view",{staticClass:"conter"},[e._v("微信支付")]):e._e()],1),e.orderInfo.mark?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("买家留言:")]),i("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.mark))])],1):e._e()],1)],2),i("v-uni-view",{staticClass:"wrapper"},[e.orderInfo.pay_postage>0&&1!=e.orderInfo.order_type?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("运费:")]),i("v-uni-view",{staticClass:"conter"},[e._v("+¥"+e._s(e.orderInfo.pay_postage))])],1):e._e(),e.orderInfo.coupon_id?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("优惠券抵扣:")]),i("v-uni-view",{staticClass:"conter"},[e._v("-¥"+e._s(e.orderInfo.coupon_price))])],1):e._e(),2==e.orderInfo.activity_type?i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("实付款:")]),i("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.presell_price))])],1):i("v-uni-view",{staticClass:"item acea-row row-between"},[i("v-uni-view",[e._v("实付款:")]),i("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.pay_price))])],1)],1),i("v-uni-view",{staticStyle:{height:"120rpx"}}),0==e.isGoodsReturn?i("v-uni-view",{staticClass:"footer acea-row row-right row-middle"},[2!=e.orderInfo.activity_type||10!=e.orderInfo.status&&11!=e.orderInfo.status?e._e():i("v-uni-view",{staticClass:" acea-row row-right row-middle"},[0==e.orderInfo.presellOrder.activeStatus?i("v-uni-view",{staticClass:"bnt bg-color btn_auto"},[e._v(e._s(e._f("filterDay")(e.orderInfo.presellOrder.final_start_time))+" 付尾款")]):e._e(),1==e.orderInfo.presellOrder.activeStatus?i("v-uni-view",{staticClass:"bnt bg-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.pay_open.apply(void 0,arguments)}}},[e._v("立即付款")]):e._e(),2==e.orderInfo.presellOrder.activeStatus?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelOrder.apply(void 0,arguments)}}},[e._v("取消订单")]):e._e()],1),0==e.orderInfo.status?[e.refundNum.length!=e.cartInfo.length?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e()]:e._e(),9==e.orderInfo.status?[i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.getCombinationRemove.apply(void 0,arguments)}}},[e._v("取消拼团")])]:e._e(),4==e.orderInfo.activity_type&&9==e.orderInfo.status?i("v-uni-view",{staticClass:"bnt bg-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goJoinPink.apply(void 0,arguments)}}},[e._v("查看拼团")]):e._e(),1==e.orderInfo.status?[e.refundNum.length!=e.cartInfo.length?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e(),1==e.orderInfo.delivery_type?i("v-uni-navigator",{staticClass:"bnt cancel",attrs:{"hover-class":"none",url:"/pages/users/goods_logistics/index?orderId="+e.orderInfo.order_id}},[e._v("查看物流")]):e._e(),i("v-uni-view",{staticClass:"bnt bg-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirmOrder.apply(void 0,arguments)}}},[e._v("确认收货")])]:e._e(),2==e.orderInfo.status?[e.refundNum.length!=e.cartInfo.length?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e(),1==e.orderInfo.delivery_type?i("v-uni-navigator",{staticClass:"bnt cancel",attrs:{"hover-class":"none",url:"/pages/users/goods_logistics/index?orderId="+e.orderInfo.order_id}},[e._v("查看物流")]):e._e(),2!=e.orderInfo.activity_type&&3!=e.orderInfo.activity_type?i("v-uni-view",{staticClass:"bnt bg-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goOrderConfirm.apply(void 0,arguments)}}},[e._v("再次购买")]):e._e()]:e._e(),3==e.orderInfo.status?[i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delOrder.apply(void 0,arguments)}}},[e._v("删除订单")]),e.refundNum.length!=e.cartInfo.length?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.allRefund.apply(void 0,arguments)}}},[e._v("批量退款")]):e._e(),2!=e.orderInfo.activity_type&&3!=e.orderInfo.activity_type?i("v-uni-view",{staticClass:"bnt bg-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goOrderConfirm.apply(void 0,arguments)}}},[e._v("再次购买")]):e._e()]:e._e()],2):e._e()],1),i("payment",{attrs:{payMode:e.payMode,pay_close:e.pay_close,order_id:e.pay_order_id,totalPrice:e.totalPrice,order_type:1},on:{onChangeFun:function(t){arguments[0]=t=e.$handleEvent(t),e.onChangeFun.apply(void 0,arguments)}}})],1)},n=[]},"7c739":function(e,t,i){"use strict";i.r(t);var a=i("2b44"),o=i.n(a);for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=o.a},"80b8":function(e,t,i){"use strict";var a=i("09e1"),o=i.n(a);o.a},"85ed":function(e,t,i){var a=i("97ec");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=i("4f06").default;o("782834c0",a,!0,{sourceMap:!1,shadowMode:!1})},"97ec":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.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/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.payment[data-v-6a9c5808]{position:fixed;bottom:0;left:0;width:100%;-webkit-border-radius:%?16?% %?16?% 0 0;border-radius:%?16?% %?16?% 0 0;background-color:#fff;padding-bottom:%?60?%;z-index:99;-webkit-transition:all .3s cubic-bezier(.25,.5,.5,.9);transition:all .3s cubic-bezier(.25,.5,.5,.9);-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.payment.on[data-v-6a9c5808]{-webkit-transform:translateZ(0);transform:translateZ(0)}.payment .title[data-v-6a9c5808]{text-align:center;height:%?123?%;font-size:%?32?%;color:#282828;font-weight:700;padding-right:%?30?%;margin-left:%?30?%;position:relative;border-bottom:%?1?% solid #eee}.payment .title .iconfont[data-v-6a9c5808]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:%?43?%;color:#8a8a8a;font-weight:400}.payment .item[data-v-6a9c5808]{border-bottom:%?1?% solid #eee;height:%?130?%;margin-left:%?30?%;padding-right:%?30?%}.payment .item .left[data-v-6a9c5808]{width:%?610?%}.payment .item .left .text[data-v-6a9c5808]{width:%?540?%}.payment .item .left .text .name[data-v-6a9c5808]{font-size:%?32?%;color:#282828}.payment .item .left .text .info[data-v-6a9c5808]{font-size:%?24?%;color:#999}.payment .item .left .text .info .money[data-v-6a9c5808]{color:#f90}.payment .item .left .iconfont[data-v-6a9c5808]{font-size:%?45?%;color:#09bb07}.payment .item .left .iconfont.icon-zhifubao[data-v-6a9c5808]{color:#00aaea}.payment .item .left .iconfont.icon-yuezhifu[data-v-6a9c5808]{color:#f90}.payment .item .left .iconfont.icon-yuezhifu1[data-v-6a9c5808]{color:#eb6623}.payment .item .iconfont[data-v-6a9c5808]{font-size:%?0.3?%;color:#999}',""]),e.exports=t},"9ea9":function(e,t,i){var a=i("3ac7");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=i("4f06").default;o("2fa8dca4",a,!0,{sourceMap:!1,shadowMode:!1})},ab66:function(e,t,i){"use strict";i("99af"),i("a9e3"),i("acd8"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i("7d4f"),o={props:{payMode:{type:Array,default:function(){return[]}},pay_close:{type:Boolean,default:!1},order_id:{type:String,default:""},totalPrice:{type:String,default:"0"},order_type:{type:Number,default:0}},data:function(){return{}},methods:{close:function(){this.$emit("onChangeFun",{action:"payClose"})},goPay:function(e,t){var i=this,o=this,n="";if("wechat"==t?n=this.$wechat.isWeixin()?"weixin":"h5":"balance"==t?n="balance":"alipay"==t&&(n="alipay"),!o.order_id)return o.$util.Tips({title:"请选择要支付的订单"});if("balance"==t&&parseFloat(e)<parseFloat(o.totalPrice))return o.$util.Tips({title:"余额不足!"});uni.showLoading({title:"支付中"});var r=1===o.order_type?a.presellOrderPay:a.orderPay;r(o.order_id,{type:n,return_url:"http://"+window.location.host+"/pages/users/order_list/index"}).then((function(e){var t=e.data.status,a=e.data.result.order_id,n=e.data.result.config,r=e.data.result.pay_key,s="/pages/users/order_list/index";switch(t){case"ORDER_EXIST":case"EXTEND_ORDER":case"PAY_ERROR":case"error":return uni.hideLoading(),i.$emit("onChangeFun",{action:"payClose"}),o.$util.Tips({title:e.message});case"success":return uni.hideLoading(),i.$emit("onChangeFun",{action:"payClose"}),o.BargainId||o.combinationId||o.pinkId||o.seckillId,o.$util.Tips({title:e.message,icon:"success"},{tab:5,url:s+"?status=1"});case"alipay":case"alipayQr":return uni.hideLoading(),i.$emit("onChangeFun",{action:"payClose"}),void uni.navigateTo({url:"/pages/order_pay_back/index?keyCode="+r+"&url="+n});case"wechat":case"weixin":n.timeStamp=n.timestamp,o.$wechat.pay(n).then((function(e){return i.$emit("onChangeFun",{action:"payClose"}),o.$util.Tips({title:e.message,icon:"success"},{tab:5,url:s+"status=1"})})).catch((function(e){if("chooseWXPay:cancel"==e.errMsg)return o.$util.Tips({title:"取消支付"},{tab:5,url:s+"?status=0"})}));break;case"balance":return uni.hideLoading(),i.$emit("onChangeFun",{action:"payClose"}),o.$util.Tips({title:e.message});case"h5":var d=window.location.protocol+"//"+window.location.host,c="".concat(d,"/pages/order_pay_status/index?order_id=").concat(a),l=encodeURIComponent(c),u="".concat(n.mweb_url,"&redirect_url=").concat(l);setTimeout((function(){location.href=u}),100);break}})).catch((function(e){return uni.hideLoading(),o.$util.Tips({title:e})}))}}};t.default=o},ba1f:function(e,t,i){"use strict";i.r(t);var a=i("596a"),o=i("e6b1");for(var n in o)"default"!==n&&function(e){i.d(t,e,(function(){return o[e]}))}(n);i("42a7");var r,s=i("f0c5"),d=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"6a9c5808",null,!1,a["a"],r);t["default"]=d.exports},c06e:function(e,t,i){"use strict";var a=i("9ea9"),o=i.n(a);o.a},e6b1:function(e,t,i){"use strict";i.r(t);var a=i("ab66"),o=i.n(a);for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=o.a}}]);