(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c9cf318"],{"0661":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("b101");function r(t){function e(){this.binded||(t.call(this,i["b"],!0),this.binded=!0)}function n(){this.binded&&(t.call(this,i["a"],!1),this.binded=!1)}return{mounted:e,activated:e,deactivated:n,beforeDestroy:n}}},"196d":function(t,e,n){},"23c4":function(t,e,n){"use strict";function i(){return i=Object.assign||function(t){for(var e,n=1;nt||!r&&it?Object(c["c"])(l):n&&n()}l()}var d=n("c7f7");function f(t){var e=window.getComputedStyle(t),n="none"===e.display,i=null===t.offsetParent&&"fixed"!==e.position;return n||i}var h=n("b101"),p="van-hairline",v=p+"--top-bottom",b=n("b0bd"),m=n("0661"),g=n("38d4"),y=Object(r["a"])("tab"),x=y[0],O=y[1],w=x({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,ellipsis:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String,swipeThreshold:[Number,String]},computed:{style:function(){var t={},e=this.color,n=this.isActive,i="card"===this.type;e&&i&&(t.borderColor=e,this.disabled||(n?t.backgroundColor=e:t.color=e));var r=n?this.activeColor:this.inactiveColor;return r&&(t.color=r),this.scrollable&&this.ellipsis&&(t.flexBasis=88/this.swipeThreshold+"%"),t}},methods:{onClick:function(){this.$emit("click")}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[O({active:this.isActive,disabled:this.disabled,complete:!this.ellipsis}),{"van-ellipsis":this.ellipsis}],style:this.style,on:{click:this.onClick}},[t("span",{class:O("text")},[this.slots()||this.title,t(g["a"],{attrs:{dot:this.dot,info:this.info}})])])}}),S=Object(r["a"])("sticky"),j=S[0],C=S[1],T=j({mixins:[Object(m["a"])((function(t){this.scroller||(this.scroller=Object(a["d"])(this.$el)),t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()}))],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{style:function(){if(this.fixed){var t={};return Object(o["b"])(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTop&&this.fixed&&(t.top=this.offsetTop+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},methods:{onScroll:function(){var t=this;this.height=this.$el.offsetHeight;var e=this.container,n=+this.offsetTop,i=Object(a["c"])(window),r=Object(a["a"])(this.$el),o=function(){t.$emit("scroll",{scrollTop:i,isFixed:t.fixed})};if(e){var s=r+e.offsetHeight;if(i+n+this.height>s){var c=this.height+i-s;return cr?(this.fixed=!0,this.transform=0):this.fixed=!1,o()}},render:function(){var t=arguments[0],e=this.fixed,n={height:e?this.height+"px":null};return t("div",{style:n},[t("div",{class:C({fixed:e}),style:this.style},[this.slots()])])}}),$=n("f39a"),I=n("c494"),k=Object(r["a"])("tabs"),N=k[0],B=k[1],A=50,E=N({mixins:[I["a"]],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,n=this.currentIndex;"horizontal"===t&&this.offsetX>=A&&(e>0&&0!==n?this.$emit("change",n-1):e<0&&n!==this.count-1&&this.$emit("change",n+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:B("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){var t=arguments[0];return t("div",{class:B("content",{animated:this.animated}),on:Object($["a"])({},this.listeners)},[this.genChildren()])}}),L=Object(r["a"])("tabs"),X=L[0],Y=L[1];e["a"]=X({mixins:[Object(b["b"])("vanTabs"),Object(m["a"])((function(t){t(window,"resize",this.resize,!0),this.scrollspy&&t(window,"scroll",this.onScroll,!0)}))],model:{prop:"active"},props:{color:String,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},border:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:4}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},scrollOffset:function(){return this.sticky?+this.offsetTop+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.currentName||this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&Object(a["g"])(Math.ceil(Object(a["a"])(this.$el)-this.offsetTop))},scrollspy:function(t){t?Object(h["b"])(window,"scroll",this.onScroll,!0):Object(h["a"])(window,"scroll",this.onScroll)}},mounted:function(){this.onShow()},activated:function(){this.onShow(),this.setLine()},methods:{resize:function(){this.setLine()},onShow:function(){var t=this;this.$nextTick((function(){t.inited=!0,t.tabHeight=Object(a["e"])(t.$refs.wrap),t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var n=t.$refs.titles;if(n&&n[t.currentIndex]&&"line"===t.type&&!f(t.$el)){var i=n[t.currentIndex].$el,r=t.lineWidth,c=t.lineHeight,a=Object(o["b"])(r)?r:i.offsetWidth/2,l=i.offsetLeft+i.offsetWidth/2,u={width:Object(s["a"])(a),backgroundColor:t.color,transform:"translateX("+l+"px) translateX(-50%)"};if(e&&(u.transitionDuration=t.duration+"s"),Object(o["b"])(c)){var d=Object(s["a"])(c);u.height=d,u.borderRadius=d}t.lineStyle=u}}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),n=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:n)},setCurrentIndex:function(t){if(t=this.findAvailableTab(t),Object(o["b"])(t)&&t!==this.currentIndex){var e=null!==this.currentIndex;this.currentIndex=t,this.$emit("input",this.currentName),e&&this.$emit("change",this.currentName,this.children[t].title)}},findAvailableTab:function(t){var e=t=0&&tthis.scrollOffset)return 0===e?0:e-1}return t.length-1}},render:function(){var t,e=this,n=arguments[0],i=this.type,r=this.ellipsis,o=this.animated,s=this.scrollable,c=this.children.map((function(t,o){return n(w,{ref:"titles",refInFor:!0,attrs:{type:i,dot:t.dot,info:t.info,title:t.title,color:e.color,isActive:o===e.currentIndex,ellipsis:r,disabled:t.disabled,scrollable:s,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,swipeThreshold:e.swipeThreshold},style:t.titleStyle,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(o),Object(d["a"])(t.$router,t)}}})})),a=n("div",{ref:"wrap",class:[Y("wrap",{scrollable:s}),(t={},t[v]="line"===i&&this.border,t)]},[n("div",{ref:"nav",attrs:{role:"tablist"},class:Y("nav",[i]),style:this.navStyle},[this.slots("nav-left"),c,"line"===i&&n("div",{class:Y("line"),style:this.lineStyle}),this.slots("nav-right")])]);return n("div",{class:Y([i])},[this.sticky?n(T,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[a]):a,n(E,{attrs:{count:this.children.length,animated:o,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}})},"463c":function(t,e,n){},"4bc8":function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return d}));var i=n("de74"),r=Date.now();function o(t){var e=Date.now(),n=Math.max(0,16-(e-r)),i=setTimeout(t,n);return r=e+n,i}var s=i["e"]?t:window,c=s.requestAnimationFrame||o,a=s.cancelAnimationFrame||s.clearTimeout;function l(t){return c.call(s,t)}function u(t){l((function(){l(t)}))}function d(t){a.call(s,t)}}).call(this,n("5243"))},8683:function(t,e,n){"use strict";function i(t){return t===window}n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return a})),n.d(e,"g",(function(){return l})),n.d(e,"a",(function(){return u})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f}));var r=/scroll|auto/i;function o(t,e){void 0===e&&(e=window);var n=t;while(n&&"HTML"!==n.tagName&&1===n.nodeType&&n!==e){var i=window.getComputedStyle(n),o=i.overflowY;if(r.test(o)){if("BODY"!==n.tagName)return n;var s=window.getComputedStyle(n.parentNode),c=s.overflowY;if(r.test(c))return n}n=n.parentNode}return e}function s(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset}function c(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function a(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function l(t){c(window,t),c(document.body,t)}function u(t){return i(t)?0:t.getBoundingClientRect().top+a()}function d(t){return i(t)?t.innerHeight:t.getBoundingClientRect().height}function f(t){return i(t)?0:t.getBoundingClientRect().top}},"96ab":function(t,e,n){"use strict";n("196d"),n("463c")},"993e":function(t,e,n){"use strict";var i=n("de74");function r(t){return/^\d+(\.\d+)?$/.test(t)}function o(t){if(Object(i["b"])(t))return t=String(t),r(t)?t+"px":t}n.d(e,"a",(function(){return o}))},af43:function(t,e,n){"use strict";var i="__",r="--";function o(t,e,n){return e?t+n+e:t}function s(t,e){if("string"===typeof e)return o(t,e,r);if(Array.isArray(e))return e.map((function(e){return s(t,e)}));var n={};return e&&Object.keys(e).forEach((function(i){n[t+r+i]=e[i]})),n}function c(t){return function(e,n){return e&&"string"!==typeof e&&(n=e,e=""),e=o(t,e,i),n?[e,s(e,n)]:e}}var a=n("de74"),l=/-(\w)/g;function u(t){return t.replace(l,(function(t,e){return e.toUpperCase()}))}var d=n("0261"),f=d["default"].extend({methods:{slots:function(t,e){void 0===t&&(t="default");var n=this.$slots,i=this.$scopedSlots,r=i[t];return r?r(e):n[t]}}});function h(t){var e=this.name;t.component(e,this),t.component(u("-"+e),this)}function p(t){var e=t.scopedSlots||t.data.scopedSlots||{},n=t.slots();return Object.keys(n).forEach((function(t){e[t]||(e[t]=function(){return n[t]})})),e}function v(t){return{functional:!0,props:t.props,model:t.model,render:function(e,n){return t(e,n.props,p(n),n)}}}function b(t){return function(e){return Object(a["c"])(e)&&(e=v(e)),e.functional||(e.mixins=e.mixins||[],e.mixins.push(f)),e.name=t,e.install=h,e}}var m=Object.prototype.hasOwnProperty;function g(t,e,n){var i=e[n];Object(a["b"])(i)&&(m.call(t,n)&&Object(a["d"])(i)?t[n]=y(Object(t[n]),e[n]):t[n]=i)}function y(t,e){return Object.keys(e).forEach((function(n){g(t,e,n)})),t}var x={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",vanCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}},O=d["default"].prototype,w=d["default"].util.defineReactive;w(O,"$vantLang","zh-CN"),w(O,"$vantMessages",{"zh-CN":x});var S={messages:function(){return O.$vantMessages[O.$vantLang]},use:function(t,e){var n;O.$vantLang=t,this.add((n={},n[t]=e,n))},add:function(t){void 0===t&&(t={}),y(O.$vantMessages,t)}};function j(t){var e=u(t)+".";return function(t){for(var n=S.messages(),i=Object(a["a"])(n,e+t)||Object(a["a"])(n,t),r=arguments.length,o=new Array(r>1?r-1:0),s=1;se&&t>o?"horizontal":e>t&&e>o?"vertical":""}var c=i["default"].extend({data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e=t.touches[0];this.deltaX=e.clientX-this.startX,this.deltaY=e.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||s(this.offsetX,this.offsetY)},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this,n=e.onTouchStart,i=e.onTouchMove,o=e.onTouchEnd;Object(r["b"])(t,"touchstart",n),Object(r["b"])(t,"touchmove",i),o&&(Object(r["b"])(t,"touchend",o),Object(r["b"])(t,"touchcancel",o))}}})},c7f7:function(t,e,n){"use strict";function i(t,e){var n=e.to,i=e.url,r=e.replace;if(n&&t){var o=t[r?"replace":"push"](n);o&&o.catch&&o.catch((function(t){if(t&&"NavigationDuplicated"!==t.name)throw t}))}else i&&(r?location.replace(i):location.href=i)}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var r={url:String,replace:Boolean,to:[String,Object]}},de74:function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"a",(function(){return a}));var i=n("0261"),r=i["default"].prototype.$isServer;function o(t){return void 0!==t&&null!==t}function s(t){return"function"===typeof t}function c(t){return null!==t&&"object"===typeof t}function a(t,e){var n=e.split("."),i=t;return n.forEach((function(t){i=o(i[t])?i[t]:""})),i}},ef11:function(t,e,n){},f313:function(t,e,n){"use strict";n("196d"),n("c2e8"),n("3c19"),n("ef11")},f39a:function(t,e,n){"use strict";function i(){return i=Object.assign||function(t){for(var e=1;e