pages-my-order-my-order.e24c1d05.js 44 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-order-my-order"],{"0549":function(t,e,r){t.exports=r.p+"static/img/arrow.a49c3717.png"},3590:function(t,e,r){"use strict";r.r(e);var n=r("9945"),i=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"42d9":function(t,e,r){"use strict";r.r(e);var n=r("4e02"),i=r("3590");for(var o in i)"default"!==o&&function(t){r.d(e,t,(function(){return i[t]}))}(o);r("76bc");var a,c=r("f0c5"),s=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"d24bc79c",null,!1,n["a"],a);e["default"]=s.exports},"4bd5":function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-d24bc79c]{margin-top:%?10?%}.app-item uni-input[data-v-d24bc79c], .app-item uni-picker[data-v-d24bc79c], .app-item uni-textarea[data-v-d24bc79c]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-d24bc79c]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-d24bc79c]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-d24bc79c]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-d24bc79c]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-d24bc79c]{color:#fff;background:#f76454}.small-btn[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-d24bc79c]{color:#999;border-color:#999}.login-btn[data-v-d24bc79c]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-d24bc79c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-d24bc79c]{margin-right:%?20?%}.border-right[data-v-d24bc79c]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-d24bc79c]{margin-right:%?6?%}.position-center[data-v-d24bc79c]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-d24bc79c]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-d24bc79c]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-d24bc79c]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-d24bc79c]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-d24bc79c]{color:#f76454}.swiper-nav[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-d24bc79c]{color:#f76454}.swiper-nav .moveBar[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-d24bc79c]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-d24bc79c]{flex:1;width:100%}.swiper-area uni-swiper[data-v-d24bc79c]{width:100%;height:100%}.article-header[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-d24bc79c]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-d24bc79c]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-d24bc79c]{color:#f76454}.article-footer[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-d24bc79c]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-d24bc79c]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-d24bc79c]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.my-order[data-v-d24bc79c]{height:100%;box-sizing:border-box;flex-direction:column;background:#f2f2f2}.my-order .content[data-v-d24bc79c]{flex:1;height:100%;position:relative;box-sizing:border-box}.my-order .content[data-v-d24bc79c]{display:flex;align-items:center;justify-content:center;flex-direction:column;display:flex;justify-content:space-between;flex-direction:column}.popBox[data-v-d24bc79c]{border-radius:%?40?% %?40?% 0 0;padding:%?30?% %?30?% 0 %?30?%}.popBox_title[data-v-d24bc79c]{width:100%;text-align:center;font-size:%?36?%;font-weight:700;color:#333;margin-bottom:%?20?%}.popBox_btn[data-v-d24bc79c]{display:flex;justify-content:space-between;align-items:center;padding:0 %?52?%;height:%?100?%;border-top:%?2?% solid #eee;margin-top:%?40?%}.popBox_btn .btn[data-v-d24bc79c]{width:%?308?%;height:%?88?%;text-align:center;line-height:%?88?%;font-size:%?32?%;font-weight:700;border-radius:%?44?%}.popBox_btn .qu[data-v-d24bc79c]{border:%?2?% solid #fb231f;color:#fb231f;background-color:#fff4f3}.popBox_btn .submit[data-v-d24bc79c]{color:#fff;background:linear-gradient(93deg,#ff232c,#ff571b)}.popBox .uni-list[data-v-d24bc79c]{padding:%?30?% 0;width:%?690?%;font-size:%?32?%;font-weight:700;color:#333;display:flex;justify-content:space-between;align-items:center}.popBox .input[data-v-d24bc79c]{width:%?690?%;height:%?224?%;background:#f8f8f8;border-radius:%?24?%;padding:%?30?%}.popBox .border[data-v-d24bc79c]{border-bottom:%?2?% solid #eee}.pai_red[data-v-d24bc79c]{font-size:%?32?%;color:#fb231f;font-weight:700}.SwiperNav[data-v-d24bc79c]{width:100%;display:flex;align-items:center;justify-content:space-between;height:%?112?%;color:#333;font-size:%?28?%;background-color:#fff;padding:0 %?30?%}.SwiperNav .active[data-v-d24bc79c]{position:relative;font-weight:bolder}.SwiperNav .active[data-v-d24bc79c]::before{content:"";display:block;width:%?42?%;height:%?8?%;border-radius:%?8?%;background:linear-gradient(180deg,#ff232c,#ff571b);position:absolute;bottom:0;left:0;-webkit-transform:translateY(%?8?%);transform:translateY(%?8?%)}.flex[data-v-d24bc79c]{display:flex;justify-content:space-between;align-items:center}.flex .hebing[data-v-d24bc79c]{width:%?76?%;line-height:%?44?%;color:#fff;font-size:%?28?%;text-align:center;border-radius:%?6?%;background:linear-gradient(82deg,#ffc401,#fe0000)}.OrderList[data-v-d24bc79c]{flex:1;overflow:hidden;width:100%;padding:%?30?%}.OrderList .anniugray[data-v-d24bc79c]{width:%?160?%;height:%?64?%;text-align:center;line-height:%?64?%;border-radius:%?34?%;margin-left:%?20?%;font-size:%?28?%;background:#f8f8f8;border:%?2?% solid #ccc;color:333}.OrderList-cancel .item-body-level[data-v-d24bc79c], .OrderList-cancel .item-footer-btn[data-v-d24bc79c]{background:#f8f8f8!important;color:#999!important}.OrderList-cancel .item-header .spec[data-v-d24bc79c], .OrderList-cancel .item-body-total .spec[data-v-d24bc79c]{color:#999!important}.OrderList-cancel .grey[data-v-d24bc79c]{color:#999!important}.OrderList-item[data-v-d24bc79c]{width:100%;border-radius:%?24?%;background-color:#fff;margin-bottom:%?30?%;position:relative;overflow:hidden}.OrderList-item .item-cancel-img[data-v-d24bc79c]{position:absolute;top:%?-30?%;right:%?30?%;z-index:99;display:block;width:%?153?%;height:%?153?%}.OrderList-item .item-header[data-v-d24bc79c]{height:%?100?%;width:100%;border-bottom:1px solid #e9e9e9;display:flex;align-items:center;justify-content:space-between;color:#333;font-size:%?28?%;padding:0 %?30?%}.OrderList-item .item-header .spec[data-v-d24bc79c]{color:#fb231f;font-weight:700}.OrderList-item .item-header-copy[data-v-d24bc79c]{color:#fff;font-size:%?24?%;width:%?88?%;height:%?46?%;line-height:%?46?%;text-align:center;background:linear-gradient(90deg,#f97c55,#f44545);border-radius:%?4?%}.OrderList-item .item-body[data-v-d24bc79c]{width:100%;padding:%?30?%;border-bottom:1px solid #e9e9e9;box-sizing:border-box;position:relative}.OrderList-item .item-body .yellow[data-v-d24bc79c]{width:%?630?%;height:%?70?%;background:#fbf7d2;border-radius:%?8?%;padding-left:%?50?%;line-height:%?70?%;font-size:%?28?%;font-weight:700;color:#ff6400;margin-top:%?30?%}.OrderList-item .item-body-level[data-v-d24bc79c]{font-size:%?24?%;height:%?50?%;border-top-left-radius:%?50?%;border-bottom-left-radius:%?50?%;background:linear-gradient(203deg,#fbdcac,#ffefd7 31%,#ffdca5 55%,#feeacb 90%,#f9d193);padding:0 %?10?% 0 %?16?%;position:absolute;top:%?30?%;right:0;line-height:%?50?%;color:#fb231f}.OrderList-item .item-body-name[data-v-d24bc79c]{color:#333;font-size:%?32?%;margin-bottom:%?10?%;font-weight:700}.OrderList-item .item-body-phone[data-v-d24bc79c]{color:#999;font-size:%?28?%;margin-bottom:%?10?%}.OrderList-item .item-body-address[data-v-d24bc79c]{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:%?30?%}.OrderList-item .item-body-address .address-text[data-v-d24bc79c]{flex:1;overflow:hidden;margin-right:%?100?%;color:#333;font-size:%?28?%}.OrderList-item .item-body-address .address-arrow[data-v-d24bc79c]{display:block;width:%?30?%;height:%?30?%}.OrderList-item .item-body-total[data-v-d24bc79c]{width:100%;display:flex;align-items:center;justify-content:flex-end;color:#333;font-size:%?28?%}.OrderList-item .item-body-total .spec[data-v-d24bc79c]{color:#f76454}.OrderList-item .item-footer[data-v-d24bc79c]{width:100%;height:%?128?%;display:flex;align-items:center;justify-content:flex-end;padding:0 %?30?%;box-sizing:border-box}.OrderList-item .item-footer-time[data-v-d24bc79c]{color:#333;font-size:%?28?%;margin-right:auto}.OrderList-item .item-footer-btn[data-v-d24bc79c]{color:#fff;font-size:%?28?%;background:linear-gradient(90deg,#f97c55,#f44545);width:%?160?%;height:%?64?%;border-radius:%?34?%;line-height:%?64?%;text-align:center;margin-right:%?20?%}.OrderList-item .item-footer-btn[data-v-d24bc79c]:nth-last-of-type(1){margin-right:0}.noTips[data-v-d24bc79c]{width:100%;text-align:center}',""]),t.exports=e},"4e02":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return n}));var n={uPopup:r("7ab3").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"my-order"},[n("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"SwiperNav"},t._l(t.typeList,(function(e,r){return n("v-uni-view",{key:r,staticStyle:{display:"flex","align-items":"center","flex-direction":"column"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.orderParams.status=r}}},[t._v(t._s(e)),n("v-uni-view",{class:t.orderParams.status===r?"active":"",staticStyle:{width:"42rpx",height:"8rpx","margin-top":"3rpx","border-radius":"4rpx"}})],1)})),1),n("v-uni-scroll-view",{staticClass:"OrderList",attrs:{"scroll-y":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.addOrderList.apply(void 0,arguments)}}},[t.orderList.length>0?t._l(t.orderList,(function(e){return n("v-uni-view",{key:e.id,staticClass:"OrderList-item",class:e.is_deleted?"OrderList-cancel":"",on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.toDetail(e)}}},[e.is_deleted?n("v-uni-image",{staticClass:"item-cancel-img",attrs:{src:r("7cf3"),mode:"widthFix"}}):t._e(),e.is_deleted||1!=e.apply_status?t._e():n("v-uni-image",{staticClass:"item-cancel-img",attrs:{src:r("a2c2"),mode:"widthFix"}}),n("v-uni-view",{staticClass:"item-header"},[n("v-uni-view",{staticClass:"grey"},[t._v("订单号:"+t._s(e.order_num))]),0==e.apply_status&&0==e.is_deleted?n("v-uni-view",{staticClass:"spec"},[t._v(t._s(t._f("orderStatus")(e)))]):t._e()],1),n("v-uni-view",{staticClass:"item-body"},[e.address.level&&e.address.nickname?n("v-uni-view",{staticClass:"item-body-level"},[t._v(t._s(t._f("userLevel")(e.address.level))+":"+t._s(e.address.nickname.slice(0,4)))]):t._e(),n("v-uni-view",{staticClass:"item-body-name grey"},[t._v(t._s(e.address.username.slice(0,6)))]),n("v-uni-view",{staticClass:"item-body-phone"},[t._v(t._s(e.address.mobile))]),n("v-uni-view",{staticClass:"item-body-address"},[n("v-uni-view",{staticClass:"address-text grey"},[t._v(t._s(""+e.address.province+e.address.city+e.address.town+e.address.address))]),n("v-uni-image",{staticClass:"address-arrow",attrs:{src:r("0549")}})],1),n("v-uni-view",{staticClass:"flex"},[1===e.is_merge?n("v-uni-view",{staticClass:"hebing",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.goDetail(e.id)}}},[t._v("合并")]):t._e(),n("v-uni-view"),n("v-uni-view",{staticStyle:{display:"flex"}},[n("v-uni-view",{staticClass:"gray"},[t._v(t._s(e.type)+"类;共"+t._s(e.total)+"件,")]),n("v-uni-view",{class:e.is_deleted?"gray":""},[t._v("合计:")]),n("v-uni-view",{class:e.is_deleted?"gray":"pai_red"},[t._v("¥"+t._s(e.money))])],1)],1)],1),n("v-uni-view",{staticClass:"item-footer"},[n("v-uni-view",{staticClass:"item-footer-time grey"},[t._v(t._s(t._f("dateFormatter")(e.created_at,"yyyy-MM-dd hh:mm")))]),0==e.status&&0==e.apply_status&&0==e.is_deleted&&2!=e.destroy_status?n("v-uni-view",{staticClass:"anniugray",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.showCancel=!0,t.destroy_cause="",t.order_num=e.order_num}}},[t._v("作废订单")]):t._e(),3==e.status||4==e.status?n("v-uni-view",{staticClass:"item-footer-btn",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.toGoodsInfo(e)}}},[t._v("发货详情")]):t._e(),!e.is_deleted&&e.pay_status&&4==e.status?n("v-uni-view",{staticClass:"item-footer-btn",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.buyAgain(e)}}},[t._v("再次购买")]):t._e(),!e.is_deleted&&e.pay_status&&3==e.status?n("v-uni-view",{staticClass:"item-footer-btn",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.received(e)}}},[t._v("确认收货")]):t._e()],1)],1)})):n("v-uni-view",{staticClass:"noTips"},[t._v("暂无订单")])],2)],1),n("u-popup",{attrs:{mode:"bottom",height:"700rpx;"},model:{value:t.showCancel,callback:function(e){t.showCancel=e},expression:"showCancel"}},[n("v-uni-view",{staticClass:"popBox"},[n("v-uni-view",{staticClass:"popBox_title"},[t._v("作废订单原因")]),n("v-uni-view",{},[n("v-uni-radio-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.radioChange.apply(void 0,arguments)}}},t._l(t.cancelCause,(function(e,r){return n("v-uni-label",{key:e.value},[n("v-uni-view",{staticClass:"uni-list",class:3==r?"":"border"},[n("v-uni-view",[t._v(t._s(e.name))]),n("v-uni-view",[n("v-uni-radio",{attrs:{value:e.value,checked:r===t.current,color:"#FF232C"}})],1)],1),3==r?n("v-uni-view",{staticClass:"input"},[n("v-uni-textarea",{staticStyle:{height:"150rpx"},attrs:{placeholder:"请输入您作废的原因","placeholder-style":"color: #CCCCCC"},model:{value:t.destroy_cause,callback:function(e){t.destroy_cause=e},expression:"destroy_cause"}})],1):t._e()],1)})),1)],1)],1),n("v-uni-view",{staticClass:"popBox_btn"},[n("v-uni-view",{staticClass:"btn qu",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.destroy_cause="",t.showCancel=!1}}},[t._v("取消作废")]),n("v-uni-view",{staticClass:"btn submit",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$noMultipleClicks(t.commitWork)}}},[t._v("确定作废")])],1)],1)],1)},o=[]},"76bc":function(t,e,r){"use strict";var n=r("e216"),i=r.n(n);i.a},"7cf3":function(t,e,r){t.exports=r.p+"static/img/cancel.39b86dff.png"},9945:function(t,e,r){"use strict";(function(t){var n=r("4ea4");r("99af"),r("cb29"),r("4de4"),r("7db0"),r("c740"),r("4160"),r("a434"),r("a9e3"),r("ac1f"),r("5319"),r("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r("2909")),o=r("e8fc"),a=r("e16a"),c=r("a33d");r("da3b");var s={data:function(){return{lists:{0:[],1:[],2:[],3:[],4:{}},typeList:["全部","待付款","待审核","待收货","已完成"],orderParams:{status:0,page:1},current:0,order_num:"",destroy_cause:"",showCancel:!1,noClick:!0,cancelCause:[{value:"0",name:"收货信息错了"},{value:"1",name:"尺码或数量错了"},{value:"2",name:"订单下多了"},{value:"3",name:"其他原因"}],orderList:[],orderTotal:0}},filters:{orderStatus:function(t){return t.is_deleted?"已作废":t.pay_status?3==t.status?"待收货":4==t.status?"已完成":"待审核":"待支付"},orderStatusClass:function(t){return"已完成"==t?"":"basecolor"},userLevel:function(t){if(!t)return"";var e="";switch(+t){case 1:e="销售主管";break;case 2:e="销售经理";break;case 3:e="代理公司";break;default:e=""}return e},maxNickname:function(t){return t?"".concat(t.substr(0,4)).concat(t.length>4?"...":""):""}},watch:{"orderParams.status":function(){this.orderParams.page=1,this.getOrderList()}},onLoad:function(t){if("代理公司"!==this.$store.state.userinfo.level)return uni.navigateBack(),void setTimeout((function(){return uni.$emit("noopening")}));t.type&&(this.orderParams.status=Number(t.type)),this.getOrderList()},onPullDownRefresh:function(){this.orderParams.page=1,this.getOrderList()},methods:{commitWork:function(){var e=this,r=this;if(3!=r.current)r.reject_cause=r.cancelCause[r.current].name;else{if(""==r.destroy_cause)return uni.showToast({title:"请输入作废原因",icon:"none"}),!1;r.reject_cause=r.destroy_cause}var n={order_num:r.order_num,destroy_cause:r.reject_cause};t.log(n),(0,c._API_destory)(n).then((function(t){200==t.code?(uni.showToast({title:"作废成功",icon:"none"}),e.showCancel=!1,r.getOrderList()):uni.showToast({title:t.message||"作废失败",icon:"none"})}))},radioChange:function(e){t.log(e.detail.value),this.current=e.detail.value,3!=this.current&&(this.destroy_cause="")},goDetail:function(t){uni.navigateTo({url:"./order-detail?id="+t})},toGoodsInfo:function(t){if(!t.track_status)return uni.showModal({content:"该订单尚未发货,暂不能查看详情",showCancel:!1}),!1;uni.navigateTo({url:"../lading_detail/index?data="+encodeURIComponent(JSON.stringify(t))})},addOrderList:function(){if(15*this.orderParams.page>this.orderTotal)return!1;this.orderParams.page+=1,this.getOrderList()},showTime:function(t){var e=new Date(t);return"".concat(e.getFullYear(),"/").concat(e.getMonth()+1>10?e.getMonth()+1:"0"+e.getMonth()+1,"/").concat(e.getDay()>10?e.getDay():"0"+e.getDay())},getOrderList:function(){var t=this;(0,c.getOrderList)(this.navSelect,this.orderParams).then((function(e){uni.stopPullDownRefresh(),200===e.code&&(1===t.orderParams.page&&(t.orderList=[]),t.orderList=[].concat((0,i.default)(t.orderList),(0,i.default)(e.data.list)),t.orderTotal=e.data.total)})).catch((function(){uni.stopPullDownRefresh()}))},copyOrderNum:function(t){try{uni.setClipboardData({data:t,success:function(){uni.showModal({content:"订单号已复制",showCancel:!1})}})}catch(e){uni.showModal({content:"您的手机暂不支持复制",showCancel:!1})}},confirmReceive:function(t,e){var r=this;this.$refs.ltm.modal("提示",["确定收到商品?"]).then((function(){uni.showLoading({mask:!0}),_API_OrderReceiveGoods({order_num:t}).then((function(t){if(200===t.code){var n=(0,a.deepClone)(r.lists[1]);n.splice(e,1),r.$set(r.lists,1,n),uni.toast("收货成功")}else uni.toast("收货失败,请稍后重试")}))})).catch((function(){uni.toast("取消确认")}))},toDetail:function(t){t.order_num,t.order_id;var e=t.is_deleted,r=t.pay_status;t.money,t.created_at,t.is_merge,t.total,t.status,t.apply_status,t.destroy_status;var n=encodeURIComponent(JSON.stringify(t)).replace(/%/g,"%25");uni.navigateTo({url:"../order-detail1/order-detail1?item="+n})},changeOrder:function(t){var e=this,r=t.order_num;uni.showModal({title:"",content:"修改订单后会作废此订单,然后复制此订单的商品到购物车中重新下单,确定作废?",success:function(t){t.confirm&&(uni.loading(),(0,c._API_OrderCancel)({order_num:r}).then((function(t){var n=t.code,i=t.message;200!=n?uni.toast(i):(uni.loading(),(0,o._API_GoodList)().then((function(t){var n=t.data.list;uni.loading(),n.forEach((function(t){return t.cart=Array(t.size.length).fill(0)})),(0,c._API_OrderDetail1)({order_num:r}).then((function(t){var r=t.data.list;uni.loading(),e.$store.commit("cart/CLEAR"),n.forEach((function(t,i){var o=r.find((function(e){return e.attr_id==t.attr_id}));o&&(o.size.forEach((function(t,e){var r=n[i].size.findIndex((function(e){return e===t}));n[i].cart[r]=o.num[e]})),t.choosed=!0,t.sizeChoosed=Array(t.size.length).fill(!0),e.$store.commit("cart/ADD",t),uni.switchTab({url:"../shop-car1/shop-car1"}))}))}))})))})))}})},buyAgain:function(t){var e=this,r=t.order_num;uni.showModal({title:"提示",content:"确定要再次购买?",success:function(t){t.confirm&&(uni.loading(),(0,o._API_GoodList)().then((function(t){var n=t.data.list;uni.loading(),n.forEach((function(t){return t.cart=Array(t.size.length).fill(0)})),(0,c._API_OrderDetail1)({order_num:r}).then((function(t){var r=t.data.list;e.$store.commit("cart/CLEAR");var i=[];n.forEach((function(t,e){var o=r.find((function(e){return e.attr_id==t.attr_id}));o&&(o.size.forEach((function(t,r){var i=n[e].size.findIndex((function(e){return e===t}));n[e].cart[i]=o.num[r]})),t.choosed=!0,t.sizeChoosed=Array(t.size.length).fill(!0),t.storage.forEach((function(e,r){e<=0&&(t.cart[r]=0)})),0!==t.cart.filter((function(t){return 0!==t})).length&&i.push(t))})),i.length>0?(i.forEach((function(t){e.$store.commit("cart/ADD",t)})),uni.switchTab({url:"../shop-car1/shop-car1"})):uni.showModal({content:"该订单商品库存均不足,不能再次下单",showCancel:!1})}))})))}})},logisticsQuery:function(t){var e=t.track_status,r=t.order_num;if(0===e)return uni.showModal({content:"物流信息不存在",showCancel:!1}),!1;uni.navigateTo({url:"../logistics-info/logistics-info?order_no=".concat(r,"&status=").concat(e)})},express:function(t,e){KDNWidget.run({serviceType:"A",expCode:t,expNo:e})},payNow:function(t){var e=t.order_num,r=t.money,n=t.order_id;uni.navigateTo({url:"../pay-order/pay-order?order_num=".concat(e,"&money=").concat(r,"&order_id=").concat(n)})},received:function(t){var e=t.order_num;uni.showModal({title:"提示",content:"确认收到货物?",success:function(t){t.confirm&&(uni.loading(),(0,c._API_OrderReceiveGoods1)({order_num:e}).then((function(){uni.startPullDownRefresh()})))}})}}};e.default=s}).call(this,r("5a52")["default"])},a2c2:function(t,e,r){t.exports=r.p+"static/img/daishen_biao.3258c8c7.png"},a33d:function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.GetApplyBigGift=e.ApplyBigGift=e.CheckMoney=e.UploadApplyImg=e.GetUserInfo=e.CheckGoodNum=e.GetSzyGiftInfo=e.getSzyExpress=e.GetEnrollInfo=e.UpdateAddAddress=e.GetEnrollUserAddress=e._API_SearchStatus=e._API_GetStatus=e._API_payment=e._API_destory=e._API_DestoryOrder=e._API_mergeOrder=e._API_GetExpressTrack=e._API_GetLogistics=e._API_GetOrderGift=e._API_GetallGift=e._API_SubmitTShirtNum=e._API_GetTShirtNum=e._API_OrderAgain=e._API_OrderStorage=e._API_OrderSend=e._API_OrderDetail1=e._API_OrderDetail=e._API_OrderDel=e._API_OrderReceiveMoney=e._API_OrderReceiveGoods1=e._API_OrderReceiveGoods=e._API_PlaceOrder=e._API_OrderDownCompleted=e._API_OrderDownForward=e._API_OrderDownSended=e._API_OrderDownWillsend=e._API_OrderDownWillpay=e.getOrderList=e._API_OrderMy5=e._API_OrderMy4=e._API_OrderMy3=e._API_OrderMy2=e._API_OrderMy1=e._API_GetOrderDetail=e._API_OrderMyCompleted=e._API_OrderMySended=e._API_OrderMyExamine=e._API_OrderLog=e._API_OrderCancel=e._API_OrderPay=e._API_OrderChart=void 0;var i=n(r("ef4f")),o=function(t){return i.default.get("/app/chart?type=0",t)};e._API_OrderChart=o;var a=function(t){return i.default.get("/pay_order",t)};e._API_OrderPay=a;var c=function(t){return i.default.get("/destory",t)};e._API_OrderCancel=c;var s=function(t){return i.default.get("/get_log",t)};e._API_OrderLog=s;var d=function(t){return i.default.get("/order/my_order?status=0",t)};e._API_OrderMyExamine=d;var l=function(t){return i.default.get("/order/my_order?status=1",t)};e._API_OrderMySended=l;var u=function(t){return i.default.get("/order/my_order?status=2",t)};e._API_OrderMyCompleted=u;var f=function(t){return i.default.get("/order/GetOrderDetail",t)};e._API_GetOrderDetail=f;var p=function(t){return i.default.get("/order_list?status=0",t)};e._API_OrderMy1=p;var v=function(t){return i.default.get("/order_list?status=1",t)};e._API_OrderMy2=v;var g=function(t){return i.default.get("/order_list?status=2",t)};e._API_OrderMy3=g;var h=function(t){return i.default.get("/order_list?status=3",t)};e._API_OrderMy4=h;var b=function(t){return i.default.get("/order_list?status=4",t)};e._API_OrderMy5=b;var m=function(t,e){return i.default.get("/order_list?status=".concat(t),e)};e.getOrderList=m;var _=function(t){return i.default.get("/order/order_lower?status=0",t)};e._API_OrderDownWillpay=_;var y=function(t){return i.default.get("/order/order_lower?status=1",t)};e._API_OrderDownWillsend=y;var w=function(t){return i.default.get("/order/order_lower?status=2",t)};e._API_OrderDownSended=w;var x=function(t){return i.default.get("/order/order_turn",t)};e._API_OrderDownForward=x;var A=function(t){return i.default.get("/order/order_lower?status=3",t)};e._API_OrderDownCompleted=A;var O=function(t){return i.default.post("/submit_order",t)};e._API_PlaceOrder=O;var P=function(t){return i.default.get("/order/order_complete",t)};e._API_OrderReceiveGoods=P;var k=function(t){return i.default.get("/order/sure_order",t)};e._API_OrderReceiveGoods1=k;var I=function(t){return i.default.get("/order/order_sure_pay",t)};e._API_OrderReceiveMoney=I;var C=function(t){return i.default.get("/order/del",t)};e._API_OrderDel=C;var S=function(t){return i.default.get("/order/detail",t)};e._API_OrderDetail=S;var E=function(t){return i.default.get("/order_detail",t)};e._API_OrderDetail1=E;var L=function(t){return i.default.post("/order/forward",t)};e._API_OrderSend=L;var G=function(t){return i.default.get("/order/my_storage",t)};e._API_OrderStorage=G;var j=function(t){return i.default.get("/order/again",t)};e._API_OrderAgain=j;var T=function(t){return i.default.get("/order/type_count",t)};e._API_GetTShirtNum=T;var M=function(t){return i.default.post("/order/type_submit",t)};e._API_SubmitTShirtNum=M;var z=function(){return i.default.get("/order/get_gift_info")};e._API_GetallGift=z;var D=function(t){return i.default.get("/order/get_gift",t)};e._API_GetOrderGift=D;var F=function(t){return i.default.get("/order/get_order_expresses",t)};e._API_GetLogistics=F;var B=function(t){return i.default.get("/order/get_express",t)};e._API_GetExpressTrack=B;var N=function(t){return i.default.get("/order/search_order",t)};e._API_mergeOrder=N;var R=function(t){return i.default.get("/order/ApplyDestoryOrder",t)};e._API_DestoryOrder=R;var $=function(t){return i.default.get("/order/destory",t)};e._API_destory=$;var U=function(t){return i.default.get("/pays/payment",t)};e._API_payment=U;var H=function(t){return i.default.get("/pays/GetStatus",t)};e._API_GetStatus=H;var q=function(t){return i.default.get("/pays/SearchStatus",t)};e._API_SearchStatus=q;var W=function(t){return i.default.get("/pays/GetEnrollUserAddress",t)};e.GetEnrollUserAddress=W;var J=function(t){return i.default.post("/pays/UpdateAddAddress",t)};e.UpdateAddAddress=J;var Y=function(t){return i.default.get("/pays/GetEnrollInfo",t)};e.GetEnrollInfo=Y;var K=function(t){return i.default.get("/pays/GetExpress",t)};e.getSzyExpress=K;var Q=function(t){return i.default.get("/pays/GetGiftInfo",t)};e.GetSzyGiftInfo=Q;var V=function(t){return i.default.post("/order/CheckGoodNum",t)};e.CheckGoodNum=V;var X=function(t){return i.default.get("/BigGift/GetUserInfo",t)};e.GetUserInfo=X;var Z=function(t){return i.default.post("/BigGift/UploadApplyImg",t)};e.UploadApplyImg=Z;var tt=function(t){return i.default.get("/BigGift/CheckMoney",t)};e.CheckMoney=tt;var et=function(t){return i.default.post("/BigGift/ApplyBigGift",t)};e.ApplyBigGift=et;var rt=function(t){return i.default.get("/BigGift/GetApplyBigGift",t)};e.GetApplyBigGift=rt},da3b:function(t,e,r){r("a4d3"),r("e01a"),r("d28b"),r("944a"),r("4160"),r("d81d"),r("fb6a"),r("0c47"),r("23dc"),r("3410"),r("131a"),r("d3b7"),r("ac1f"),r("25f0"),r("3ca3"),r("1276"),r("159b"),r("ddb0"),function(e,r){try{window.ClipboardJS=r()}catch(r){}t.exports=r()}(0,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=s(r(1)),a=s(r(3)),c=s(r(4));function s(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(t,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.resolveOptions(r),n.listenClick(t),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,a.default),i(e,[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===n(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,c.default)(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return l("action",t)||"copy"}},{key:"defaultTarget",value:function(t){var e=l("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return l("text",t)||this.text}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,r=!!document.queryCommandSupported;return e.forEach((function(t){r=r&&!!document.queryCommandSupported(t)})),r}}]),e}();function l(t,e){var r="data-clipboard-"+t,n=e&&"function"===typeof e.hasAttribute;if(n&&e.hasAttribute(r))return e.getAttribute(r)}t.exports=d},function(t,e,r){"use strict";var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(2),c=(n=a)&&n.__esModule?n:{default:n},s=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=r+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),e}();t.exports=s},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var r=t.hasAttribute("readonly");r||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),r||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(t),n.removeAllRanges(),n.addRange(i),e=n.toString()}return e}},function(t,e){function r(){}r.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function i(){n.off(t,i),e.apply(r,arguments)}return i._=e,this.on(t,i,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,i=r.length;n<i;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],i=[];if(n&&e)for(var o=0,a=n.length;o<a;o++)n[o].fn!==e&&n[o].fn._!==e&&i.push(n[o]);return i.length?r[t]=i:delete r[t],this}},t.exports=r},function(t,e,r){var n=r(5),i=r(6);t.exports=function(t,e,r){if(!t&&!e&&!r)throw new Error("Missing required arguments");if(!n.string(e))throw new TypeError("Second argument must be a String");if(!n.fn(r))throw new TypeError("Third argument must be a Function");if(n.node(t))return f=e,p=r,(u=t).addEventListener(f,p),{destroy:function(){u.removeEventListener(f,p)}};if(n.nodeList(t))return s=t,d=e,l=r,Array.prototype.forEach.call(s,(function(t){t.addEventListener(d,l)})),{destroy:function(){Array.prototype.forEach.call(s,(function(t){t.removeEventListener(d,l)}))}};if(n.string(t))return o=t,a=e,c=r,i(document.body,o,a,c);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,a,c,s,d,l,u,f,p}},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var r=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===r||"[object HTMLCollection]"===r)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,r){var n=r(7);function i(t,e,r,i,o){var a=function(t,e,r,i){return function(r){r.delegateTarget=n(r.target,e),r.delegateTarget&&i.call(t,r)}}.apply(this,arguments);return t.addEventListener(r,a,o),{destroy:function(){t.removeEventListener(r,a,o)}}}t.exports=function(t,e,r,n,o){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof r?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return i(t,e,r,n,o)})))}},function(t,e){if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}}])}));var n={isFunction:function(t){var e=Object.prototype.toString.call(t);return"[object Function]"==e},isObject:function(t){var e=Object.prototype.toString.call(t);return"[object Object]"==e},isString:function(t){var e=Object.prototype.toString.call(t);return"[object String]"==e}};function i(t){var e=document.createElement("a");e.setAttribute("href",t.blob),e.setAttribute("downLoad",t.name),e.click()}uni.setClipboardData=function(t){var e=function(){},r={data:null,event:null,success:e,fail:e,complete:e};t&&n.isObject(t)&&(r=Object.assign({},r,t)),t&&n.isString(t)&&(r=Object.assign({},r,{data:t}));var i=r.data,o=r.success||e,a=r.fail||e,c=r.complete||e,s=r.event||window.event||{},d=new ClipboardJS(".null",{text:function(){return i}});d.on("success",(function(t){window.__clipboard__=i,o&&n.isFunction(o)&&o({data:t.text}),c&&n.isFunction(c)&&c(),d.off("error"),d.off("success"),d.destroy()})),d.on("error",(function(t){a&&n.isFunction(a)&&a(t),c&&n.isFunction(c)&&c(),d.off("error"),d.off("success"),d.destroy()})),d.onClick(s)},uni.getClipboardData=function(t){var e=function(){},r={data:null,event:null,success:e,fail:e,complete:e};t&&n.isObject(t)&&(r=Object.assign({},r,t));var i=r.success||e,o=r.fail||e,a=r.complete||e;void 0!==window.__clipboard__?i&&n.isFunction(i)&&i({data:window.__clipboard__}):o&&n.isFunction(o)&&o({data:null}),a&&n.isFunction(a)&&a()},uni.saveImageToPhotosAlbum=uni.saveVideoToPhotosAlbum=function(t){var e=function(){},r={filePath:null,success:e,fail:e,complete:e};t&&n.isObject(t)&&(r=Object.assign({},r,t)),t&&n.isString(t)&&(r=Object.assign({},r,{filePath:t}));var o=r.filePath,a=r.success||e,c=r.fail||e,s=r.complete||e;if(!o)return c&&n.isFunction(c)&&c({msg:"no File"}),void(s&&n.isFunction(s)&&s());var d=o.split("/"),l=d[d.length-1];uni.downloadFile({url:o,success:function(t){var e=t.tempFilePath;i({name:l,blob:e}),a&&n.isFunction(a)&&a({filePath:o})},fail:function(t){c&&n.isFunction(c)&&c({msg:t})},complete:function(){s&&n.isFunction(s)&&s()}})}},e216:function(t,e,r){var n=r("4bd5");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("08c4d4ee",n,!0,{sourceMap:!1,shadowMode:!1})},e8fc:function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.GetGoodStatus=e._API_get_express=e._API_Getpays=e._API_SearchStatus=e._API_GetSoapList=e._API_GetUserAddress=e._API_productInfo=e._API_GoodDetail=e._API_GoodList=void 0;var i=n(r("ef4f")),o=function(t){return i.default.get("/good_show",t)};e._API_GoodList=o;var a=function(t){return i.default.get("/goods/detail",t)};e._API_GoodDetail=a;var c=function(t){return i.default.get("/detail/index",t)};e._API_productInfo=c;var s=function(t){return i.default.get("/soap/GetUserAddress",t)};e._API_GetUserAddress=s;var d=function(t){return i.default.get("/soap/GetSoapList",t)};e._API_GetSoapList=d;var l=function(t){return i.default.get("/soap/SearchStatus",t)};e._API_SearchStatus=l;var u=function(t){return i.default.get("/soap/pays",t)};e._API_Getpays=u;var f=function(t){return i.default.get("/soap/get_express",t)};e._API_get_express=f;var p=function(t){return i.default.get("/goods/GetGoodStatus",t)};e.GetGoodStatus=p}}]);