pages-order_detail-order_detail.4b78b0e9.js 65 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_detail-order_detail"],{"0127":function(e,t,o){var r=o("c86c");t=r(!1),t.push([e.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-444de25e]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.goods[data-v-444de25e]{display:flex;border-radius:7px;background-color:#fff;overflow:hidden}.goods--square[data-v-444de25e]{flex-direction:column;width:%?347?%;height:%?510?%}.goods--square .goods-images[data-v-444de25e]{width:%?345?%;height:%?345?%}.goods--square .goods-content[data-v-444de25e]{padding:%?14?%}.goods--rectangle[data-v-444de25e]{flex-direction:row;align-items:center;height:%?250?%;padding:%?20?%}.goods--rectangle .goods-images[data-v-444de25e]{box-sizing:border-box;width:calc(%?250?% - 2 * %?20?%);height:calc(%?250?% - 2 * %?20?%);border-radius:7px;overflow:hidden;position:relative}.goods--rectangle .goods-images .goods-status[data-v-444de25e]{position:absolute;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?24?%;text-align:center}.goods--rectangle .goods-content[data-v-444de25e]{margin-left:%?20?%}.goods-content[data-v-444de25e]{box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:space-between;height:100%}.goods-content .goods-other[data-v-444de25e]{flex:1;display:flex;flex-direction:column;justify-content:flex-end}.goods-name[data-v-444de25e]{font-size:%?28?%;color:#333;overflow:hidden}.invalid[data-v-444de25e]{opacity:.7}",""]),e.exports=t},"05f3":function(e,t,o){"use strict";o.r(t);var r=o("f2a7"),n=o.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return r[e]}))}(a);t["default"]=n.a},"0669":function(e,t,o){"use strict";o("6a54");var r=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.apichangeExpressInfo=t.apiVerificationOrderList=t.apiVerificationOrderDetail=t.apiVerificationOrderConfirm=t.apiOrderPlace=t.apiOrderLogistics=t.apiOrderList=t.apiOrderDetail=t.apiOrderDelete=t.apiOrderConfirm=t.apiOrderClose=t.apiExpressInfo=t.apiDeliveryType=t.apiCommentLists=t.apiCommentGoodsLists=t.apiCommentGoodsInfo=t.apiCommentCategory=t.apiCommentAdd=t.apiAfterSalePost=t.apiAfterSaleList=t.apiAfterSaleGoods=t.apiAfterSaleDetail=t.apiAfterSaleCancel=void 0,t.getwechatSyncCheck=function(e){return n.default.get("order/wechatSyncCheck",{params:e})},t.getwxReceiveDetail=function(e){return n.default.get("order/wxReceiveDetail",{params:e})};var n=r(o("bd92"));t.apiDeliveryType=function(){return n.default.get("order/getDeliveryType")};t.apiOrderLogistics=function(e){return n.default.get("order/orderTraces",{params:e})};t.apiOrderPlace=function(e){return n.default.post("order/placeOrder",e)};t.apiOrderList=function(e){return n.default.get("order/lists",{params:e})};t.apiOrderDetail=function(e){return n.default.get("order/detail",{params:e})};t.apiOrderClose=function(e){return n.default.post("order/cancel",e)};t.apiOrderConfirm=function(e){return n.default.post("order/confirm",e)};t.apiOrderDelete=function(e){return n.default.post("order/del",e)};t.apiVerificationOrderList=function(e){return n.default.get("verification/lists",{params:e})};t.apiVerificationOrderDetail=function(e){return n.default.get("verification/verification",{params:e})};t.apiVerificationOrderConfirm=function(e){return n.default.post("verification/verificationConfirm",e)};t.apiCommentLists=function(e){return n.default.get("goods_comment/lists",{params:e})};t.apiCommentGoodsLists=function(e){return n.default.get("goods_comment/commentGoodsLists",{params:e})};t.apiCommentAdd=function(e){return n.default.post("goods_comment/add",e)};t.apiCommentCategory=function(e){return n.default.get("goods_comment/commentCategory",{params:e})};t.apiCommentGoodsInfo=function(e){return n.default.get("goods_comment/commentGoodsInfo",{params:e})};t.apiAfterSaleGoods=function(e){return n.default.get("after_sale/orderGoodsInfo",{params:e})};t.apiAfterSalePost=function(e){return n.default.post("after_sale/apply",e)};t.apiAfterSaleList=function(e){return n.default.get("after_sale/lists",{params:e})};t.apiAfterSaleDetail=function(e){return n.default.get("after_sale/detail",{params:e})};t.apiAfterSaleCancel=function(e){return n.default.post("after_sale/cancel",e)};t.apiExpressInfo=function(e){return n.default.post("after_sale/returnGoods",e)};t.apichangeExpressInfo=function(e){return n.default.post("after_sale/changeDelivery",e)}},"06b9":function(e,t,o){"use strict";o.r(t);var r=o("ad6e"),n=o.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return r[e]}))}(a);t["default"]=n.a},"097b":function(e,t,o){var r=o("c86c");t=r(!1),t.push([e.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-bf7076f2]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.u-loading-circle[data-v-bf7076f2]{display:inline-flex;vertical-align:middle;width:%?28?%;height:%?28?%;background:0 0;border-radius:50%;border:2px solid;border-color:#e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;-webkit-animation:u-circle-data-v-bf7076f2 1s linear infinite;animation:u-circle-data-v-bf7076f2 1s linear infinite}.u-loading-flower[data-v-bf7076f2]{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:u-flower-data-v-bf7076f2 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}@-webkit-keyframes u-flower-data-v-bf7076f2{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-flower-data-v-bf7076f2{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes u-circle-data-v-bf7076f2{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}",""]),e.exports=t},1851:function(e,t,o){"use strict";var r=o("8bdb"),n=o("84d6"),a=o("1cb5");r({target:"Array",proto:!0},{fill:n}),a("fill")},"1c26":function(e,t,o){"use strict";o("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,o("64aa");var r={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp:function(e,t){this.clearTimer(),this.start()}},data:function(){return{d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}},computed:{itemStyle:function(){var e={};return this.height&&(e.height=this.height+"rpx",e.width=this.height+"rpx"),this.showBorder&&(e.borderStyle="solid",e.borderColor=this.borderColor,e.borderWidth="1px"),this.bgColor&&(e.backgroundColor=this.bgColor),e},letterStyle:function(){var e={};return this.fontSize&&(e.fontSize=this.fontSize+"rpx"),this.color&&(e.color=this.color),e}},mounted:function(){this.autoplay&&this.timestamp&&this.start()},methods:{start:function(){var e=this;this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval((function(){if(e.seconds--,e.$emit("change",e.seconds),e.seconds<0)return e.end();e.formatTime(e.seconds)}),1e3))},formatTime:function(e){e<=0&&this.end();var t,o=0,r=0,n=0;o=Math.floor(e/86400),t=Math.floor(e/3600)-24*o;var a=null;a=this.showDays?t:Math.floor(e/3600),r=Math.floor(e/60)-60*t-24*o*60,n=Math.floor(e)-24*o*60*60-60*t*60-60*r,a=a<10?"0"+a:a,r=r<10?"0"+r:r,n=n<10?"0"+n:n,o=o<10?"0"+o:o,this.d=o,this.h=a,this.i=r,this.s=n},end:function(){this.clearTimer(),this.$emit("end",{})},clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}};t.default=r},3737:function(e,t,o){"use strict";var r=o("7bed"),n=o.n(r);n.a},3775:function(e,t,o){"use strict";var r=o("5c1e"),n=o.n(r);n.a},"3c25":function(e,t,o){var r=o("4dde");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=o("967d").default;n("406bf565",r,!0,{sourceMap:!1,shadowMode:!1})},"45b8":function(e,t,o){"use strict";o("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,o("64aa");var r={name:"GoodsCard",props:{shape:{type:String,default:"square"},image:{type:String,default:""},name:{type:String,default:""},price:{type:[String,Number],default:0},minPrice:{type:[String,Number,Boolean],default:!1},containStyle:{type:Object,default:function(){}},imageStyle:{type:Object,default:function(){}},disableMsg:{type:String,default:""}},computed:{TipMsg:function(){switch(this.disableMsg){case"商品库存不足":return"库存不足";case"商品不能购买":return"商品下架";case"超过购买限制":return"不可购买"}}}};t.default=r},"4daa":function(e,t,o){"use strict";o.r(t);var r=o("6f28"),n=o("70e0");for(var a in n)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(a);o("3737");var i=o("828b"),s=Object(i["a"])(n["default"],r["b"],r["c"],!1,null,"444de25e",null,!1,r["a"],void 0);t["default"]=s.exports},"4dde":function(e,t,o){var r=o("c86c");t=r(!1),t.push([e.i,".tki-qrcode[data-v-31b1516c]{position:relative}.tki-qrcode-canvas[data-v-31b1516c]{position:fixed;top:%?-99999?%;left:%?-99999?%;z-index:-99999}",""]),e.exports=t},"4e5d":function(e,t,o){"use strict";o.r(t);var r=o("5f6b"),n=o("05f3");for(var a in n)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(a);o("c936");var i=o("828b"),s=Object(i["a"])(n["default"],r["b"],r["c"],!1,null,"63927db0",null,!1,r["a"],void 0);t["default"]=s.exports},"50c0d":function(e,t,o){"use strict";o.d(t,"b",(function(){return r})),o.d(t,"c",(function(){return n})),o.d(t,"a",(function(){}));var r=function(){var e=this.$createElement,t=this._self._c||e;return this.show?t("v-uni-view",{staticClass:"u-loading",class:"circle"==this.mode?"u-loading-circle":"u-loading-flower",style:[this.cricleStyle]}):this._e()},n=[]},"527f":function(e,t,o){"use strict";o.r(t);var r=o("50c0d"),n=o("e41a");for(var a in n)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(a);o("59af");var i=o("828b"),s=Object(i["a"])(n["default"],r["b"],r["c"],!1,null,"bf7076f2",null,!1,r["a"],void 0);t["default"]=s.exports},5317:function(e,t,o){"use strict";o.r(t);var r=o("8d29"),n=o("bdec");for(var a in n)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(a);o("3775");var i=o("828b"),s=Object(i["a"])(n["default"],r["b"],r["c"],!1,null,"c5506d9a",null,!1,r["a"],void 0);t["default"]=s.exports},"59af":function(e,t,o){"use strict";var r=o("f866"),n=o.n(r);n.a},"5c1e":function(e,t,o){var r=o("e9cd");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=o("967d").default;n("331fde86",r,!0,{sourceMap:!1,shadowMode:!1})},"5f6b":function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return a})),o.d(t,"a",(function(){return r}));var r={navbar:o("909a").default,uCountDown:o("5317").default,addressCard:o("6ebb").default,uIcon:o("1340").default,uImage:o("566d").default,uPopup:o("002f").default,tkiQrcode:o("b5d9").default,goodsCard:o("4daa").default,price:o("1266").default,pageStatus:o("7cfb").default,uEmpty:o("7bc9").default},n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",{class:e.themeName},[o("navbar",{attrs:{title:"订单详情"}}),o("v-uni-view",{staticClass:"order-detail"},[o("v-uni-view",{staticClass:"order-status"},[e.orderInfo.order_status?2!==e.orderInfo.delivery_type?[o("v-uni-view",{staticClass:"order-status-name"},[e._v(e._s(e.orderAction["name"]))]),e.orderAction["desc"]?[o("v-uni-view",{staticClass:"order-status-desc"},[e._v(e._s(e.orderAction["desc"]))])]:e._e()]:2===e.orderInfo.delivery_type?[o("v-uni-view",{staticClass:"order-status-name"},[e._v(e._s(e.selffetchStatus[e.orderInfo.order_status]["name"]))]),e.selffetchStatus[e.orderInfo.order_status]["desc"]?[o("v-uni-view",{staticClass:"order-status-desc"},[e._v(e._s(e.selffetchStatus[e.orderInfo.order_status]["desc"]))])]:e._e()]:e._e():[5!==e.orderInfo.pay_way?o("v-uni-view",{staticClass:"order-status-name"},[e._v(e._s(e.orderAction["name"]))]):o("v-uni-view",{staticClass:"order-status-name"},[e._v("等待商家处理,请耐心等待")]),e.showCountDown?o("v-uni-view",{staticClass:"order-status-desc"},[5!==e.orderInfo.pay_way?o("v-uni-text",{staticClass:"m-r-10"},[e._v("支付剩余")]):e._e(),o("u-count-down",{attrs:{timestamp:e.getCountDownSegment(e.orderInfo.cancel_unpaid_orders_time),"show-days":!1,"show-hours":!1,"font-size":26,"separator-size":26,color:"#FFFFFF","separator-color":"#FFFFFF","bg-color":"unset",separator:"zh"},on:{end:function(t){arguments[0]=t=e.$handleEvent(t),e.showCountDown=!1}}}),o("v-uni-text",{staticClass:"m-l-10"},[e._v("自动关闭")])],1):e._e()]],2),o("v-uni-view",{staticClass:"delivery"},[1==e.orderInfo.delivery_type||e.addressInfo.address?[o("address-card",{attrs:{"has-content":!0,"border-radius":"7px"}},[o("template",{slot:"header"},[o("v-uni-text",[e._v(e._s(e.addressInfo.contact))]),o("v-uni-text",{staticClass:"m-l-10"},[e._v(e._s(e.addressInfo.mobile))])],1),o("template",{slot:"main"},[o("v-uni-text",[e._v(e._s(e.addressInfo.province))]),o("v-uni-text",{staticClass:"m-l-10"},[e._v(e._s(e.addressInfo.city))]),o("v-uni-text",{staticClass:"m-l-10"},[e._v(e._s(e.addressInfo.district))]),o("v-uni-text",{staticClass:"m-l-10"},[e._v(e._s(e.addressInfo.address))])],1)],2)]:e._e(),2===e.orderInfo.delivery_type||e.orderInfo.selffetch_shop?[o("v-uni-view",{staticClass:"contain receive address-card"},[o("v-uni-view",[o("u-icon",{attrs:{name:"man-add",size:"35"}}),o("v-uni-text",{staticClass:"black m-l-20 lg"},[e._v(e._s(e.addressInfo.contact))]),o("v-uni-text",{staticClass:"black m-l-20 lg"},[e._v(e._s(e.addressInfo.mobile))])],1),o("v-uni-view",{staticClass:"m-t-20"},[o("u-icon",{attrs:{name:"tags",size:"35"}}),o("v-uni-text",{staticClass:"black m-l-15 lg"},[e._v(e._s(e.orderInfo.selffetch_shop.name))])],1),o("v-uni-view",{staticClass:"flex row-between"},[o("v-uni-view",[o("v-uni-view",{staticClass:"m-t-15 muted xs"},[e._v("门店地址:"+e._s(e.orderInfo.selffetch_shop.detailed_address))]),o("v-uni-view",{staticClass:"m-t-15 muted xs"},[e._v("营业时间:"+e._s(e.shopOpenTime))])],1),o("v-uni-view",[o("u-image",{attrs:{width:"100rpx",height:"100rpx",src:e.orderInfo.selffetch_shop.image},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleImage.apply(void 0,arguments)}}})],1)],1),o("v-uni-view",{staticClass:"m-t-50 flex row-between"},[o("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleshowQR.apply(void 0,arguments)}}},[o("u-icon",{attrs:{name:"scan"}}),o("v-uni-text",{staticClass:"m-l-5"},[e._v("出示核销码")])],1),o("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handlePhone.apply(void 0,arguments)}}},[o("u-icon",{attrs:{name:"phone"}}),o("v-uni-text",{staticClass:"m-l-5"},[e._v("联系自提点")])],1),o("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleLocation.apply(void 0,arguments)}}},[o("u-icon",{attrs:{name:"map"}}),o("v-uni-text",{staticClass:"m-l-5"},[e._v("导航自提点")])],1)],1)],1)]:e._e()],2),o("u-popup",{attrs:{mode:"bottom","safe-area-inset-bottom":!0,"border-radius":"20"},model:{value:e.showQR,callback:function(t){e.showQR=t},expression:"showQR"}},[e.showQR?o("v-uni-view",{staticClass:"contain receive"},[o("v-uni-view",{staticClass:"receive-qr flex-col row-center col-center p-30"},[o("v-uni-view",{},[e._v("核销码")]),o("v-uni-text",{staticClass:"m-t-30"},[e._v("请将二维码展示给店员或者提供数字核销码")]),e.showQR?o("v-uni-view",{staticClass:"m-t-40 qr-contain",class:{"qr-contain--die":e.orderInfo.verification_status}},[o("tki-qrcode",{ref:"qrcode",attrs:{uni:"px",val:e.orderInfo.pickup_code,size:276,showLoading:!1}})],1):e._e(),o("v-uni-view",{staticClass:"m-t-30 black qr-code"},[e._v(e._s(e.orderInfo.pickup_code))])],1)],1):e._e()],1),e.OrderTypeEnum["TEAM"]===e.orderInfo.order_type?[o("v-uni-view",{staticClass:"contain flex row-between p-20 nr"},[o("v-uni-text",[e._v("拼团状态")]),o("v-uni-text",{style:{color:e.themeColor}},[e._v(e._s(e.teamStatus[e.orderInfo.is_team_success]))])],1)]:e._e(),o("v-uni-view",{staticClass:"contain order-goods"},e._l(e.goodsList,(function(t,r){return o("v-uni-view",{key:r},[o("goods-card",{key:r,attrs:{shape:"rectangle",name:t.goods_name,image:t.goods_image,"contain-style":{height:"230rpx"},"image-style":{width:"180rpx",height:"180rpx"}},on:{click:function(o){arguments[0]=o=e.$handleEvent(o),e.goGoodsDetail(t.goods_id)}}},[o("v-uni-view",{staticClass:"flex-1",attrs:{slot:"default"},slot:"default"},[o("v-uni-text",{staticClass:"muted xs m-t-10 skuline"},[e._v(e._s(t.spec_value_str))]),o("v-uni-view",{staticClass:"m-t-10 flex row-between"},[o("v-uni-view",{staticClass:"flex col-center"},[0==e.orderInfo.order_type||4==e.orderInfo.order_type?o("price",{attrs:{content:t.original_price,mainSize:"32rpx",minorSize:"24rpx"}}):o("price",{attrs:{content:t.goods_price,mainSize:"32rpx",minorSize:"24rpx"}}),0!=t.member_price?o("v-uni-view",{staticClass:"vip-price flex m-l-10"},[o("v-uni-view",{staticClass:"price-name xxs"},[e._v("会员价")]),o("v-uni-view",{staticStyle:{padding:"0 10rpx"}},[o("price",{attrs:{content:t.member_price,weight:500,color:"#7B3200"}})],1)],1):e._e()],1),o("v-uni-text",{staticClass:"lighter sm"},[e._v("x"+e._s(t.goods_num))])],1)],1)],1),t.after_sale_btn?o("v-uni-view",{staticClass:"order-goods__handle"},[1===t.after_sale_btn?[o("v-uni-view",{staticClass:"order-goods__handle-button",on:{click:function(o){arguments[0]=o=e.$handleEvent(o),e.goAfterSale(e.afterSaleStatus[t.after_sale_btn]["href"],t.id)}}},[e._v(e._s(e.afterSaleStatus[t.after_sale_btn]["name"]))])]:[o("v-uni-view",{staticClass:"order-goods__handle-button",on:{click:function(o){arguments[0]=o=e.$handleEvent(o),e.goAfterSale(e.afterSaleStatus[t.after_sale_btn]["href"],t.after_sale_id)}}},[e._v(e._s(e.afterSaleStatus[t.after_sale_btn]["name"]))])]],2):e._e()],1)})),1),e.orderInfo.delivery_content||e.orderInfo.delivery_content1.length?[o("v-uni-view",{staticClass:"order-info contain"},[o("v-uni-view",{staticClass:"item"},[e._v("发货信息:"),0==e.orderInfo.delivery_content_type?o("v-uni-view",{staticClass:"black m-t-10",staticStyle:{"word-break":"break-all"}},[e._v(e._s(e.orderInfo.delivery_content))]):o("v-uni-view",{staticClass:"black m-t-10",staticStyle:{"word-break":"break-all"}},e._l(e.orderInfo.delivery_content1,(function(t){return o("v-uni-view",{key:t},[e._v(e._s(t.name)+":"+e._s(t.content))])})),1),o("v-uni-view",{staticClass:"flex row-right m-t-30"},[0==e.orderInfo.delivery_content_type?o("v-uni-view",{staticClass:"copy-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleCopy(e.orderInfo.delivery_content)}}},[e._v("复制")]):e._e(),1==e.orderInfo.delivery_content_type?o("v-uni-view",{staticClass:"copy-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handletemplateCopy(e.orderInfo.delivery_content1)}}},[e._v("复制")]):e._e()],1)],1)],1)]:e._e(),5==e.orderInfo.order_type&&e.orderInfo.presell&&0==e.orderInfo.order_status||5==e.orderInfo.order_type&&e.orderInfo.presell&&1==e.orderInfo.order_status?o("v-uni-view",{staticClass:"contain order-bill"},[0==e.orderInfo.order_status?[0==e.orderInfo.presell.send_type?o("v-uni-text",[e._v("付款后")]):e._e(),1==e.orderInfo.presell.send_type?o("v-uni-text",[e._v("活动结束")]):e._e(),e._v(e._s(e.orderInfo.presell.send_type_day)+"天内发货")]:e._e(),1==e.orderInfo.order_status?[e._v(e._s(e.orderInfo.presell.order_send_text))]:e._e()],2):e._e(),o("v-uni-view",{staticClass:"contain order-bill"},[o("v-uni-view",{staticClass:"cell order-bill__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("商品金额")]),o("v-uni-view",{staticClass:"cell-content"},[0==e.orderInfo.order_type||4==e.orderInfo.order_type?o("price",{attrs:{content:e.orderInfo.total_original_price}}):o("price",{attrs:{content:e.orderInfo.goods_price}})],1)],1),o("v-uni-view",{staticClass:"cell order-bill__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("运费")]),o("v-uni-view",{staticClass:"cell-content"},[o("price",{attrs:{content:e.orderInfo.express_price}})],1)],1),1*e.orderInfo.discount_amount?o("v-uni-view",{staticClass:"cell order-bill__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("优惠券")]),o("v-uni-view",{staticClass:"cell-content"},[o("price",{attrs:{content:e.orderInfo.discount_amount,color:e.themeColor,prefix:"-¥"}})],1)],1):e._e(),1*e.orderInfo.member_amount?o("v-uni-view",{staticClass:"cell order-bill__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("会员折扣")]),o("v-uni-view",{staticClass:"cell-content"},[o("price",{attrs:{content:e.orderInfo.member_amount,color:e.themeColor,prefix:"-¥"}})],1)],1):e._e(),1*e.orderInfo.change_price?o("v-uni-view",{staticClass:"cell order-bill__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("商品改价")]),o("v-uni-view",{staticClass:"cell-content"},[o("price",{attrs:{content:e.orderInfo.change_price,color:e.themeColor,prefix:"¥"}})],1)],1):e._e(),o("v-uni-view",{staticClass:"cell order-bill__item"},[o("v-uni-view",{staticClass:"cell-content"},[o("v-uni-text",{staticClass:"muted m-r-10"},[e._v("实付款:")]),o("price",{attrs:{content:e.orderInfo.order_amount,mainSize:"32rpx",minorSize:"24rpx",color:e.themeColor}})],1)],1)],1),e.orderInfo.user_remark?o("v-uni-view",{staticClass:"contain cell remark"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("买家留言")]),o("v-uni-view",{staticClass:"cell-content muted",staticStyle:{"word-break":"break-all"}},[e._v(e._s(e.orderInfo.user_remark))])],1):e._e(),o("v-uni-view",{staticClass:"contain order-info"},[o("v-uni-view",{staticClass:"cell order-info__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("订单编号")]),o("v-uni-view",{staticClass:"cell-content"},[o("v-uni-view",{staticClass:"flex-1"},[e._v(e._s(e.orderInfo.sn))]),o("v-uni-view",{staticClass:"button--copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleCopy(e.orderInfo.sn)}}},[e._v("复制")])],1)],1),o("v-uni-view",{staticClass:"cell order-info__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("订单类型")]),o("v-uni-view",{staticClass:"cell-content"},[e._v(e._s(e.orderInfo.order_type_desc))])],1),o("v-uni-view",{staticClass:"cell order-info__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("支付方式")]),o("v-uni-view",{staticClass:"cell-content"},[e._v(e._s(e.getPaywayName(e.orderInfo.pay_way)))])],1),o("v-uni-view",{staticClass:"cell order-info__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("下单时间")]),o("v-uni-view",{staticClass:"cell-content"},[e._v(e._s(e.orderInfo.create_time))])],1),e.orderInfo.pay_time?o("v-uni-view",{staticClass:"cell order-info__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("付款时间")]),o("v-uni-view",{staticClass:"cell-content"},[e._v(e._s(e.orderInfo.pay_time))])],1):e._e(),e.orderInfo.express_time?o("v-uni-view",{staticClass:"cell order-info__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("发货时间")]),o("v-uni-view",{staticClass:"cell-content"},[e._v(e._s(e.orderInfo.express_time))])],1):e._e(),e.orderInfo.confirm_take_time?o("v-uni-view",{staticClass:"cell order-info__item"},[o("v-uni-view",{staticClass:"cell-label"},[e._v("成交时间")]),o("v-uni-view",{staticClass:"cell-content"},[e._v(e._s(e.orderInfo.confirm_take_time))])],1):e._e()],1),e.orderButtons.length?o("v-uni-view",{staticClass:"operational"},[e._l(e.orderButtons,(function(t){return[o("v-uni-view",{key:t.event+"_0",class:["order-button","order-button--"+t.style],on:{click:function(o){arguments[0]=o=e.$handleEvent(o),e.onOrderButtons(t["event"],e.orderInfo.id,e.orderInfo.pay_way)}}},[e._v(e._s(t.name))])]}))],2):e._e(),o("page-status",{attrs:{status:e.pageStatus},scopedSlots:e._u([{key:"error",fn:function(){return[o("u-empty",{attrs:{text:"订单异常",src:"/static/images/empty/order.png","icon-size":280}})]},proxy:!0}])})],2)],1)},a=[]},"646f":function(e,t,o){"use strict";var r=o("3c25"),n=o.n(r);n.a},"6f28":function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return a})),o.d(t,"a",(function(){return r}));var r={uImage:o("566d").default,price:o("1266").default},n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",{class:["goods",{"goods--square":"square"===e.shape},{"goods--rectangle":"rectangle"===e.shape},{invalid:e.disableMsg}],style:[e.containStyle]},[o("v-uni-view",{staticClass:"goods-images",style:[e.imageStyle]},[o("u-image",{attrs:{width:"100%",height:"100%",src:e.image,mode:"scaleToFill"}}),e.disableMsg?o("v-uni-view",{staticClass:"goods-status"},[e._v(e._s(e.TipMsg))]):e._e()],1),o("v-uni-view",{staticClass:"goods-content"},[o("v-uni-view",{staticClass:"goods-name line-2"},[e._t("name",[e._v(e._s(e.name))])],2),o("v-uni-view",{staticClass:"goods-other"},[e._t("default",[o("price",{attrs:{content:e.price,"main-size":"42rpx","minor-size":"36rpx",color:e.themeColor}},[o("v-uni-view",{attrs:{slot:"suffix"},slot:"suffix"},[o("price",{directives:[{name:"show",rawName:"v-show",value:Number(e.minPrice),expression:"Number(minPrice)"}],staticClass:"muted sm m-l-12",attrs:{"line-through":!0,content:e.minPrice}})],1)],1)])],2)],1)],1)},a=[]},"70e0":function(e,t,o){"use strict";o.r(t);var r=o("45b8"),n=o.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return r[e]}))}(a);t["default"]=n.a},"7bed":function(e,t,o){var r=o("0127");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=o("967d").default;n("29c5f229",r,!0,{sourceMap:!1,shadowMode:!1})},"7fd6":function(e,t,o){"use strict";o("6a54");var r=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o("2634")),a=r(o("2fdc"));o("aa9c"),o("7a76"),o("c9b5"),o("bf0f");var i=o("0669"),s=(o("7398"),r(o("4632")),{data:function(){return{ButtonsMap:{payment:{event:"payment",name:"立即付款",style:"primary"},succeed:{event:"succeed",name:"确认收货",style:"normal"},evaluate:{event:"evaluate",name:"去评价",style:"normal"},content:{event:"content",name:"查看内容",style:"muted"},express:{event:"express",name:"查看物流",style:"muted"},close:{event:"close",name:"取消订单",style:"muted"},delete:{event:"delete",name:"删除订单",style:"muted"},pickup:{event:"pickup",name:"查看提货码",style:"normal"}}}},methods:{getOrderStatusButtons:function(e){var t=[];return e.delete_btn&&t.push(this.ButtonsMap["delete"]),e.cancel_btn&&t.push(this.ButtonsMap["close"]),e.content_btn&&t.push(this.ButtonsMap["content"]),e.delivery_btn&&t.push(this.ButtonsMap["express"]),e.comment_btn&&t.push(this.ButtonsMap["evaluate"]),e.confirm_btn&&t.push(this.ButtonsMap["succeed"]),e.pickup_btn&&t.push(this.ButtonsMap["pickup"]),e.pay_btn&&t.push(this.ButtonsMap["payment"]),t},onOrderButtons:function(e,t,o){switch(e){case"payment":return this.handlePayment(t);case"succeed":return this.handleSucceed(t,o);case"evaluate":return this.handleEvaluate(t);case"express":return this.handleExpress(t);case"close":return this.handleClose(t);case"delete":return this.handleDelete(t);case"pickup":return this.handlePickup(t);case"content":return this.handleContent(t)}},refreshOrderData:function(){throw new Error("未初始化刷新方法")},handlePayment:function(e){this.$Router.push({path:"/pages/payment/payment",query:{from:"order",order_id:e}})},comfirmReceive:function(e){return new Promise((function(t,o){wx.openBusinessView({businessType:"weappOrderConfirm",extraData:{transaction_id:e},success:function(e){var o=e.extraData;"success"==o.status?t("确认收货"):t("取消收货")},fail:function(e){o(e)}})}))},querycomfirmReceive:function(e){return new Promise((function(t,o){(0,i.getwechatSyncCheck)({id:e}).then((function(e){4===e.order.order_state?t("已确认收货"):o("未确认收货")})).catch((function(e){o(e)}))}))},handleSucceed:function(e,t){var o=this;return(0,a.default)((0,n.default)().mark((function r(){return(0,n.default)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:console.log(t),uni.showModal({title:"温馨提示",content:"是否确认收货?",confirmColor:o.themeColor,success:function(t){var r=t.confirm;r&&(0,i.apiOrderConfirm)({id:e}).then((function(e){o.$toast({title:"收货成功"}),o.refreshOrderData()})).catch((function(e){console.log(e)})).finally((function(){}))}});case 2:case"end":return r.stop()}}),r)})))()},handleContent:function(e){this.$Router.push({path:"/pages/order_detail/order_detail",query:{order_id:e}})},handleEvaluate:function(e){this.$Router.push({path:"/bundle/pages/goods_comment/goods_comment"})},handleExpress:function(e){this.$Router.push({path:"/bundle/pages/order_logistics/order_logistics",query:{order_id:e}})},handleClose:function(e){var t=this;uni.showModal({title:"温馨提示",content:"是否取消订单?",confirmColor:this.themeColor,success:function(o){var r=o.confirm;r&&(0,i.apiOrderClose)({id:e}).then((function(e){t.$toast({title:"取消成功"}),t.refreshOrderData()})).catch((function(e){console.log(e)})).finally((function(){}))}})},handleDelete:function(e){var t=this;uni.showModal({title:"温馨提示",content:"是否删除订单?",confirmColor:this.themeColor,success:function(o){var r=o.confirm;r&&(0,i.apiOrderDelete)({id:e}).then((function(e){t.$toast({title:"删除成功"}),t.refreshOrderData()})).catch((function(e){console.log(e)})).finally((function(){}))}})},handlePickup:function(e){this.$Router.push({path:"/pages/order_detail/order_detail",query:{order_id:e}})}}}),d=s;t.default=d},"8d29":function(e,t,o){"use strict";o.d(t,"b",(function(){return r})),o.d(t,"c",(function(){return n})),o.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",{staticClass:"u-countdown"},[e.showDays&&(e.hideZeroDay||!e.hideZeroDay&&"00"!=e.d)?o("v-uni-view",{staticClass:"u-countdown-item",style:[e.itemStyle]},[o("v-uni-view",{staticClass:"u-countdown-time",style:[e.letterStyle]},[e._v(e._s(e.d))])],1):e._e(),e.showDays&&(e.hideZeroDay||!e.hideZeroDay&&"00"!=e.d)?o("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0}},[e._v(e._s("colon"==e.separator?":":"天"))]):e._e(),e.showHours?o("v-uni-view",{staticClass:"u-countdown-item",style:[e.itemStyle]},[o("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:e.fontSize+"rpx",color:e.color}},[e._v(e._s(e.h))])],1):e._e(),e.showHours?o("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0}},[e._v(e._s("colon"==e.separator?":":"时"))]):e._e(),e.showMinutes?o("v-uni-view",{staticClass:"u-countdown-item",style:[e.itemStyle]},[o("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:e.fontSize+"rpx",color:e.color}},[e._v(e._s(e.i))])],1):e._e(),e.showMinutes?o("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0}},[e._v(e._s("colon"==e.separator?":":"分"))]):e._e(),e.showSeconds?o("v-uni-view",{staticClass:"u-countdown-item",style:[e.itemStyle]},[o("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:e.fontSize+"rpx",color:e.color}},[e._v(e._s(e.s))])],1):e._e(),e.showSeconds&&"zh"==e.separator?o("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:e.separatorSize+"rpx",color:e.separatorColor,paddingBottom:"colon"==e.separator?"4rpx":0}},[e._v("秒")]):e._e()],1)},n=[]},a3bc:function(e,t,o){var r=o("c86c");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/** S Font\'s size **/\n/** E Font\'s size **/[data-v-63927db0]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.order-detail[data-v-63927db0]{padding:0 %?20?% calc(%?100?% + %?20?% + constant(safe-area-inset-bottom)) %?20?%;padding:0 %?20?% calc(%?100?% + %?20?% + env(safe-area-inset-bottom)) %?20?%;background-size:200vw %?200?%;background-repeat:no-repeat}.red_theme .order-detail[data-v-63927db0]{background-image:linear-gradient(90deg,#f95f2f,#ff2c3c)}.orange_theme .order-detail[data-v-63927db0]{background-image:linear-gradient(90deg,#ffd200,#f7971e)}.pink_theme .order-detail[data-v-63927db0]{background-image:linear-gradient(90deg,#fd498f,#fa444d)}.gold_theme .order-detail[data-v-63927db0]{background-image:linear-gradient(90deg,#ebc389,#e0a356)}.blue_theme .order-detail[data-v-63927db0]{background-image:linear-gradient(90deg,#56ccf2,#2f80ed)}.green_theme .order-detail[data-v-63927db0]{background-image:linear-gradient(90deg,#3de650,#2ec840)}.order-detail .contain[data-v-63927db0]{margin-top:%?20?%;border-radius:7px;background-color:#fff}.order-detail .cell[data-v-63927db0]{display:flex;align-items:center;justify-content:space-between;font-size:%?28?%}.order-detail .cell-label[data-v-63927db0]{width:%?142?%}.order-detail .cell-content[data-v-63927db0]{flex:1;display:flex;align-items:center}.order-status[data-v-63927db0]{position:relative;display:flex;flex-direction:column;justify-content:center;height:%?136?%;color:#fff}.order-status-name[data-v-63927db0]{font-size:%?32?%}.order-status-desc[data-v-63927db0]{font-size:%?26?%}.order-goods__handle[data-v-63927db0]{display:flex;align-items:center;justify-content:flex-end;padding:0 %?20?% %?20?% %?20?%}.order-goods__handle-button[data-v-63927db0]{padding:%?8?% %?30?%;border:1px solid #e5e5e5;border-radius:60px;font-size:%?26?%}.order-bill[data-v-63927db0]{padding:%?20?%}.order-bill__item[data-v-63927db0]{height:%?60?%}.order-bill__item .cell-content[data-v-63927db0]{justify-content:flex-end}.remark[data-v-63927db0]{padding:%?24?% %?20?%;align-items:flex-start!important}.order-info[data-v-63927db0]{padding:%?20?%}.order-info__item[data-v-63927db0]{height:%?60?%}.order-info .copy-btn[data-v-63927db0]{font-size:%?24?%;padding:%?6?% %?18?%;border-radius:%?8?%}.red_theme .order-info .copy-btn[data-v-63927db0]{color:#ff2c3c}.orange_theme .order-info .copy-btn[data-v-63927db0]{color:#f7971e}.pink_theme .order-info .copy-btn[data-v-63927db0]{color:#fa444d}.gold_theme .order-info .copy-btn[data-v-63927db0]{color:#e0a356}.blue_theme .order-info .copy-btn[data-v-63927db0]{color:#2f80ed}.green_theme .order-info .copy-btn[data-v-63927db0]{color:#2ec840}.red_theme .order-info .copy-btn[data-v-63927db0]{background-color:rgba(255,44,60,.1)}.orange_theme .order-info .copy-btn[data-v-63927db0]{background-color:rgba(247,151,30,.1)}.pink_theme .order-info .copy-btn[data-v-63927db0]{background-color:rgba(250,68,77,.1)}.gold_theme .order-info .copy-btn[data-v-63927db0]{background-color:rgba(224,163,86,.1)}.blue_theme .order-info .copy-btn[data-v-63927db0]{background-color:rgba(47,128,237,.1)}.green_theme .order-info .copy-btn[data-v-63927db0]{background-color:rgba(46,200,64,.1)}.receive[data-v-63927db0]{position:relative}.receive .delivery--die[data-v-63927db0]{position:absolute;top:0;right:%?30?%}.receive .receive-qr[data-v-63927db0]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:%?460?%}.receive .qr-contain[data-v-63927db0]{box-sizing:border-box;display:flex;justify-content:center;align-items:center;width:140px;height:140px;border:1px solid #ccc;border-radius:5px}.receive .qr-contain--die[data-v-63927db0]{position:relative}.receive .qr-contain--die[data-v-63927db0]::before{position:absolute;z-index:99;top:0;left:0;right:0;bottom:0;display:block;content:"";background-color:hsla(0,0%,100%,.5)}.receive .qr-code[data-v-63927db0]{padding:%?8?% %?30?%;border-radius:60px;background-color:#f6f6f6}.receive .receive-info[data-v-63927db0]{padding-left:%?20?%}.receive .receive-info-item[data-v-63927db0]{display:flex;justify-content:space-between;align-items:center;height:%?100?%;padding-right:%?30?%}.receive .receive-info-item[data-v-63927db0]:nth-child(n + 2){border-top:1px dashed #e5e5e5}.operational[data-v-63927db0]{box-sizing:border-box;position:fixed;left:0;right:0;bottom:0;height:calc(%?100?% + constant(safe-area-inset-bottom));height:calc(%?100?% + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:flex-end;padding:0 %?20?% constant(safe-area-inset-bottom) %?20?%;padding:0 %?20?% env(safe-area-inset-bottom) %?20?%;border-top:1px solid #e5e5e5;background-color:#fff}.operational .order-button[data-v-63927db0]{box-sizing:border-box;padding:%?10?% %?30?%;border-radius:60px;font-size:%?28?%}.operational .order-button[data-v-63927db0]:nth-child(n + 2){margin-left:%?20?%}.operational .order-button--primary[data-v-63927db0]{color:#fff}.red_theme .operational .order-button--primary[data-v-63927db0]{background-color:#ff2c3c}.orange_theme .operational .order-button--primary[data-v-63927db0]{background-color:#f7971e}.pink_theme .operational .order-button--primary[data-v-63927db0]{background-color:#fa444d}.gold_theme .operational .order-button--primary[data-v-63927db0]{background-color:#e0a356}.blue_theme .operational .order-button--primary[data-v-63927db0]{background-color:#2f80ed}.green_theme .operational .order-button--primary[data-v-63927db0]{background-color:#2ec840}.operational .order-button--normal[data-v-63927db0]{border-width:1px;border-style:solid}.red_theme .operational .order-button--normal[data-v-63927db0]{border-color:#ff2c3c}.orange_theme .operational .order-button--normal[data-v-63927db0]{border-color:#f7971e}.pink_theme .operational .order-button--normal[data-v-63927db0]{border-color:#fa444d}.gold_theme .operational .order-button--normal[data-v-63927db0]{border-color:#e0a356}.blue_theme .operational .order-button--normal[data-v-63927db0]{border-color:#2f80ed}.green_theme .operational .order-button--normal[data-v-63927db0]{border-color:#2ec840}.red_theme .operational .order-button--normal[data-v-63927db0]{color:#ff2c3c}.orange_theme .operational .order-button--normal[data-v-63927db0]{color:#f7971e}.pink_theme .operational .order-button--normal[data-v-63927db0]{color:#fa444d}.gold_theme .operational .order-button--normal[data-v-63927db0]{color:#e0a356}.blue_theme .operational .order-button--normal[data-v-63927db0]{color:#2f80ed}.green_theme .operational .order-button--normal[data-v-63927db0]{color:#2ec840}.operational .order-button--muted[data-v-63927db0]{border:1px solid #e5e5e5;color:#666}.button--copy[data-v-63927db0]{padding:%?4?% %?20?%;border:1px solid #e5e5e5;border-radius:60px;font-size:%?24?%}.vip-price[data-v-63927db0]{margin-top:%?5?%;background-color:#ffe9ba;color:#ffd4b7;line-height:%?36?%;border-radius:%?6?%;overflow:hidden}.vip-price .price-name[data-v-63927db0]{background-color:#101010;padding:%?3?% %?12?%;position:relative;overflow:hidden}.vip-price .price-name[data-v-63927db0]::after{content:"";display:block;width:%?20?%;height:%?20?%;position:absolute;right:%?-15?%;background-color:#ffe9ba;border-radius:50%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);box-sizing:border-box}.address-card[data-v-63927db0]{padding:%?30?%}',""]),e.exports=t},ad6e:function(e,t,o){"use strict";o("6a54");var r=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o("fcf3"));o("64aa"),o("d4b5");var a,i=r(o("aff94")),s={name:"tki-qrcode",props:{cid:{type:String,default:"tki-qrcode-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"二维码生成中"}},data:function(){return{result:""}},methods:{_makeCode:function(){console.log("_makeCode");var e=this;this._empty(this.val)?uni.showToast({title:"二维码内容不能为空",icon:"none",duration:2e3}):a=new i.default({context:e,canvasId:e.cid,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText,text:e.val,size:e.cpSize,background:e.background,foreground:e.foreground,pdground:e.pdground,correctLevel:e.lv,image:e.icon,imageSize:e.iconSize,cbResult:function(t){e._result(t)}})},_clearCode:function(){this._result(""),a.clear()},_saveCode:function(){""!=this.result&&uni.saveImageToPhotosAlbum({filePath:this.result,success:function(){uni.showToast({title:"二维码保存成功",icon:"success",duration:2e3})}})},_result:function(e){console.log(e,123456),this.result=e,this.$emit("result",e)},_empty:function(e){var t=(0,n.default)(e),o=!1;return"number"==t&&""==String(e)||"undefined"==t?o=!0:"object"==t?"{}"!=JSON.stringify(e)&&"[]"!=JSON.stringify(e)&&null!=e||(o=!0):"string"==t?""!=e&&"undefined"!=e&&"null"!=e&&"{}"!=e&&"[]"!=e||(o=!0):"function"==t&&(o=!1),o}},watch:{size:function(e,t){var o=this;e==t||this._empty(e)||(this.cSize=e,this._empty(this.val)||setTimeout((function(){o._makeCode()}),100))},val:function(e,t){var o=this;this.onval&&(e==t||this._empty(e)||setTimeout((function(){o._makeCode()}),0))}},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},mounted:function(){var e=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){e._makeCode()}),0))}};t.default=s},aff94:function(e,t,o){"use strict";o("6a54");var r=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r(o("fcf3"));o("aa9c"),o("7a76"),o("c9b5"),o("64aa"),o("1851"),o("d4b5");var n={};(function(){function e(e){var t,o,r;return e<128?[e]:e<2048?(t=192+(e>>6),o=128+(63&e),[t,o]):(t=224+(e>>12),o=128+(e>>6&63),r=128+(63&e),[t,o,r])}function t(t,o){this.typeNumber=-1,this.errorCorrectLevel=o,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=function(t){for(var o=[],r=0;r<t.length;r++)for(var n=t.charCodeAt(r),a=e(n),i=0;i<a.length;i++)o.push(a[i]);return o}(t),this.make()}t.prototype={constructor:t,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var t=0;t<this.moduleCount;t++)this.modules[t]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,e),this.typeNumber>=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(e,t){for(var o=-1;o<=7;o++)if(!(e+o<=-1||this.moduleCount<=e+o))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+o][t+r]=0<=o&&o<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=r&&r<=4)},createQrcode:function(){for(var e=0,t=0,o=null,r=0;r<8;r++){this.makeImpl(r);var n=a.getLostPoint(this);(0==r||e>n)&&(e=n,t=r,o=this.modules)}this.modules=o,this.setupTypeInfo(!1,t),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0,null==this.modules[6][e]&&(this.modules[6][e]=e%2==0))},setupPositionAdjustPattern:function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var o=0;o<e.length;o++){var r=e[t],n=e[o];if(null==this.modules[r][n])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[r+i][n+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),o=0;o<18;o++){var r=!e&&1==(t>>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=r,this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=r}},setupTypeInfo:function(e,t){for(var r=o[this.errorCorrectLevel]<<3|t,n=a.getBCHTypeInfo(r),i=0;i<15;i++){var s=!e&&1==(n>>i&1);i<6?this.modules[i][8]=s:i<8?this.modules[i+1][8]=s:this.modules[this.moduleCount-15+i][8]=s;s=!e&&1==(n>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=s:i<9?this.modules[8][15-i-1+1]=s:this.modules[8][15-i-1]=s}this.modules[this.moduleCount-8][8]=!e},createData:function(){var e=new c,o=this.typeNumber>9?16:8;e.put(4,4),e.put(this.utf8bytes.length,o);for(var r=0,n=this.utf8bytes.length;r<n;r++)e.put(this.utf8bytes[r],8);e.length+4<=8*this.totalDataCount&&e.put(0,4);while(e.length%8!=0)e.putBit(!1);while(1){if(e.length>=8*this.totalDataCount)break;if(e.put(t.PAD0,8),e.length>=8*this.totalDataCount)break;e.put(t.PAD1,8)}return this.createBytes(e)},createBytes:function(e){for(var t=0,o=0,r=0,n=this.rsBlock.length/3,i=new Array,s=0;s<n;s++)for(var l=this.rsBlock[3*s+0],c=this.rsBlock[3*s+1],u=this.rsBlock[3*s+2],f=0;f<l;f++)i.push([u,c]);for(var h=new Array(i.length),v=new Array(i.length),p=0;p<i.length;p++){var m=i[p][0],g=i[p][1]-m;o=Math.max(o,m),r=Math.max(r,g),h[p]=new Array(m);for(s=0;s<h[p].length;s++)h[p][s]=255&e.buffer[s+t];t+=m;var b=a.getErrorCorrectPolynomial(g),_=new d(h[p],b.getLength()-1),y=_.mod(b);v[p]=new Array(b.getLength()-1);for(s=0;s<v[p].length;s++){var w=s+y.getLength()-v[p].length;v[p][s]=w>=0?y.get(w):0}}var I=new Array(this.totalDataCount),C=0;for(s=0;s<o;s++)for(p=0;p<i.length;p++)s<h[p].length&&(I[C++]=h[p][s]);for(s=0;s<r;s++)for(p=0;p<i.length;p++)s<v[p].length&&(I[C++]=v[p][s]);return I},mapData:function(e,t){for(var o=-1,r=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;s>0;s-=2){6==s&&s--;while(1){for(var d=0;d<2;d++)if(null==this.modules[r][s-d]){var l=!1;i<e.length&&(l=1==(e[i]>>>n&1));var c=a.getMask(t,r,s-d);c&&(l=!l),this.modules[r][s-d]=l,n--,-1==n&&(i++,n=7)}if(r+=o,r<0||this.moduleCount<=r){r-=o,o=-o;break}}}}},t.PAD0=236,t.PAD1=17;for(var o=[1,0,3,2],r={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){var t=e<<10;while(a.getBCHDigit(t)-a.getBCHDigit(a.G15)>=0)t^=a.G15<<a.getBCHDigit(t)-a.getBCHDigit(a.G15);return(e<<10|t)^a.G15_MASK},getBCHTypeNumber:function(e){var t=e<<12;while(a.getBCHDigit(t)-a.getBCHDigit(a.G18)>=0)t^=a.G18<<a.getBCHDigit(t)-a.getBCHDigit(a.G18);return e<<12|t},getBCHDigit:function(e){var t=0;while(0!=e)t++,e>>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,o){switch(e){case r.PATTERN000:return(t+o)%2==0;case r.PATTERN001:return t%2==0;case r.PATTERN010:return o%3==0;case r.PATTERN011:return(t+o)%3==0;case r.PATTERN100:return(Math.floor(t/2)+Math.floor(o/3))%2==0;case r.PATTERN101:return t*o%2+t*o%3==0;case r.PATTERN110:return(t*o%2+t*o%3)%2==0;case r.PATTERN111:return(t*o%3+(t+o)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new d([1],0),o=0;o<e;o++)t=t.multiply(new d([1,i.gexp(o)],0));return t},getLostPoint:function(e){for(var t=e.getModuleCount(),o=0,r=0,n=0;n<t;n++)for(var a=0,i=e.modules[n][0],s=0;s<t;s++){var d=e.modules[n][s];if(s<t-6&&d&&!e.modules[n][s+1]&&e.modules[n][s+2]&&e.modules[n][s+3]&&e.modules[n][s+4]&&!e.modules[n][s+5]&&e.modules[n][s+6]&&(s<t-10?e.modules[n][s+7]&&e.modules[n][s+8]&&e.modules[n][s+9]&&e.modules[n][s+10]&&(o+=40):s>3&&e.modules[n][s-1]&&e.modules[n][s-2]&&e.modules[n][s-3]&&e.modules[n][s-4]&&(o+=40)),n<t-1&&s<t-1){var l=0;d&&l++,e.modules[n+1][s]&&l++,e.modules[n][s+1]&&l++,e.modules[n+1][s+1]&&l++,0!=l&&4!=l||(o+=3)}i^d?a++:(i=d,a>=5&&(o+=3+a-5),a=1),d&&r++}for(s=0;s<t;s++)for(a=0,i=e.modules[0][s],n=0;n<t;n++){d=e.modules[n][s];n<t-6&&d&&!e.modules[n+1][s]&&e.modules[n+2][s]&&e.modules[n+3][s]&&e.modules[n+4][s]&&!e.modules[n+5][s]&&e.modules[n+6][s]&&(n<t-10?e.modules[n+7][s]&&e.modules[n+8][s]&&e.modules[n+9][s]&&e.modules[n+10][s]&&(o+=40):n>3&&e.modules[n-1][s]&&e.modules[n-2][s]&&e.modules[n-3][s]&&e.modules[n-4][s]&&(o+=40)),i^d?a++:(i=d,a>=5&&(o+=3+a-5),a=1)}var c=Math.abs(100*r/t/t-50)/5;return o+=10*c,o}},i={glog:function(e){if(e<1)throw new Error("glog("+e+")");return i.LOG_TABLE[e]},gexp:function(e){while(e<0)e+=255;while(e>=256)e-=255;return i.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},s=0;s<8;s++)i.EXP_TABLE[s]=1<<s;for(s=8;s<256;s++)i.EXP_TABLE[s]=i.EXP_TABLE[s-4]^i.EXP_TABLE[s-5]^i.EXP_TABLE[s-6]^i.EXP_TABLE[s-8];for(s=0;s<255;s++)i.LOG_TABLE[i.EXP_TABLE[s]]=s;function d(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);var o=0;while(o<e.length&&0==e[o])o++;this.num=new Array(e.length-o+t);for(var r=0;r<e.length-o;r++)this.num[r]=e[r+o]}d.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),o=0;o<this.getLength();o++)for(var r=0;r<e.getLength();r++)t[o+r]^=i.gexp(i.glog(this.get(o))+i.glog(e.get(r)));return new d(t,0)},mod:function(e){var t=this.getLength(),o=e.getLength();if(t-o<0)return this;for(var r=new Array(t),n=0;n<t;n++)r[n]=this.get(n);while(r.length>=o){var a=i.glog(r[0])-i.glog(e.get(0));for(n=0;n<e.getLength();n++)r[n]^=i.gexp(i.glog(e.get(n))+a);while(0==r[0])r.shift()}return new d(r,0)}};var l=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function c(){this.buffer=new Array,this.length=0}t.prototype.getRightType=function(){for(var e=1;e<41;e++){var t=l[4*(e-1)+this.errorCorrectLevel];if(void 0==t)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var o=t.length/3,r=0,n=0;n<o;n++){var a=t[3*n+0],i=t[3*n+2];r+=i*a}var s=e>9?2:1;if(this.utf8bytes.length+s<r||40==e){this.typeNumber=e,this.rsBlock=t,this.totalDataCount=r;break}}},c.prototype={get:function(e){var t=Math.floor(e/8);return this.buffer[t]>>>7-e%8&1},put:function(e,t){for(var o=0;o<t;o++)this.putBit(e>>>t-o-1&1)},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var u=[];n=function(e){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:e.canvasId,context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText},"string"===typeof e&&(e={text:e}),e)for(var o in e)this.options[o]=e[o];for(var r=null,n=(o=0,u.length);o<n;o++)if(u[o].text==this.options.text&&u[o].text.correctLevel==this.options.correctLevel){r=u[o].obj;break}o==n&&(r=new t(this.options.text,this.options.correctLevel),u.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:r}));var a=function(e){var t=e.options;return t.pdground&&(e.row>1&&e.row<5&&e.col>1&&e.col<5||e.row>e.count-6&&e.row<e.count-2&&e.col>1&&e.col<5||e.row>1&&e.row<5&&e.col>e.count-6&&e.col<e.count-2)?t.pdground:t.foreground};(function(e){e.showLoading&&uni.showLoading({title:e.loadingText,mask:!0});for(var t=uni.createCanvasContext(e.canvasId,e.context),o=r.getModuleCount(),n=e.size,i=e.imageSize,s=(n/o).toPrecision(4),d=(n/o).toPrecision(4),l=0;l<o;l++)for(var c=0;c<o;c++){var u=Math.ceil((c+1)*s)-Math.floor(c*s),f=Math.ceil((l+1)*s)-Math.floor(l*s),h=a({row:l,col:c,count:o,options:e});t.setFillStyle(r.modules[l][c]?h:e.background),t.fillRect(Math.round(c*s),Math.round(l*d),u,f)}if(e.image){var v=Number(((n-i)/2).toFixed(2)),p=Number(((n-i)/2).toFixed(2));(function(t,o,r,n,a,i,s,d,l){t.setLineWidth(s),t.setFillStyle(e.background),t.setStrokeStyle(e.background),t.beginPath(),t.moveTo(o+i,r),t.arcTo(o+n,r,o+n,r+i,i),t.arcTo(o+n,r+a,o+n-i,r+a,i),t.arcTo(o,r+a,o,r+a-i,i),t.arcTo(o,r,o+i,r,i),t.closePath(),d&&t.fill(),l&&t.stroke()})(t,v,p,i,i,2,6,!0,!0),t.drawImage(e.image,v,p,i,i)}setTimeout((function(){t.draw(!0,(function(){setTimeout((function(){uni.canvasToTempFilePath({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:e.canvasId,quality:Number(1),success:function(t){e.cbResult&&e.cbResult(t.tempFilePath)},fail:function(t){e.cbResult&&e.cbResult(t)},complete:function(){e.showLoading&&uni.hideLoading()}},e.context)}),e.text.length+100)}))}),e.usingComponents?0:150)})(this.options)},n.prototype.clear=function(e){var t=uni.createCanvasContext(this.options.canvasId,this.options.context);t.clearRect(0,0,this.options.size,this.options.size),t.draw(!1,(function(){e&&e()}))}})();var a=n;t.default=a},b5d9:function(e,t,o){"use strict";o.r(t);var r=o("f8cc"),n=o("06b9");for(var a in n)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(a);o("646f");var i=o("828b"),s=Object(i["a"])(n["default"],r["b"],r["c"],!1,null,"31b1516c",null,!1,r["a"],void 0);t["default"]=s.exports},bdec:function(e,t,o){"use strict";o.r(t);var r=o("1c26"),n=o.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return r[e]}))}(a);t["default"]=n.a},c936:function(e,t,o){"use strict";var r=o("f3e1"),n=o.n(r);n.a},d9ab:function(e,t,o){"use strict";o("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,o("64aa");var r={name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle:function(){var e={};return e.width=this.size+"rpx",e.height=this.size+"rpx","circle"==this.mode&&(e.borderColor="#e4e4e4 #e4e4e4 #e4e4e4 ".concat(this.color?this.color:"#c7c7c7")),e}}};t.default=r},e41a:function(e,t,o){"use strict";o.r(t);var r=o("d9ab"),n=o.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return r[e]}))}(a);t["default"]=n.a},e9cd:function(e,t,o){var r=o("c86c");t=r(!1),t.push([e.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-c5506d9a]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.u-countdown[data-v-c5506d9a]{display:inline-flex;align-items:center}.u-countdown-item[data-v-c5506d9a]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:%?2?%;border-radius:%?6?%;white-space:nowrap;-webkit-transform:translateZ(0);transform:translateZ(0)}.u-countdown-time[data-v-c5506d9a]{margin:0;padding:0;line-height:1}.u-countdown-colon[data-v-c5506d9a]{display:flex;flex-direction:row;justify-content:center;padding:0 %?5?%;line-height:1;align-items:center;padding-bottom:%?4?%}.u-countdown-scale[data-v-c5506d9a]{-webkit-transform:scale(.9);transform:scale(.9);-webkit-transform-origin:center center;transform-origin:center center}",""]),e.exports=t},f2a7:function(e,t,o){"use strict";o("6a54");var r=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o("2634")),a=r(o("2fdc"));o("4100"),o("c223"),o("f7a5"),o("bf0f"),o("2797"),o("64aa"),o("fd3c"),o("aa9c"),o("5c47"),o("a1c1"),o("7a76"),o("c9b5");var i=o("0669"),s=r(o("7fd6")),d=o("7398"),l=o("704d"),c=r(o("566d")),u={components:{uImage:c.default},name:"OrderDetail",mixins:[s.default],data:function(){return{showQR:!1,pageStatus:l.PageStatusEnum["LOADING"],order_id:"",orderInfo:{delivery_content1:[]},goodsList:[],addressInfo:{},orderButtons:[],showCountDown:!0,orderStatus:{0:{name:"等待买家付款"},1:{name:"等待商家发货",desc:"您的商品正在打包中,请耐心等待…"},2:{name:"待收货",desc:"您的商品正在路中,请耐心等待…"},3:{name:"已完成",desc:"商品已签收,期待再次购买!"},4:{name:"订单已关闭",desc:""}},selffetchStatus:{2:{name:"待取货",desc:"请前往指定门店取货"},3:{name:"已完成",desc:"交易已完成,感谢您的购买!"},4:{name:"订单已关闭",desc:""}},afterSaleStatus:{1:{name:"申请售后",href:"/bundle/pages/post_after_sale/post_after_sale"},2:{name:"售后中",href:"/bundle/pages/after_sale_detail/after_sale_detail"},3:{name:"售后成功",href:"/bundle/pages/after_sale_detail/after_sale_detail"},4:{name:"售后失败",href:"/bundle/pages/after_sale_detail/after_sale_detail"}},teamStatus:{0:"拼团中",1:"拼团成功",2:"拼团失败"}}},computed:{OrderTypeEnum:function(){return l.OrderTypeEnum},orderAction:function(){return this.orderStatus[this.orderInfo.order_status]||{}},shopOpenTime:function(){var e;if(this.orderInfo.selffetch_shop){var t=["周一","周二","周三","周四","周五","周六","周日"],o="",r=null===(e=this.orderInfo.selffetch_shop)||void 0===e?void 0:e.weekdays.split(",").sort(),n=r.length;return 7==r.length?o="每日".concat(this.orderInfo.selffetch_shop.business_start_time.slice(0,5),"-").concat(this.orderInfo.selffetch_shop.business_end_time.slice(0,5)):(r.forEach((function(e,r){for(var a=1;a<=7;a++)e==a&&(o+=t[a-1]+"".concat(r==n-1?"":"、"))})),o+="".concat(this.orderInfo.selffetch_shop.business_start_time.slice(0,5),"-").concat(this.orderInfo.selffetch_shop.business_end_time.slice(0,5))),o}}},methods:{handleImage:function(){uni.previewImage({urls:[this.orderInfo.selffetch_shop.image]})},handleLocation:function(){uni.openLocation({latitude:Number(this.orderInfo.selffetch_shop.latitude),longitude:Number(this.orderInfo.selffetch_shop.longitude),address:this.orderInfo.selffetch_shop.detailed_address,name:this.orderInfo.selffetch_shop.name,fail:function(e){console.log(e)}})},handlePhone:function(){uni.makePhoneCall({phoneNumber:this.orderInfo.selffetch_shop.mobile})},handleshowQR:function(){if(!this.orderInfo.order_status)return this.$toast({title:"付款后可查看"});this.showQR=!0,this.$nextTick((function(){var e=this.$refs["qrcode"];e._makeCode()}))},handletemplateCopy:function(e){var t=e.map((function(e){return e.name+":"+e.content})),o="";t.forEach((function(e){o+=e})),(0,d.copy)(o)},handleCopy:d.copy,refreshOrderData:function(){var e=this;return(0,i.apiOrderDetail)({id:this.order_id}).then((function(t){var o;return e.orderInfo=t,e.addressInfo=t.address,e.goodsList=t.order_goods,e.orderButtons=null!==(o=e.getOrderStatusButtons(t.btn))&&void 0!==o?o:[],Promise.resolve(t)})).then((function(e){e.delivery_type})).catch((function(e){return Promise.reject(e)}))},getPaywayName:function(e){switch(e){case 1:return"余额支付";case 2:return"微信支付";case 3:return"支付宝支付";case 5:return"线下支付"}},getCountDownSegment:function(e){var t=(new Date).getTime()/1e3;return e-t<=0&&(this.showCountDown=!1),e-t},goGoodsDetail:function(e){this.$Router.push({path:"/pages/goods_detail/goods_detail",query:{id:e}})},goAfterSale:function(e,t){this.$Router.push({path:e,query:{id:t}})}},onLoad:function(){var e=this;return(0,a.default)((0,n.default)().mark((function t(){var o;return(0,n.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=e.$Route.query,e.isLogin){t.next=3;break}return t.abrupt("return",e.$Router.replace("/pages/login/login"));case 3:if(t.prev=3,o.order_id){t.next=6;break}throw new Error("订单异常");case 6:return e.order_id=o.order_id,t.next=9,e.refreshOrderData();case 9:e.pageStatus=l.PageStatusEnum["NORMAL"],t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](3),console.log(t.t0),e.pageStatus=l.PageStatusEnum["ERROR"];case 16:uni.$on("duringPayment",(function(t){var o=t.result;o===l.PaymentStatusEnum["SUCCESS"]&&(e.$Router.back(),setTimeout((function(){e.$toast({title:"支付成功"})}),500),e.refreshOrderData())}));case 17:case"end":return t.stop()}}),t,null,[[3,12]])})))()},onUnload:function(){uni.$off("duringPayment")}};t.default=u},f3e1:function(e,t,o){var r=o("a3bc");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=o("967d").default;n("133672d0",r,!0,{sourceMap:!1,shadowMode:!1})},f866:function(e,t,o){var r=o("097b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=o("967d").default;n("50e27100",r,!0,{sourceMap:!1,shadowMode:!1})},f8cc:function(e,t,o){"use strict";o.d(t,"b",(function(){return r})),o.d(t,"c",(function(){return n})),o.d(t,"a",(function(){}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"tki-qrcode"},[t("v-uni-canvas",{staticClass:"tki-qrcode-canvas",style:{width:this.cpSize+"px",height:this.cpSize+"px"},attrs:{"canvas-id":this.cid}}),t("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:this.show,expression:"show"}],style:{width:this.cpSize+"px",height:this.cpSize+"px"},attrs:{src:this.result}})],1)},n=[]}}]);