SIM-order-detail.280faaec.js 41 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["SIM-order-detail"],{"1e4c":function(t,e,i){"use strict";i.r(e);var o=i("dbe2"),a=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e["default"]=a.a},2506:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitAndPayApi=e.remarkApi=e.queryFlowApi=e.projectList=e.packageListApi=e.listApi=e.getSPDetail=e.getPayType=e.getPackageListApi=e.getOrderDetailApi=void 0;var a=o(i("7653"));e.projectList=function(t){return a.default.post("api/user.product.phoneRecharge.sim/list",t)};e.getSPDetail=function(t){return a.default.post("api/user.product.phoneRecharge.sim/detail",t)};e.packageListApi=function(t){return a.default.post("api/user.product.phoneRecharge.sim/packageList",t)};e.getPayType=function(t){return a.default.post("api/user.visa.product/dict",t)};e.submitAndPayApi=function(t){return a.default.post("api/user.order.phoneRecharge.sim/submitAndPay",t)};e.getOrderDetailApi=function(t){return a.default.post("api/user.order.phoneRecharge.sim/detail",t)};e.getPackageListApi=function(t){return a.default.post("api/user.product.phoneRecharge.sim/packageList",t)};e.queryFlowApi=function(t){return a.default.post("api/user.order.phoneRecharge.sim/queryFlow",t)};e.remarkApi=function(t){return a.default.post("api/user.order.phoneRecharge.sim/remark",t)};e.listApi=function(t){return a.default.post("api/user.order.phoneRecharge.sim/list",t)}},"284b":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-line-progress-class tn-line-progress",style:[t.progressStyle]},[i("v-uni-view",{staticClass:"tn-line-progress--active",class:[t.$tn.color.getBackgroundColorInternalClass(t.activeColor),t.striped?t.stripedAnimation?"tn-line-progress__striped tn-line-progress__striped--active":"tn-line-progress__striped":""],style:[t.progressActiveStyle]}),i("v-uni-view",{staticClass:"progress-percent"},[t.$slots.default||t.$slots.$default?t._t("default"):t.showPercent?[t._v(t._s(t.percent+"%"))]:t._e()],2)],1)},a=[]},"6b0e":function(t,e,i){var o=i("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-line-progress[data-v-afcdff44]{position:relative;display:inline-flex;align-items:center;width:100%;height:%?28?%;overflow:hidden;border-radius:%?100?%;background-color:#f0f0f0\n /* 进度值 start */\n /* 进度值 end */}.tn-line-progress--active[data-v-afcdff44]{display:flex;flex-direction:row;align-items:center;justify-items:flex-end;justify-content:space-around;width:0;height:100%;font-size:%?20?%;color:#fff;background-color:#01beff;transition:all .3s ease}.tn-line-progress__striped[data-v-afcdff44]{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:%?80?% %?80?%}.tn-line-progress__striped--active[data-v-afcdff44]{-webkit-animation:progress-striped-data-v-afcdff44 2s linear infinite;animation:progress-striped-data-v-afcdff44 2s linear infinite}.tn-line-progress .progress-percent[data-v-afcdff44]{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);white-space:nowrap;font-size:%?20?%}@-webkit-keyframes progress-striped-data-v-afcdff44{0%{background-position:0 0}100%{background-position:%?80?% 0}}@keyframes progress-striped-data-v-afcdff44{0%{background-position:0 0}100%{background-position:%?80?% 0}}',""]),t.exports=e},"8bae":function(t,e,i){"use strict";i.r(e);var o=i("bc5c"),a=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e["default"]=a.a},"8e5b":function(t,e,i){var o=i("8f95");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("967d").default;a("07475394",o,!0,{sourceMap:!1,shadowMode:!1})},"8f95":function(t,e,i){var o=i("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.order-price[data-v-7d445dac]{margin-top:%?16?%;font-family:Source Han Sans CN;font-weight:800;font-size:%?46?%;color:#f60;line-height:%?42?%}.order-price .price-icon[data-v-7d445dac]{font-family:Source Han Sans CN;font-weight:500;font-size:%?26?%;color:#f60;line-height:%?42?%}.order-title[data-v-7d445dac]{font-family:Source Han Sans CN;font-weight:500;font-size:%?28?%;color:#000}.order-info[data-v-7d445dac]{display:flex}.order-image[data-v-7d445dac]{width:%?110?%;height:%?110?%;border-radius:%?10?%;margin-right:%?27?%}.wrapper[data-v-7d445dac]{min-height:100vh;padding:%?30?% %?30?% %?80?% %?30?%;background:linear-gradient(0deg,#efeff4 80%,#ffca28)}.wrapper .more-qcm[data-v-7d445dac]{display:flex;flex-wrap:wrap}.wrapper .top-bg[data-v-7d445dac]{background-image:url(https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/take-2.png);background-repeat:no-repeat;background-size:100% 100%;padding:%?30?%;margin-bottom:%?20?%;border-radius:%?20?%;min-height:%?240?%;background-color:#fff}.wrapper .top-bg .tip[data-v-7d445dac]{display:flex;flex-direction:column;justify-content:space-between}.wrapper .top-bg .tip .size[data-v-7d445dac]{font-size:%?55?%}.wrapper .top-bg .tip .nums[data-v-7d445dac]{padding:%?5?% %?15?%;background-color:#ffc929;border-radius:%?10?%;display:inline-block}.wrapper .top-bg .tip .qrCode-tip[data-v-7d445dac]{display:flex;align-items:center}.wrapper .top-bg .tip-qc[data-v-7d445dac]{margin-left:%?12?%;margin-bottom:%?10?%;background-color:#d70107;display:inline-block;color:#fff;width:%?92?%;text-align:center;line-height:%?42?%;height:%?45?%;font-size:%?22?%;border-radius:%?40?% %?40?% %?40?% 0}.custom-map[data-v-7d445dac]{width:100%}.customCallout .box[data-v-7d445dac]{display:flex;align-items:center;background:#fff;height:%?50?%;font-size:%?24?%;color:#333;font-weight:500;background-color:#fff;position:relative;background-color:initial;border-radius:%?10?%;overflow:hidden}.customCallout .box .type[data-v-7d445dac]{width:%?60?%;background-color:#2459ee;color:#fff;height:%?50?%;display:block;text-align:center;line-height:%?50?%}.customCallout .box .from[data-v-7d445dac],\n.customCallout .box .to[data-v-7d445dac]{height:%?50?%;padding:0 %?10?%;min-width:%?100?%;display:block;text-align:center;line-height:%?50?%;background:#fff;box-sizing:border-box;border-top-right-radius:%?10?%;border-bottom-right-radius:%?10?%;overflow:hidden}.customCallout .triangle[data-v-7d445dac]{margin:0 auto;height:6px;width:10px;display:block;margin-bottom:8px}.customCallout .dot[data-v-7d445dac]{border-radius:50%;width:%?36?%;height:%?36?%;background-color:#fff;display:flex;justify-content:center;align-items:center;box-shadow:0 6px 25px 0 rgba(0,0,0,.1);margin:%?10?% auto 0 auto}.customCallout .dot .dot-child[data-v-7d445dac]{border-radius:50%;width:%?22?%;height:%?22?%;background-color:#2459ee;display:block;margin:0 auto}.customCallout .box .status99[data-v-7d445dac]{background-color:#666}.customCallout .dot .dot-child.status99[data-v-7d445dac]{background-color:#666}\n/* 订单状态信息 start */.order-status[data-v-7d445dac]{border-radius:%?15?%;padding:%?30?%;background-color:#fff}.order-status .status-value[data-v-7d445dac]{font-size:%?42?%;font-weight:700;color:#ffca28}.order-status .status-tips[data-v-7d445dac]{margin-top:%?20?%;color:#aaa}.order-status .order-operation-btns[data-v-7d445dac]{margin-top:%?20?%}.order-status .order-operation-btns .btn[data-v-7d445dac]{padding:%?10?% %?16?%;border-radius:%?15?%}.order-status .order-operation-btns .btn + .btn[data-v-7d445dac]{margin-left:%?12?%}\n/* 订单状态信息 end */.lock[data-v-7d445dac]{background:#fff;border-radius:%?15?%;padding:%?16?%;margin-top:%?30?%;width:100%;padding:%?30?%;flex-direction:column}.lock .lock_item[data-v-7d445dac]{display:flex;margin-bottom:%?20?%}.lock .lock_item uni-text[data-v-7d445dac]{font-size:%?30?%}.lock .operation[data-v-7d445dac]{display:flex;flex-direction:column;justify-content:space-between}.lock .operation .button[data-v-7d445dac]{background:#ffca28;border-radius:%?15?%;color:#000;font-size:%?30?%;text-align:center;margin-bottom:%?20?%;font-weight:600;height:%?80?%;line-height:%?80?%}.lock .operation .description[data-v-7d445dac]{color:#aaa;font-size:%?24?%;text-align:center}.lock uni-text[data-v-7d445dac]{font-size:%?30?%}.deliveryer[data-v-7d445dac]{background:#fff;border-radius:%?15?%;padding:%?16?%;margin-top:%?30?%;width:100%}.deliveryer uni-image[data-v-7d445dac]{height:%?60?%;width:%?60?%;border-radius:%?10?%;display:block;margin-right:%?20?%}.deliveryer uni-text[data-v-7d445dac]{font-size:%?30?%}\n/* 商品价格信息 start */.product-price-info[data-v-7d445dac]{margin-top:%?40?%;width:100%;border-radius:%?15?%\n /* 商品信息 start */\n /* 商品信息 end */\n /* 价格信息 start */\n /* 价格信息 end */\n /* 优惠信息 start */\n /* 优惠信息 end */\n /* 总计价格 start */\n /* 总计价格 end */\n /* 致电商家 start */\n /* 致电商家 end */}.product-price-info .product-info[data-v-7d445dac]{padding:%?40?% %?30?%;border-radius:%?15?% %?15?% %?0?% %?0?%;background:radial-gradient(circle at left bottom,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at right bottom,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat;border-bottom:%?1?% dashed #f3f2f7\n /* 商品列表 start */\n /* 商品列表 end */}.product-price-info .product-info .store-name[data-v-7d445dac]{font-size:%?30?%}.product-price-info .product-info .store-name .store-logo[data-v-7d445dac]{height:%?60?%;width:%?60?%;border-radius:%?6?%}.product-price-info .product-info .product-list .product-item[data-v-7d445dac]{border-radius:%?8?%;padding:%?20?%;display:flex}.product-price-info .product-info .product-list .product-item .item-image[data-v-7d445dac]{width:%?120?%;height:%?120?%;border-radius:%?8?%}.product-price-info .product-info .product-list .product-item .item-info[data-v-7d445dac]{flex:1;padding-left:%?20?%}.product-price-info .product-info .product-list .product-item .item-info .title[data-v-7d445dac]{width:100%;font-size:%?32?%}.product-price-info .product-info .product-list .product-item .item-info .spec[data-v-7d445dac]{font-size:%?22?%;color:#aaa;margin-top:%?4?%}.product-price-info .product-info .product-list .product-item .item-info .price-num[data-v-7d445dac]{margin-top:%?8?%}.product-price-info .product-info .product-list .product-item .item-info .price-num .price[data-v-7d445dac]{font-size:%?32?%;font-weight:500}.product-price-info .price-info[data-v-7d445dac]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .price-info .item[data-v-7d445dac]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .price-info .item .price[data-v-7d445dac]{font-weight:700}.product-price-info .discount-info[data-v-7d445dac]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .discount-info .item[data-v-7d445dac]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .discount-info .item .price[data-v-7d445dac]{font-weight:700}.product-price-info .total-price[data-v-7d445dac]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .total-price .data[data-v-7d445dac]{display:flex;align-items:center}.product-price-info .total-price .data .sum[data-v-7d445dac],\n.product-price-info .total-price .data .discount[data-v-7d445dac],\n.product-price-info .total-price .data .paid[data-v-7d445dac]{margin-left:%?16?%}.product-price-info .total-price .data .paid[data-v-7d445dac]{font-size:%?34?%}.product-price-info .call-store[data-v-7d445dac]{width:100%;display:flex;align-items:center;justify-content:center;padding:%?30?%;border-radius:%?0?% %?0?% %?15?% %?15?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat}\n/* 商品价格信息 end */\n/* 订单信息卡片 start */.order-info-card[data-v-7d445dac]{border-radius:%?15?%;background-color:#fff;padding:%?30?%;margin-top:%?40?%}.order-info-card .infoType[data-v-7d445dac]{font-size:%?36?%;font-weight:700;margin-bottom:%?30?%}.order-info-card .item[data-v-7d445dac]{display:flex;justify-content:space-between}.order-info-card .item .title[data-v-7d445dac]{font-size:%?28?%;font-weight:500;color:#767676}.order-info-card .item + .item[data-v-7d445dac]{margin-top:%?30?%}\n/* 复制按钮 start */.copy-btn[data-v-7d445dac]{padding:%?4?% %?16?%;border-radius:%?12?%}\n/* 复制按钮 end */.value[data-v-7d445dac]{margin-left:%?20?%;font-size:%?26?%;font-weight:500;color:#000}.btn[data-v-7d445dac]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.btn + .btn[data-v-7d445dac]{margin-left:%?16?%}\n/* 订单信息卡片 end */.expansion[data-v-7d445dac]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-7d445dac]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-7d445dac]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-7d445dac]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-7d445dac]{width:100%}.expansion .expansion_box .line4[data-v-7d445dac]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-7d445dac]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-7d445dac]{width:%?60?%;height:%?60?%}.maskCode[data-v-7d445dac]{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:999;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center}.maskCode .cent-mod[data-v-7d445dac]{background-color:#fff;padding:%?30?%;border-radius:%?20?%}.maskCode .cent-mod .min-data[data-v-7d445dac]{min-width:65vw;min-height:60vw}.bottom-btns[data-v-7d445dac]{position:fixed;height:%?110?%;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:0;background-color:#fff;padding:0 %?30?%;box-shadow:0 %?-2?% %?10?% 0 rgba(0,0,0,.1)}.bottom-btns .btns_left[data-v-7d445dac]{flex:1}.bottom-btns .btns_right[data-v-7d445dac]{display:flex;flex:2;flex-direction:row}.bottom-btns .btns_right .btn[data-v-7d445dac]{flex:1;display:flex;justify-content:center;align-items:center;font-size:%?30?%;font-weight:500;width:%?200?%;height:%?80?%;border-radius:%?20?%;background-color:#bae7ff;color:#000}.bottom-btns .btns_right .btn + .btn[data-v-7d445dac]{margin-left:%?20?%}.order-log[data-v-7d445dac]{background-color:#fff;border-radius:%?15?%;padding:%?30?%;width:%?700?%}.order-log .log-item[data-v-7d445dac]{display:flex;margin-bottom:%?20?%;justify-content:space-between}.order-log .log-item .time[data-v-7d445dac]{font-size:%?30?%;color:#000;font-weight:bolder}.order-log .log-item .content[data-v-7d445dac]{flex:1;margin-left:%?20?%;font-size:%?30?%;color:#000;font-weight:bolder}.order-log .log-item .content[data-v-7d445dac]:before{content:"";display:inline-block;width:%?10?%;height:%?10?%;background-color:#ffca28;border-radius:50%;margin-right:%?10?%}.order-log .log-item2[data-v-7d445dac]{display:flex;margin-bottom:%?20?%;justify-content:space-between}.order-log .log-item2 .time[data-v-7d445dac]{font-size:%?24?%;color:#999}.order-log .log-item2 .content[data-v-7d445dac]{flex:1;margin-left:%?20?%;font-size:%?24?%;color:#999}.order-log .log-item2 .content[data-v-7d445dac]:before{content:"";display:inline-block;width:%?5?%;height:%?5?%;background-color:#999;border-radius:50%;margin-right:%?10?%}.spell-rice-box[data-v-7d445dac]{display:flex;flex-direction:column;background-color:#fff;text-align:center;justify-content:center}.spell-rice-box .row1[data-v-7d445dac]{font-size:%?20?%}.spell-rice-box .row2[data-v-7d445dac]{font-size:%?30?%;font-weight:700}.spell-rice-box .row3[data-v-7d445dac]{font-size:%?36?%;color:red}.spell-rice-box .persons[data-v-7d445dac]{display:flex;flex-direction:row;text-align:center;justify-self:center;align-items:center;padding:0 %?100?% 0 %?100?%;margin-top:%?20?%}.spell-rice-box .persons .leader[data-v-7d445dac]{flex:1;position:relative}.spell-rice-box .persons .leader uni-image[data-v-7d445dac]{width:%?100?%;height:%?100?%;background-color:#ccc;border-radius:50%}.spell-rice-box .persons .leader uni-text[data-v-7d445dac]{position:absolute;color:#fff;background-color:red;text-align:center;border-radius:%?15?%;width:%?100?%;font-size:%?24?%;top:-20%;left:0}.spell-rice-box .persons .mid[data-v-7d445dac]{flex:2;font-size:%?30?%;font-weight:bolder;margin:0 %?20?%}.spell-rice-box .persons .members[data-v-7d445dac]{flex:1}.spell-rice-box .persons .members uni-image[data-v-7d445dac]{width:%?100?%;height:%?100?%;background-color:#ccc;border-radius:50%}.spell-rice-box .share_btn[data-v-7d445dac]{background-color:#ffe9ea;color:#cd3b2b;height:%?80?%;display:flex;text-align:center;align-items:center;justify-content:center;border-radius:%?15?%;margin-top:%?15?%}',""]),t.exports=e},"9c14":function(t,e,i){"use strict";var o=i("8e5b"),a=i.n(o);a.a},"9e82":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o}));var o={loading:i("8c27").default,tnLineProgress:i("e985").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{kefu:!0,"custom-navbar":!0,"navbar-title":"订单详情","wrapper-bg-color":"#EFEFF4","before-back":t.handleBeforeNavBack}},[t.loadingShow?i("loading"):t._e(),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"flex space alcenter"},[i("v-uni-view",{staticClass:"ftw500",staticStyle:{"font-size":"38rpx"}},[t._v(t._s(t.orderInfo.order_status_text||"-"))])],1),t.orderInfo.simCard&&t.orderInfo.simCard.qrcode_url?i("v-uni-view",{staticClass:"order-status tn-flex-column mt20"},[i("v-uni-view",{staticClass:"flex alcenter center"},[i("v-uni-view",{staticClass:"value",staticStyle:{"margin-left":"0","font-size":"34rpx"}},[t._v("扫描二维码激活"+t._s(t.orderInfo.simCard.sim_card_type))])],1),i("v-uni-view",{staticClass:"flex alcenter center mt10"},[i("v-uni-image",{staticStyle:{width:"300rpx",height:"300rpx"},attrs:{src:t.orderInfo.simCard.qrcode_url,mode:""}})],1)],1):t._e(),t.orderInfo.address?i("v-uni-view",{staticClass:"order-status tn-flex-column mt20"},[i("v-uni-view",{staticClass:"flex alcenter"},[i("v-uni-view",{staticClass:"value",staticStyle:{flex:"1","margin-left":"0","font-size":"34rpx"}},[t._v(t._s(t.orderInfo.address.address||""))])],1),i("v-uni-view",{staticClass:"ft13 mt12",staticStyle:{color:"#767676"}},[t._v(t._s((t.orderInfo.address.realname||"")+"/"+(t.orderInfo.address.phone_area||"")+" "+(t.orderInfo.address.mobile||"")))])],1):t._e(),t.orderInfo.simCard&&1==t.orderInfo.simCard.flow_show?i("v-uni-view",{staticClass:"order-info-card"},[i("v-uni-view",{staticClass:"infoType flex alcenter space",staticStyle:{"margin-bottom":"0"}},[i("v-uni-text",[t._v("流量使用情况")]),1==t.orderInfo.simCard.flow_allow_fresh?i("v-uni-view",{staticClass:" ft14",staticStyle:{background:"#FFCA28","border-radius":"20rpx","font-weight":"bold",padding:"10rpx 20rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.queryFlow.apply(void 0,arguments)}}},[t._v("刷新")]):t._e()],1),i("v-uni-view",{staticClass:"mt15"},[i("tn-line-progress",{attrs:{percent:t.percent,height:20,activeColor:"#FFCA28"}}),i("v-uni-view",{staticClass:"mt5 flex alcenter space ft13 ftw500",staticStyle:{color:"#767676"}},[i("v-uni-view",{},[i("v-uni-text",[t._v(t._s("已用 "))]),i("v-uni-text",{staticStyle:{"font-size":"30rpx","font-weight":"bold",color:"#151515"}},[t._v(t._s(t.flow_info&&t.flow_info.value&&t.flow_info.value.used?t.flow_info.value.used:"-")+t._s(t.flow_info&&t.flow_info.unit?t.flow_info.unit:""))])],1),i("v-uni-view",{staticClass:"flex alcenter"},[i("v-uni-text",[t._v(t._s("剩余 "))]),i("v-uni-text",{staticStyle:{"font-size":"30rpx","font-weight":"bold",color:"#151515"}},[t._v(t._s(t.flow_info&&t.flow_info.value&&t.flow_info.value.left?t.flow_info.value.left:"-")+t._s(t.flow_info&&t.flow_info.unit?t.flow_info.unit:""))]),i("v-uni-text",[t._v(t._s(" /共 ")+t._s(t.flow_info&&t.flow_info.value&&t.flow_info.value.total?t.flow_info.value.total:"-")+t._s(t.flow_info&&t.flow_info.unit?t.flow_info.unit:""))])],1)],1),i("v-uni-view",{staticClass:"flex ft13 ftw500 mt10",staticStyle:{color:"#767676"}},[t._v("手动刷新获取5分钟内最新余量")]),i("v-uni-view",{staticClass:"flex ft13 ftw500 mt5",staticStyle:{color:"#767676"}},[t._v("最新更新时间:"+t._s(t.flow_info&&t.flow_info.time?t.flow_info.time:"-"))]),i("v-uni-view",{staticClass:"flex ft13 ftw500 mt5",staticStyle:{color:"#767676"}},[t._v("失效时间:"+t._s(t.card_expire_time||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"order-info-card"},[i("v-uni-view",{staticClass:"infoType"},[t._v("订单信息")]),i("v-uni-view",{staticClass:"order-info flex space"},[i("v-uni-view",{staticClass:"flex"},[t.orderInfo.product_img?i("v-uni-image",{staticClass:"order-image",attrs:{src:t.orderInfo.product_img,mode:"scaleToFill"}}):t._e(),i("v-uni-view",{staticClass:"order-details flex column",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"order-title"},[t._v(t._s(t.orderInfo.product_name||"-"))]),t.orderInfo.simCard?i("v-uni-view",{staticClass:"ft12 ftw500",staticStyle:{"margin-top":"16rpx",color:"#A4A4A4"}},[i("v-uni-text",[t._v("卡类型:"+t._s(t.orderInfo.simCard.sim_card_type))])],1):t._e(),t.orderInfo.simCard?i("v-uni-view",{staticClass:"ft12 ftw500",staticStyle:{"margin-top":"16rpx",color:"#A4A4A4"}},[i("v-uni-text",[t._v(t._s((t.orderInfo.simCard.flow?t.orderInfo.simCard.flow:"-")+" x "+(t.orderInfo.simCard.day?t.orderInfo.simCard.day+"天":"-")))])],1):t._e()],1)],1),t.orderInfo.order_amount?i("v-uni-view",{staticClass:"order-price ml30",staticStyle:{"margin-top":"0"}},[i("span",{staticClass:"price-icon"},[t._v(t._s(t.orderInfo.order_amount.unit))]),t._v(t._s(t.orderInfo.order_amount.value||"0"))]):t._e()],1),i("v-uni-view",{staticClass:"com-line",staticStyle:{background:"#EFEFF4"}}),t.orderInfo.simCard&&t.orderInfo.simCard.sim_no?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("卡号")]),i("v-uni-view",{staticClass:"flex"},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.simCard.sim_no||"-"))]),i("v-uni-text",{staticClass:"copy-btn ml15 ft13",staticStyle:{"margin-bottom":"4rpx"},style:[t.themeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.copyToClipBoard(t.orderInfo.simCard.sim_no)}}},[t._v("复制")])],1)],1):t._e(),t.orderInfo.simCard?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("国家")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.simCard.region||"-"))])],1):t._e(),t.orderInfo.simCard?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("流量类型")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.simCard.data_limit||"-"))])],1):t._e(),t.orderInfo.simCard?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("流量档位")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.simCard.flow||"-"))])],1):t._e(),t.orderInfo.simCard?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("流量天数")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.simCard.day?String(t.orderInfo.simCard.day).includes("天")?t.orderInfo.simCard.day:t.orderInfo.simCard.day+"天":"-"))])],1):t._e(),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("下单时间")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.create_time||"-"))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("订单编号")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.order_sn||"-"))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("支付方式")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.pay_id_text||"-"))])],1),t.orderInfo.pay_amount?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v("实付金额")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.orderInfo.pay_amount.currency)+t._s(t.orderInfo.pay_amount.val||"0"))])],1):t._e()],1),i("v-uni-view",{staticClass:"order-info-card"},[i("v-uni-view",{staticClass:"item alcenter"},[i("v-uni-view",{staticClass:"title"},[t._v("备注")]),i("v-uni-view",{staticClass:"flex alcenter end ml15",staticStyle:{flex:"1",width:"80%"}},[t.remark&&!t.showInput?i("v-uni-text",{staticClass:"value",staticStyle:{flex:"4",width:"70%","overflow-wrap":"break-word","text-align":"end"}},[t._v(t._s(t.remark))]):i("v-uni-input",{staticClass:"value",staticStyle:{"text-align":"end",flex:"4",width:"70%"},attrs:{"placeholder-style":"font-size: 28rpx;color: #B4B4B4;font-weight: 500;",placeholder:"可自定义编辑 如: 亲戚A使用",type:"text"},model:{value:t.remarkInput,callback:function(e){t.remarkInput=e},expression:"remarkInput"}}),t.remark&&!t.showInput?i("v-uni-text",{staticClass:"ml10 ft14 ftw500",staticStyle:{color:"#FF6600"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showInput=!0}}},[t._v("修改")]):i("v-uni-text",{staticClass:"ml10 ft14 ftw500",staticStyle:{color:"#FF6600"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitRemark.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)],1)],1)},r=[]},aaa9:function(t,e,i){"use strict";i.r(e);var o=i("9e82"),a=i("1e4c");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("9c14");var n=i("828b"),d=Object(n["a"])(a["default"],o["b"],o["c"],!1,null,"7d445dac",null,!1,o["a"],void 0);e["default"]=d.exports},bc5c:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var o={name:"tn-line-progress",props:{percent:{type:Number,default:0,validator:function(t){return t>=0&&t<=100}},height:{type:Number,default:0},round:{type:Boolean,default:!0},striped:{type:Boolean,default:!1},stripedAnimation:{type:Boolean,default:!0},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},showPercent:{type:Boolean,default:!1}},computed:{progressStyle:function(){var t={};return t.borderRadius=this.round?"100rpx":0,this.height&&(t.height=this.$tn.string.getLengthUnitValue(this.height)),this.inactiveColor&&(t.backgroundColor=this.inactiveColor),t},progressActiveStyle:function(){var t={};return t.width=this.percent+"%",this.$tn.color.getBackgroundColorStyle(this.activeColor)&&(t.backgroundColor=this.$tn.color.getBackgroundColorStyle(this.activeColor)),t}},data:function(){return{}}};e.default=o},bd09:function(t,e,i){"use strict";var o=i("c47e"),a=i.n(o);a.a},c47e:function(t,e,i){var o=i("6b0e");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("967d").default;a("6e0d9331",o,!0,{sourceMap:!1,shadowMode:!1})},dbe2:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("2797"),i("fd3c"),i("aa9c"),i("f7a5"),i("64aa"),i("5c47"),i("2c10");var a=o(i("5de6")),r=o(i("b7c7")),n=o(i("2634")),d=o(i("2fdc")),s=o(i("39d8")),l=o(i("dae0")),c=o(i("44ca")),f=o(i("34cae")),u=o(i("495e")),p=o(i("8c27")),v=i("9d0a"),g=i("419c"),h=i("815c"),m=o(i("fc1b")),w=(o(i("ae59")),i("2506")),b=o(i("dc1f")),_=(i("262c"),i("3137")),x=i("e0a2"),y={components:{PaySelectModal:f.default,CenterModal:u.default,loading:p.default,CustomMap:m.default},mixins:[b.default,l.default,c.default],data:function(){var t;return{showInput:!1,show:!1,orderId:0,from:"",order_type:"takeout",orderInfo:(t={ordersn:"",serialSn:"",status:0,isPay:0,isComment:0,statusTips:"",products:[],totalFee:0,finalFee:0,discountFee:0,boxPrice:0,deliveryPrice:0,packingPirce:0,orderType:0,zitiType:0,deliveryDay:"",deliveryTime:"",username:"",sex:"",mobile:"",address:"",payTypeCn:"",spellrice_serial_sn:"",is_spellrice:0,note:""},(0,s.default)(t,"deliveryPrice",0),(0,s.default)(t,"pack_fee",0),(0,s.default)(t,"price",0),(0,s.default)(t,"batch_result",{}),(0,s.default)(t,"lock_status",0),(0,s.default)(t,"lock_result",{}),(0,s.default)(t,"qrcode",""),(0,s.default)(t,"person_num",0),t),storeInfo:{logo:"",id:"",title:"",address:"",mobile:"",cn:{},pageShowType:2,is_haodian:0},special_delivery_status:"",activityed:[],showPaySelectModal:!1,loadingShow:!1,mapInfo:{fromCoordinate:{},toCoordinate:{},centerCoordinate:{},polyline:[],minutes:0,delivery_status:!1},order_images:[],priceDiffGoodsTmp:{},qrcode_box_show:!1,order_qrcode:"",open_lock_string:"",priceDifferencePopup:!1,showHelibaoAlipayImageModel:!1,helibaoAlipayPayUrl:"",is_need_websocket_connect:!1,websocket_is_connected:!1,type:"once",send_platform:"",showNum:!1,showMore:!1,button:[{text:"取消",backgroundColor:"#E6E6E6",fontColor:"#000",plain:!0,shape:"round"},{text:"确定",backgroundColor:"#ffca28",fontColor:"#000"}],showCode:!1,showImg:!1,serial_sn_text:"取餐码",is_finishMeal:0,delivery_title:"配送",orderStatusList:[],bottomPopupShow:!1,imageSet:[],bottomSortRecordPopupShow:!1,sortRecordList:[],showSpellRiceBox:!1,spellRiceInfo:[],shareParams:null,vehicleData:"",loadings:!1,card_expire_time:"",flow_info:"",load:!1,remark:"",remarkInput:"",percent:0}},computed:{},onLoad:function(t){var e=this;return(0,d.default)((0,n.default)().mark((function i(){return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:e.orderId=(null===t||void 0===t?void 0:t.order_sn)||0,e.getOrderDetailData();case 2:case"end":return i.stop()}}),i)})))()},onShow:function(){this.getOrderDetailData()},onPullDownRefresh:function(){this.getOrderDetailData()},methods:{submitRemark:function(){var t=this;if(this.load)return!1;this.load=!0,this.loadingShow=!0,(0,w.remarkApi)({order_sn:this.orderInfo.order_sn,remark:this.remarkInput}).then((function(e){t.remark=t.remarkInput,t.showInput=!1,uni.showModal({title:"提示",content:"提交成功",showCancel:!1})})).catch((function(t){console.error("[order-detail]提交失败",t),uni.showModal({title:"提示",content:t.msg,showCancel:!1})})).finally((function(){t.loadingShow=!1,t.load=!1})),console.log("订单信息",this.orderInfo)},getOrderDetailData:function(){var t=this;this.loadingShow=!0,(0,w.getOrderDetailApi)({sn:this.orderId}).then((function(e){var i,o,a,r,n,d;t.orderInfo=e,t.card_expire_time=null!==(i=null===e||void 0===e||null===(o=e.simCard)||void 0===o?void 0:o.card_expire_time)&&void 0!==i?i:"-",t.flow_info=null!==(a=null===e||void 0===e||null===(r=e.simCard)||void 0===r?void 0:r.flow_info)&&void 0!==a?a:"",t.remark=null!==(n=null===e||void 0===e?void 0:e.user_remark)&&void 0!==n?n:"",t.remarkInput=null!==(d=null===e||void 0===e?void 0:e.user_remark)&&void 0!==d?d:"",t.flow_info&&t.flow_info.value&&t.flow_info.value.total&&t.flow_info.value.used&&(t.percent=t.flow_info.value.used/t.flow_info.value.total*100)})).catch((function(t){console.error("[order-detail]订单详情获取失败",t),(0,v.showToast)({title:t.msg}),(0,g.navBack)()})).finally((function(){t.loadingShow=!1})),console.log("订单信息",this.orderInfo)},queryFlow:function(){var t=this;if(this.loadings)return!1;this.loadings=!0,this.loadingShow=!0,(0,w.queryFlowApi)({order_sn:this.orderInfo.order_sn}).then((function(e){var i,o;uni.showModal({title:"提示",content:"查询成功",showCancel:!1}),t.card_expire_time=null!==(i=null===e||void 0===e?void 0:e.card_expire_time)&&void 0!==i?i:"-",t.flow_info=null!==(o=null===e||void 0===e?void 0:e.flow_info)&&void 0!==o?o:"",t.flow_info&&t.flow_info.value&&t.flow_info.value.total&&t.flow_info.value.used&&(t.percent=t.flow_info.value.used/t.flow_info.value.total*100)})).catch((function(t){console.error("[order-detail]订查询失败",t),uni.showModal({title:"提示",content:t.msg,showCancel:!1})})).finally((function(){t.loadingShow=!1,t.loadings=!1})),console.log("订单信息",this.orderInfo)},goto:function(t){(0,g.navPage)("/SP/informationWP?sn=".concat(t))},orderNotice:function(){orderNoticeApi({order_id:this.orderId}).then((function(t){console.log(t)}))},payPriceDiff:function(t){t.index?(this.orderId=this.priceDiffGoodsTmp.op_id,this.order_type="priceDiff",this.showPaySelectModal=!0,this.priceDifferencePopup=!1):this.priceDifferencePopup=!1},payPriceDiffShow:function(t){this.priceDifferencePopup=!0,this.priceDiffGoodsTmp=t},getQrcode:function(){var t=this;this.showCode=!0;setTimeout((function(){t.showImg=!0}),290)},closeCode:function(t){console.log(t,"ddadad"),this.showImg=!1,this.showCode=!1},codeUpdata:function(t){var e=t,i=e.split(","),o="";if(this.showNum)o+=i[0];else for(var a=0;a<i.length;a++)o+=i[a],(a+1)%3===0?o+=",\n":a+1!=i.length&&(o+=",");return console.log(o),o},numCl:function(t){var e=t.split(",");e.length>1&&(this.showNum=!0)},modalMore:function(t){console.log(t),this.showMore=!1},reconnect:function(){var t=x.LOCK_WEBSOCKET_URL;uni.connectSocket({url:t,success:function(t){console.log("WebSocket连接创建成功!",t)},fail:function(t){uni.showModal({title:"提示",content:"连接失败,请退出重新进入",showCancel:!1})}})},payOrderEvent:function(){this.showPaySelectModal=!0},handlePaySuccessEvent:function(){this.orderId=this.orderInfo.id,this.showPaySelectModal=!1,this.getOrderDetailData()},handlePayFailEvent:function(){this.orderId=this.orderInfo.id,this.showPaySelectModal=!1},handlePayCancelEvent:function(){this.orderId=this.orderInfo.id},confirmHelibaoAlipayEvent:function(t){this.helibaoAlipayPayUrl=t,this.showHelibaoAlipayImageModel=!0},call:function(){(0,h.callPhone)(this.orderInfo.vehicle.driver_phone)},callDeliveryer:function(){(0,h.callPhone)(this.orderInfo.deliveryer.mobile)},handleBeforeNavBack:function(){return!0},getMapPath:function(t){var e=this,i=t.store,o=i.location_x,a=i.location_y,n=t.user,d=n.location_x,s=n.location_y;getOrderMapPathApi(t).then((function(t){var i=null===t||void 0===t?void 0:t.paths[0],n=i.steps,l=void 0===n?[]:n,c=[];l.forEach((function(t){var e=t.polyline,i=e.split(";").map((function(t){var e=t.split(",");return{latitude:(+e[1]).toFixed(5),longitude:(+e[0]).toFixed(5)}}));c.push.apply(c,(0,r.default)(i))})),e.mapInfo={fromCoordinate:{latitude:+o,longitude:+a},toCoordinate:{latitude:+d,longitude:+s},centerCoordinate:c[0],polyline:c,minutes:t.minutes,delivery_status:t.delivery_status},console.log(e.mapInfo)}))},refundOrder:function(){uni.showModal({title:"提示",content:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",showCancel:!1})},previewImage:function(t,e){uni.previewImage({current:e,urls:t})},callPhone:function(t){uni.makePhoneCall({phoneNumber:t})},copyToClipBoard:h.copyToClipBoard,expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,o){var a=this;1!=o?0!=this.orderInfo.isPay?1==this.orderInfo.consumer_is_can_applyrefund?uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,g.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+a.type)}}):uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3}):uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单?",success:function(i){i.confirm&&cancelOrderApi({id:t}).then((function(t){(0,v.showToast)({title:"取消订单成功"}),e&&e()})).catch((function(t){(0,v.showToast)({title:t.msg})}))}}):uni.showToast({title:"订单退款申请中,请耐心等候",icon:"none",duration:2e3})},toStore:function(t,e){1==this.storeInfo.is_haodian?(0,g.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid="+t):2==this.storeInfo.is_haodian&&this.storeInfo.custom_links?(0,g.navPage)(this.storeInfo.custom_links):(this.storeInfo.pageShowType,(0,g.navPage)("/store-page/product-showcase/template-1?sid="+t+"&table_id="+e+"&is_scan=1"))},getOrderStatusList:function(){var t=this;orderStatusListApi(this.orderId).then((function(e){t.orderStatusList=e,console.log("this.orderStatusList",t.orderStatusList)}))},showBottomPopupShow:function(){this.bottomPopupShow=!0},toRecord:function(t){if(t.is_pickup||t.is_delivery){var e=t.is_pickup?"pickup":"delivery",i=t.express_type,o=t.waybillno;(0,g.navPage)("record?order_id="+this.orderId+"&type="+e+"&express_type="+i+"&waybillno="+o)}else uni.showToast({title:"该状态无法查询物流信息",icon:"none",duration:2e3})},searchSortRecord:function(){this.bottomSortRecordPopupShow=!0},previewSortImage:function(t){var e=t.images.map((function(t){return t}));uni.previewImage({current:0,urls:e})},countDown:function(){var t=this;this.timer=setInterval((function(){t.handleFormatTime()}),1e3)},handleFormatTime:function(){var t=1e3*this.spellRiceInfo.spellrice_end_time,e=(new Date).getTime(),i=t-e;if(i<=0)clearInterval(this.timer);else{var o=Math.floor(i/36e5),a=Math.floor(i%36e5/6e4),r=Math.floor(i%6e4/1e3);this.spellRiceInfo.hour=o<10?"0"+o:o,this.spellRiceInfo.minute=a<10?"0"+a:a,this.spellRiceInfo.second=r<10?"0"+r:r}},shareSpellRice:function(){(0,g.navPage)("/plugin-page/eatmerge/index")},rereminderOrderApi:function(){var t=this,e={order_id:this.orderInfo.id};(0,_.reminderOrderEventApi)(e).then((function(e){e.data?(uni.showToast({icon:"none",title:"已为您催促配送"}),t.getOrderStatusList()):uni.showToast({icon:"none",title:"系统繁忙,请稍后重试"})}))},reminderOrderEvent:function(){var t=this.orderInfo.deliveryTime,e=this.extractFirstTime(t);console.log(e);var i=this.isTimeOutOfRange(e);if(console.log(i),i){for(var o="",a=0;a<this.orderStatusList.length;a++){var r=this.orderStatusList[a].info.slice(-2);if("催单"===r){o=this.orderStatusList[a].time;break}}if(""!=o){var n=this.isIntervalTime(o,10);n?uni.showToast({icon:"none",title:"请勿频繁催单"}):this.rereminderOrderApi()}else this.rereminderOrderApi()}else uni.showToast({icon:"none",title:"正常时效无须催促"})},isTimeOutOfRange:function(t){var e=new Date,i=e.getHours(),o=e.getMinutes(),r=t.split(":").map(Number),n=(0,a.default)(r,2),d=n[0],s=n[1],l=60*i+o,c=60*d+s;return l>c},isIntervalTime:function(t,e){var i=new Date(t),o=new Date,a=new Date(i.getTime()+60*e*1e3);return a>o},extractFirstTime:function(t){var e=t.match(/(\d{1,2}:\d{2})(?:[~-]\d{1,2}:\d{2})?/);return e&&e[1]?e[1]:null}},onShareAppMessage:function(){if(this.shareParams)return this.shareParams}};e.default=y},e985:function(t,e,i){"use strict";i.r(e);var o=i("284b"),a=i("8bae");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("bd09");var n=i("828b"),d=Object(n["a"])(a["default"],o["b"],o["c"],!1,null,"afcdff44",null,!1,o["a"],void 0);e["default"]=d.exports}}]);