pages-verification_order-verification_order.e3934ee9.js 34 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-verification_order-verification_order"],{"14a5":function(t,e,o){"use strict";o.r(e);var n=o("3a27"),i=o("7ea7");for(var r in i)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(r);var a=o("89d6");for(var r in a)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return a[t]}))}(r);o("d999");var s=o("f0c5"),l=o("2345");i["default"].__module="renderBiz";var c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"86fc822c",null,!1,n["a"],i["default"]);"function"===typeof l["a"]&&Object(l["a"])(c),e["default"]=c.exports},1889:function(t,e,o){"use strict";var n=o("ead9"),i=o.n(n);i.a},"1c92":function(t,e,o){"use strict";function n(t,e,o){this.$children.map((function(i){t===i.$options.name?i.$emit.apply(i,[e].concat(o)):n.apply(i,[t,e].concat(o))}))}o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("d81d"),o("99af");var i={methods:{dispatch:function(t,e,o){var n=this.$parent||this.$root,i=n.$options.name;while(n&&(!i||i!==t))n=n.$parent,n&&(i=n.$options.name);n&&n.$emit.apply(n,[e].concat(o))},broadcast:function(t,e,o){n.call(this,t,e,o)}}};e.default=i},2345:function(t,e,o){"use strict";e["a"]=function(t){(t.options.wxs||(t.options.wxs={}))["wxsBiz"]=function(t){var e={};function o(t,o){if(e.isMoveDown)e.downHight>=e.optDown.offset?(e.downHight=e.optDown.offset,e.callMethod(o,{type:"triggerDownScroll"})):(e.downHight=0,e.callMethod(o,{type:"endDownScroll"})),e.movetype=0,e.isMoveDown=!1;else if(!e.isScrollBody&&e.getScrollTop()===e.startTop){var n=e.getPoint(t).y-e.startPoint.y<0;if(n){var i=e.getAngle(e.getPoint(t),e.startPoint);i>80&&e.callMethod(o,{type:"triggerUpScroll"})}}e.callMethod(o,{type:"setWxsProp"})}return e.onMoving=function(t,e,o){t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"transform",transform:"translateY("+o+"px)",transition:""});var n=t.selectComponent(".mescroll-wxs-progress");n&&n.setStyle({transform:"rotate("+360*e+"deg)"})}))},e.showLoading=function(t){e.downHight=e.optDown.offset,t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY("+e.downHight+"px)",transition:"transform 300ms"})}))},e.endDownScroll=function(t){e.downHight=0,e.isDownScrolling=!1,t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"auto",transform:"translateY(0)",transition:"transform 300ms"})}))},e.clearTransform=function(t){t.requestAnimationFrame((function(){t.selectComponent(".mescroll-wxs-content").setStyle({"will-change":"",transform:"",transition:""})}))},e.disabled=function(){return!e.optDown||!e.optDown.use||e.optDown.native},e.getPoint=function(t){return t?t.touches&&t.touches[0]?{x:t.touches[0].pageX,y:t.touches[0].pageY}:t.changedTouches&&t.changedTouches[0]?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.clientX,y:t.clientY}:{x:0,y:0}},e.getAngle=function(t,e){var o=Math.abs(t.x-e.x),n=Math.abs(t.y-e.y),i=Math.sqrt(o*o+n*n),r=0;return 0!==i&&(r=Math.asin(n/i)/Math.PI*180),r},e.getScrollTop=function(){return e.scrollTop||0},e.getBodyHeight=function(){return e.bodyHeight||0},e.callMethod=function(t,e){t&&t.callMethod("wxsCall",e)},t.exports={propObserver:function(t){e.optDown=t.optDown,e.scrollTop=t.scrollTop,e.bodyHeight=t.bodyHeight,e.isDownScrolling=t.isDownScrolling,e.isUpScrolling=t.isUpScrolling,e.isUpBoth=t.isUpBoth,e.isScrollBody=t.isScrollBody,e.startTop=t.scrollTop},callObserver:function(t,o,n){e.disabled()||t.callType&&("showLoading"===t.callType?e.showLoading(n):"endDownScroll"===t.callType?e.endDownScroll(n):"clearTransform"===t.callType&&e.clearTransform(n))},touchstartEvent:function(t,o){e.downHight=0,e.startPoint=e.getPoint(t),e.startTop=e.getScrollTop(),e.startAngle=0,e.lastPoint=e.startPoint,e.maxTouchmoveY=e.getBodyHeight()-e.optDown.bottomOffset,e.inTouchend=!1,e.callMethod(o,{type:"setWxsProp"})},touchmoveEvent:function(t,n){var i=!0;if(e.disabled())return i;var r=e.getScrollTop(),a=e.getPoint(t),s=a.y-e.startPoint.y;if(s>0&&(e.isScrollBody&&r<=0||!e.isScrollBody&&(r<=0||r<=e.optDown.startTop&&r===e.startTop))&&!e.inTouchend&&!e.isDownScrolling&&!e.optDown.isLock&&(!e.isUpScrolling||e.isUpScrolling&&e.isUpBoth)){if(e.startAngle||(e.startAngle=e.getAngle(e.lastPoint,a)),e.startAngle<e.optDown.minAngle)return i;if(e.maxTouchmoveY>0&&a.y>=e.maxTouchmoveY)return e.inTouchend=!0,o(t,n),i;i=!1;var l=a.y-e.lastPoint.y;e.downHight<e.optDown.offset?(1!==e.movetype&&(e.movetype=1,e.callMethod(n,{type:"setLoadType",downLoadType:1}),e.isMoveDown=!0),e.downHight+=l*e.optDown.inOffsetRate):(2!==e.movetype&&(e.movetype=2,e.callMethod(n,{type:"setLoadType",downLoadType:2}),e.isMoveDown=!0),e.downHight+=l>0?l*e.optDown.outOffsetRate:l),e.downHight=Math.round(e.downHight);var c=e.downHight/e.optDown.offset;e.onMoving(n,c,e.downHight)}return e.lastPoint=a,i},touchendEvent:o},t.exports}({exports:{}})}},"250c":function(t,e,o){"use strict";o.r(e);var n=o("4965"),i=o.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},3128:function(t,e,o){var n=o("24fb");e=n(!1),e.push([t.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-005a8004]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.verification-list[data-v-005a8004]{display:flex;flex-direction:column;padding-bottom:%?200?%}.goods[data-v-005a8004]{width:100%;padding:%?20?%;margin-bottom:%?20?%}.goods-wrap[data-v-005a8004]{width:100%}.goods-wrap .goods-name[data-v-005a8004]{color:#101010;font-size:%?28?%}.goods-wrap .goods-price[data-v-005a8004]{color:red;font-size:%?28?%}.goods-wrap > uni-view[data-v-005a8004]{width:100%}.goods-wrap .image[data-v-005a8004]{flex:0}.order-contain[data-v-005a8004]{padding:0 %?20?%}.order-contain .order[data-v-005a8004]{padding-left:%?20?%;margin-top:%?20?%;border-radius:5px;background-color:#fff}.order-contain .order-header[data-v-005a8004]{display:flex;height:%?80?%;align-items:center;padding-right:%?20?%;border-bottom:1px dashed #e5e5e5}.order-contain .order-header .order-sn[data-v-005a8004]{font-size:%?28?%}.order-contain .order-header .order-status[data-v-005a8004]{margin-left:auto;font-size:%?26?%}[data-theme=red_theme] .order-contain .order-header .order-status--primary[data-v-005a8004]{color:#ff2c3c}[data-theme=orange_theme] .order-contain .order-header .order-status--primary[data-v-005a8004]{color:#f7971e}[data-theme=pink_theme] .order-contain .order-header .order-status--primary[data-v-005a8004]{color:#fa444d}[data-theme=gold_theme] .order-contain .order-header .order-status--primary[data-v-005a8004]{color:#e0a356}[data-theme=blue_theme] .order-contain .order-header .order-status--primary[data-v-005a8004]{color:#2f80ed}[data-theme=green_theme] .order-contain .order-header .order-status--primary[data-v-005a8004]{color:#2ec840}.order-contain .order-header .order-status--muted[data-v-005a8004]{color:#999}.order-contain .order-main__spec[data-v-005a8004]{display:flex;justify-content:space-between;height:100%}.operation[data-v-005a8004]{position:fixed;z-index:99;left:0;right:0;bottom:0;display:flex;justify-content:space-between;padding:0 %?20?% calc(%?20?% + constant(safe-area-inset-bottom)) %?20?%;padding:0 %?20?% calc(%?20?% + env(safe-area-inset-bottom)) %?20?%}.operation-button[data-v-005a8004]{flex:1;display:flex;align-items:center;justify-content:center;height:%?82?%;border-radius:60px;font-size:%?28?%;background-color:#40affa;color:#fff}.operation-button[data-v-005a8004]:nth-child(n + 2){margin-left:%?20?%}",""]),t.exports=e},3942:function(t,e,o){var n=o("24fb");e=n(!1),e.push([t.i,".mescroll-uni-warp[data-v-86fc822c]{height:100%}.mescroll-uni-content[data-v-86fc822c]{height:100%;position:relative}.mescroll-uni[data-v-86fc822c]{border-radius:%?20?% %?20?% 0 0;position:relative;width:100%;height:100%;min-height:%?200?%;overflow-y:auto;box-sizing:border-box /* 避免设置padding出现双滚动条的问题 */}\n\n/* 定位的方式固定高度 */.mescroll-uni-fixed[data-v-86fc822c]{z-index:1;position:fixed;top:0;left:0;right:0;bottom:0;width:auto; /* 使right生效 */height:auto /* 使bottom生效 */}\n\n/* 适配 iPhoneX */@supports (bottom:constant(safe-area-inset-bottom)) or (bottom:env(safe-area-inset-bottom)){.mescroll-safearea[data-v-86fc822c]{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}}\n\n/* 下拉刷新区域 */.mescroll-downwarp[data-v-86fc822c]{position:absolute;top:-100%;left:0;width:100%;height:100%;text-align:center}\n\n/* 下拉刷新--内容区,定位于区域底部 */.mescroll-downwarp .downwarp-content[data-v-86fc822c]{position:absolute;left:0;bottom:0;width:100%;min-height:%?60?%;padding:%?20?% 0;text-align:center}\n\n/* 下拉刷新--提示文本 */.mescroll-downwarp .downwarp-tip[data-v-86fc822c]{display:inline-block;font-size:%?28?%;vertical-align:middle;margin-left:%?16?%\n\t/* color: gray; 已在style设置color,此处删去*/}\n\n/* 下拉刷新--旋转进度条 */.mescroll-downwarp .downwarp-progress[data-v-86fc822c]{display:inline-block;width:%?32?%;height:%?32?%;border-radius:50%;border:%?2?% solid grey;border-bottom-color:transparent!important; /*已在style设置border-color,此处需加 !important*/vertical-align:middle}\n\n/* 旋转动画 */.mescroll-downwarp .mescroll-rotate[data-v-86fc822c]{-webkit-animation:mescrollDownRotate-data-v-86fc822c .6s linear infinite;animation:mescrollDownRotate-data-v-86fc822c .6s linear infinite}@-webkit-keyframes mescrollDownRotate-data-v-86fc822c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes mescrollDownRotate-data-v-86fc822c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}\n\n/* 上拉加载区域 */.mescroll-upwarp[data-v-86fc822c]{box-sizing:border-box;min-height:%?110?%;padding:%?30?% 0;text-align:center;clear:both}\n\n/*提示文本 */.mescroll-upwarp .upwarp-tip[data-v-86fc822c],\n.mescroll-upwarp .upwarp-nodata[data-v-86fc822c]{display:inline-block;font-size:%?28?%;vertical-align:middle\n\t/* color: gray; 已在style设置color,此处删去*/}.mescroll-upwarp .upwarp-tip[data-v-86fc822c]{margin-left:%?16?%}\n\n/*旋转进度条 */.mescroll-upwarp .upwarp-progress[data-v-86fc822c]{display:inline-block;width:%?32?%;height:%?32?%;border-radius:50%;border:%?2?% solid grey;border-bottom-color:transparent!important; /*已在style设置border-color,此处需加 !important*/vertical-align:middle}\n\n/* 旋转动画 */.mescroll-upwarp .mescroll-rotate[data-v-86fc822c]{-webkit-animation:mescrollUpRotate-data-v-86fc822c .6s linear infinite;animation:mescrollUpRotate-data-v-86fc822c .6s linear infinite}@-webkit-keyframes mescrollUpRotate-data-v-86fc822c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes mescrollUpRotate-data-v-86fc822c{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}",""]),t.exports=e},3995:function(t,e,o){"use strict";o("7a82");var n=o("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(o("dd70")),r={mixins:[i.default]};e.default=r},"3a27":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"mescroll-uni-warp"},[o("v-uni-scroll-view",{staticClass:"mescroll-uni",class:{"mescroll-uni-fixed":t.isFixed},style:{height:t.scrollHeight,"padding-top":t.padTop,"padding-bottom":t.padBottom,top:t.fixedTop,bottom:t.fixedBottom,backgroundColor:t.bgColor},attrs:{id:t.viewId,"scroll-top":t.scrollTop,"scroll-with-animation":t.scrollAnim,"scroll-y":t.scrollable,"enable-back-to-top":!0,throttle:!1},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scroll.apply(void 0,arguments)}}},[o("v-uni-view",{wxsProps:{"change:prop":"wxsProp"},staticClass:"mescroll-uni-content mescroll-render-touch",attrs:{"change:prop":t.wxsBiz.propObserver,prop:t.wxsProp},on:{touchstart:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchstartEvent(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchmoveEvent(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchendEvent(e,t.$getComponentDescriptor())},touchcancel:function(e){e=t.$handleWxsEvent(e),t.wxsBiz.touchendEvent(e,t.$getComponentDescriptor())}}},[t.topbar&&t.statusBarHeight?o("v-uni-view",{staticClass:"mescroll-topbar",style:{height:t.statusBarHeight+"px",background:t.topbar}}):t._e(),o("v-uni-view",{wxsProps:{"change:prop":"callProp"},staticClass:"mescroll-wxs-content",style:{transform:t.translateY,transition:t.transition},attrs:{"change:prop":t.wxsBiz.callObserver,prop:t.callProp}},[t.mescroll.optDown.use?o("v-uni-view",{staticClass:"mescroll-downwarp",style:{background:t.mescroll.optDown.bgColor,color:t.mescroll.optDown.textColor}},[o("v-uni-view",{staticClass:"downwarp-content"},[o("v-uni-view",{staticClass:"downwarp-progress mescroll-wxs-progress",class:{"mescroll-rotate":t.isDownLoading},style:{"border-color":t.mescroll.optDown.textColor,transform:t.downRotate}}),o("v-uni-view",{staticClass:"downwarp-tip"},[t._v(t._s(t.downText))])],1)],1):t._e(),t._t("default"),t.isShowEmpty?o("mescroll-empty",{attrs:{option:t.mescroll.optUp.empty},on:{emptyclick:function(e){arguments[0]=e=t.$handleEvent(e),t.emptyClick.apply(void 0,arguments)}}}):t._e(),t.mescroll.optUp.use&&!t.isDownLoading&&3!==t.upLoadType?o("v-uni-view",{staticClass:"mescroll-upwarp",style:{background:t.mescroll.optUp.bgColor,color:t.mescroll.optUp.textColor}},[o("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1===t.upLoadType,expression:"upLoadType===1"}]},[o("v-uni-view",{staticClass:"upwarp-progress mescroll-rotate",style:{"border-color":t.mescroll.optUp.textColor}}),o("v-uni-view",{staticClass:"upwarp-tip"},[t._v(t._s(t.mescroll.optUp.textLoading))])],1),2===t.upLoadType?o("v-uni-view",{staticClass:"upwarp-nodata"},[t._v(t._s(t.mescroll.optUp.textNoMore))]):t._e()],1):t._e()],2),t.bottombar&&t.windowBottom>0?o("v-uni-view",{staticClass:"mescroll-bottombar",style:{height:t.windowBottom+"px"}}):t._e(),t.safearea?o("v-uni-view",{staticClass:"mescroll-safearea"}):t._e()],1)],1),o("mescroll-top",{attrs:{option:t.mescroll.optUp.toTop},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toTopClick.apply(void 0,arguments)}},model:{value:t.isShowToTop,callback:function(e){t.isShowToTop=e},expression:"isShowToTop"}}),o("v-uni-view",{wxsProps:{"change:prop":"wxsProp"},attrs:{"change:prop":t.renderBiz.propObserver,prop:t.wxsProp}})],1)},i=[]},4965:function(t,e,o){"use strict";o("7a82");var n=o("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(o("d0ff"));o("7db0"),o("d3b7"),o("99af"),o("14d9");var r=n(o("8c50")),a=o("3f79"),s=(o("3ae9"),n(o("1452")),{name:"OrderList",mixins:[r.default],data:function(){return{tabsList:[{sign:0,name:"待核销",list:[]},{sign:1,name:"已核销",list:[]}],tabsIndex:0,orderStatus:{0:{name:"待核销",style:"primary"},1:{name:"已核销",style:"muted"}},code:"",showInputCode:!1}},computed:{currentTab:function(){return this.tabsList[this.tabsIndex]},mapTabsItem:function(){var t=this;return function(e){return t.tabsList.find((function(t){return t["sign"]===e}))}}},methods:{changeCurrentTab:function(t){this.tabsIndex=t},refreshOrderData:function(){var t=this.$refs["scroll-"+this.currentTab["sign"]][0];t.downCallback()},upCallback:function(t,e){var o=this,n=t.num,r=t.size,s=this.$refs["scroll-"+e][0];(0,a.apiVerificationOrderList)({status:e,page_no:n,page_size:r}).then((function(t){var r=t.list,a=(t.page_size,t.count);console.log(s);var l=o.mapTabsItem(e);1===n&&(l.list=[]),l.list=[].concat((0,i.default)(l.list),(0,i.default)(r)),s.mescroll.endSuccess(r.length,a)})).catch((function(t){console.log(t),s.mescroll.endErr()}))},goOrderDetail:function(t){this.$Router.push({path:"/pages/verification_detail/verification_detail",query:{code:t}})},onScanQRCode:function(){this.$toast({title:"h5暂不支持扫码"})},inputOrderCode:function(){if(""===this.code)return this.$toast({title:"请输入核销码"});this.goOrderDetail(this.code)}},watch:{showInputCode:function(){this.$set(this,"code","")}}});e.default=s},"49ea":function(t,e,o){"use strict";o("7a82");var n=o("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("d401"),o("d3b7"),o("25f0"),o("a9e3"),o("c975"),o("ac1f"),o("5319"),o("e9c4"),o("498a");var i=n(o("f50f")),r=n(o("c826")),a=n(o("4dcf")),s=n(o("2cfc")),l=n(o("2478")),c={mixins:[l.default],components:{MescrollEmpty:a.default,MescrollTop:s.default},data:function(){return{mescroll:{optDown:{},optUp:{}},viewId:"id_"+Math.random().toString(36).substr(2,16),downHight:0,downRate:0,downLoadType:0,upLoadType:0,isShowEmpty:!1,isShowToTop:!1,scrollTop:0,scrollAnim:!1,windowTop:0,windowBottom:0,windowHeight:0,statusBarHeight:0}},props:{down:Object,up:Object,top:[String,Number],topbar:[Boolean,String],bottom:[String,Number],safearea:Boolean,fixed:{type:Boolean,default:!0},height:[String,Number],bottombar:{type:Boolean,default:!1},bgColor:{type:String,default:"transparent"}},computed:{isFixed:function(){return!this.height&&this.fixed},scrollHeight:function(){return this.isFixed?"auto":this.height?this.toPx(this.height)+"px":"100%"},numTop:function(){return this.toPx(this.top)},fixedTop:function(){return this.isFixed?this.numTop+this.windowTop+"px":0},padTop:function(){return this.isFixed?0:this.numTop+"px"},numBottom:function(){return this.toPx(this.bottom)},fixedBottom:function(){return this.isFixed?this.numBottom+this.windowBottom+"px":0},padBottom:function(){return this.isFixed?0:this.numBottom+"px"},isDownReset:function(){return 3===this.downLoadType||4===this.downLoadType},transition:function(){return this.isDownReset?"transform 300ms":""},translateY:function(){return this.downHight>0?"translateY("+this.downHight+"px)":""},scrollable:function(){return 0===this.downLoadType||this.isDownReset},isDownLoading:function(){return 3===this.downLoadType},downRotate:function(){return"rotate("+360*this.downRate+"deg)"},downText:function(){if(!this.mescroll)return"";switch(this.downLoadType){case 1:return this.mescroll.optDown.textInOffset;case 2:return this.mescroll.optDown.textOutOffset;case 3:return this.mescroll.optDown.textLoading;case 4:return this.mescroll.isDownEndSuccess?this.mescroll.optDown.textSuccess:0==this.mescroll.isDownEndSuccess?this.mescroll.optDown.textErr:this.mescroll.optDown.textInOffset;default:return this.mescroll.optDown.textInOffset}}},methods:{toPx:function(t){if("string"===typeof t)if(-1!==t.indexOf("px"))if(-1!==t.indexOf("rpx"))t=t.replace("rpx","");else{if(-1===t.indexOf("upx"))return Number(t.replace("px",""));t=t.replace("upx","")}else if(-1!==t.indexOf("%")){var e=Number(t.replace("%",""))/100;return this.windowHeight*e}return t?uni.upx2px(Number(t)):0},scroll:function(t){var e=this;this.mescroll.scroll(t.detail,(function(){e.$emit("scroll",e.mescroll)}))},emptyClick:function(){this.$emit("emptyclick",this.mescroll)},toTopClick:function(){this.mescroll.scrollTo(0,this.mescroll.optUp.toTop.duration),this.$emit("topclick",this.mescroll)},setClientHeight:function(){var t=this;0!==this.mescroll.getClientHeight(!0)||this.isExec||(this.isExec=!0,this.$nextTick((function(){t.getClientInfo((function(e){t.isExec=!1,e?t.mescroll.setClientHeight(e.height):3!=t.clientNum&&(t.clientNum=null==t.clientNum?1:t.clientNum+1,setTimeout((function(){t.setClientHeight()}),100*t.clientNum))}))})))},getClientInfo:function(t){var e=uni.createSelectorQuery();e=e.in(this);var o=e.select("#"+this.viewId);o.boundingClientRect((function(e){t(e)})).exec()}},created:function(){var t=this,e={down:{inOffset:function(){t.downLoadType=1},outOffset:function(){t.downLoadType=2},onMoving:function(e,o,n){t.downHight=n,t.downRate=o},showLoading:function(e,o){t.downLoadType=3,t.downHight=o},beforeEndDownScroll:function(e){return t.downLoadType=4,e.optDown.beforeEndDelay},endDownScroll:function(){t.downLoadType=4,t.downHight=0,t.downResetTimer&&clearTimeout(t.downResetTimer),t.downResetTimer=setTimeout((function(){4===t.downLoadType&&(t.downLoadType=0)}),300)},callback:function(e){t.$emit("down",e)}},up:{showLoading:function(){t.upLoadType=1},showNoMore:function(){t.$nextTick((function(){t.upLoadType=2}))},hideUpScroll:function(e){t.upLoadType=e.optUp.hasNext?0:3},empty:{onShow:function(e){t.isShowEmpty=e}},toTop:{onShow:function(e){t.isShowToTop=e}},callback:function(e){t.$emit("up",e),t.setClientHeight()}}};i.default.extend(e,r.default);var o=JSON.parse(JSON.stringify({down:t.down,up:t.up}));i.default.extend(o,e),t.mescroll=new i.default(o),t.mescroll.viewId=t.viewId,t.$emit("init",t.mescroll);var n=uni.getSystemInfoSync();n.windowTop&&(t.windowTop=n.windowTop),n.windowBottom&&(t.windowBottom=n.windowBottom),n.windowHeight&&(t.windowHeight=n.windowHeight),n.statusBarHeight&&(t.statusBarHeight=n.statusBarHeight),t.mescroll.setBodyHeight(n.windowHeight),t.mescroll.resetScrollTo((function(e,o){if(t.scrollAnim=0!==o,"string"!==typeof e){var n=t.mescroll.getScrollTop();0===o||300===o?(t.scrollTop=n,t.$nextTick((function(){t.scrollTop=e}))):t.mescroll.getStep(n,e,(function(e){t.scrollTop=e}),o)}else t.getClientInfo((function(o){var n,i=o.top;-1==e.indexOf("#")&&-1==e.indexOf(".")?n="#"+e:(n=e,-1!=e.indexOf(">>>")&&(n=e.split(">>>")[1].trim())),uni.createSelectorQuery().select(n).boundingClientRect((function(e){if(e){var o=t.mescroll.getScrollTop(),r=e.top-i;r+=o,t.isFixed||(r-=t.numTop),t.scrollTop=o,t.$nextTick((function(){t.scrollTop=r}))}else console.error(n+" does not exist")})).exec()}))})),t.up&&t.up.toTop&&null!=t.up.toTop.safearea||(t.mescroll.optUp.toTop.safearea=t.safearea)},mounted:function(){this.setClientHeight()}};e.default=c},"535e":function(t,e,o){var n=o("24fb");e=n(!1),e.push([t.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-2f408484]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.u-input[data-v-2f408484]{position:relative;flex:1;display:flex;flex-direction:row}.u-input__input[data-v-2f408484]{font-size:%?28?%;color:#303133;flex:1}.u-input__textarea[data-v-2f408484]{width:auto;font-size:%?28?%;color:#303133;padding:%?10?% 0;line-height:normal;flex:1}.u-input--border[data-v-2f408484]{border-radius:%?6?%;border-radius:4px;border:1px solid #dcdfe6}.u-input--error[data-v-2f408484]{border-color:#fa3534!important}.u-input__right-icon__item[data-v-2f408484]{margin-left:%?10?%}.u-input__right-icon--select[data-v-2f408484]{transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.u-input__right-icon--select--reverse[data-v-2f408484]{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}",""]),t.exports=e},7083:function(t,e,o){"use strict";o.r(e);var n=o("8f1c"),i=o("250c");for(var r in i)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(r);o("1889");var a=o("f0c5"),s=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"005a8004",null,!1,n["a"],void 0);e["default"]=s.exports},"778c":function(t,e,o){"use strict";o.r(e);var n=o("f41b"),i=o.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"7ea7":function(t,e,o){"use strict";o.r(e);var n=o("3995"),i=o.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},8176:function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){return n}));var n={uIcon:o("c82d").default},i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"u-input",class:{"u-input--border":t.border,"u-input--error":t.validateState},style:{padding:"0 "+(t.border?20:0)+"rpx",borderColor:t.borderColor,textAlign:t.inputAlign},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.inputClick.apply(void 0,arguments)}}},["textarea"==t.type?o("v-uni-textarea",{staticClass:"u-input__input u-input__textarea",style:[t.getStyle],attrs:{value:t.defaultValue,placeholder:t.placeholder,placeholderStyle:t.placeholderStyle,disabled:t.disabled,maxlength:t.inputMaxlength,fixed:t.fixed,focus:t.focus,autoHeight:t.autoHeight,"selection-end":t.uSelectionEnd,"selection-start":t.uSelectionStart,"cursor-spacing":t.getCursorSpacing,"show-confirm-bar":t.showConfirmbar},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.handleInput.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBlur.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}}):o("v-uni-input",{staticClass:"u-input__input",style:[t.getStyle],attrs:{type:"password"==t.type?"text":t.type,value:t.defaultValue,password:"password"==t.type&&!t.showPassword,placeholder:t.placeholder,placeholderStyle:t.placeholderStyle,disabled:t.disabled||"select"===t.type,maxlength:t.inputMaxlength,focus:t.focus,confirmType:t.confirmType,"cursor-spacing":t.getCursorSpacing,"selection-end":t.uSelectionEnd,"selection-start":t.uSelectionStart,"show-confirm-bar":t.showConfirmbar},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBlur.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.handleInput.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}}),o("v-uni-view",{staticClass:"u-input__right-icon u-flex"},[t.clearable&&""!=t.value&&t.focused?o("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClear.apply(void 0,arguments)}}},[o("u-icon",{attrs:{size:"32",name:"close-circle-fill",color:"#c0c4cc"}})],1):t._e(),t.passwordIcon&&"password"==t.type?o("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item"},[o("u-icon",{attrs:{size:"32",name:t.showPassword?"eye-fill":"eye",color:"#c0c4cc"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!t.showPassword}}})],1):t._e(),"select"==t.type?o("v-uni-view",{staticClass:"u-input__right-icon--select u-input__right-icon__item",class:{"u-input__right-icon--select--reverse":t.selectOpen}},[o("u-icon",{attrs:{name:"arrow-down-fill",size:"26",color:"#c0c4cc"}})],1):t._e()],1)],1)},r=[]},"89d6":function(t,e,o){"use strict";o.r(e);var n=o("49ea"),i=o.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"8c50":function(t,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){console.log(t),this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){var t=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){t.mescroll.endSuccess()}),500)},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},i=n;e.default=i},"8f1c":function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){return n}));var n={uTabs:o("0f62").default,mescrollUni:o("14a5").default,uImage:o("5141").default,uIcon:o("c82d").default,uModal:o("6dad").default,uInput:o("8fca").default},i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"verification-list"},[o("u-tabs",{attrs:{list:t.tabsList,"is-scroll":!1,height:80,"bar-style":{top:"100%"},current:t.tabsIndex},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeCurrentTab.apply(void 0,arguments)}}}),t._l(t.tabsList,(function(e,n){return[t.currentTab["sign"]===e["sign"]?o("mescroll-uni",{key:e["sign"]+"_0",ref:"scroll-"+e["sign"],refInFor:!0,attrs:{top:"80rpx",up:{noMoreSize:5,empty:{icon:"/static/images/empty/order.png",tip:"暂无订单~",fixed:!0}}},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},up:function(o){arguments[0]=o=t.$handleEvent(o),t.upCallback(o,e["sign"])},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"order-contain"},t._l(t.tabsList[n].list,(function(n){return o("v-uni-view",{key:n.id,staticClass:"order"},[o("v-uni-view",{staticClass:"order-header"},[o("v-uni-view",{staticClass:"order-sn"},[t._v("联系人: "+t._s(n.consignee))]),o("v-uni-view",{class:["order-status","order-status--"+t.orderStatus[e["sign"]]["style"]]},[t._v(t._s(t.orderStatus[e["sign"]]["name"]))])],1),o("v-uni-view",{staticClass:"order-main"},t._l(n.order_goods,(function(e,n){return o("v-uni-view",{staticClass:"goods"},[o("v-uni-view",{staticClass:"goods-wrap flex"},[o("v-uni-view",{staticClass:"image"},[o("u-image",{attrs:{src:e.image,width:"160",height:"160"}})],1),o("v-uni-view",{staticClass:"m-l-16 line-1"},[o("v-uni-view",{staticClass:"goods-name line-1 m-t-10"},[t._v(t._s(e.goods_name))]),o("v-uni-view",{staticClass:"muted flex row-between xs m-t-10"},[o("v-uni-view",[t._v(t._s(e.spec_value))]),o("v-uni-view",[t._v("x "+t._s(e.goods_num))])],1)],1)],1)],1)})),1)],1)})),1)],1):t._e()]})),o("v-uni-view",{staticClass:"operation"},[o("v-uni-view",{staticClass:"operation-button",staticStyle:{"background-color":"#ffffff",color:"#000000"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showInputCode=!0}}},[o("u-icon",{staticClass:"xxl m-r-10",attrs:{name:"edit-pen"}}),o("v-uni-text",[t._v("手动输入核销码")])],1),o("u-modal",{ref:"uModalInput",attrs:{"show-cancel-button":!0,"confirm-text":"确定",title:"手动核销"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.inputOrderCode.apply(void 0,arguments)}},model:{value:t.showInputCode,callback:function(e){t.showInputCode=e},expression:"showInputCode"}},[o("v-uni-view",{staticClass:"slot-content row-center",staticStyle:{padding:"40rpx"}},[o("u-input",{staticStyle:{width:"100%"},attrs:{type:"number",border:!0,placeholder:"请输入核销码"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1)],1)],1)],2)},r=[]},"8fca":function(t,e,o){"use strict";o.r(e);var n=o("8176"),i=o("778c");for(var r in i)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(r);o("b19b");var a=o("f0c5"),s=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"2f408484",null,!1,n["a"],void 0);e["default"]=s.exports},9411:function(t,e,o){var n=o("3942");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=o("4f06").default;i("230017ca",n,!0,{sourceMap:!1,shadowMode:!1})},b19b:function(t,e,o){"use strict";var n=o("d512"),i=o.n(n);i.a},d512:function(t,e,o){var n=o("535e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=o("4f06").default;i("778df6d6",n,!0,{sourceMap:!1,shadowMode:!1})},d999:function(t,e,o){"use strict";var n=o("9411"),i=o.n(n);i.a},ead9:function(t,e,o){var n=o("3128");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=o("4f06").default;i("981f103c",n,!0,{sourceMap:!1,shadowMode:!1})},f41b:function(t,e,o){"use strict";o("7a82");var n=o("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("a9e3"),o("498a");var i=n(o("1c92")),r={name:"u-input",mixins:[i.default],props:{value:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:"left"},placeholder:{type:String,default:"请输入内容"},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},placeholderStyle:{type:String,default:"color: #c0c4cc;"},confirmType:{type:String,default:"done"},customStyle:{type:Object,default:function(){return{}}},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"#dcdfe6"},autoHeight:{type:Boolean,default:!0},selectOpen:{type:Boolean,default:!1},height:{type:[Number,String],default:""},clearable:{type:Boolean,default:!0},cursorSpacing:{type:[Number,String],default:0},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},trim:{type:Boolean,default:!0},showConfirmbar:{type:Boolean,default:!0}},data:function(){return{defaultValue:this.value,inputHeight:70,textareaHeight:100,validateState:!1,focused:!1,showPassword:!1,lastValue:""}},watch:{value:function(t,e){this.defaultValue=t,t!=e&&"select"==this.type&&this.handleInput({detail:{value:t}})}},computed:{inputMaxlength:function(){return Number(this.maxlength)},getStyle:function(){var t={};return t.minHeight=this.height?this.height+"rpx":"textarea"==this.type?this.textareaHeight+"rpx":this.inputHeight+"rpx",t=Object.assign(t,this.customStyle),t},getCursorSpacing:function(){return Number(this.cursorSpacing)},uSelectionStart:function(){return String(this.selectionStart)},uSelectionEnd:function(){return String(this.selectionEnd)}},created:function(){this.$on("on-form-item-error",this.onFormItemError)},methods:{handleInput:function(t){var e=this,o=t.detail.value;this.trim&&(o=this.$u.trim(o)),this.$emit("input",o),this.defaultValue=o,setTimeout((function(){e.dispatch("u-form-item","on-form-change",o)}),40)},handleBlur:function(t){var e=this;setTimeout((function(){e.focused=!1}),100),this.$emit("blur",t.detail.value),setTimeout((function(){e.dispatch("u-form-item","on-form-blur",t.detail.value)}),40)},onFormItemError:function(t){this.validateState=t},onFocus:function(t){this.focused=!0,this.$emit("focus")},onConfirm:function(t){this.$emit("confirm",t.detail.value)},onClear:function(t){this.$emit("input","")},inputClick:function(){this.$emit("click")}}};e.default=r}}]);