123456 |
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("vant",["vue"],e):"object"==typeof exports?exports.vant=e(require("vue")):t.vant=e(t.Vue)}("undefined"!=typeof self?self:this,function(t){return function(t){function e(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=63)}([function(t,e){t.exports=function(t,e,n,i,s,r){var a,o=t=t||{},u=typeof t.default;"object"!==u&&"function"!==u||(a=t,o=t.default);var c="function"==typeof o?o.options:o;e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),s&&(c._scopeId=s);var l;if(r?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=l):i&&(l=i),l){var d=c.functional,f=d?c.render:c.beforeCreate;d?(c._injectStyles=l,c.render=function(t,e){return l.call(e),f(t,e)}):c.beforeCreate=f?[].concat(f,l):[l]}return{esModule:a,exports:o,options:c}}},function(t,e,n){"use strict";function i(t){return void 0!==t&&null!==t}function s(t,e){var n=e.split("."),s=t;return n.forEach(function(t){s=i(s[t])?s[t]:""}),s}function r(t){return t.replace(v,function(t,e){return e.toUpperCase()})}function a(){return!p&&/android/.test(navigator.userAgent.toLowerCase())}var o=n(8),u=n.n(o),c=(n(42),n(56)),l={computed:{$t:function(){var t=this.$options.name,e=t?r(t)+".":"",n=this.$vantMessages[this.$vantLang];return function(t){for(var i=arguments.length,r=Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];var o=s(n,e+t)||s(n,t);return"function"==typeof o?o.apply(null,r):o}}}},d=n(39),f=n(57),h=function(t){return t.mixins=t.mixins||[],t.components=t.components||{},t.install=t.install||d.a,t.mixins.push(l),t.components.icon=c.a,t.components.loading=f.a,t};n.d(e,"c",function(){return s}),n.d(e,"e",function(){return i}),n.d(e,"f",function(){return p}),n.d(e,"a",function(){return r}),n.d(e,"d",function(){return a}),n.d(e,"b",function(){return h});var p=u.a.prototype.$isServer,v=/-(\w)/g},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(33)("wks"),s=n(25),r=n(2).Symbol,a="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=a&&r[t]||(a?r:s)("Symbol."+t))}).store=i},function(t,e,n){var i=n(2),s=n(3),r=n(22),a=n(9),o=function(t,e,n){var u,c,l,d=t&o.F,f=t&o.G,h=t&o.S,p=t&o.P,v=t&o.B,m=t&o.W,_=f?s:s[e]||(s[e]={}),g=_.prototype,b=f?i:h?i[e]:(i[e]||{}).prototype;f&&(n=e);for(u in n)(c=!d&&b&&void 0!==b[u])&&u in _||(l=c?b[u]:n[u],_[u]=f&&"function"!=typeof b[u]?n[u]:v&&c?r(l,i):m&&b[u]==l?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):p&&"function"==typeof l?r(Function.call,l):l,p&&((_.virtual||(_.virtual={}))[u]=l,t&o.R&&g&&!g[u]&&a(g,u,l)))};o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,t.exports=o},function(t,e,n){var i=n(13);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(16),s=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=s.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},function(e,n){e.exports=t},function(t,e,n){var i=n(10),s=n(24);t.exports=n(11)?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(6),s=n(46),r=n(31),a=Object.defineProperty;e.f=n(11)?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),s)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(14)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(50),s=n(29);t.exports=function(t){return i(s(t))}},function(t,e,n){t.exports={default:n(87),__esModule:!0}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var s=n(64),r=i(s),a=n(75),o=i(a),u="function"==typeof o.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":typeof t};e.default="function"==typeof o.default&&"symbol"===u(r.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":void 0===t?"undefined":u(t)}},function(t,e){t.exports={}},function(t,e,n){var i=n(49),s=n(34);t.exports=Object.keys||function(t){return i(t,s)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=!0},function(t,e,n){var i=n(23);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,s){return t.call(e,n,i,s)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(10).f,s=n(12),r=n(4)("toStringTag");t.exports=function(t,e,n){t&&!s(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(13),s=n(2).document,r=i(s)&&i(s.createElement);t.exports=function(t){return r?s.createElement(t):{}}},function(t,e,n){var i=n(13);t.exports=function(t,e){if(!i(t))return t;var n,s;if(e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;if("function"==typeof(n=t.valueOf)&&!i(s=n.call(t)))return s;if(!e&&"function"==typeof(n=t.toString)&&!i(s=n.call(t)))return s;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(33)("keys"),s=n(25);t.exports=function(t){return i[t]||(i[t]=s(t))}},function(t,e,n){var i=n(2),s=i["__core-js_shared__"]||(i["__core-js_shared__"]={});t.exports=function(t){return s[t]||(s[t]={})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(29);t.exports=function(t){return Object(i(t))}},function(t,e,n){e.f=n(4)},function(t,e,n){var i=n(2),s=n(3),r=n(21),a=n(36),o=n(10).f;t.exports=function(t){var e=s.Symbol||(s.Symbol=r?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||o(e,t,{value:a.f(t)})}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";e.a=function(t){t.component(this.name,this)}},function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=s(e),this.reject=s(n)}var s=n(23);t.exports.f=function(t){return new i(t)}},function(t,e,n){t.exports={default:n(114),__esModule:!0}},function(t,e,n){"use strict";var i=n(8),s=n.n(i),r=n(43),a={confirm:"确认",cancel:"取消",save:"保存",complete:"完成",vanContactCard:{name:"联系人",tel:"联系电话",addText:"添加订单联系人信息"},vanContactList:{name:"联系人",tel:"联系电话",addText:"新建联系人"},vanContactEdit:{name:"联系人",namePlaceholder:"名字",nameEmpty:"请填写名字",nameOverlimit:"名字过长,请重新输入",tel:"联系电话",telPlaceholder:"手机或固定电话",telInvalid:"请填写正确的手机号码或电话号码",save:"保存",delete:"删除联系人",confirmDelete:"确定要删除这个联系人么"},vanPicker:{confirm:"完成"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pullingText:"下拉即可刷新...",loosingText:"释放即可刷新...",loadingText:"加载中..."},vanSubmitBar:{label:"合计:"},vanCouponCell:{title:"优惠券码",tips:"使用优惠",reduce:"省",count:function(t){return"您有 "+t+" 个可用优惠"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠",disabled:"不可用优惠",placeholder:"请输入优惠码"},vanCouponItem:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanArea:{province:"选择省份",city:"选择城市",county:"选择地区"},vanAddressEdit:{areaTitle:"收件地区",addressText:"收货",areaWrong:"请选择正确的收件地区",areaEmpty:"请选择收件地区",nameEmpty:"请填写名字",nameOverlimit:"名字过长,请重新输入",telWrong:"请填写正确的手机号码或电话号码",addressOverlimit:"详细地址不能超过200个字符",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:function(t){return"设为默认"+t+"地址"},deleteAddress:function(t){return"删除"+t+"地址"},confirmDelete:function(t){return"确定要删除这个"+t+"地址么"},label:{name:function(t){return t+"人"},tel:"联系电话",postal:"邮政编码"},placeholder:{name:"名字",tel:"手机或固定电话",postal:"邮政编码(选填)",province:"选择省",city:"选择市",county:"选择区"}},vanAddressEditDetail:{label:{address:"详细地址"},placeholder:{address:"如街道、楼层、门牌号等"}},vanAddressList:{address:"收货地址",add:"新增收货地址"},vanSku:{unavailable:"商品已经无法购买啦",spec:"请选择完整的规格",least:"至少选择一件",quota:function(t){return"限购"+t+"件"},inventory:"库存不足",purchase:function(t){return"您已购买"+t+"件"}},vanSkuActions:{cart:"加入购物车",buy:"立即购买"},vanSkuMessages:{fill:"请填写",number:"请填写正确的数字格式留言",email:"请填写正确的邮箱",id_no:"请填写正确的身份证号码",overlimit:"写的太多了,不要超过200字",placeholder:{id_no:"输入18位身份证号码",text:"输入文本",tel:"输入数字",email:"输入邮箱",date:"点击选择日期",time:"点击选择时间",textarea:"点击填写段落文本"}},vanSkuStepper:{title:"购买数量",remain:function(t){return"剩余"+t+"件"},quota:function(t){return"每人限购"+t+"件"}}},o=s.a.prototype,u={init:function(){var t;s.a.util.defineReactive(o,"$vantLang","zh-CN"),s.a.util.defineReactive(o,"$vantMessages",(t={},t["zh-CN"]=a,t))},use:function(t,e){var n;o.$vantLang=t,this.add((n={},n[t]=e,n))},add:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(r.a)(o.$vantMessages,t)}};u.init();e.a=u},function(t,e,n){"use strict";function i(t){var e=void 0===t?"undefined":o()(t);return null!==t&&("object"===e||"function"===e)}function s(t,e,n){var s=e[n];!Object(u.e)(s)||c.call(t,n)&&!Object(u.e)(t[n])||(c.call(t,n)&&i(s)?t[n]=r(Object(t[n]),e[n]):t[n]=s)}function r(t,e){for(var n in e)c.call(e,n)&&s(t,e,n);return t}e.a=r;var a=n(17),o=n.n(a),u=n(1),c=Object.prototype.hasOwnProperty},function(t,e,n){"use strict";var i=n(66)(!0);n(45)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var i=n(21),s=n(5),r=n(47),a=n(9),o=n(12),u=n(18),c=n(67),l=n(26),d=n(71),f=n(4)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,v,m,_,g){c(n,e,v);var b,y,x,k=function(t){if(!h&&t in $)return $[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",S="values"==m,w=!1,$=t.prototype,T=$[f]||$["@@iterator"]||m&&$[m],E=T||k(m),O=m?S?k("entries"):E:void 0,F="Array"==e?$.entries||T:T;if(F&&(x=d(F.call(new t)))!==Object.prototype&&x.next&&(l(x,C,!0),i||o(x,f)||a(x,f,p)),S&&T&&"values"!==T.name&&(w=!0,E=function(){return T.call(this)}),i&&!g||!h&&!w&&$[f]||a($,f,E),u[e]=E,u[C]=p,m)if(b={values:S?E:k("values"),keys:_?E:k("keys"),entries:O},g)for(y in b)y in $||r($,y,b[y]);else s(s.P+s.F*(h||w),e,b);return b}},function(t,e,n){t.exports=!n(11)&&!n(14)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=n(9)},function(t,e,n){var i=n(6),s=n(68),r=n(34),a=n(32)("IE_PROTO"),o=function(){},u=function(){var t,e=n(30)("iframe"),i=r.length;for(e.style.display="none",n(52).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;i--;)delete u.prototype[r[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(o.prototype=i(t),n=new o,o.prototype=null,n[a]=t):n=u(),void 0===e?n:s(n,e)}},function(t,e,n){var i=n(12),s=n(15),r=n(69)(!1),a=n(32)("IE_PROTO");t.exports=function(t,e){var n,o=s(t),u=0,c=[];for(n in o)n!=a&&i(o,n)&&c.push(n);for(;e.length>u;)i(o,n=e[u++])&&(~r(c,n)||c.push(n));return c}},function(t,e,n){var i=n(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){var i=n(28),s=Math.min;t.exports=function(t){return t>0?s(i(t),9007199254740991):0}},function(t,e,n){var i=n(2).document;t.exports=i&&i.documentElement},function(t,e,n){n(72);for(var i=n(2),s=n(9),r=n(18),a=n(4)("toStringTag"),o="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<o.length;u++){var c=o[u],l=i[c],d=l&&l.prototype;d&&!d[a]&&s(d,a,c),r[c]=r.Array}},function(t,e,n){var i=n(49),s=n(34).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,s)}},function(t,e){},function(t,e,n){"use strict";var i=n(39),s={install:i.a,name:"van-icon",props:{name:String,info:String}},r=n(85),a=n.n(r),o=n(0),u=o(s,a.a,!1,null,null,null);e.a=u.exports},function(t,e,n){"use strict";var i=n(39),s={install:i.a,name:"van-loading",props:{type:{type:String,default:"gradient-circle"},color:{type:String,default:"black"}}},r=n(86),a=n.n(r),o=n(0),u=o(s,a.a,!1,null,null,null);e.a=u.exports},function(t,e,n){var i=n(20),s=n(4)("toStringTag"),r="Arguments"==i(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),s))?n:r?i(e):"Object"==(o=i(e))&&"function"==typeof e.callee?"Arguments":o}},function(t,e,n){var i=n(6),s=n(23),r=n(4)("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[r])?e:s(n)}},function(t,e,n){var i,s,r,a=n(22),o=n(106),u=n(52),c=n(30),l=n(2),d=l.process,f=l.setImmediate,h=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,m=0,_={},g=function(){var t=+this;if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},b=function(t){g.call(t.data)};f&&h||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return _[++m]=function(){o("function"==typeof t?t:Function(t),e)},i(m),m},h=function(t){delete _[t]},"process"==n(20)(d)?i=function(t){d.nextTick(a(g,t,1))}:v&&v.now?i=function(t){v.now(a(g,t,1))}:p?(s=new p,r=s.port2,s.port1.onmessage=b,i=a(r.postMessage,r,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):i="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:f,clear:h}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var i=n(6),s=n(13),r=n(40);t.exports=function(t,e){if(i(t),s(e)&&e.constructor===t)return e;var n=r.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";function i(t){return Array.isArray(t)?t.map(function(t){return i(t)}):"object"===(void 0===t?"undefined":vt()(t))?Object(Zt.a)({},t):t}function s(t){return/^((\+86)|(86))?(1)\d{10}$/.test(t)||/^\+?(9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1|)-?\d{1,14}$/.test(String(t))}function r(t){return/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)}function a(t){return/^\d+$/.test(t)}function o(){var t=this;if(!this.el[qo].binded){this.el[qo].binded=!0,this.scrollEventListener=O.debounce(u.bind(this),200),this.scrollEventTarget=O.getScrollEventTarget(this.el);var e=this.el.getAttribute("waterfall-disabled"),n=!1;e&&(this.vm.$watch(e,function(e){t.disabled=e,t.scrollEventListener()}),n=Boolean(this.vm[e])),this.disabled=n;var i=this.el.getAttribute("waterfall-offset");this.offset=Number(i)||Xo,this.scrollEventTarget.addEventListener("scroll",this.scrollEventListener),this.scrollEventListener()}}function u(){var t=this.el,e=this.scrollEventTarget;if(!this.disabled){var n=O.getScrollTop(e),i=O.getVisibleHeight(e),s=n+i;if(i){var r=!1;if(t===e)r=e.scrollHeight-s<this.offset;else{r=O.getElementTop(t)-O.getElementTop(e)+O.getVisibleHeight(t)-i<this.offset}r&&this.cb.lower&&this.cb.lower({target:e,top:n});var a=!1;if(t===e)a=n<this.offset;else{a=O.getElementTop(t)-O.getElementTop(e)+this.offset>0}a&&this.cb.upper&&this.cb.upper({target:e,top:n})}}}function c(t){t[qo].vm.$nextTick(function(){O.isAttached(t)&&o.call(t[qo])})}function l(t){var e=t[qo];e.vm._isMounted?c(t):e.vm.$on("hook:mounted",function(){c(t)})}Object.defineProperty(e,"__esModule",{value:!0});var d=n(1),f=n(7),h=n.n(f),p=n(16),v=n.n(p),m=n(8),_=n.n(m),g={name:"van-modal",props:{visible:Boolean,zIndex:Number,className:String,customStyle:Object},computed:{style:function(){return h()({zIndex:this.zIndex},this.customStyle)}}},b=n(90),y=n.n(b),x=n(0),k=x(g,y.a,!1,null,null,null),C=k.exports,S={idSeed:1,zIndex:2e3,instances:{},stack:[],plusKeyByOne:function(t){return this[t]++},get top(){return this.stack[this.stack.length-1]}},w=S,$={className:"",customStyle:{}},T={getModal:function(){var t=w.modal;if(!t){t=new(_.a.extend(C))({el:document.createElement("div")}),t.$on("click",function(){T.handleOverlayClick()}),w.modal=t}return t},handleOverlayClick:function(){var t=w.top;if(t){var e=w.instances[t.id];e&&e.closeOnClickOverlay&&e.close()}},openModal:function(t){var e=t.id,n=t.dom;if(!w.stack.some(function(t){return t.id===e})){var i=n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode:document.body;w.stack.push({id:e,config:t,targetNode:i}),this.updateModal()}},closeModal:function(t){var e=w.stack;e.length&&(w.top.id===t?(e.pop(),this.updateModal()):w.stack=e.filter(function(e){return e.id!==t}))},updateModal:function(){var t=this.getModal(),e=t.$el;if(e.parentNode&&(t.visible=!1),w.top){var n=w.top,i=n.targetNode,s=n.config;i.appendChild(e),v()(t,h()({},$,s,{visible:!0}))}}},E=T,O={debounce:function(t,e,n){var i=void 0,s=void 0,r=void 0,a=void 0,o=void 0;return function(){r=this,s=arguments,a=new Date;var n=function n(){var u=new Date-a;u<e?i=setTimeout(n,e-u):(i=null,o=t.apply(r,s))};return i||(i=setTimeout(n,e)),o}},getScrollEventTarget:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=t;n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e;){var i=this.getComputedStyle(n).overflowY;if("scroll"===i||"auto"===i)return n;n=n.parentNode}return e},isAttached:function(t){for(var e=t.parentNode;e;){if("HTML"===e.tagName)return!0;if(11===e.nodeType)return!1;e=e.parentNode}return!1},getScrollTop:function(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset},setScrollTop:function(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)},getElementTop:function(t){return(t===window?0:t.getBoundingClientRect().top)+this.getScrollTop(window)},getVisibleHeight:function(t){return t===window?t.innerHeight:t.getBoundingClientRect().height},getComputedStyle:!d.f&&document.defaultView.getComputedStyle.bind(document.defaultView)},F={props:{value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[String,Number],preventScroll:Boolean,lockOnScroll:{type:Boolean,default:!0}},watch:{value:function(t){this[t?"open":"close"]()}},beforeMount:function(){this._popupId="popup-"+w.plusKeyByOne("idSeed"),w.instances[this._popupId]=this},data:function(){return{opened:!1,pos:{x:0,y:0}}},methods:{recordPosition:function(t){this.pos={x:t.touches[0].clientX,y:t.touches[0].clientY}},watchTouchMove:function(t){var e=this.pos,n=t.touches[0].clientX-e.x,i=t.touches[0].clientY-e.y,s=i>0?"10":"01",r=O.getScrollEventTarget(t.target,this.$el),a=r.scrollTop,o=r.scrollHeight,u=r.offsetHeight,c=Math.abs(n)<Math.abs(i),l="11";0===a?l=u>=o?"00":"01":a+u>=o&&(l="10"),"11"===l||!c||parseInt(l,2)&parseInt(s,2)||(t.preventDefault(),t.stopPropagation())},open:function(){this.opened||this.$isServer||(this.$emit("input",!0),void 0!==this.zIndex&&(w.zIndex=this.zIndex),this.overlay&&(E.openModal({id:this._popupId,zIndex:w.plusKeyByOne("zIndex"),dom:this.$el,className:this.overlayClass,customStyle:this.overlayStyle}),this.lockOnScroll&&document.body.classList.add("van-overflow-hidden")),this.$el.style.zIndex=w.plusKeyByOne("zIndex"),this.opened=!0,this.preventScroll&&(document.addEventListener("touchstart",this.recordPosition,!1),document.addEventListener("touchmove",this.watchTouchMove,!1)))},close:function(){this.opened&&!this.$isServer&&(this.$emit("input",!1),this.lockOnScroll&&document.body.classList.remove("van-overflow-hidden"),this.opened=!1,this.doAfterClose())},doAfterClose:function(){E.closeModal(this._popupId),this.preventScroll&&(document.removeEventListener("touchstart",this.recordPosition,!1),document.removeEventListener("touchmove",this.watchTouchMove,!1))}},beforeDestroy:function(){w.instances[this._popupId]=null,E.closeModal(this._popupId),this.lockOnScroll&&document.body.classList.remove("van-overflow-hidden")}},I=Object(d.b)({name:"van-actionsheet",mixins:[F],props:{value:Boolean,title:String,cancelText:String,actions:{type:Array,default:function(){return[]}},overlay:{default:!0},closeOnClickOverlay:{default:!0}},mounted:function(){this.value&&this.open()},methods:{onClickItem:function(t){"function"==typeof t.callback&&t.callback(t)}}}),B=n(91),A=n.n(B),N=n(0),M=N(I,A.a,!1,null,null,null),j=M.exports,L={props:{url:String,replace:Boolean,to:[String,Object]},methods:{routerLink:function(){var t=this.to,e=this.url,n=this.$router,i=this.replace;t&&n?n[i?"replace":"push"](t):e&&(i?location.replace(e):location.href=e)}}},D=Object(d.b)({name:"van-cell",mixins:[L],props:{icon:String,title:String,label:String,isLink:Boolean,required:Boolean,value:[String,Number]},methods:{onClick:function(){this.$emit("click"),this.routerLink()}}}),P=n(92),R=n.n(P),V=n(0),H=V(D,R.a,!1,null,null,null),z=H.exports,Y=Object(d.b)({name:"van-field",components:{Cell:z},props:{type:{type:String,default:"text"},value:{},icon:String,label:String,error:Boolean,border:Boolean,required:Boolean,autosize:Boolean,onIconClick:{type:Function,default:function(){}}},watch:{value:function(){this.autosize&&"textarea"===this.type&&this.$nextTick(this.adjustSize)}},mounted:function(){if(this.autosize&&"textarea"===this.type){var t=this.$refs.textarea,e=t.scrollHeight;0!==e&&(t.style.height=e+"px"),t.style.overflowY="hidden"}},computed:{hasIcon:function(){return this.$slots.icon||this.icon},listeners:function(){return h()({},this.$listeners,{input:this.onInput,keypress:this.onKeypress})}},methods:{onInput:function(t){this.$emit("input",t.target.value)},onClickIcon:function(){this.$emit("click-icon"),this.onIconClick()},onKeypress:function(t){if("number"===this.type){var e=t.keyCode,n=-1===this.value.indexOf(".");e>=48&&e<=57||46===e&&n||t.preventDefault()}this.$emit("keypress",t)},adjustSize:function(){var t=this.$refs.textarea;t.style.height="auto",t.style.height=t.scrollHeight+"px"}}}),G=n(93),W=n.n(G),K=n(0),q=K(Y,W.a,!1,null,null,null),X=q.exports,U=Object(d.b)({name:"van-cell-group",props:{border:{type:Boolean,default:!0}}}),Q=n(94),J=n.n(Q),Z=n(0),tt=Z(U,J.a,!1,null,null,null),et=tt.exports,nt=Object(d.b)({name:"van-button",props:{block:Boolean,loading:Boolean,disabled:Boolean,nativeType:String,bottomAction:Boolean,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"}},methods:{onClick:function(t){this.loading||this.disabled||this.$emit("click",t)}}}),it=n(95),st=n.n(it),rt=n(0),at=rt(nt,st.a,!1,null,null,null),ot=at.exports,ut=Object(d.b)({name:"van-popup",mixins:[F],props:{transition:String,overlay:{default:!0},lockOnScroll:{default:!1},closeOnClickOverlay:{default:!0},position:{type:String,default:""}},data:function(){return{currentValue:!1,currentTransition:this.transition||(""===this.position?"van-fade":"popup-slide-"+this.position)}},mounted:function(){this.value&&this.open()}}),ct=n(96),lt=n.n(ct),dt=n(0),ft=dt(ut,lt.a,!1,null,null,null),ht=ft.exports,pt=n(17),vt=n.n(pt),mt=["success","fail","loading"],_t=Object(d.b)({name:"van-toast",props:{mask:Boolean,message:[String,Number],forbidClick:Boolean,type:{type:String,default:"text"},position:{type:String,default:"middle"}},data:function(){return{visible:!1}},computed:{displayStyle:function(){return-1!==mt.indexOf(this.type)?"default":this.type}}}),gt=n(97),bt=n.n(gt),yt=n(0),xt=yt(_t,bt.a,!1,null,null,null),kt=xt.exports,Ct=void 0,St={type:"text",mask:!1,visible:!0,duration:3e3,position:"middle",forbidClick:!1,clear:function(){Ct.visible=!1}},wt=function(){if(!Ct){var t=_.a.extend(kt);Ct=new t({el:document.createElement("div")}),document.body.appendChild(Ct.$el)}},$t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wt(),t="object"===(void 0===t?"undefined":vt()(t))?t:{message:t},t=h()({},St,t),v()(Ct,t),clearTimeout(Ct.timer),0!==t.duration&&(Ct.timer=setTimeout(function(){Ct.clear()},t.duration)),Ct},Tt=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $t(h()({type:t,message:"object"===(void 0===e?"undefined":vt()(e))?e.message:e},e))}};$t.loading=Tt("loading"),$t.success=Tt("success"),$t.fail=Tt("fail"),$t.clear=function(){Ct&&Ct.clear()},_.a.prototype.$toast=$t;var Et=$t,Ot=n(98),Ft=n.n(Ot),It=Object(d.b)({name:"van-dialog",components:{VanButton:ot},mixins:[F],props:{title:String,message:String,callback:Function,confirmButtonText:String,cancelButtonText:String,showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!1},overlay:{default:!0},closeOnClickOverlay:{default:!1},lockOnScroll:{default:!0}},methods:{handleAction:function(t){this.$emit("input",!1),this.$emit(t),this.callback&&this.callback(t)}}}),Bt=n(113),At=n.n(Bt),Nt=n(0),Mt=Nt(It,At.a,!1,null,null,null),jt=Mt.exports,Lt=void 0,Dt={value:!0,title:"",message:"",overlay:!0,lockOnScroll:!0,confirmButtonText:"",cancelButtonText:"",showConfirmButton:!0,showCancelButton:!1,closeOnClickOverlay:!1,callback:function(t){Lt["confirm"===t?"resolve":"reject"](t)}},Pt=function(){var t=_.a.extend(jt);Lt=new t({el:document.createElement("div")}),Lt.$on("input",function(t){Lt.value=t}),document.body.appendChild(Lt.$el)},Rt=function(t){return new Ft.a(function(e,n){Lt||Pt(),v()(Lt,h()({resolve:e,reject:n},t))})};Rt.alert=function(t){return Rt(h()({},Dt,t))},Rt.confirm=function(t){return Rt(h()({},Dt,{showCancelButton:!0},t))},Rt.close=function(){Lt.value=!1},_.a.prototype.$dialog=Rt;var Vt=Rt,Ht=n(41),zt=n.n(Ht),Yt=n(117),Gt=n.n(Yt),Wt=function(t,e){return Math.min(Math.max(t,e[0]),e[1])},Kt=Object(d.b)({name:"van-picker-column",props:{valueKey:String,className:String,itemHeight:Number,options:{type:Array,default:function(){return[]}},visibileColumnCount:{type:Number,default:5},defaultIndex:{type:Number,default:0}},data:function(){return{startY:0,offset:0,duration:0,startOffset:0,currentIndex:this.defaultIndex}},created:function(){this.$parent&&this.$parent.children.push(this)},mounted:function(){this.setIndex(this.currentIndex)},destroyed:function(){this.$parent&&this.$parent.children.splice(this.$parent.children.indexOf(this),1)},watch:{defaultIndex:function(){this.setIndex(this.defaultIndex)},options:function(t,e){Gt()(t)!==Gt()(e)&&this.setIndex(this.defaultIndex)},currentIndex:function(t){this.$emit("change",t)}},computed:{count:function(){return this.options.length},baseOffset:function(){return this.itemHeight*(this.visibileColumnCount-1)/2},columnStyle:function(){return{height:this.itemHeight*this.visibileColumnCount+"px"}},wrapperStyle:function(){return{transition:this.duration+"ms",transform:"translate3d(0, "+(this.offset+this.baseOffset)+"px, 0)",lineHeight:this.itemHeight+"px"}},currentValue:function(){return this.options[this.currentIndex]}},methods:{onTouchStart:function(t){this.startY=t.touches[0].clientY,this.startOffset=this.offset,this.duration=0},onTouchMove:function(t){var e=t.touches[0].clientY-this.startY;this.offset=Wt(this.startOffset+e,[-this.count*this.itemHeight,this.itemHeight])},onTouchEnd:function(){if(this.offset!==this.startOffset){this.duration=200;var t=Wt(Math.round(-this.offset/this.itemHeight),[0,this.count-1]);this.setIndex(t)}},adjustIndex:function(t){t=Wt(t,[0,this.count]);for(var e=t;e<this.count;e++)if(!this.isDisabled(this.options[e]))return e;for(var n=t-1;n>=0;n--)if(!this.isDisabled(this.options[n]))return n},isDisabled:function(t){return"object"===(void 0===t?"undefined":vt()(t))&&t.disabled},getOptionText:function(t){return"object"===(void 0===t?"undefined":vt()(t))&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t){t=this.adjustIndex(t),this.offset=-t*this.itemHeight,this.currentIndex=t},setValue:function(t){for(var e=this.options,n=0;n<e.length;n++)if(this.getOptionText(e[n])===t)return void this.setIndex(n)}}}),qt=n(119),Xt=n.n(qt),Ut=n(0),Qt=Ut(Kt,Xt.a,!1,null,null,null),Jt=Qt.exports,Zt=n(43),te=Object(d.b)({name:"van-picker",components:{PickerColumn:Jt},props:{title:String,valueKey:{type:String,default:"text"},itemHeight:{type:Number,default:44},showToolbar:Boolean,visibileColumnCount:Number,columns:{type:Array,default:function(){return[]}}},data:function(){return{children:[],currentColumns:[]}},created:function(){this.initColumns()},watch:{columns:function(){this.initColumns()}},computed:{frameStyle:function(){return{height:this.itemHeight+"px"}}},methods:{initColumns:function(){var t=this.columns.map(i);this.isSimpleColumn=t.length&&!t[0].values,this.currentColumns=this.isSimpleColumn?[{values:t}]:t},emit:function(t){this.isSimpleColumn?this.$emit(t,this.getColumnValue(0),this.getColumnIndex(0)):this.$emit(t,this.getValues(),this.getIndexes())},onChange:function(t){this.isSimpleColumn?this.$emit("change",this,this.getColumnValue(0),this.getColumnIndex(0)):this.$emit("change",this,this.getValues(),t)},getColumn:function(t){return this.children[t]},getColumnValue:function(t){return(this.getColumn(t)||{}).currentValue},setColumnValue:function(t,e){var n=this.getColumn(t);n&&n.setValue(e)},getColumnIndex:function(t){return(this.getColumn(t)||{}).currentIndex},setColumnIndex:function(t,e){var n=this.getColumn(t);n&&n.setIndex(e)},getColumnValues:function(t){return(this.currentColumns[t]||{}).values},setColumnValues:function(t,e){var n=this.currentColumns[t];n&&(n.values=e)},getValues:function(){return this.children.map(function(t){return t.currentValue})},setValues:function(t){var e=this;t.forEach(function(t,n){e.setColumnValue(n,t)})},getIndexes:function(){return this.children.map(function(t){return t.currentIndex})},setIndexes:function(t){var e=this;t.forEach(function(t,n){e.setColumnIndex(n,t)})}}}),ee=n(120),ne=n.n(ee),ie=n(0),se=ie(te,ne.a,!1,null,null,null),re=se.exports,ae=Object(d.b)({name:"van-area",components:{Picker:re},props:{value:{},title:String,areaList:Object,columnsNum:{type:[String,Number],default:3}},computed:{columns:function(){var t=[],e=this.areaList;if(!e||"object"!==vt()(e.province_list))return t;var n=this.value||"",i=+this.columnsNum;return t.push({values:this.getList("province"),defaultIndex:this.getIndex("province",n)}),i>1&&t.push({values:this.getList("city",n.slice(0,2)),defaultIndex:this.getIndex("city",n)}),i>2&&t.push({values:this.getList("county",n.slice(0,4)),defaultIndex:this.getIndex("county",n)}),t}},methods:{getList:function(t,e){var n=this.areaList,i="province"===t?n.province_list:"city"===t?n.city_list:n.county_list,s=zt()(i).map(function(t){return{code:t,name:i[t]}});return"province"!==t&&e&&(s=s.filter(function(t){return 0===t.code.indexOf(e)})),s.unshift({code:"-1",name:this.$t(t)}),s},getIndex:function(t,e){for(var n="province"===t?2:"city"===t?4:6,i=this.getList(t,e.slice(0,n-2)),s=0;s<i.length;s++)if(+i[s].code.slice(0,n)==+e.slice(0,n))return s;return 0},onChange:function(t,e,n){var i=e[n].code;0===n?(t.setColumnValues(1,this.getList("city",i.slice(0,2))),t.setColumnValues(2,this.getList("county",i.slice(0,4)))):1===n&&t.setColumnValues(2,this.getList("county",i.slice(0,4)))},getValues:function(){return this.$refs.picker?this.$refs.picker.getValues():[]}}}),oe=n(121),ue=n.n(oe),ce=n(0),le=ce(ae,ue.a,!1,null,null,null),de=le.exports,fe=Object(d.b)({name:"van-address-edit-detail",components:{Field:X,Cell:z,CellGroup:et},props:{value:{},isError:Boolean,searchResult:Array,showSearchResult:Boolean},data:function(){return{isAndroid:Object(d.d)(),isFocused:!1}},computed:{showSearchList:function(){return this.showSearchResult&&this.isFocused&&this.searchResult.length>0},showIcon:function(){return this.value&&this.isFocused}},methods:{handleFocus:function(t){this.isFocused=!0,this.$emit("focus",t),this.$refs.root.scrollIntoView()},handleBlur:function(t){var e=this;setTimeout(function(){e.isFocused=!1,e.$emit("blur",t)},100)},onIconClick:function(){this.isAndroid?this.$refs.root.querySelector(".van-field__control").blur():this.$emit("input","")},onSuggestSelect:function(t){this.$emit("input",((t.address||"")+" "+(t.name||"")).trim()),this.$emit("select-search",t)},isString:function(t){return"string"==typeof t}}}),he=n(122),pe=n.n(he),ve=n(0),me=ve(fe,pe.a,!1,null,null,null),_e=me.exports,ge=Object(d.b)({name:"van-switch",props:{value:Boolean,loading:Boolean,disabled:Boolean},methods:{toggleState:function(){this.disabled||this.loading||(this.$emit("input",!this.value),this.$emit("change",!this.value))}}}),be=n(123),ye=n.n(be),xe=n(0),ke=xe(ge,ye.a,!1,null,null,null),Ce=ke.exports,Se=Object(d.b)({name:"van-switch-cell",components:{Cell:z,VanSwitch:Ce},props:{title:String,value:Boolean,loading:Boolean,disabled:Boolean},watch:{value:function(){this.$emit("change",this.value)}}}),we=n(124),$e=n.n(we),Te=n(0),Ee=Te(Se,$e.a,!1,null,null,null),Oe=Ee.exports,Fe=Object(d.b)({name:"van-address-edit",components:{Field:X,Cell:z,CellGroup:et,SwitchCell:Oe,VanButton:ot,Popup:ht,VanArea:de,AddressEditDetail:_e},props:{isSaving:Boolean,isDeleting:Boolean,areaList:Object,showPostal:Boolean,showSetDefault:Boolean,showSearchResult:Boolean,addressText:String,addressInfo:{type:Object,default:function(){return{name:"",tel:"",province:"",city:"",county:"",area_code:"",postal_code:"",address_detail:"",is_default:!1}}},searchResult:{type:Array,default:function(){return[]}}},data:function(){return{showAreaSelect:!1,currentInfo:this.addressInfo,isEdit:!!this.addressInfo.id,detailFocused:!1,errorInfo:{name:!1,tel:!1,address_detail:!1,postal_code:!1}}},watch:{addressInfo:{handler:function(t){this.currentInfo=t,this.isEdit=!!t.id},deep:!0}},computed:{hideBottomFields:function(){return this.searchResult.length&&this.detailFocused},computedAddressText:function(){return this.addressText||this.$t("addressText")}},methods:{onFocus:function(t){this.errorInfo[t]=!1,this.detailFocused="address_detail"===t,this.$emit("focus",t)},onDetailBlur:function(){this.detailFocused=!1},onChangeDetail:function(t){this.currentInfo.address_detail=t,this.$emit("change-detail",t)},onAreaConfirm:function(t){if(3!==t.length||-1==+t[0].code||-1==+t[1].code||-1==+t[2].code)return Et(this.$t("areaWrong"));this.assignAreaValues(t),this.showAreaSelect=!1,this.$emit("change-area",t)},assignAreaValues:function(t){v()(this.currentInfo,{province:t[0].name,city:t[1].name,county:t[2].name,area_code:t[2].code})},onSaveAddress:function(){var t=this,e=["name","tel","area_code","address_detail"];this.showPostal&&e.push("postal_code"),e.every(function(e){var n=t.getErrorMessageByKey(e);return n&&(t.errorInfo[e]=!0,Et(n)),!n})&&!this.isSaving&&this.$emit("save",this.currentInfo)},getErrorMessageByKey:function(t){var e=this.currentInfo[t],n=this.$t;switch(t){case"name":return e?e.length<=15?"":n("nameOverlimit"):n("nameEmpty");case"tel":return s(e)?"":n("telWrong");case"area_code":return e?-1!=+e?"":n("areaWrong"):n("areaEmpty");case"address_detail":return e?e.length<=200?"":n("addressOverlimit"):n("addressEmpty");case"postal_code":return e&&!/^\d{6}$/.test(e)?n("postalEmpty"):""}},onDeleteAddress:function(){var t=this;this.isDeleting||Vt.confirm({message:this.$t("confirmDelete",this.computedAddressText)}).then(function(){t.$emit("delete",t.currentInfo)})},getArea:function(){var t=this.$refs.area;return t?t.getValues():[]},setAreaCode:function(t){var e=this;this.currentInfo.area_code=t,this.$nextTick(function(){var t=e.$refs.area;t&&e.assignAreaValues(t.getValues())})}}}),Ie=n(125),Be=n.n(Ie),Ae=n(0),Ne=Ae(Fe,Be.a,!1,null,null,null),Me=Ne.exports,je={methods:{findParentByName:function(t){if(!this.parentGroup)for(var e=this.$parent;e;){if(e.$options.name===t){this.parentGroup=e;break}e=e.$parent}return this.parentGroup}}},Le=Object(d.b)({name:"van-radio",mixins:[je],props:{value:{},disabled:Boolean,name:[String,Number]},computed:{isGroup:function(){return!!this.findParentByName("van-radio-group")},currentValue:{get:function(){return this.isGroup&&this.parentGroup?this.parentGroup.value:this.value},set:function(t){this.isGroup&&this.parentGroup?this.parentGroup.$emit("input",t):this.$emit("input",t)}},isDisabled:function(){return this.isGroup&&this.parentGroup?this.parentGroup.disabled||this.disabled:this.disabled}},methods:{handleLabelClick:function(){this.isDisabled||(this.currentValue=this.name)},handleRadioClick:function(){this.$emit("click")}}}),De=n(126),Pe=n.n(De),Re=n(0),Ve=Re(Le,Pe.a,!1,null,null,null),He=Ve.exports,ze=Object(d.b)({name:"van-radio-group",props:{value:{},disabled:Boolean},watch:{value:function(t){this.$emit("change",t)}}}),Ye=n(127),Ge=n.n(Ye),We=n(0),Ke=We(ze,Ge.a,!1,null,null,null),qe=Ke.exports,Xe=Object(d.b)({name:"van-address-list",components:{Cell:z,Radio:He,CellGroup:et,RadioGroup:qe},props:{addButtonText:String,value:[String,Number],list:{type:Array,default:function(){return[]}}}}),Ue=n(128),Qe=n.n(Ue),Je=n(0),Ze=Je(Xe,Qe.a,!1,null,null,null),tn=Ze.exports,en=Object(d.b)({name:"van-badge",props:{url:String,info:String,title:String},beforeCreate:function(){this.$parent.badges.push(this)},computed:{isSelect:function(){return this.$parent.badges.indexOf(this)===this.$parent.activeKey}},methods:{onClick:function(){this.$emit("click",this.$parent.badges.indexOf(this))}}}),nn=n(129),sn=n.n(nn),rn=n(0),an=rn(en,sn.a,!1,null,null,null),on=an.exports,un=Object(d.b)({name:"van-badge-group",props:{activeKey:{type:[Number,String],default:0}},data:function(){return{badges:[]}}}),cn=n(130),ln=n.n(cn),dn=n(0),fn=dn(un,ln.a,!1,null,null,null),hn=fn.exports,pn=Object(d.b)({name:"van-card",props:{thumb:String,title:String,desc:String,centered:Boolean,num:[Number,String],price:[Number,String]}}),vn=n(131),mn=n.n(vn),_n=n(0),gn=_n(pn,mn.a,!1,null,null,null),bn=gn.exports,yn={bind:function(t,e){var n=function(e){t.contains(e.target)||t["@@clickoutsideContext"].callback()};t["@@clickoutsideContext"]={handler:n,callback:e.value,arg:e.arg||"click"},!d.f&&document.addEventListener(t["@@clickoutsideContext"].arg,n)},update:function(t,e){t["@@clickoutsideContext"].callback=e.value},unbind:function(t){!d.f&&document.removeEventListener(t["@@clickoutsideContext"].arg,t["@@clickoutsideContext"].handler)},install:function(t){t.directive("clickoutside",{bind:this.bind,unbind:this.unbind})}},xn=Object(d.b)({name:"van-cell-swipe",props:{onClose:Function,leftWidth:{type:Number,default:0},rightWidth:{type:Number,default:0}},directives:{Clickoutside:yn},data:function(){return{offset:0}},computed:{wrapperStyle:function(){return{transform:"translate3d("+this.offset+"px, 0, 0)"}}},methods:{close:function(){this.offset=0},resetSwipeStatus:function(){this.swiping=!1,this.opened=!0},swipeMove:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=t,t&&(this.swiping=!0)},swipeLeaveTransition:function(t){var e=this.offset,n=this.leftWidth,i=this.rightWidth;t>0&&-e>.4*i&&i>0?(this.swipeMove(-i),this.resetSwipeStatus()):t<0&&e>.4*n&&n>0?(this.swipeMove(n),this.resetSwipeStatus()):this.swipeMove()},startDrag:function(t){this.startX=t.touches[0].pageX,this.startY=t.touches[0].pageY},onDrag:function(t){if(this.opened)return!this.swiping&&this.swipeMove(),void(this.opened=!1);var e=t.touches[0].pageY-this.startY,n=t.touches[0].pageX-this.startX;if(!(n<0&&-n>this.rightWidth||n>0&&n>this.leftWidth||n>0&&!this.leftWidth||n<0&&!this.rightWidth)){var i=Math.abs(e),s=Math.abs(n);!(s<5||s>=5&&i>=1.73*s)&&(t.preventDefault(),this.swipeMove(n))}},endDrag:function(){this.swiping&&this.swipeLeaveTransition(this.offset>0?-1:1)},onClick:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"outside";this.offset&&(this.onClose?this.onClose(t,this):this.swipeMove(0))}}}),kn=n(132),Cn=n.n(kn),Sn=n(0),wn=Sn(xn,Cn.a,!1,null,null,null),$n=wn.exports,Tn=Object(d.b)({name:"van-checkbox",mixins:[je],props:{value:{},disabled:Boolean,name:[String,Number],shape:{type:String,default:"round"}},watch:{value:function(t){this.$emit("change",t)}},computed:{isGroup:function(){return!!this.findParentByName("van-checkbox-group")},currentValue:{get:function(){return this.isGroup&&this.parentGroup?-1!==this.parentGroup.value.indexOf(this.name):this.value},set:function(t){if(this.isGroup&&this.parentGroup){var e=this.parentGroup.value.slice();if(t)-1===e.indexOf(this.name)&&(e.push(this.name),this.parentGroup.$emit("input",e));else{var n=e.indexOf(this.name);-1!==n&&(e.splice(n,1),this.parentGroup.$emit("input",e))}}else this.$emit("input",t)}},isChecked:function(){var t=this.currentValue;return"[object Boolean]"==={}.toString.call(t)?t:null!==t&&void 0!==t?t===this.name:void 0},isDisabled:function(){return this.isGroup&&this.parentGroup&&this.parentGroup.disabled||this.disabled}},methods:{onClickLabel:function(){this.isDisabled||(this.currentValue=!this.currentValue)}}}),En=n(133),On=n.n(En),Fn=n(0),In=Fn(Tn,On.a,!1,null,null,null),Bn=In.exports,An=Object(d.b)({name:"van-checkbox-group",props:{value:{},disabled:Boolean},watch:{value:function(t){this.$emit("change",t)}}}),Nn=n(134),Mn=n.n(Nn),jn=n(0),Ln=jn(An,Mn.a,!1,null,null,null),Dn=Ln.exports,Pn=Object(d.b)({name:"van-col",props:{span:[Number,String],offset:[Number,String]},computed:{gutter:function(){return this.$parent&&Number(this.$parent.gutter)||0},style:function(){var t=this.gutter/2+"px";return this.gutter?{paddingLeft:t,paddingRight:t}:{}}}}),Rn=n(135),Vn=n.n(Rn),Hn=n(0),zn=Hn(Pn,Vn.a,!1,null,null,null),Yn=zn.exports,Gn=Object(d.b)({name:"van-contact-card",props:{tel:String,name:String,addText:String,editable:{type:Boolean,default:!0},type:{type:String,default:"add"}},methods:{onClick:function(t){this.editable&&this.$emit("click",t)}}}),Wn=n(136),Kn=n.n(Wn),qn=n(0),Xn=qn(Gn,Kn.a,!1,null,null,null),Un=Xn.exports,Qn=Object(d.b)({name:"van-contact-edit",components:{Field:X,VanButton:ot,CellGroup:et},props:{isEdit:Boolean,isSaving:Boolean,isDeleting:Boolean,contactInfo:{type:Object,default:function(){return{id:"",tel:"",name:""}}}},data:function(){return{currentInfo:this.contactInfo,errorInfo:{name:!1,tel:!1}}},watch:{contactInfo:function(t){this.currentInfo=t}},methods:{onFocus:function(t){this.errorInfo[t]=!1},getErrorMessageByKey:function(t){var e=this.currentInfo[t];switch(t){case"name":return e?e.length<=15?"":this.$t("nameOverlimit"):this.$t("nameEmpty");case"tel":return s(e)?"":this.$t("telInvalid")}},onSaveContact:function(){var t=this;["name","tel"].every(function(e){var n=t.getErrorMessageByKey(e);return n&&(t.errorInfo[e]=!0,Et(n)),!n})&&!this.isSaving&&this.$emit("save",this.currentInfo)},onDeleteContact:function(){var t=this;this.isDeleting||Vt.confirm({message:this.$t("confirmDelete")}).then(function(){t.$emit("delete",t.currentInfo)})}}}),Jn=n(137),Zn=n.n(Jn),ti=n(0),ei=ti(Qn,Zn.a,!1,null,null,null),ni=ei.exports,ii=Object(d.b)({name:"van-contact-list",components:{Cell:z,Radio:He,CellGroup:et,RadioGroup:qe},props:{value:{},addText:String,list:{type:Array,default:function(){return[]}}}}),si=n(138),ri=n.n(si),ai=n(0),oi=ai(ii,ri.a,!1,null,null,null),ui=oi.exports,ci=Object(d.b)({name:"van-coupon-cell",components:{Cell:z,CellGroup:et},model:{prop:"chosenCoupon"},props:{title:String,coupons:{type:Array,default:function(){return[]}},chosenCoupon:{type:Number,default:-1},editable:{type:Boolean,default:!0}},computed:{value:function(){var t=this.coupons,e=t[this.chosenCoupon];return e?this.$t("reduce")+"¥"+(e.value/100).toFixed(2):0===t.length?this.$t("tips"):this.$t("count",t.length)}}}),li=n(139),di=n.n(li),fi=n(0),hi=fi(ci,di.a,!1,null,null,null),pi=hi.exports,vi=Object(d.b)({name:"van-coupon-item",props:{data:Object,chosen:Boolean,disabled:Boolean},computed:{validPeriod:function(){return this.getDate(this.data.start_at)+"-"+this.getDate(this.data.end_at)},faceAmount:function(){return 0!==this.data.denominations?"<span>¥</span> "+this.formatAmount(this.data.denominations):0!==this.data.discount?this.formatDiscount(this.data.discount):""},conditionMessage:function(){var t=this.data.origin_condition;return t=t%100==0?Math.round(t/100):(t/100).toFixed(2),0===this.data.origin_condition?this.$t("unlimited"):this.$t("condition",t)}},methods:{getDate:function(t){var e=new Date(1e3*t);return e.getFullYear()+"."+this.padZero(e.getMonth()+1)+"."+this.padZero(e.getDate())},padZero:function(t){return(t<10?"0":"")+t},formatDiscount:function(t){return this.$t("discount",""+(t/10).toFixed(t%10==0?0:1))},formatAmount:function(t){return(t/100).toFixed(t%100==0?0:t%10==0?1:2)}}}),mi=n(140),_i=n.n(mi),gi=n(0),bi=gi(vi,_i.a,!1,null,null,null),yi=bi.exports,xi=Object(d.b)({name:"van-coupon-list",components:{VanButton:ot,Cell:z,CellGroup:et,Field:X,Popup:ht,CouponItem:yi},props:{closeButtonText:String,inputPlaceholder:String,disabledListTitle:String,exchangeButtonText:String,chosenCoupon:{type:Number,default:-1},coupons:{type:Array,default:function(){return[]}},disabledCoupons:{type:Array,default:function(){return[]}},exchangeButtonDisabled:{type:Boolean,default:!1},displayedCouponIndex:{type:Number,default:-1},showExchangeBar:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0}},watch:{displayedCouponIndex:function(t){this.scrollToShowCoupon(t)}},data:function(){return{exchangeCode:""}},mounted:function(){this.scrollToShowCoupon(this.displayedCouponIndex)},methods:{onClickNotUse:function(){this.$emit("change",-1)},onClickCoupon:function(t){this.$emit("change",t)},onClickExchangeButton:function(){this.$emit("exchange",this.exchangeCode),this.exchangeCode=""},scrollToShowCoupon:function(t){var e=this;-1!==t&&this.$nextTick(function(){var n=e.$refs,i=n.card,s=n.list;s&&i&&i[t]&&(s.scrollTop=i[t].$el.offsetTop-100)})}}}),ki=n(141),Ci=n.n(ki),Si=n(0),wi=Si(xi,Ci.a,!1,null,null,null),$i=wi.exports,Ti=function(t){return"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())},Ei=Object(d.b)({name:"van-datetime-picker",components:{Picker:re},props:{type:{type:String,default:"datetime"},format:{type:String,default:"YYYY.MM.DD HH时 mm分"},visibleItemCount:{type:Number,default:5},minDate:{type:Date,default:function(){return new Date((new Date).getFullYear()-10,0,1)},validator:Ti},maxDate:{type:Date,default:function(){return new Date((new Date).getFullYear()+10,11,31)},validator:Ti},minHour:{type:Number,default:0},maxHour:{type:Number,default:23},value:{}},data:function(){return{innerValue:this.correctValue(this.value)}},watch:{value:function(t){t=this.correctValue(t),("time"===this.type?t===this.innerValue:t.valueOf()===this.innerValue.valueOf())||(this.innerValue=t)},innerValue:function(t){this.updateColumnValue(t),this.$emit("input",t)}},computed:{ranges:function(){if("time"===this.type)return[[this.minHour,this.maxHour],[0,59]];var t=this.getBoundary("max",this.innerValue),e=t.maxYear,n=t.maxDate,i=t.maxMonth,s=t.maxHour,r=t.maxMinute,a=this.getBoundary("min",this.innerValue),o=a.minYear,u=a.minDate,c=a.minMonth,l=a.minHour,d=a.minMinute,f=[[o,e],[c,i],[u,n],[l,s],[d,r]];return"date"===this.type&&f.splice(3,2),f},columns:function(){var t=this;return this.ranges.map(function(e){return{values:t.times(e[1]-e[0]+1,function(t){var n=e[0]+t;return n<10?"0"+n:""+n})}})}},methods:{correctValue:function(t){var e=this.type.indexOf("date")>-1;if(e&&!Ti(t))t=this.minDate;else if(!t){var n=this.minHour;t=(n>10?n:"0"+n)+":00"}if(!e){var i=t.split(":"),s=i[0],r=i[1],a=Math.max(s,this.minHour);return(a=Math.min(a,this.maxHour))+":"+r}var o=this.getBoundary("max",t),u=o.maxYear,c=o.maxDate,l=o.maxMonth,d=o.maxHour,f=o.maxMinute,h=this.getBoundary("min",t),p=h.minYear,v=h.minDate,m=h.minMonth,_=h.minHour,g=h.minMinute,b=new Date(p,m-1,v,_,g),y=new Date(u,l-1,c,d,f);return t=Math.max(t,b),t=Math.min(t,y),new Date(t)},times:function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i},getBoundary:function(t,e){var n,i=this[t+"Date"],s=i.getFullYear(),r=1,a=1,o=0,u=0;return"max"===t&&(r=12,a=this.getMonthEndDay(e.getFullYear(),e.getMonth()+1),o=23,u=59),e.getFullYear()===s&&(r=i.getMonth()+1,e.getMonth()+1===r&&(a=i.getDate(),e.getDate()===a&&(o=i.getHours(),e.getHours()===o&&(u=i.getMinutes())))),n={},n[t+"Year"]=s,n[t+"Month"]=r,n[t+"Date"]=a,n[t+"Hour"]=o,n[t+"Minute"]=u,n},getTrueValue:function(t){if(t){for(;isNaN(parseInt(t,10));)t=t.slice(1);return parseInt(t,10)}},getMonthEndDay:function(t,e){return this.isShortMonth(e)?30:2===e?this.isLeapYear(t)?29:28:31},isLeapYear:function(t){return t%400==0||t%100!=0&&t%4==0},isShortMonth:function(t){return[4,6,9,11].indexOf(t)>-1},onConfirm:function(){this.$emit("confirm",this.innerValue)},onChange:function(t){var e=t.getValues(),n=void 0;if("time"===this.type)n=e.join(":");else{var i=this.getTrueValue(e[0]),s=this.getTrueValue(e[1]),r=this.getMonthEndDay(i,s),a=this.getTrueValue(e[2]);a=a>r?r:a;var o=0,u=0;"datetime"===this.type&&(o=this.getTrueValue(e[3]),u=this.getTrueValue(e[4])),n=new Date(i,s-1,a,o,u)}n=this.correctValue(n),this.innerValue=n,this.$emit("change",t)},updateColumnValue:function(t){var e=this,n=[];if("time"===this.type){var i=t.split(":");n=[i[0],i[1]]}else n=[""+t.getFullYear(),("0"+(t.getMonth()+1)).slice(-2),("0"+t.getDate()).slice(-2)],"datetime"===this.type&&n.push(("0"+t.getHours()).slice(-2),("0"+t.getMinutes()).slice(-2));this.$nextTick(function(){e.setColumnByValues(n)})},setColumnByValues:function(t){this.$refs.picker&&this.$refs.picker.setValues(t)}},mounted:function(){this.updateColumnValue(this.innerValue)}}),Oi=n(142),Fi=n.n(Oi),Ii=n(0),Bi=Ii(Ei,Fi.a,!1,null,null,null),Ai=Bi.exports,Ni=Object(d.b)({name:"van-goods-action"}),Mi=n(143),ji=n.n(Mi),Li=n(0),Di=Li(Ni,ji.a,!1,null,null,null),Pi=Di.exports,Ri=Object(d.b)({name:"van-goods-action-big-btn",mixins:[L],components:{VanButton:ot},props:{url:String,text:String,primary:Boolean},methods:{onClick:function(t){this.$emit("click",t),this.routerLink()}}}),Vi=n(144),Hi=n.n(Vi),zi=n(0),Yi=zi(Ri,Hi.a,!1,null,null,null),Gi=Yi.exports,Wi=Object(d.b)({name:"van-goods-action-mini-btn",mixins:[L],props:{url:String,text:String,info:String,icon:String,iconClass:String},methods:{onClick:function(t){this.$emit("click",t),this.routerLink()}}}),Ki=n(145),qi=n.n(Ki),Xi=n(0),Ui=Xi(Wi,qi.a,!1,null,null,null),Qi=Ui.exports,Ji=n(56),Zi=Object(d.b)({name:"van-swipe",props:{autoplay:Number,initialSwipe:{type:Number,default:0},showIndicators:{type:Boolean,default:!0},duration:{type:Number,default:500}},data:function(){return{width:0,offset:0,startX:0,startY:0,active:0,deltaX:0,swipes:[],direction:"",currentDuration:0}},mounted:function(){this.initialize()},destroyed:function(){clearTimeout(this.timer)},watch:{swipes:function(){this.initialize()},initialSwipe:function(){this.initialize()}},computed:{count:function(){return this.swipes.length},trackStyle:function(){return{paddingLeft:this.width+"px",width:(this.count+2)*this.width+"px",transitionDuration:this.currentDuration+"ms",transform:"translate3d("+this.offset+"px, 0, 0)"}},activeIndicator:function(){return(this.active+this.count)%this.count}},methods:{initialize:function(){clearTimeout(this.timer),this.width=this.$el.getBoundingClientRect().width,this.active=this.initialSwipe,this.currentDuration=0,this.offset=this.count>1?-this.width*(this.active+1):0,this.swipes.forEach(function(t){t.offset=0}),this.autoPlay()},onTouchStart:function(t){clearTimeout(this.timer),this.deltaX=0,this.direction="",this.currentDuration=0,this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY,this.active<=-1&&this.move(this.count),this.active>=this.count&&this.move(-this.count)},onTouchMove:function(t){this.direction=this.direction||this.getDirection(t.touches[0]),"horizontal"===this.direction&&(t.preventDefault(),this.deltaX=t.touches[0].clientX-this.startX,this.move(0,this.range(this.deltaX,[-this.width,this.width])))},onTouchEnd:function(){this.deltaX&&(this.move(Math.abs(this.deltaX)>50?this.deltaX>0?-1:1:0),this.currentDuration=this.duration),this.autoPlay()},move:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.active,i=this.count,s=this.swipes,r=this.deltaX,a=this.width;t?(-1===n&&(s[i-1].offset=0),s[0].offset=n===i-1&&t>0?i*a:0,this.active+=t):0===n?s[i-1].offset=r>0?-i*a:0:n===i-1&&(s[0].offset=r<0?i*a:0),this.offset=e-(this.active+1)*this.width},autoPlay:function(){var t=this,e=this.autoplay;e&&this.count>1&&(clearTimeout(this.timer),this.timer=setTimeout(function(){t.currentDuration=0,t.active>=t.count&&t.move(-t.count),setTimeout(function(){t.currentDuration=t.duration,t.move(1),t.autoPlay()},30)},e))},getDirection:function(t){var e=Math.abs(t.clientX-this.startX),n=Math.abs(t.clientY-this.startY);return e>n?"horizontal":e<n?"vertical":""},range:function(t,e){return Math.min(Math.max(t,e[0]),e[1])}}}),ts=n(146),es=n.n(ts),ns=n(0),is=ns(Zi,es.a,!1,null,null,null),ss=is.exports,rs=Object(d.b)({name:"van-swipe-item",data:function(){return{offset:0}},computed:{style:function(){return{width:this.$parent.width+"px",transform:"translate3d("+this.offset+"px, 0, 0)"}}},beforeCreate:function(){this.$parent.swipes.push(this)},destroyed:function(){this.$parent.swipes.splice(this.$parent.swipes.indexOf(this),1)}}),as=n(147),os=n.n(as),us=n(0),cs=us(rs,os.a,!1,null,null,null),ls=cs.exports,ds=Object(d.b)({name:"van-image-preview",mixins:[F],components:{Swipe:ss,SwipeItem:ls},props:{overlay:{default:!0},closeOnClickOverlay:{default:!0}},data:function(){return{images:[],startPosition:0}},methods:{onTouchStart:function(t){this.touchStartTime=new Date,this.touchStartX=t.touches[0].clientX,this.touchStartY=t.touches[0].clientY,this.deltaX=0,this.deltaY=0},onTouchMove:function(t){t.preventDefault(),this.deltaX=t.touches[0].clientX-this.touchStartX,this.deltaY=t.touches[0].clientY-this.touchStartY},onTouchEnd:function(t){t.preventDefault(),new Date-this.touchStartTime<100&&Math.abs(this.deltaX)<20&&Math.abs(this.deltaY)<20&&this.close()}}}),fs=n(148),hs=n.n(fs),ps=n(0),vs=ps(ds,hs.a,!1,null,null,null),ms=vs.exports,_s=void 0,gs=_.a.extend(ms),bs=function(){_s=new gs({el:document.createElement("div")}),document.body.appendChild(_s.$el)},ys=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return _s||bs(),_s.images=t,_s.startPosition=e,_s.value=!0,_s.$on("input",function(t){_s.value=t}),_s},xs=ys,ks=n(149),Cs=n.n(ks),Ss=Cs.a,ws=n(57),$s=n(42),Ts=Object(d.b)({name:"van-nav-bar",props:{title:String,leftText:String,rightText:String,leftArrow:Boolean,fixed:Boolean}}),Es=n(150),Os=n.n(Es),Fs=n(0),Is=Fs(Ts,Os.a,!1,null,null,null),Bs=Is.exports,As=Object(d.b)({name:"van-notice-bar",props:{text:String,mode:String,color:String,leftIcon:String,background:String,delay:{type:[String,Number],default:1},scrollable:{type:Boolean,default:!0},speed:{type:Number,default:50}},data:function(){return{wrapWidth:0,firstRound:!0,duration:0,offsetWidth:0,showNoticeBar:!0,animationClass:""}},computed:{iconName:function(){return"closeable"===this.mode?"close":"link"===this.mode?"arrow":""},barStyle:function(){return{color:this.color,background:this.background}},contentStyle:function(){return{paddingLeft:this.firstRound?0:this.wrapWidth+"px",animationDelay:(this.firstRound?this.delay:0)+"s",animationDuration:this.duration+"s"}}},mounted:function(){var t=this.$refs.content.getBoundingClientRect().width,e=this.$refs.contentWrap.getBoundingClientRect().width;this.scrollable&&t>e&&(this.wrapWidth=e,this.offsetWidth=t,this.duration=t/this.speed,this.animationClass="van-notice-bar__play")},methods:{onClickIcon:function(){this.showNoticeBar="closeable"!==this.mode},onAnimationEnd:function(){var t=this;this.firstRound=!1,this.$nextTick(function(){t.duration=(t.offsetWidth+t.wrapWidth)/t.speed,t.animationClass="van-notice-bar__play--infinite"})}}}),Ns=n(151),Ms=n.n(Ns),js=n(0),Ls=js(As,Ms.a,!1,null,null,null),Ds=Ls.exports,Ps=Object(d.b)({name:"van-number-keyboard",props:{show:Boolean,closeButtonText:String,theme:{type:String,default:"default"},extraKey:{type:String,default:""},title:String,zIndex:{type:Number,default:100},transition:{type:Boolean,default:!0},showDeleteKey:{type:Boolean,default:!0},hideOnClickOutside:{type:Boolean,default:!0}},mounted:function(){this.handler(!0)},destroyed:function(){this.handler(!1)},activated:function(){this.handler(!0)},deactivated:function(){this.handler(!1)},data:function(){return{active:-1}},watch:{show:function(){this.transition||this.$emit(this.show?"show":"hide")}},computed:{keys:function(){for(var t=[],e=0;e<12;e++){var n=10===e?0:e<9?e+1:9===e?this.extraKey:"";t.push(n)}return t},style:function(){return{zIndex:this.zIndex}}},methods:{handler:function(t){t!==this.handlerStatus&&this.hideOnClickOutside&&(this.handlerStatus=t,document.body[(t?"add":"remove")+"EventListener"]("touchstart",this.blurKeyboard))},focus:function(t){if(this.active=parseInt(t.target.dataset.key),11===this.active)this.$emit("delete");else if(!isNaN(this.active)){var e=this.keys[this.active];""!==e&&this.$emit("input",e)}},blurKey:function(){this.active=-1},blurKeyboard:function(){this.$emit("blur")},onAnimationEnd:function(){this.$emit(this.show?"show":"hide")}}}),Rs=n(152),Vs=n.n(Rs),Hs=n(0),zs=Hs(Ps,Vs.a,!1,null,null,null),Ys=zs.exports,Gs=Object(d.b)({name:"van-pagination",props:{value:Number,prevText:String,nextText:String,pageCount:Number,forceEllipses:Boolean,mode:{type:String,default:"multi"},itemsPerPage:{type:Number,default:10},showPageSize:{type:Number,default:5},totalItems:{type:Number,default:0}},computed:{isMultiMode:function(){return"multi"===this.mode},computedPageCount:function(){var t=this.pageCount||Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(1,t)},pageDesc:function(){return this.value+"/"+this.computedPageCount},pages:function(){var t=[],e=this.computedPageCount,n=1,i=e,s=void 0!==this.showPageSize&&this.showPageSize<e;s&&(n=Math.max(this.value-Math.floor(this.showPageSize/2),1),(i=n+this.showPageSize-1)>e&&(i=e,n=i-this.showPageSize+1));for(var r=n;r<=i;r++){var a=this.makePage(r,r,r===this.value);t.push(a)}if(s&&this.showPageSize>0&&this.forceEllipses){if(n>1){var o=this.makePage(n-1,"...",!1);t.unshift(o)}if(i<e){var u=this.makePage(i+1,"...",!1);t.push(u)}}return t}},created:function(){this.selectPage(this.value)},watch:{value:function(t){this.selectPage(t)}},methods:{selectPage:function(t){t=Math.max(1,t),t=Math.min(this.computedPageCount,t),this.value!==t&&(this.$emit("input",t),this.$emit("change",t))},makePage:function(t,e,n){return{number:t,text:e,active:n}}}}),Ws=n(153),Ks=n.n(Ws),qs=n(0),Xs=qs(Gs,Ks.a,!1,null,null,null),Us=Xs.exports,Qs=Object(d.b)({name:"van-panel",props:{desc:String,title:String,status:String}}),Js=n(154),Zs=n.n(Js),tr=n(0),er=tr(Qs,Zs.a,!1,null,null,null),nr=er.exports,ir=Object(d.b)({name:"van-password-input",props:{info:String,errorInfo:String,value:{type:String,default:""},length:{type:Number,default:6}},computed:{points:function(){for(var t=[],e=0;e<this.length;e++)t[e]=this.value[e]?"visible":"hidden";return t}}}),sr=n(155),rr=n.n(sr),ar=n(0),or=ar(ir,rr.a,!1,null,null,null),ur=or.exports,cr=Object(d.b)({name:"van-progress",props:{inactive:Boolean,percentage:{type:Number,required:!0,validator:function(t){return t>=0&&t<=100}},showPivot:{type:Boolean,default:!0},pivotText:{type:String,default:function(){return this.percentage+"%"}},color:{type:String,default:"#38f"},textColor:{type:String,default:"#fff"}},computed:{componentColor:function(){return this.inactive?"#cacaca":this.color},pivotStyle:function(){var t=this.percentage;return{color:this.textColor,backgroundColor:this.componentColor,left:t<=5?"0%":t>=95?"100%":t+"%",marginLeft:t<=5?"0":t>=95?"-28px":"-14px"}},portionStyle:function(){return{width:this.percentage+"%",backgroundColor:this.componentColor}}}}),lr=n(156),dr=n.n(lr),fr=n(0),hr=fr(cr,dr.a,!1,null,null,null),pr=hr.exports,vr=Object(d.b)({name:"van-pull-refresh",props:{pullingText:String,loosingText:String,loadingText:String,value:{type:Boolean,required:!0},animationDuration:{type:Number,default:300},headHeight:{type:Number,default:50}},data:function(){return{status:"normal",height:0,duration:0}},computed:{style:function(){return{transition:this.duration+"ms",transform:"translate3d(0,"+this.height+"px, 0)"}}},mounted:function(){this.scrollEl=O.getScrollEventTarget(this.$el)},watch:{value:function(t){t||(this.duration=this.animationDuration,this.getStatus(0))}},methods:{onTouchStart:function(t){"loading"!==this.status&&this.getCeiling()&&(this.duration=0,this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY)},onTouchMove:function(t){"loading"!==this.status&&(this.deltaY=t.touches[0].clientY-this.startY,this.direction=this.getDirection(t.touches[0]),!this.ceiling&&this.getCeiling()&&(this.duration=0,this.startY=t.touches[0].clientY,this.deltaY=0),this.ceiling&&this.deltaY>=0&&("vertical"===this.direction&&t.preventDefault(),this.getStatus(this.ease(this.deltaY))))},onTouchEnd:function(){"loading"!==this.status&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.getStatus(this.headHeight,!0),this.$emit("input",!0)):this.getStatus(0))},getCeiling:function(){return this.ceiling=0===O.getScrollTop(this.scrollEl),this.ceiling},ease:function(t){var e=this.headHeight;return t<e?t:t<2*e?Math.round(e+(t-e)/2):Math.round(1.5*e+(t-2*e)/4)},getStatus:function(t,e){this.height=t;var n=e?"loading":0===t?"normal":t<this.headHeight?"pulling":"loosing";n!==this.status&&(this.status=n)},getDirection:function(t){var e=Math.abs(t.clientX-this.startX),n=Math.abs(t.clientY-this.startY);return e>n?"horizontal":e<n?"vertical":""}}}),mr=n(157),_r=n.n(mr),gr=n(0),br=gr(vr,_r.a,!1,null,null,null),yr=br.exports,xr=Object(d.b)({name:"van-row",props:{gutter:{type:[Number,String],default:0}},computed:{style:function(){var t="-"+Number(this.gutter)/2+"px";return this.gutter?{marginLeft:t,marginRight:t}:{}}}}),kr=n(158),Cr=n.n(kr),Sr=n(0),wr=Sr(xr,Cr.a,!1,null,null,null),$r=wr.exports,Tr=Object(d.b)({name:"van-search",props:{value:String,showAction:Boolean,background:{type:String,default:"#f2f2f2"}},data:function(){return{isFocus:!1,focusStatus:!1}},directives:{Clickoutside:yn,refocus:{update:function(t,e){e.value&&t.focus()}}},computed:{listeners:function(){return h()({},this.$listeners,{focus:this.onFocus,input:this.onInput,keypress:this.onKeypress})}},methods:{onFocus:function(){this.isFocus=!0,this.$emit("focus")},onInput:function(t){this.$emit("input",t.target.value)},onKeypress:function(t){13===t.keyCode&&(t.preventDefault(),this.$emit("search",this.value)),this.$emit("keypress",t)},onClean:function(){var t=this;this.$emit("input",""),this.focusStatus=!0,this.$nextTick(function(){t.focusStatus=!1})},onBack:function(){this.$emit("input",""),this.$emit("cancel")},onClickoutside:function(){this.isFocus=!1,this.focusStatus=!1}}}),Er=n(159),Or=n.n(Er),Fr=n(0),Ir=Fr(Tr,Or.a,!1,null,null,null),Br=Ir.exports,Ar=Object(d.b)({name:"van-sku-actions",components:{VanButton:ot},props:{buyText:String,skuEventBus:Object,showAddCartBtn:Boolean},methods:{onAddCartClicked:function(){this.skuEventBus.$emit("sku:addCart")},onBuyClicked:function(){this.skuEventBus.$emit("sku:buy")}}}),Nr=n(160),Mr=n.n(Nr),jr=n(0),Lr=jr(Ar,Mr.a,!1,null,null,null),Dr=Lr.exports,Pr=Object(d.b)({name:"van-sku-header",props:{skuEventBus:Object,sku:Object,selectedSku:Object,selectedSkuComb:Object,goods:Object},computed:{skuTree:function(){return this.sku.tree},goodsImg:function(){var t=this.selectedSku.s1;return this.getSkuImg(t)||this.goods.picture},price:function(){return this.selectedSkuComb?(this.selectedSkuComb.price/100).toFixed(2):this.sku.price}},methods:{onCloseClicked:function(){this.skuEventBus.$emit("sku:close")},getSkuImg:function(t){if(t){var e=this.skuTree.filter(function(t){return"s1"===t.k_s})[0]||{};if(e.v){var n=e.v.filter(function(e){return e.id===t})[0];return n&&n.imgUrl?n.imgUrl:void 0}}}}}),Rr=n(161),Vr=n.n(Rr),Hr=n(0),zr=Hr(Pr,Vr.a,!1,null,null,null),Yr=zr.exports,Gr=Object(d.b)({name:"van-sku-messages",components:{Field:X,CellGroup:et},props:{messages:Array,messagePlaceholderMap:Object,goodsId:[Number,String]},computed:{internalMessages:function(){return"[object Array]"===Object.prototype.toString.call(this.messages)?this.messages:[]},messageValues:function(){var t=[];return this.internalMessages.forEach(function(e,n){t[n]=""}),t}},methods:{getType:function(t){var e=t.type,n=t.datetime;return"id_no"===e?"text":n>0?"datetime-local":e},getMessages:function(){var t=this,e={};return this.messageValues.forEach(function(n,i){t.internalMessages[i].datetime>0&&(n=n.replace(/T/g," ")),e["message_"+i]=n}),e},getCartMessages:function(){var t=this,e={};return this.messageValues.forEach(function(n,i){var s=t.internalMessages[i];s.datetime>0&&(n=n.replace(/T/g," ")),e[s.name]=n}),e},getPlaceholder:function(t){return this.messagePlaceholderMap[t]||this.$t("placeholder."+t)},validateMessages:function(){for(var t=this.messageValues,e=0;e<t.length;e++){var n=t[e],i=this.internalMessages[e];if(""===n){if("1"==i.required){if("image"===i.type)continue;return this.$t("fill")+i.name}}else{if("tel"===i.type&&!a(n))return this.$t("number");if("email"===i.type&&!r(n))return this.$t("email");if("id_no"===i.type&&(n.length<15||n.length>18))return this.$t("id_no")}if(n.length>200)return i.name+" "+this.$t("overlimit")}}}}),Wr=n(162),Kr=n.n(Wr),qr=n(0),Xr=qr(Gr,Kr.a,!1,null,null,null),Ur=Xr.exports,Qr=n(163),Jr=n.n(Qr),Zr=Object(d.b)({name:"van-stepper",props:{value:{},disabled:Boolean,disableInput:Boolean,min:{type:[String,Number],default:1},max:{type:[String,Number],default:1/0},step:{type:[String,Number],default:1},defaultValue:{type:[String,Number],default:1}},data:function(){var t=this.value?+this.value:+this.defaultValue,e=this.correctValue(t);return t!==e&&(t=e,this.$emit("input",t)),{currentValue:t}},computed:{isMinusDisabled:function(){var t=+this.min,e=+this.step,n=+this.currentValue;return t===n||n-e<t||this.disabled},isPlusDisabled:function(){var t=+this.max,e=+this.step,n=+this.currentValue;return t===n||n+e>t||this.disabled}},watch:{currentValue:function(t){this.$emit("input",t),this.$emit("change",t)},value:function(t){(t=this.correctValue(+t))!==this.currentValue&&(this.currentValue=t)}},methods:{correctValue:function(t){return Jr()(t)?t=this.min:(t=Math.max(this.min,t),t=Math.min(this.max,t)),t},onInput:function(t){var e=+t.target.value;this.currentValue=this.correctValue(e)},onChange:function(t){if(this.isMinusDisabled&&"minus"===t||this.isPlusDisabled&&"plus"===t)return void this.$emit("overlimit",t);var e=+this.step,n=+this.currentValue;this.currentValue="minus"===t?n-e:n+e,this.$emit(t)}}}),ta=n(166),ea=n.n(ta),na=n(0),ia=na(Zr,ea.a,!1,null,null,null),sa=ia.exports,ra={QUOTA_LIMIT:0,STOCK_LIMIT:1},aa=ra.QUOTA_LIMIT,oa=ra.STOCK_LIMIT,ua=Object(d.b)({name:"van-sku-stepper",components:{Stepper:sa},props:{skuEventBus:Object,skuStockNum:Number,selectedSku:Object,selectedSkuComb:Object,selectedNum:Number,stepperTitle:String,quota:Number,quotaUsed:Number,hideStock:{type:Boolean,default:!1},disableStepperInput:{type:Boolean,default:!1}},data:function(){return{currentNum:this.selectedNum,limitType:oa}},watch:{currentNum:function(t){this.skuEventBus.$emit("sku:numChange",t)},stepperLimit:function(t){t<this.currentNum&&(this.currentNum=t)}},computed:{stock:function(){return this.selectedSkuComb?this.selectedSkuComb.stock_num:this.skuStockNum},stepperLimit:function(){var t=this.quota-this.quotaUsed,e=void 0;return this.quota>0&&t<=this.stock?(e=t<0?0:t,this.limitType=aa):e=this.stock,e}},methods:{setCurrentNum:function(t){this.currentNum=t},handleOverLimit:function(t){this.skuEventBus.$emit("sku:overLimit",{action:t,limitType:this.limitType,quota:this.quota,quotaUsed:this.quotaUsed})}}}),ca=n(167),la=n.n(ca),da=n(0),fa=da(ua,la.a,!1,null,null,null),ha=fa.exports,pa={name:"van-sku-row",props:{skuRow:Object}},va=n(168),ma=n.n(va),_a=n(0),ga=_a(pa,ma.a,!1,null,null,null),ba=ga.exports,ya={name:"van-sku-row-item",props:{skuEventBus:Object,skuValue:Object,skuList:Array,selectedSku:Object,skuKeyStr:String},computed:{isChoosed:function(){return this.skuValue.id===this.selectedSku[this.skuKeyStr]},isChoosable:function(){var t,e=v()({},this.selectedSku,(t={},t[this.skuKeyStr]=this.skuValue.id,t)),n=zt()(e).filter(function(t){return""!==e[t]});return this.skuList.filter(function(t){return n.every(function(n){return e[n]==t[n]})}).reduce(function(t,e){return t+=e.stock_num},0)>0}},methods:{onSkuSelected:function(){this.skuEventBus.$emit("sku:select",v()({},this.skuValue,{skuKeyStr:this.skuKeyStr}))}}},xa=n(169),ka=n.n(xa),Ca=n(0),Sa=Ca(ya,ka.a,!1,null,null,null),wa=Sa.exports,$a=function(t){var e={};return t.forEach(function(t){e[t.k_s]=t.v}),e},Ta=function(t,e){var n=zt()(e).filter(function(t){return""!==e[t]});return t.length===n.length},Ea=function(t,e){return t.filter(function(t){return zt()(e).every(function(n){return String(t[n])===String(e[n])})})[0]},Oa=function(t,e){var n=$a(t);return zt()(e).reduce(function(t,i){var s=n[i],r=e[i];if(r){var a=s.filter(function(t){return t.id===r})[0];a&&t.push(a)}return t},[])},Fa={normalizeSkuTree:$a,isAllSelected:Ta,getSkuComb:Ea,getSelectedSkuValues:Oa},Ia=Fa,Ba=ra.QUOTA_LIMIT,Aa=Object(d.b)({name:"van-sku",components:{Popup:ht,SkuHeader:Yr,SkuRow:ba,SkuRowItem:wa,SkuStepper:ha,SkuMessages:Ur,SkuActions:Dr},props:{goods:Object,goodsId:[Number,String],initialSku:{type:Object,default:function(){return{}}},sku:Object,quota:{type:Number,default:0},quotaUsed:{type:Number,default:0},hideStock:Boolean,showAddCartBtn:{type:Boolean,default:!0},buyText:String,stepperTitle:String,bodyOffsetTop:{type:Number,default:200},resetStepperOnHide:Boolean,disableStepperInput:Boolean,messagePlaceholderMap:{type:Object,default:function(){return{}}},value:Boolean},data:function(){return{selectedSku:{},selectedNum:1,show:this.value}},watch:{show:function(t){if(this.$emit("input",t),!t){var e=Oa(this.sku.tree,this.selectedSku);this.$emit("sku-close",{selectedSkuValues:e,selectedNum:this.selectedNum,selectedSkuComb:this.selectedSkuComb}),this.resetStepperOnHide&&this.$refs.skuStepper&&this.$refs.skuStepper.setCurrentNum(1)}},value:function(t){this.show=t},skuTree:function(t){this.resetSelectedSku(t)}},computed:{bodyStyle:function(){if(!this.$isServer){return{maxHeight:window.innerHeight-this.bodyOffsetTop+"px"}}},isSkuCombSelected:function(){return Ta(this.sku.tree,this.selectedSku)},isSkuEmpty:function(){for(var t in this.sku)if(Object.prototype.hasOwnProperty.call(this.sku,t))return!1;return!0},hasSku:function(){return!this.sku.none_sku},selectedSkuComb:function(){return this.hasSku?this.isSkuCombSelected?Ea(this.sku.list,this.selectedSku):null:{id:this.sku.collection_id,price:Math.round(100*this.sku.price),stock_num:this.sku.stock_num}},skuTree:function(){return this.sku.tree||[]}},created:function(){var t=new _.a;this.skuEventBus=t,t.$on("sku:close",this.handleCloseClicked),t.$on("sku:select",this.handleSkuSelected),t.$on("sku:numChange",this.handleNumChange),t.$on("sku:overLimit",this.handleOverLimit),t.$on("sku:addCart",this.handleAddCartClicked),t.$on("sku:buy",this.handleBuyClicked),this.resetSelectedSku(this.skuTree),this.$emit("after-sku-create",t)},methods:{resetSelectedSku:function(t){var e=this;this.selectedSku={},t.forEach(function(t){1===t.v.length?e.selectedSku[t.k_s]=t.v[0].id:e.selectedSku[t.k_s]=e.initialSku[t.k_s]||""})},getSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getMessages():{}},getSkuCartMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.getCartMessages():{}},validateSkuMessages:function(){return this.$refs.skuMessages?this.$refs.skuMessages.validateMessages():""},validateSku:function(){if(0===this.selectedNum)return this.$t("unavailable");if(this.isSkuCombSelected){return this.validateSkuMessages()}return this.$t("spec")},handleCloseClicked:function(){this.show=!1},handleSkuSelected:function(t){var e,n;this.selectedSku=this.selectedSku[t.skuKeyStr]===t.id?h()({},this.selectedSku,(e={},e[t.skuKeyStr]="",e)):h()({},this.selectedSku,(n={},n[t.skuKeyStr]=t.id,n)),this.$emit("sku-selected",{skuValue:t,selectedSku:this.selectedSku,selectedSkuComb:this.selectedSkuComb})},handleNumChange:function(t){this.selectedNum=t},handleOverLimit:function(t){var e=t.action,n=t.limitType,i=t.quota,s=t.quotaUsed;if("minus"===e)Et(this.$t("least"));else if("plus"===e)if(n===Ba){var r=this.$t("quota",i);s>0&&(r+=","+this.$t("purchase",s)),Et(r)}else Et(this.$t("inventory"))},handleAddCartClicked:function(){this.handleBuyOrAddCart("add-cart")},handleBuyClicked:function(){this.handleBuyOrAddCart("buy-clicked")},handleBuyOrAddCart:function(t){var e=this.validateSku();if(e)return void Et(e);this.$emit(t,{goodsId:this.goodsId,selectedNum:this.selectedNum,selectedSkuComb:this.selectedSkuComb,messages:this.getSkuMessages(),cartMessages:this.getSkuCartMessages()})}}}),Na=n(170),Ma=n.n(Na),ja=n(0),La=ja(Aa,Ma.a,!1,null,null,null),Da=La.exports;Da.SkuActions=Dr,Da.SkuHeader=Yr,Da.SkuMessages=Ur,Da.SkuStepper=ha,Da.SkuRow=ba,Da.SkuRowItem=wa,Da.skuHelper=Ia;var Pa=Da,Ra=Object(d.b)({name:"van-step",beforeCreate:function(){this.$parent.steps.push(this)},computed:{status:function(){var t=this.$parent.steps.indexOf(this),e=this.$parent.active;return t<e?"finish":t===e?"process":void 0},titleStyle:function(){return"process"===this.status?{color:this.$parent.activeColor}:{}}}}),Va=n(171),Ha=n.n(Va),za=n(0),Ya=za(Ra,Ha.a,!1,null,null,null),Ga=Ya.exports,Wa=Object(d.b)({name:"van-steps",props:{icon:String,title:String,active:Number,iconClass:String,description:String,direction:{type:String,default:"horizontal"},activeColor:{type:String,default:"#06bf04"}},data:function(){return{steps:[]}}}),Ka=n(172),qa=n.n(Ka),Xa=n(0),Ua=Xa(Wa,qa.a,!1,null,null,null),Qa=Ua.exports,Ja=Object(d.b)({name:"van-submit-bar",components:{VanButton:ot},props:{tip:String,type:Number,price:Number,label:String,loading:Boolean,disabled:Boolean,buttonText:String,buttonType:{type:String,default:"danger"}},computed:{hasPrice:function(){return"number"==typeof this.price},priceInterger:function(){return Math.floor(this.price/100)},priceDecimal:function(){var t=this.price%100;return(t<10?"0":"")+t}},methods:{onSubmit:function(){this.disabled||this.loading||this.$emit("submit")}}}),Za=n(173),to=n.n(Za),eo=n(0),no=eo(Ja,to.a,!1,null,null,null),io=no.exports,so=Object(d.b)({name:"van-tab",mixins:[je],props:{title:{type:String,required:!0},disabled:Boolean},computed:{index:function(){return this.parentGroup.tabs.indexOf(this)}},created:function(){this.findParentByName("van-tabs"),this.parentGroup.tabs.push(this)},destroyed:function(){this.parentGroup.tabs.splice(this.index,1)}}),ro=n(174),ao=n.n(ro),oo=n(0),uo=oo(so,ao.a,!1,null,null,null),co=uo.exports,lo=Object(d.b)({name:"van-tabbar",data:function(){return{items:[]}},props:{value:Number,fixed:{type:Boolean,default:!0}},watch:{items:function(){this.setActiveItem()},value:function(){this.setActiveItem()}},methods:{setActiveItem:function(){var t=this;this.items.forEach(function(e,n){e.active=n===t.value})},onChange:function(t){this.$emit("input",t),this.$emit("change",t)}}}),fo=n(175),ho=n.n(fo),po=n(0),vo=po(lo,ho.a,!1,null,null,null),mo=vo.exports,_o=Object(d.b)({name:"van-tabbar-item",mixins:[L],props:{icon:String,dot:Boolean,info:String},data:function(){return{active:!1}},beforeCreate:function(){this.$parent.items.push(this)},destroyed:function(){this.$parent.items.splice(this.$parent.items.indexOf(this),1)},methods:{onClick:function(t){this.$parent.onChange(this.$parent.items.indexOf(this)),this.$emit("click",t),this.routerLink()}}}),go=n(176),bo=n.n(go),yo=n(0),xo=yo(_o,bo.a,!1,null,null,null),ko=xo.exports,Co=n(177),So=Object(d.b)({name:"van-tabs",props:{sticky:Boolean,active:{type:[Number,String],default:0},type:{type:String,default:"line"},duration:{type:Number,default:.2},swipeThreshold:{type:Number,default:4}},data:function(){return{tabs:[],position:"content-top",curActive:0,navBarStyle:{}}},watch:{active:function(t){this.correctActive(t)},tabs:function(t){this.correctActive(this.curActive),this.setNavBar()},curActive:function(){this.scrollIntoView(),this.setNavBar(),"page-top"!==this.position&&"content-bottom"!==this.position||O.setScrollTop(this.scrollEl,O.getElementTop(this.$el))},sticky:function(t){this.scrollHandler(t)}},mounted:function(){var t=this;this.correctActive(this.active),this.setNavBar(),this.$nextTick(function(){t.sticky&&t.scrollHandler(!0),t.scrollIntoView()})},beforeDestroy:function(){this.sticky&&this.scrollHandler(!1)},computed:{scrollable:function(){return this.tabs.length>this.swipeThreshold}},methods:{scrollHandler:function(t){this.scrollEl=this.scrollEl||O.getScrollEventTarget(this.$el),this.scrollEl[t?"addEventListener":"removeEventListener"]("scroll",this.onScroll),t&&this.onScroll()},onScroll:function(){var t=O.getScrollTop(this.scrollEl),e=O.getElementTop(this.$el),n=e+this.$el.offsetHeight-this.$refs.nav.offsetHeight;this.position=t>n?"content-bottom":t>e?"page-top":"content-top"},setNavBar:function(){var t=this;this.$nextTick(function(){if(t.$refs.tabs){var e=t.$refs.tabs[t.curActive];t.navBarStyle={width:(e.offsetWidth||0)+"px",transform:"translate3d("+(e.offsetLeft||0)+"px, 0, 0)",transitionDuration:t.duration+"s"}}})},correctActive:function(t){t=+t;var e=this.tabs.some(function(e){return e.index===t}),n=(this.tabs[0]||{}).index||0;this.curActive=e?t:n},onClick:function(t){this.tabs[t].disabled?this.$emit("disabled",t):(this.$emit("click",t),this.curActive=t)},scrollIntoView:function(){if(this.scrollable&&this.$refs.tabs){var t=this.$refs.tabs[this.curActive],e=this.$refs.nav,n=e.scrollLeft,i=e.offsetWidth,s=t.offsetLeft,r=t.offsetWidth;this.scrollTo(e,n,s-(i-r)/2)}},scrollTo:function(t,e,n){var i=0,s=Math.round(1e3*this.duration/16);!function r(){t.scrollLeft+=(n-e)/s,++i<s&&Object(Co.a)(r)}()}}}),wo=n(179),$o=n.n(wo),To=n(0),Eo=To(So,$o.a,!1,null,null,null),Oo=Eo.exports,Fo=Object(d.b)({name:"van-tag",props:{type:String,mark:Boolean,plain:Boolean}}),Io=n(180),Bo=n.n(Io),Ao=n(0),No=Ao(Fo,Bo.a,!1,null,null,null),Mo=No.exports,jo=Object(d.b)({name:"van-tree-select",props:{items:{type:Array,default:function(){return[]}},mainActiveIndex:{type:Number,default:0},activeId:{type:Number,default:0},maxHeight:{type:Number,default:300}},computed:{subItems:function(){return(this.items[this.mainActiveIndex]||{}).children||[]},mainHeight:function(){var t=Math.max(44*this.items.length,44*this.subItems.length);return Math.min(t,this.maxHeight)},itemHeight:function(){return Math.min(44*this.subItems.length,this.maxHeight)}},methods:{onItemSelect:function(t){this.$emit("itemclick",h()({},t))}}}),Lo=n(181),Do=n.n(Lo),Po=n(0),Ro=Po(jo,Do.a,!1,null,null,null),Vo=Ro.exports,Ho=Object(d.b)({name:"van-uploader",props:{disabled:Boolean,beforeRead:Function,afterRead:Function,resultType:{type:String,default:"dataUrl"}},methods:{onValueChange:function(t){var e=this;if(!this.disabled){var n=t.target.files[0];if(n&&(!this.beforeRead||this.beforeRead(n))){var i=new FileReader;i.onload=function(t){e.afterRead&&e.afterRead({file:n,content:t.target.result}),e.$refs.input&&(e.$refs.input.value="")},"dataUrl"===this.resultType?i.readAsDataURL(n):"text"===this.resultType&&i.readAsText(n)}}}}}),zo=n(182),Yo=n.n(zo),Go=n(0),Wo=Go(Ho,Yo.a,!1,null,null,null),Ko=Wo.exports,qo="@@Waterfall",Xo=300,Uo=function(t){return{bind:function(e,n,i){e[qo]||(e[qo]={el:e,vm:i.context,cb:{}}),e[qo].cb[t]=n.value,l(e)},update:function(t){var e=t[qo];e.scrollEventListener&&e.scrollEventListener()},unbind:function(t){var e=t[qo];e.scrollEventTarget&&e.scrollEventTarget.removeEventListener("scroll",e.scrollEventListener)}}};Uo.install=function(t){t.directive("WaterfallLower",Uo("lower")),t.directive("WaterfallUpper",Uo("upper"))};var Qo=Uo;n.d(e,"install",function(){return tu}),n.d(e,"version",function(){return Jo}),n.d(e,"Actionsheet",function(){return j}),n.d(e,"AddressEdit",function(){return Me}),n.d(e,"AddressList",function(){return tn}),n.d(e,"Area",function(){return de}),n.d(e,"Badge",function(){return on}),n.d(e,"BadgeGroup",function(){return hn}),n.d(e,"Button",function(){return ot}),n.d(e,"Card",function(){return bn}),n.d(e,"Cell",function(){return z}),n.d(e,"CellGroup",function(){return et}),n.d(e,"CellSwipe",function(){return $n}),n.d(e,"Checkbox",function(){return Bn}),n.d(e,"CheckboxGroup",function(){return Dn}),n.d(e,"Col",function(){return Yn}),n.d(e,"ContactCard",function(){return Un}),n.d(e,"ContactEdit",function(){return ni}),n.d(e,"ContactList",function(){return ui}),n.d(e,"CouponCell",function(){return pi}),n.d(e,"CouponList",function(){return $i}),n.d(e,"DatetimePicker",function(){return Ai}),n.d(e,"Dialog",function(){return Vt}),n.d(e,"Field",function(){return X}),n.d(e,"GoodsAction",function(){return Pi}),n.d(e,"GoodsActionBigBtn",function(){return Gi}),n.d(e,"GoodsActionMiniBtn",function(){return Qi}),n.d(e,"Icon",function(){return Ji.a}),n.d(e,"ImagePreview",function(){return xs}),n.d(e,"Lazyload",function(){return Ss}),n.d(e,"Loading",function(){return ws.a}),n.d(e,"Locale",function(){return $s.a}),n.d(e,"NavBar",function(){return Bs}),n.d(e,"NoticeBar",function(){return Ds}),n.d(e,"NumberKeyboard",function(){return Ys}),n.d(e,"Pagination",function(){return Us}),n.d(e,"Panel",function(){return nr}),n.d(e,"PasswordInput",function(){return ur}),n.d(e,"Picker",function(){return re}),n.d(e,"Popup",function(){return ht}),n.d(e,"Progress",function(){return pr}),n.d(e,"PullRefresh",function(){return yr}),n.d(e,"Radio",function(){return He}),n.d(e,"RadioGroup",function(){return qe}),n.d(e,"Row",function(){return $r}),n.d(e,"Search",function(){return Br}),n.d(e,"Sku",function(){return Pa}),n.d(e,"Step",function(){return Ga}),n.d(e,"Stepper",function(){return sa}),n.d(e,"Steps",function(){return Qa}),n.d(e,"SubmitBar",function(){return io}),n.d(e,"Swipe",function(){return ss}),n.d(e,"SwipeItem",function(){return ls}),n.d(e,"Switch",function(){return Ce}),n.d(e,"SwitchCell",function(){return Oe}),n.d(e,"Tab",function(){return co}),n.d(e,"Tabbar",function(){return mo}),n.d(e,"TabbarItem",function(){return ko}),n.d(e,"Tabs",function(){return Oo}),n.d(e,"Tag",function(){return Mo}),n.d(e,"Toast",function(){return Et}),n.d(e,"TreeSelect",function(){return Vo}),n.d(e,"Uploader",function(){return Ko}),n.d(e,"Waterfall",function(){return Qo});var Jo="0.11.14",Zo=[j,Me,tn,de,on,hn,ot,bn,z,et,$n,Bn,Dn,Yn,Un,ni,ui,pi,$i,Ai,X,Pi,Gi,Qi,Ji.a,ws.a,Bs,Ds,Ys,Us,nr,ur,re,ht,pr,yr,He,qe,$r,Br,Pa,Ga,sa,Qa,io,ss,ls,Ce,Oe,co,mo,ko,Oo,Mo,Vo,Ko],tu=function(t){Zo.forEach(function(e){t.use(e)})};"undefined"!=typeof window&&window.Vue&&tu(window.Vue);e.default={install:tu,version:Jo}},function(t,e,n){t.exports={default:n(65),__esModule:!0}},function(t,e,n){n(44),n(53),t.exports=n(36).f("iterator")},function(t,e,n){var i=n(28),s=n(29);t.exports=function(t){return function(e,n){var r,a,o=String(s(e)),u=i(n),c=o.length;return u<0||u>=c?t?"":void 0:(r=o.charCodeAt(u),r<55296||r>56319||u+1===c||(a=o.charCodeAt(u+1))<56320||a>57343?t?o.charAt(u):r:t?o.slice(u,u+2):a-56320+(r-55296<<10)+65536)}}},function(t,e,n){"use strict";var i=n(48),s=n(24),r=n(26),a={};n(9)(a,n(4)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:s(1,n)}),r(t,e+" Iterator")}},function(t,e,n){var i=n(10),s=n(6),r=n(19);t.exports=n(11)?Object.defineProperties:function(t,e){s(t);for(var n,a=r(e),o=a.length,u=0;o>u;)i.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var i=n(15),s=n(51),r=n(70);t.exports=function(t){return function(e,n,a){var o,u=i(e),c=s(u.length),l=r(a,c);if(t&&n!=n){for(;c>l;)if((o=u[l++])!=o)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var i=n(28),s=Math.max,r=Math.min;t.exports=function(t,e){return t=i(t),t<0?s(t+e,0):r(t,e)}},function(t,e,n){var i=n(12),s=n(35),r=n(32)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=s(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var i=n(73),s=n(74),r=n(18),a=n(15);t.exports=n(45)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,s(1)):"keys"==e?s(0,n):"values"==e?s(0,t[n]):s(0,[n,t[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports={default:n(76),__esModule:!0}},function(t,e,n){n(77),n(55),n(83),n(84),t.exports=n(3).Symbol},function(t,e,n){"use strict";var i=n(2),s=n(12),r=n(11),a=n(5),o=n(47),u=n(78).KEY,c=n(14),l=n(33),d=n(26),f=n(25),h=n(4),p=n(36),v=n(37),m=n(79),_=n(80),g=n(6),b=n(15),y=n(31),x=n(24),k=n(48),C=n(81),S=n(82),w=n(10),$=n(19),T=S.f,E=w.f,O=C.f,F=i.Symbol,I=i.JSON,B=I&&I.stringify,A=h("_hidden"),N=h("toPrimitive"),M={}.propertyIsEnumerable,j=l("symbol-registry"),L=l("symbols"),D=l("op-symbols"),P=Object.prototype,R="function"==typeof F,V=i.QObject,H=!V||!V.prototype||!V.prototype.findChild,z=r&&c(function(){return 7!=k(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=T(P,e);i&&delete P[e],E(t,e,n),i&&t!==P&&E(P,e,i)}:E,Y=function(t){var e=L[t]=k(F.prototype);return e._k=t,e},G=R&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},W=function(t,e,n){return t===P&&W(D,e,n),g(t),e=y(e,!0),g(n),s(L,e)?(n.enumerable?(s(t,A)&&t[A][e]&&(t[A][e]=!1),n=k(n,{enumerable:x(0,!1)})):(s(t,A)||E(t,A,x(1,{})),t[A][e]=!0),z(t,e,n)):E(t,e,n)},K=function(t,e){g(t);for(var n,i=m(e=b(e)),s=0,r=i.length;r>s;)W(t,n=i[s++],e[n]);return t},q=function(t,e){return void 0===e?k(t):K(k(t),e)},X=function(t){var e=M.call(this,t=y(t,!0));return!(this===P&&s(L,t)&&!s(D,t))&&(!(e||!s(this,t)||!s(L,t)||s(this,A)&&this[A][t])||e)},U=function(t,e){if(t=b(t),e=y(e,!0),t!==P||!s(L,e)||s(D,e)){var n=T(t,e);return!n||!s(L,e)||s(t,A)&&t[A][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=O(b(t)),i=[],r=0;n.length>r;)s(L,e=n[r++])||e==A||e==u||i.push(e);return i},J=function(t){for(var e,n=t===P,i=O(n?D:b(t)),r=[],a=0;i.length>a;)!s(L,e=i[a++])||n&&!s(P,e)||r.push(L[e]);return r};R||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===P&&e.call(D,n),s(this,A)&&s(this[A],t)&&(this[A][t]=!1),z(this,t,x(1,n))};return r&&H&&z(P,t,{configurable:!0,set:e}),Y(t)},o(F.prototype,"toString",function(){return this._k}),S.f=U,w.f=W,n(54).f=C.f=Q,n(27).f=X,n(38).f=J,r&&!n(21)&&o(P,"propertyIsEnumerable",X,!0),p.f=function(t){return Y(h(t))}),a(a.G+a.W+a.F*!R,{Symbol:F});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)h(Z[tt++]);for(var et=$(h.store),nt=0;et.length>nt;)v(et[nt++]);a(a.S+a.F*!R,"Symbol",{for:function(t){return s(j,t+="")?j[t]:j[t]=F(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!R,"Object",{create:q,defineProperty:W,defineProperties:K,getOwnPropertyDescriptor:U,getOwnPropertyNames:Q,getOwnPropertySymbols:J}),I&&a(a.S+a.F*(!R||c(function(){var t=F();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!G(t)){for(var e,n,i=[t],s=1;arguments.length>s;)i.push(arguments[s++]);return e=i[1],"function"==typeof e&&(n=e),!n&&_(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!G(e))return e}),i[1]=e,B.apply(I,i)}}}),F.prototype[N]||n(9)(F.prototype,N,F.prototype.valueOf),d(F,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(t,e,n){var i=n(25)("meta"),s=n(13),r=n(12),a=n(10).f,o=0,u=Object.isExtensible||function(){return!0},c=!n(14)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,i,{value:{i:"O"+ ++o,w:{}}})},d=function(t,e){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,i)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[i].i},f=function(t,e){if(!r(t,i)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[i].w},h=function(t){return c&&p.NEED&&u(t)&&!r(t,i)&&l(t),t},p=t.exports={KEY:i,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(t,e,n){var i=n(19),s=n(38),r=n(27);t.exports=function(t){var e=i(t),n=s.f;if(n)for(var a,o=n(t),u=r.f,c=0;o.length>c;)u.call(t,a=o[c++])&&e.push(a);return e}},function(t,e,n){var i=n(20);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(15),s=n(54).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(t){try{return s(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==r.call(t)?o(t):s(i(t))}},function(t,e,n){var i=n(27),s=n(24),r=n(15),a=n(31),o=n(12),u=n(46),c=Object.getOwnPropertyDescriptor;e.f=n(11)?c:function(t,e){if(t=r(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(o(t,e))return s(!i.f.call(t,e),t[e])}},function(t,e,n){n(37)("asyncIterator")},function(t,e,n){n(37)("observable")},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("i",t._g({staticClass:"van-icon",class:"van-icon-"+t.name},t.$listeners),[t._t("default"),t.info?n("div",{staticClass:"van-icon__info"},[t._v(t._s(t.info))]):t._e()],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-loading",class:["van-loading--"+t.type,"van-loading--"+t.color]},[n("span",{staticClass:"van-loading__spinner",class:["van-loading__spinner--"+t.type,"van-loading__spinner--"+t.color]},t._l(12,function(e){return"spinner"===t.type?n("i"):t._e()}))])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e,n){n(88),t.exports=n(3).Object.assign},function(t,e,n){var i=n(5);i(i.S+i.F,"Object",{assign:n(89)})},function(t,e,n){"use strict";var i=n(19),s=n(38),r=n(27),a=n(35),o=n(50),u=Object.assign;t.exports=!u||n(14)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=s.f,d=r.f;u>c;)for(var f,h=o(arguments[c++]),p=l?i(h).concat(l(h)):i(h),v=p.length,m=0;v>m;)d.call(h,f=p[m++])&&(n[f]=h[f]);return n}:u},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"van-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"van-modal",class:t.className,style:t.style,on:{touchmove:function(t){t.preventDefault(),t.stopPropagation()},click:function(e){t.$emit("click",e)}}})])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"van-actionsheet-float"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],staticClass:"van-actionsheet",class:{"van-actionsheet--withtitle":t.title}},[t.title?n("div",{staticClass:"van-actionsheet__header van-hairline--top-bottom"},[n("div",{domProps:{textContent:t._s(t.title)}}),n("icon",{attrs:{name:"close"},on:{click:function(e){e.stopPropagation(),t.$emit("input",!1)}}})],1):t._e(),t.title?t._e():n("ul",{staticClass:"van-actionsheet__list"},t._l(t.actions,function(e,i){return n("li",{key:i,staticClass:"van-actionsheet__item van-hairline--top",class:[e.className,{"van-actionsheet__item--loading":e.loading}],on:{click:function(n){n.stopPropagation(),t.onClickItem(e)}}},[e.loading?n("loading",{staticClass:"van-actionsheet__loading",attrs:{type:"circle"}}):[n("span",{staticClass:"van-actionsheet__name"},[t._v(t._s(e.name))]),e.subname?n("span",{staticClass:"van-actionsheet__subname"},[t._v(t._s(e.subname))]):t._e()]],2)})),t.cancelText?n("div",{staticClass:"van-actionsheet__item van-actionsheet__cancel van-hairline--top",domProps:{textContent:t._s(t.cancelText)},on:{click:function(e){e.stopPropagation(),t.$emit("input",!1)}}}):n("div",{staticClass:"van-actionsheet__content"},[t._t("default")],2)])])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-cell van-hairline",class:{"van-cell--required":t.required},on:{click:t.onClick}},[t.$slots.title||t.title?n("div",{staticClass:"van-cell__title"},[t._t("icon",[t.icon?n("icon",{attrs:{name:t.icon}}):t._e()]),t._t("title",[n("span",{staticClass:"van-cell__text",domProps:{textContent:t._s(t.title)}}),t.label?n("span",{staticClass:"van-cell__label",domProps:{textContent:t._s(t.label)}}):t._e()])],2):t._e(),t.value||t.$slots.default?n("div",{staticClass:"van-cell__value",class:{"van-cell__value--link":t.isLink,"van-cell__value--alone":!t.$slots.title&&!t.title&&!t.label}},[t._t("default",[n("span",{domProps:{textContent:t._s(t.value)}})])],2):t._e(),t._t("right-icon",[t.isLink?n("icon",{staticClass:"van-cell__right-icon",attrs:{name:"arrow"}}):t._e()]),t._t("extra")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell",{staticClass:"van-field",class:{"van-field--has-textarea":"textarea"===t.type,"van-field--nolabel":!t.label,"van-field--disabled":t.$attrs.disabled,"van-field--error":t.error,"van-field--border":t.border,"van-field--autosize":t.autosize,"van-field--has-icon":t.hasIcon,"van-hairline--surround":t.border},attrs:{title:t.label,required:t.required}},["textarea"===t.type?n("textarea",t._g(t._b({ref:"textarea",staticClass:"van-field__control",domProps:{value:t.value}},"textarea",t.$attrs,!1),t.listeners)):n("input",t._g(t._b({staticClass:"van-field__control",attrs:{type:t.type},domProps:{value:t.value}},"input",t.$attrs,!1),t.listeners)),t.hasIcon?n("div",{directives:[{name:"show",rawName:"v-show",value:t.$slots.icon||t.value,expression:"$slots.icon || value"}],staticClass:"van-field__icon",on:{touchstart:function(e){e.preventDefault(),t.onClickIcon(e)}}},[t._t("icon",[n("icon",{attrs:{name:t.icon}})])],2):t._e()])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-cell-group",class:{"van-hairline--top-bottom":t.border}},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.tag,{tag:"component",staticClass:"van-button",class:["van-button--"+t.type,"van-button--"+t.size,{"van-button--disabled":t.disabled,"van-button--loading":t.loading,"van-button--block":t.block,"van-button--bottom-action":t.bottomAction}],attrs:{type:t.nativeType,disabled:t.disabled},on:{click:t.onClick}},[t.loading?n("loading",{staticClass:"van-button__icon-loading",attrs:{type:"circle",color:"default"===t.type?"black":"white"}}):t._e(),n("span",{staticClass:"van-button__text"},[t._t("default")],2)],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.currentTransition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],staticClass:"van-popup",class:(i={},i["van-popup--"+t.position]=t.position,i)},[t._t("default")],2)]);var i},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"van-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"van-toast-wrapper"},[n("div",{staticClass:"van-toast",class:["van-toast--"+t.displayStyle,"van-toast--"+t.position]},["text"===t.displayStyle?n("div",[t._v(t._s(t.message))]):t._e(),"html"===t.displayStyle?n("div",{domProps:{innerHTML:t._s(t.message)}}):t._e(),"default"===t.displayStyle?["loading"===t.type?n("loading",{attrs:{color:"white"}}):n("icon",{staticClass:"van-toast__icon",attrs:{name:t.type}}),void 0!==t.message?n("div",{staticClass:"van-toast__text"},[t._v(t._s(t.message))]):t._e()]:t._e()],2),t.forbidClick||t.mask?n("div",{staticClass:"van-toast__overlay",class:{"van-toast__overlay--mask":t.mask}}):t._e()])])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e,n){t.exports={default:n(99),__esModule:!0}},function(t,e,n){n(55),n(44),n(53),n(100),n(111),n(112),t.exports=n(3).Promise},function(t,e,n){"use strict";var i,s,r,a,o=n(21),u=n(2),c=n(22),l=n(58),d=n(5),f=n(13),h=n(23),p=n(101),v=n(102),m=n(59),_=n(60).set,g=n(107)(),b=n(40),y=n(61),x=n(62),k=u.TypeError,C=u.process,S=u.Promise,w="process"==l(C),$=function(){},T=s=b.f,E=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n(4)("species")]=function(t){t($,$)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then($)instanceof e}catch(t){}}(),O=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var i=t._v,s=1==t._s,r=0;n.length>r;)!function(e){var n,r,a=s?e.ok:e.fail,o=e.resolve,u=e.reject,c=e.domain;try{a?(s||(2==t._h&&A(t),t._h=1),!0===a?n=i:(c&&c.enter(),n=a(i),c&&c.exit()),n===e.promise?u(k("Promise-chain cycle")):(r=O(n))?r.call(n,o,u):o(n)):u(i)}catch(t){u(t)}}(n[r++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){_.call(u,function(){var e,n,i,s=t._v,r=B(t);if(r&&(e=y(function(){w?C.emit("unhandledRejection",s,t):(n=u.onunhandledrejection)?n({promise:t,reason:s}):(i=u.console)&&i.error&&i.error("Unhandled promise rejection",s)}),t._h=w||B(t)?2:1),t._a=void 0,r&&e.e)throw e.v})},B=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,i=0;n.length>i;)if(e=n[i++],e.fail||!B(e.promise))return!1;return!0},A=function(t){_.call(u,function(){var e;w?C.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},M=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=O(t))?g(function(){var i={_w:n,_d:!1};try{e.call(t,c(M,i,1),c(N,i,1))}catch(t){N.call(i,t)}}):(n._v=t,n._s=1,F(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};E||(S=function(t){p(this,S,"Promise","_h"),h(t),i.call(this);try{t(c(M,this,1),c(N,this,1))}catch(t){N.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(108)(S.prototype,{then:function(t,e){var n=T(m(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=w?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i;this.promise=t,this.resolve=c(M,t,1),this.reject=c(N,t,1)},b.f=T=function(t){return t===S||t===a?new r(t):s(t)}),d(d.G+d.W+d.F*!E,{Promise:S}),n(26)(S,"Promise"),n(109)("Promise"),a=n(3).Promise,d(d.S+d.F*!E,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(o||!E),"Promise",{resolve:function(t){return x(o&&this===a?S:this,t)}}),d(d.S+d.F*!(E&&n(110)(function(t){S.all(t).catch($)})),"Promise",{all:function(t){var e=this,n=T(e),i=n.resolve,s=n.reject,r=y(function(){var n=[],r=0,a=1;v(t,!1,function(t){var o=r++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[o]=t,--a||i(n))},s)}),--a||i(n)});return r.e&&s(r.v),n.promise},race:function(t){var e=this,n=T(e),i=n.reject,s=y(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return s.e&&i(s.v),n.promise}})},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var i=n(22),s=n(103),r=n(104),a=n(6),o=n(51),u=n(105),c={},l={},e=t.exports=function(t,e,n,d,f){var h,p,v,m,_=f?function(){return t}:u(t),g=i(n,d,e?2:1),b=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(r(_)){for(h=o(t.length);h>b;b++)if((m=e?g(a(p=t[b])[0],p[1]):g(t[b]))===c||m===l)return m}else for(v=_.call(t);!(p=v.next()).done;)if((m=s(v,g,p.value,e))===c||m===l)return m};e.BREAK=c,e.RETURN=l},function(t,e,n){var i=n(6);t.exports=function(t,e,n,s){try{return s?e(i(n)[0],n[1]):e(n)}catch(e){var r=t.return;throw void 0!==r&&i(r.call(t)),e}}},function(t,e,n){var i=n(18),s=n(4)("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||r[s]===t)}},function(t,e,n){var i=n(58),s=n(4)("iterator"),r=n(18);t.exports=n(3).getIteratorMethod=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||r[i(t)]}},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(2),s=n(60).set,r=i.MutationObserver||i.WebKitMutationObserver,a=i.process,o=i.Promise,u="process"==n(20)(a);t.exports=function(){var t,e,n,c=function(){var i,s;for(u&&(i=a.domain)&&i.exit();t;){s=t.fn,t=t.next;try{s()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(u)n=function(){a.nextTick(c)};else if(r){var l=!0,d=document.createTextNode("");new r(c).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}else if(o&&o.resolve){var f=o.resolve();n=function(){f.then(c)}}else n=function(){s.call(i,c)};return function(i){var s={fn:i,next:void 0};e&&(e.next=s),t||(t=s,n()),e=s}}},function(t,e,n){var i=n(9);t.exports=function(t,e,n){for(var s in e)n&&t[s]?t[s]=e[s]:i(t,s,e[s]);return t}},function(t,e,n){"use strict";var i=n(2),s=n(3),r=n(10),a=n(11),o=n(4)("species");t.exports=function(t){var e="function"==typeof s[t]?s[t]:i[t];a&&e&&!e[o]&&r.f(e,o,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(4)("iterator"),s=!1;try{var r=[7][i]();r.return=function(){s=!0},Array.from(r,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!s)return!1;var n=!1;try{var r=[7],a=r[i]();a.next=function(){return{done:n=!0}},r[i]=function(){return a},t(r)}catch(t){}return n}},function(t,e,n){"use strict";var i=n(5),s=n(3),r=n(2),a=n(59),o=n(62);i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,s.Promise||r.Promise),n="function"==typeof t;return this.then(n?function(n){return o(e,t()).then(function(){return n})}:t,n?function(n){return o(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var i=n(5),s=n(40),r=n(61);i(i.S,"Promise",{try:function(t){var e=s.f(this),n=r(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"van-dialog-bounce"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],staticClass:"van-dialog"},[t.title?n("div",{staticClass:"van-dialog__header",domProps:{textContent:t._s(t.title)}}):t._e(),n("div",{staticClass:"van-dialog__content van-hairline"},[t._t("default",[t.message?n("div",{staticClass:"van-dialog__message",class:{"van-dialog__message--withtitle":t.title},domProps:{innerHTML:t._s(t.message)}}):t._e()])],2),n("div",{staticClass:"van-dialog__footer",class:{"is-twobtn":t.showCancelButton&&t.showConfirmButton}},[n("van-button",{directives:[{name:"show",rawName:"v-show",value:t.showCancelButton,expression:"showCancelButton"}],staticClass:"van-dialog__cancel",attrs:{size:"large"},on:{click:function(e){t.handleAction("cancel")}}},[t._v("\n "+t._s(t.cancelButtonText||t.$t("cancel"))+"\n ")]),n("van-button",{directives:[{name:"show",rawName:"v-show",value:t.showConfirmButton,expression:"showConfirmButton"}],staticClass:"van-dialog__confirm",class:{"van-hairline--left":t.showCancelButton&&t.showConfirmButton},attrs:{size:"large"},on:{click:function(e){t.handleAction("confirm")}}},[t._v("\n "+t._s(t.confirmButtonText||t.$t("confirm"))+"\n ")])],1)])])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e,n){n(115),t.exports=n(3).Object.keys},function(t,e,n){var i=n(35),s=n(19);n(116)("keys",function(){return function(t){return s(i(t))}})},function(t,e,n){var i=n(5),s=n(3),r=n(14);t.exports=function(t,e){var n=(s.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*r(function(){n(1)}),"Object",a)}},function(t,e,n){t.exports={default:n(118),__esModule:!0}},function(t,e,n){var i=n(3),s=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return s.stringify.apply(s,arguments)}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-picker-column",class:t.className,style:t.columnStyle,on:{touchstart:t.onTouchStart,touchmove:function(e){e.preventDefault(),t.onTouchMove(e)},touchend:t.onTouchEnd,touchcancel:t.onTouchEnd}},[n("ul",{style:t.wrapperStyle},t._l(t.options,function(e,i){return n("li",{class:{"van-picker-column--disabled":t.isDisabled(e),"van-picker-column--selected":i===t.currentIndex},domProps:{textContent:t._s(t.getOptionText(e))},on:{click:function(e){t.setIndex(i)}}})}))])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-picker"},[t.showToolbar?n("div",{staticClass:"van-picker__toolbar van-hairline--top-bottom"},[t._t("default",[n("div",{staticClass:"van-picker__cancel",on:{click:function(e){t.emit("cancel")}}},[t._v(t._s(t.$t("cancel")))]),n("div",{staticClass:"van-picker__confirm",on:{click:function(e){t.emit("confirm")}}},[t._v(t._s(t.$t("confirm")))]),t.title?n("div",{staticClass:"van-picker__title",domProps:{textContent:t._s(t.title)}}):t._e()])],2):t._e(),n("div",{staticClass:"van-picker__columns",on:{touchmove:function(t){t.preventDefault()}}},[t._l(t.currentColumns,function(e,i){return n("picker-column",{key:i,attrs:{valueKey:t.valueKey,options:e.values,className:e.className,defaultIndex:e.defaultIndex,itemHeight:t.itemHeight,visibileColumnCount:t.visibileColumnCount},on:{change:function(e){t.onChange(i)}}})}),n("div",{staticClass:"van-picker__frame van-hairline--top-bottom",style:t.frameStyle})],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("picker",{ref:"picker",staticClass:"van-area",attrs:{showToolbar:"",valueKey:"name",title:t.title,columns:t.columns},on:{change:t.onChange,confirm:function(e){t.$emit("confirm",e)},cancel:function(e){t.$emit("cancel",e)}}})},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root"},[n("field",{attrs:{label:t.$t("label.address"),placeholder:t.$t("placeholder.address"),maxlength:"200",type:"textarea",autosize:"",rows:"1",value:t.value,error:t.isError,onIconClick:t.onIconClick},on:{input:function(e){t.$emit("input",e)},focus:t.handleFocus,blur:t.handleBlur}},[n("div",{attrs:{slot:"icon"},slot:"icon"},[t.showIcon&&t.isAndroid?n("span",{staticClass:"van-address-edit-detail__finish-edit"},[t._v(t._s(t.$t("complete")))]):t.showIcon?n("icon",{attrs:{name:"clear"}}):t._e()],1)]),t.showSearchList?n("cell-group",{staticClass:"van-address-edit-detail__suggest-list"},t._l(t.searchResult,function(e){return n("cell",{key:e.name+e.address,staticClass:"van-address-edit-detail__suggest-item",on:{click:function(n){t.onSuggestSelect(e)}}},[n("icon",{staticClass:"van-address-edit-detail__location",attrs:{name:"location"}}),n("div",{staticClass:"van-address-edit-detail__item-info"},[t.isString(e.name)?n("p",{staticClass:"van-address-edit-detail__title"},[t._v(t._s(e.name))]):t._e(),t.isString(e.address)?n("p",{staticClass:"van-address-edit-detail__subtitle"},[t._v(t._s(e.address))]):t._e()])],1)})):t._e()],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-switch",class:["van-switch--"+(t.value?"on":"off"),{"van-switch--disabled":t.disabled}],on:{click:t.toggleState}},[n("div",{staticClass:"van-switch__node van-hairline-surround"},[t.loading?n("loading",{staticClass:"van-switch__loading"}):t._e()],1),n("div",{staticClass:"van-switch__bg"})])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell",{staticClass:"van-switch-cell",attrs:{title:t.title}},[n("van-switch",t._b({on:{input:function(e){t.$emit("input",e)}}},"van-switch",t.$props,!1))],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-address-edit"},[n("cell-group",[n("field",{attrs:{maxlength:"15",placeholder:t.$t("placeholder.name"),label:t.$t("label.name",t.computedAddressText),error:t.errorInfo.name},on:{focus:function(e){t.onFocus("name")}},model:{value:t.currentInfo.name,callback:function(e){t.$set(t.currentInfo,"name",e)},expression:"currentInfo.name"}}),n("field",{attrs:{type:"tel",label:t.$t("label.tel"),placeholder:t.$t("placeholder.tel"),error:t.errorInfo.tel},on:{focus:function(e){t.onFocus("tel")}},model:{value:t.currentInfo.tel,callback:function(e){t.$set(t.currentInfo,"tel",e)},expression:"currentInfo.tel"}}),n("cell",{staticClass:"van-address-edit__area",attrs:{title:t.$t("areaTitle")},on:{click:function(e){t.showAreaSelect=!0}}},[n("span",[t._v(t._s(t.currentInfo.province||t.$t("placeholder.province")))]),n("span",[t._v(t._s(t.currentInfo.city||t.$t("placeholder.city")))]),n("span",[t._v(t._s(t.currentInfo.county||t.$t("placeholder.county")))])]),n("address-edit-detail",{attrs:{value:t.currentInfo.address_detail,isError:t.errorInfo.address_detail,showSearchResult:t.showSearchResult,searchResult:t.searchResult},on:{focus:function(e){t.onFocus("address_detail")},blur:t.onDetailBlur,input:t.onChangeDetail,"select-search":function(e){t.$emit("select-search",e)}}}),t.showPostal?n("field",{directives:[{name:"show",rawName:"v-show",value:!t.hideBottomFields,expression:"!hideBottomFields"}],staticClass:"van-hairline--top",attrs:{type:"tel",label:t.$t("label.postal"),placeholder:t.$t("placeholder.postal"),maxlength:"6",error:t.errorInfo.postal_code},on:{focus:function(e){t.onFocus("postal_code")}},model:{value:t.currentInfo.postal_code,callback:function(e){t.$set(t.currentInfo,"postal_code",e)},expression:"currentInfo.postal_code"}}):t._e(),t.showSetDefault?n("switch-cell",{directives:[{name:"show",rawName:"v-show",value:!t.hideBottomFields,expression:"!hideBottomFields"}],attrs:{title:t.$t("defaultAddress",t.computedAddressText)},model:{value:t.currentInfo.is_default,callback:function(e){t.$set(t.currentInfo,"is_default",e)},expression:"currentInfo.is_default"}}):t._e()],1),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.hideBottomFields,expression:"!hideBottomFields"}],staticClass:"van-address-edit__buttons"},[n("van-button",{attrs:{block:"",loading:t.isSaving,type:"primary"},on:{click:t.onSaveAddress}},[t._v("\n "+t._s(t.$t("save"))+"\n ")]),t.isEdit?n("van-button",{attrs:{block:"",loading:t.isDeleting},on:{click:t.onDeleteAddress}},[t._v("\n "+t._s(t.$t("deleteAddress",t.computedAddressText))+"\n ")]):t._e()],1),n("popup",{attrs:{position:"bottom"},model:{value:t.showAreaSelect,callback:function(e){t.showAreaSelect=e},expression:"showAreaSelect"}},[n("van-area",{ref:"area",attrs:{value:t.currentInfo.area_code,areaList:t.areaList},on:{confirm:t.onAreaConfirm,cancel:function(e){t.showAreaSelect=!1}}})],1)],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-radio",class:{"van-radio--disabled":t.isDisabled},on:{click:t.handleRadioClick}},[n("span",{staticClass:"van-radio__input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],staticClass:"van-radio__control",attrs:{type:"radio",disabled:t.isDisabled},domProps:{value:t.name,checked:t._q(t.currentValue,t.name)},on:{change:function(e){t.currentValue=t.name}}}),n("icon",{attrs:{name:t.currentValue===t.name?"checked":"check"}})],1),n("span",{staticClass:"van-radio__label",on:{click:t.handleLabelClick}},[t._t("default")],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-radio-group"},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-address-list"},[n("radio-group",{staticClass:"van-address-list__group",attrs:{value:t.value},on:{input:function(e){t.$emit("input",e)}}},[n("cell-group",t._l(t.list,function(e,i){return n("cell",{key:e.id},[n("radio",{attrs:{name:e.id},on:{click:function(n){t.$emit("select",e,i)}}},[n("div",{staticClass:"van-address-list__name"},[t._v(t._s(e.name)+","+t._s(e.tel))]),n("div",{staticClass:"van-address-list__address"},[t._v(t._s(t.$t("address"))+":"+t._s(e.address))])]),n("icon",{staticClass:"van-address-list__edit",attrs:{name:"edit"},on:{click:function(n){t.$emit("edit",e,i)}}})],1)}))],1),n("cell",{staticClass:"van-address-list__add van-hairline--top",attrs:{icon:"add",title:t.addButtonText||t.$t("add"),isLink:""},on:{click:function(e){t.$emit("add")}}})],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"van-badge van-hairline",class:{"van-badge--select":t.isSelect},attrs:{href:t.url},on:{click:t.onClick}},[t.info?n("div",{staticClass:"van-badge__info"},[t._v(t._s(t.info))]):t._e(),t._v("\n "+t._s(t.title)+"\n")])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-badge-group van-hairline--top-bottom"},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-card",class:{"van-card--center":t.centered}},[n("div",{staticClass:"van-card__thumb"},[t._t("thumb",[n("img",{staticClass:"van-card__img",attrs:{src:t.thumb}})])],2),n("div",{staticClass:"van-card__content"},[t._t("title",[t.title||void 0!==t.price?n("div",{staticClass:"van-card__row"},[t.title?n("div",{staticClass:"van-card__title"},[t._v(t._s(t.title))]):t._e(),void 0!==t.price?n("div",{staticClass:"van-card__price"},[t._v("¥ "+t._s(t.price))]):t._e()]):t._e()]),t._t("desc",[t.desc||void 0!==t.num?n("div",{staticClass:"van-card__row"},[t.desc?n("div",{staticClass:"van-card__desc"},[t._v(t._s(t.desc))]):t._e(),void 0!==t.num?n("div",{staticClass:"van-card__num"},[t._v("x "+t._s(t.num))]):t._e()]):t._e()]),t._t("tags")],2),t.$slots.footer?n("div",{staticClass:"van-card__footer"},[t._t("footer")],2):t._e()])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside:touchstart",value:t.onClick,expression:"onClick",arg:"touchstart"}],staticClass:"van-cell-swipe",on:{click:function(e){t.onClick("cell")},touchstart:t.startDrag,touchmove:t.onDrag,touchend:t.endDrag,touchcancel:t.endDrag}},[n("div",{staticClass:"van-cell-swipe__wrapper",style:t.wrapperStyle,on:{transitionend:function(e){t.swipe=!1}}},[t.leftWidth?n("div",{staticClass:"van-cell-swipe__left",on:{click:function(e){e.stopPropagation(),t.onClick("left")}}},[t._t("left")],2):t._e(),t._t("default"),t.rightWidth?n("div",{staticClass:"van-cell-swipe__right",on:{click:function(e){e.stopPropagation(),t.onClick("right")}}},[t._t("right")],2):t._e()],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-checkbox",class:["van-checkbox--"+t.shape,{"van-checkbox--disabled":t.isDisabled}]},[n("span",{staticClass:"van-checkbox__input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.currentValue,expression:"currentValue"}],staticClass:"van-checkbox__control",attrs:{type:"checkbox",disabled:t.isDisabled},domProps:{checked:Array.isArray(t.currentValue)?t._i(t.currentValue,null)>-1:t.currentValue},on:{change:function(e){var n=t.currentValue,i=e.target,s=!!i.checked;if(Array.isArray(n)){var r=t._i(n,null);i.checked?r<0&&(t.currentValue=n.concat([null])):r>-1&&(t.currentValue=n.slice(0,r).concat(n.slice(r+1)))}else t.currentValue=s}}}),n("icon",{attrs:{name:"success"}})],1),n("span",{staticClass:"van-checkbox__label",on:{click:t.onClickLabel}},[t._t("default")],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-checkbox-group"},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-col",class:(n={},n["van-col-"+t.span]=t.span,n["van-col-offset-"+t.offset]=t.offset,n),style:t.style},[t._t("default")],2);var n},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-contact-card",class:["van-contact-card--"+t.type,{"van-contact-card--uneditable":!t.editable}],on:{click:t.onClick}},[n("div",{staticClass:"van-contact-card__content"},["add"===t.type?[n("icon",{staticClass:"van-contact-card__icon",attrs:{name:"add2"}}),n("div",{staticClass:"van-contact-card__text"},[t._v(t._s(t.addText||t.$t("addText")))])]:"edit"===t.type?[n("icon",{staticClass:"van-contact-card__icon",attrs:{name:"contact"}}),n("div",{staticClass:"van-contact-card__text"},[n("div",[t._v(t._s(t.$t("name"))+":"+t._s(t.name))]),n("div",[t._v(t._s(t.$t("tel"))+":"+t._s(t.tel))])])]:t._e()],2),t.editable?n("icon",{staticClass:"van-contact-card__arrow",attrs:{name:"arrow"}}):t._e()],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-contact-edit"},[n("cell-group",[n("field",{attrs:{maxlength:"30",label:t.$t("name"),placeholder:t.$t("namePlaceholder"),error:t.errorInfo.name},on:{focus:function(e){t.onFocus("name")}},model:{value:t.currentInfo.name,callback:function(e){t.$set(t.currentInfo,"name",e)},expression:"currentInfo.name"}}),n("field",{attrs:{type:"tel",label:t.$t("tel"),placeholder:t.$t("telPlaceholder"),error:t.errorInfo.tel},on:{focus:function(e){t.onFocus("tel")}},model:{value:t.currentInfo.tel,callback:function(e){t.$set(t.currentInfo,"tel",e)},expression:"currentInfo.tel"}})],1),n("div",{staticClass:"van-contact-edit__buttons"},[n("van-button",{attrs:{block:"",loading:t.isSaving,type:"primary"},on:{click:t.onSaveContact}},[t._v(t._s(t.$t("save")))]),t.isEdit?n("van-button",{attrs:{block:"",loading:t.isDeleting},on:{click:t.onDeleteContact}},[t._v(t._s(t.$t("delete")))]):t._e()],1)],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-contact-list"},[n("radio-group",{attrs:{value:t.value},on:{input:function(e){t.$emit("input",e)}}},[n("cell-group",t._l(t.list,function(e,i){return n("cell",{key:e.id},[n("radio",{attrs:{name:e.id},on:{click:function(n){t.$emit("select",e,i)}}},[n("p",{staticClass:"van-contact-list__text"},[t._v(t._s(t.$t("name"))+":"+t._s(e.name))]),n("p",{staticClass:"van-contact-list__text"},[t._v(t._s(t.$t("tel"))+":"+t._s(e.tel))])]),n("icon",{staticClass:"van-contact-list__edit",attrs:{name:"edit"},on:{click:function(n){t.$emit("edit",e,i)}}})],1)}))],1),n("cell",{staticClass:"van-contact-list__add van-hairline--top",attrs:{icon:"add",title:t.addText||t.$t("addText"),isLink:""},on:{click:function(e){t.$emit("add")}}})],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell-group",{staticClass:"van-coupon-cell"},[n("cell",{attrs:{title:t.title||t.$t("title"),value:t.value,isLink:t.editable},on:{click:function(e){t.$emit("click")}}})],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-coupon-item",class:{"van-coupon-item--disabled":t.disabled}},[n("div",{staticClass:"van-coupon-item__head"},[n("div",{staticClass:"van-coupon-item__lines"}),n("div",{staticClass:"van-coupon-item__gradient"},[n("h2",{domProps:{innerHTML:t._s(t.faceAmount)}}),n("p",[t._v(t._s(t.conditionMessage))])])]),n("div",{staticClass:"van-coupon-item__body"},[n("h2",[t._v(t._s(t.data.name))]),n("span",[t._v(t._s(t.validPeriod))]),t.disabled&&t.data.reason?n("p",[t._v(t._s(t.data.reason))]):t._e(),t.chosen?n("div",{staticClass:"van-coupon-item__corner"},[n("icon",{attrs:{name:"success"}})],1):t._e()])])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-coupon-list"},[t.showExchangeBar?n("cell-group",{staticClass:"van-coupon-list__top"},[n("field",{staticClass:"van-coupon-list__filed van-hairline--surround",attrs:{placeholder:t.inputPlaceholder||t.$t("placeholder"),maxlength:20},model:{value:t.exchangeCode,callback:function(e){t.exchangeCode=e},expression:"exchangeCode"}}),n("van-button",{staticClass:"van-coupon-list__exchange",attrs:{size:"small",type:"danger",disabled:t.exchangeButtonDisabled||!t.exchangeCode.length},on:{click:t.onClickExchangeButton}},[t._v("\n "+t._s(t.exchangeButtonText||t.$t("exchange"))+"\n ")])],1):t._e(),n("div",{ref:"list",staticClass:"van-coupon-list__list",class:{"van-coupon-list--with-exchange":t.showExchangeBar}},[t._l(t.coupons,function(e,i){return n("coupon-item",{key:e.id||e.name,ref:"card",refInFor:!0,attrs:{data:e,chosen:i===t.chosenCoupon},nativeOn:{click:function(e){t.onClickCoupon(i)}}})}),t.disabledCoupons.length?n("h3",[t._v(t._s(t.disabledListTitle||t.$t("disabled")))]):t._e(),t._l(t.disabledCoupons,function(t){return n("coupon-item",{key:t.id||t.name,attrs:{disabled:"",data:t}})}),t.coupons.length||t.disabledCoupons.length?t._e():n("div",{staticClass:"van-coupon-list__empty"},[n("img",{attrs:{src:"https://b.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png"}}),n("p",[t._v(t._s(t.$t("empty")))])])],2),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showCloseButton,expression:"showCloseButton"}],staticClass:"van-coupon-list__close van-hairline--top",on:{click:t.onClickNotUse}},[t._v("\n "+t._s(t.closeButtonText||t.$t("close"))+"\n ")])],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("picker",{ref:"picker",attrs:{showToolbar:"",columns:t.columns,visibleItemCount:t.visibleItemCount},on:{change:t.onChange,confirm:t.onConfirm,cancel:function(e){t.$emit("cancel")}}})},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-goods-action"},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("van-button",{staticClass:"van-goods-action__big-btn",attrs:{tag:"a",href:t.url,type:t.primary?"primary":"default",bottomAction:""},on:{click:t.onClick}},[t._t("default",[t._v(t._s(t.text))])],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"van-goods-action__mini-btn van-hairline",attrs:{href:t.url},on:{click:t.onClick}},[n("icon",{staticClass:"van-goods-action__mini-btn-icon",class:t.iconClass,attrs:{info:t.info,name:t.icon}}),t._t("default",[t._v(t._s(t.text))])],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-swipe"},[t.count>1?n("div",{staticClass:"van-swipe__track",style:t.trackStyle,on:{touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd,touchcancel:t.onTouchEnd,transitionend:function(e){t.$emit("change",t.activeIndicator)}}},[t._t("default")],2):n("div",{staticClass:"van-swipe__track"},[t._t("default")],2),t.showIndicators&&t.count>1?n("div",{staticClass:"van-swipe__indicators"},t._l(t.count,function(e){return n("i",{class:{"van-swipe__indicator--active":e-1===t.activeIndicator}})})):t._e()])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-swipe-item",style:t.style},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.value,expression:"value"}],staticClass:"van-image-preview",on:{touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd,touchcancel:t.onTouchEnd}},[n("swipe",{attrs:{initialSwipe:t.startPosition}},t._l(t.images,function(t,e){return n("swipe-item",{key:e},[n("img",{staticClass:"van-image-preview__image",attrs:{src:t}})])}))],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e,n){/*!
- * Vue-Lazyload.js v1.1.4
- * (c) 2017 Awe <hilongjw@gmail.com>
- * Released under the MIT License.
- */
- !function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){if(t.length){var n=t.indexOf(e);return n>-1?t.splice(n,1):void 0}}function e(t,e){if(!t||!e)return t||{};if(t instanceof Object)for(var n in e)t[n]=e[n];return t}function n(t,e){for(var n=!1,i=0,s=t.length;i<s;i++)if(e(t[i])){n=!0;break}return n}function i(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n=t.getAttribute("data-srcset"),i=[],s=t.parentNode,r=s.offsetWidth*e,a=void 0,o=void 0,u=void 0;n=n.trim().split(","),n.map(function(t){t=t.trim(),a=t.lastIndexOf(" "),-1===a?(o=t,u=999998):(o=t.substr(0,a),u=parseInt(t.substr(a+1,t.length-a-2),10)),i.push([u,o])}),i.sort(function(t,e){if(t[0]<e[0])return-1;if(t[0]>e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0});for(var c="",l=void 0,d=i.length,f=0;f<d;f++)if(l=i[f],l[0]>=r){c=l[1];break}return c}}function s(t,e){for(var n=void 0,i=0,s=t.length;i<s;i++)if(e(t[i])){n=t[i];break}return n}function r(){if(!f)return!1;var t=!0,e=document;try{var n=e.createElement("object");n.type="image/webp",n.style.visibility="hidden",n.innerHTML="!",e.body.appendChild(n),t=!n.offsetWidth,e.body.removeChild(n)}catch(e){t=!1}return t}function a(t,e){var n=null,i=0;return function(){if(!n){var s=Date.now()-i,r=this,a=arguments,o=function(){i=Date.now(),n=!1,t.apply(r,a)};s>=e?o():n=setTimeout(o,e)}}}function o(t){return null!==t&&"object"===(void 0===t?"undefined":d(t))}function u(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d="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},f="undefined"!=typeof window,h=f&&"IntersectionObserver"in window,p={event:"event",observer:"observer"},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return f&&window.devicePixelRatio||t},m=function(){if(f){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),_={on:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];m?t.addEventListener(e,n,{capture:i,passive:!0}):t.addEventListener(e,n,i)},off:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,n,i)}},g=function(t,e,n){var i=new Image;i.src=t.src,i.onload=function(){e({naturalHeight:i.naturalHeight,naturalWidth:i.naturalWidth,src:i.src})},i.onerror=function(t){n(t)}},b=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},y=function(t){return b(t,"overflow")+b(t,"overflow-y")+b(t,"overflow-x")},x=function(t){if(f){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(y(e)))return e;e=e.parentNode}return window}},k=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),C={},S=function(){function t(e){var n=e.el,i=e.src,s=e.error,r=e.loading,a=e.bindType,o=e.$parent,u=e.options,l=e.elRenderer;c(this,t),this.el=n,this.src=i,this.error=s,this.loading=r,this.bindType=a,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=u,this.filter(),this.initState(),this.performanceData={init:Date.now(),loadStart:null,loadEnd:null},this.rect=n.getBoundingClientRect(),this.$parent=o,this.elRenderer=l,this.render("loading",!1)}return k(t,[{key:"initState",value:function(){this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,n=t.loading,i=t.error,s=this.src;this.src=e,this.loading=n,this.error=i,this.filter(),s!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var t=this;u(this.options.filter).map(function(e){t.options.filter[e](t,t.options)})}},{key:"renderLoading",value:function(t){var e=this;g({src:this.loading},function(n){e.render("loading",!1),t()},function(n){t(),e.options.silent||console.warn("VueLazyload log: load failed with loading image("+e.loading+")")})}},{key:"load",value:function(){var t=this;return this.attempt>this.options.attempt-1&&this.state.error?void(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times")):this.state.loaded||C[this.src]?this.render("loaded",!0):void this.renderLoading(function(){t.attempt++,t.record("loadStart"),g({src:t.src},function(e){t.naturalHeight=e.naturalHeight,t.naturalWidth=e.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),C[t.src]=1},function(e){t.state.error=!0,t.state.loaded=!1,t.render("error",!1)})})}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),w=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),$="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",T=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],E={rootMargin:"0px",threshold:0},O=function(u){return function(){function c(t){var e=t.preLoad,n=t.error,i=t.throttleWait,s=t.preLoadTop,o=t.dispatchEvent,u=t.loading,d=t.attempt,f=t.silent,h=t.scale,m=t.listenEvents,_=(t.hasbind,t.filter),g=t.adapter,b=t.observer,y=t.observerOptions;l(this,c),this.version="1.1.4",this.mode=p.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:f||!0,dispatchEvent:!!o,throttleWait:i||200,preLoad:e||1.3,preLoadTop:s||0,error:n||$,loading:u||$,attempt:d||3,scale:h||v(h),ListenEvents:m||T,hasbind:!1,supportWebp:r(),filter:_||{},adapter:g||{},observer:!!b,observerOptions:y||E},this._initEvent(),this.lazyLoadHandler=a(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?p.observer:p.event)}return w(c,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map(function(e){t.push(e.performance())}),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),f&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(t,e,s){var r=this;if(n(this.ListenerQueue,function(e){return e.el===t}))return this.update(t,e),u.nextTick(this.lazyLoadHandler);var a=this._valueFormatter(e.value),o=a.src,c=a.loading,l=a.error;u.nextTick(function(){o=i(t,r.options.scale)||o,r._observer&&r._observer.observe(t);var n=Object.keys(e.modifiers)[0],a=void 0;n&&(a=s.context.$refs[n],a=a?a.$el||a:document.getElementById(n)),a||(a=x(t));var d=new S({bindType:e.arg,$parent:a,el:t,loading:c,error:l,src:o,elRenderer:r._elRenderer.bind(r),options:r.options});r.ListenerQueue.push(d),f&&(r._addListenerTarget(window),r._addListenerTarget(a)),r.lazyLoadHandler(),u.nextTick(function(){return r.lazyLoadHandler()})})}},{key:"update",value:function(t,e){var n=this,r=this._valueFormatter(e.value),a=r.src,o=r.loading,c=r.error;a=i(t,this.options.scale)||a;var l=s(this.ListenerQueue,function(e){return e.el===t});l&&l.update({src:a,loading:o,error:c}),this._observer&&this._observer.observe(t),this.lazyLoadHandler(),u.nextTick(function(){return n.lazyLoadHandler()})}},{key:"remove",value:function(e){if(e){this._observer&&this._observer.unobserve(e);var n=s(this.ListenerQueue,function(t){return t.el===e});n&&(this._removeListenerTarget(n.$parent),this._removeListenerTarget(window),t(this.ListenerQueue,n)&&n.destroy())}}},{key:"removeComponent",value:function(e){e&&(t(this.ListenerQueue,e),this._observer&&this._observer.unobserve(e.el),e.$parent&&e.$el.parentNode&&this._removeListenerTarget(e.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;h||t!==p.observer||(t=p.event),this.mode=t,t===p.event?(this._observer&&(this.ListenerQueue.forEach(function(t){e._observer.unobserve(t.el)}),this._observer=null),this.TargetQueue.forEach(function(t){e._initListen(t.el,!0)})):(this.TargetQueue.forEach(function(t){e._initListen(t.el,!1)}),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(t){if(t){var e=s(this.TargetQueue,function(e){return e.el===t});return e?e.childrenCount++:(e={el:t,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===p.event&&this._initListen(e.el,!0),this.TargetQueue.push(e)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(t){var e=this;this.TargetQueue.forEach(function(n,i){n.el===t&&(--n.childrenCount||(e._initListen(n.el,!1),e.TargetQueue.splice(i,1),n=null))})}},{key:"_initListen",value:function(t,e){var n=this;this.options.ListenEvents.forEach(function(i){return _[e?"on":"off"](t,i,n.lazyLoadHandler)})}},{key:"_initEvent",value:function(){var e=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(t,n){e.Event.listeners[t].push(n)},this.$once=function(t,n){function i(){s.$off(t,i),n.apply(s,arguments)}var s=e;e.$on(t,i)},this.$off=function(n,i){if(!i)return void(e.Event.listeners[n]=[]);t(e.Event.listeners[n],i)},this.$emit=function(t,n,i){e.Event.listeners[t].forEach(function(t){return t(n,i)})}}},{key:"_lazyLoadHandler",value:function(){var t=!1;this.ListenerQueue.forEach(function(e){e.state.loaded||(t=e.checkInView())&&e.load()})}},{key:"_initIntersectionObserver",value:function(){var t=this;h&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach(function(e){t._observer.observe(e.el)}))}},{key:"_observerHandler",value:function(t,e){var n=this;t.forEach(function(t){t.isIntersecting&&n.ListenerQueue.forEach(function(e){if(e.el===t.target){if(e.state.loaded)return n._observer.unobserve(e.el);e.load()}})})}},{key:"_elRenderer",value:function(t,e,n){if(t.el){var i=t.el,s=t.bindType,r=void 0;switch(e){case"loading":r=t.loading;break;case"error":r=t.error;break;default:r=t.src}if(s?i.style[s]="url("+r+")":i.getAttribute("src")!==r&&i.setAttribute("src",r),i.setAttribute("lazy",e),this.$emit(e,t,n),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var a=new CustomEvent(e,{detail:t});i.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(t){var e=t,n=this.options.loading,i=this.options.error;return o(t)&&(t.src||this.options.silent||console.error("Vue Lazyload warning: miss src with "+t),e=t.src,n=t.loading||this.options.loading,i=t.error||this.options.error),{src:e,loading:n,error:i}}}]),c}()},F=function(t){return{props:{tag:{type:String,default:"div"}},render:function(t){return!1===this.show?t(this.tag):t(this.tag,null,this.$slots.default)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),f&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}};return{install:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=O(t),s=new i(n),r="2"===t.version.split(".")[0];t.prototype.$Lazyload=s,n.lazyComponent&&t.component("lazy-component",F(s)),r?t.directive("lazy",{bind:s.add.bind(s),update:s.update.bind(s),componentUpdated:s.lazyLoadHandler.bind(s),unbind:s.remove.bind(s)}):t.directive("lazy",{bind:s.lazyLoadHandler.bind(s),update:function(t,n){e(this.vm.$refs,this.vm.$els),s.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:n},{context:this.vm})},unbind:function(){s.remove(this.el)}})}}})},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-nav-bar van-hairline--top-bottom",class:{"van-nav-bar--fixed":t.fixed}},[n("div",{staticClass:"van-nav-bar__left",on:{click:function(e){t.$emit("click-left")}}},[t._t("left",[t.leftArrow?n("icon",{staticClass:"van-nav-bar__arrow",attrs:{name:"arrow"}}):t._e(),t.leftText?n("span",{staticClass:"van-nav-bar__text",domProps:{textContent:t._s(t.leftText)}}):t._e()])],2),n("div",{staticClass:"van-nav-bar__title"},[t._t("title",[t._v(t._s(t.title))])],2),n("div",{staticClass:"van-nav-bar__right",on:{click:function(e){t.$emit("click-right")}}},[t._t("right",[t.rightText?n("span",{staticClass:"van-nav-bar__text",domProps:{textContent:t._s(t.rightText)}}):t._e()])],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.showNoticeBar,expression:"showNoticeBar"}],staticClass:"van-notice-bar",class:{"van-notice-bar--withicon":t.mode},style:t.barStyle,on:{click:function(e){t.$emit("click")}}},[t.leftIcon?n("div",{staticClass:"van-notice-bar__left-icon"},[n("img",{attrs:{src:t.leftIcon}})]):t._e(),n("div",{ref:"contentWrap",staticClass:"van-notice-bar__content-wrap"},[n("div",{ref:"content",staticClass:"van-notice-bar__content",class:t.animationClass,style:t.contentStyle,on:{animationend:t.onAnimationEnd,webkitAnimationEnd:t.onAnimationEnd}},[t._t("default",[t._v(t._s(t.text))])],2)]),t.iconName?n("icon",{staticClass:"van-notice-bar__right-icon",attrs:{name:t.iconName},on:{click:t.onClickIcon}}):t._e()],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.transition?"van-slide-bottom":""}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"van-number-keyboard",style:t.style,on:{touchstart:function(e){e.stopPropagation(),e.preventDefault(),t.focus(e)},touchmove:t.blurKey,touchend:t.blurKey,touchcancel:t.blurKey,animationend:t.onAnimationEnd,webkitAnimationEnd:t.onAnimationEnd}},[t.title||t.closeButtonText?n("div",{staticClass:"van-number-keyboard__title van-hairline--top"},[n("span",[t._v(t._s(t.title))]),n("span",{staticClass:"van-number-keyboard__close",domProps:{textContent:t._s(t.closeButtonText)},on:{click:t.blurKeyboard}})]):t._e(),t._l(t.keys,function(e,i){return n("i",{staticClass:"van-hairline",class:{"van-number-keyboard--active":i===t.active,"van-number-keyboard__delete":11===i&&t.showDeleteKey},attrs:{"data-key":i},domProps:{textContent:t._s(e)}})})],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"van-pagination",class:{"van-pagination-simple":!t.isMultiMode}},[n("li",{staticClass:"van-pagination__item van-pagination__prev van-hairline",class:{"van-pagination--disabled":1===t.value},on:{click:function(e){t.selectPage(t.value-1)}}},[t._v("\n "+t._s(t.prevText||t.$t("prev"))+"\n ")]),t._l(t.pages,function(e,i){return t.isMultiMode?n("li",{key:i,staticClass:"van-pagination__item van-pagination__page van-hairline",class:{"van-pagination--active":e.active},on:{click:function(n){t.selectPage(e.number)}}},[t._v("\n "+t._s(e.text)+"\n ")]):t._e()}),t.isMultiMode?t._e():n("li",{staticClass:"van-pagination__page-desc"},[t._t("pageDesc",[t._v(t._s(t.pageDesc))])],2),n("li",{staticClass:"van-pagination__item van-pagination__next van-hairline",class:{"van-pagination--disabled":t.value===t.computedPageCount},on:{click:function(e){t.selectPage(t.value+1)}}},[t._v("\n "+t._s(t.nextText||t.$t("next"))+"\n ")])],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-panel van-hairline--top-bottom"},[n("div",{staticClass:"van-panel__header van-hairline--bottom"},[t._t("header",[n("div",{staticClass:"van-panel__title",domProps:{textContent:t._s(t.title)}}),t.desc?n("span",{staticClass:"van-panel__desc",domProps:{textContent:t._s(t.desc)}}):t._e(),t.status?n("span",{staticClass:"van-panel__status",domProps:{textContent:t._s(t.status)}}):t._e()])],2),n("div",{staticClass:"van-panel__content"},[t._t("default")],2),t.$slots.footer?n("div",{staticClass:"van-panel__footer van-hairline--top"},[t._t("footer")],2):t._e()])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-password-input"},[n("ul",{staticClass:"van-password-input__security van-hairline--surround",on:{touchstart:function(e){e.stopPropagation(),t.$emit("focus")}}},t._l(t.points,function(t){return n("li",{staticClass:"van-hairline"},[n("i",{style:"visibility: "+t})])})),t.errorInfo||t.info?n("div",{class:t.errorInfo?"van-password-input__error-info":"van-password-input__info",domProps:{textContent:t._s(t.errorInfo||t.info)}}):t._e()])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-progress"},[n("span",{staticClass:"van-progress__portion",style:t.portionStyle}),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showPivot,expression:"showPivot"}],staticClass:"van-progress__pivot",style:t.pivotStyle},[t._v(t._s(t.pivotText))])])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-pull-refresh"},[n("div",{staticClass:"van-pull-refresh__track",style:t.style,on:{touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd,touchcancel:t.onTouchEnd}},[n("div",{staticClass:"van-pull-refresh__head"},["normal"===t.status?t._t("normal"):t._e(),"pulling"===t.status?t._t("pulling",[n("span",{staticClass:"van-pull-refresh__text"},[t._v(t._s(t.pullingText||t.$t("pullingText")))])]):t._e(),"loosing"===t.status?t._t("loosing",[n("span",{staticClass:"van-pull-refresh__text"},[t._v(t._s(t.loosingText||t.$t("loosingText")))])]):t._e(),"loading"===t.status?t._t("loading",[n("div",{staticClass:"van-pull-refresh__loading"},[n("loading"),n("span",[t._v(t._s(t.loadingText||t.$t("loadingText")))])],1)]):t._e()],2),t._t("default")],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-row",style:t.style},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-search",class:{"van-search--show-action":t.showAction},style:{"background-color":t.background}},[n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.onClickoutside,expression:"onClickoutside"}],staticClass:"van-search__input-wrap"},[n("icon",{attrs:{name:"search"}}),n("input",t._g(t._b({directives:[{name:"refocus",rawName:"v-refocus",value:t.focusStatus,expression:"focusStatus"}],staticClass:"van-search__input",attrs:{type:"search"},domProps:{value:t.value}},"input",t.$attrs,!1),t.listeners)),n("icon",{directives:[{name:"show",rawName:"v-show",value:t.isFocus&&t.value,expression:"isFocus && value"}],attrs:{name:"clear"},on:{click:t.onClean}})],1),t.showAction?n("div",{staticClass:"van-search__action"},[t._t("action",[n("div",{staticClass:"van-search__action-text",on:{click:t.onBack}},[t._v(t._s(t.$t("cancel")))])])],2):t._e()])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-sku-actions"},[t.showAddCartBtn?n("van-button",{attrs:{bottomAction:""},on:{click:t.onAddCartClicked}},[t._v(t._s(t.$t("cart")))]):t._e(),n("van-button",{attrs:{type:"primary",bottomAction:""},on:{click:t.onBuyClicked}},[t._v(t._s(t.buyText||t.$t("buy")))])],1)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-sku-header van-hairline--bottom"},[n("div",{staticClass:"van-sku-header__img-wrap"},[n("img",{staticClass:"van-sku__goods-img",attrs:{src:t.goodsImg}})]),n("div",{staticClass:"van-sku-header__goods-info"},[n("div",{staticClass:"van-sku__goods-name"},[t._v(t._s(t.goods.title))]),n("div",{staticClass:"van-sku__goods-price"},[n("span",{staticClass:"van-sku__price-symbol"},[t._v("¥")]),n("span",{staticClass:"van-sku__price-num"},[t._v(t._s(t.price))])]),n("span",{staticClass:"van-sku__close-icon",on:{click:t.onCloseClicked}})])])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell-group",{staticClass:"van-sku-messages"},[t._l(t.internalMessages,function(e,i){return["image"===e.type?void 0:"1"==e.multiple?n("field",{key:t.goodsId+"-"+i,attrs:{required:"1"==e.required,label:e.name,placeholder:t.getPlaceholder("textarea"),type:"textarea"},model:{value:t.messageValues[i],callback:function(e){t.$set(t.messageValues,i,e)},expression:"messageValues[index]"}}):n("field",{key:t.goodsId+"-"+i,attrs:{required:"1"==e.required,label:e.name,placeholder:t.getPlaceholder(e.type),type:t.getType(e)},model:{value:t.messageValues[i],callback:function(e){t.$set(t.messageValues,i,e)},expression:"messageValues[index]"}})]})],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e,n){t.exports={default:n(164),__esModule:!0}},function(t,e,n){n(165),t.exports=n(3).Number.isNaN},function(t,e,n){var i=n(5);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-stepper",class:{"van-stepper--disabled":t.disabled}},[n("button",{staticClass:"van-stepper__stepper van-stepper__minus",class:{"van-stepper__minus--disabled":t.isMinusDisabled},on:{click:function(e){t.onChange("minus")}}}),n("input",{staticClass:"van-stepper__input",attrs:{type:"number",disabled:t.disabled||t.disableInput},domProps:{value:t.currentValue},on:{input:t.onInput}}),n("button",{staticClass:"van-stepper__stepper van-stepper__plus",class:{"van-stepper__plus--disabled":t.isPlusDisabled},on:{click:function(e){t.onChange("plus")}}})])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-sku-stepper-stock"},[n("div",{staticClass:"van-sku-stepper-container"},[n("div",{staticClass:"van-sku__stepper-title"},[t._v(t._s(t.stepperTitle||t.$t("title"))+":")]),n("stepper",{staticClass:"van-sku__stepper",attrs:{min:1,max:t.stepperLimit,disableInput:t.disableStepperInput},on:{overlimit:t.handleOverLimit},model:{value:t.currentNum,callback:function(e){t.currentNum=e},expression:"currentNum"}})],1),t.hideStock?t._e():n("div",{staticClass:"van-sku__stock"},[t._v(t._s(t.$t("remain",t.stock)))]),t.quota>0?n("div",{staticClass:"van-sku__quota"},[t._v(t._s(t.$t("quota",t.quota)))]):t._e()])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-sku-row"},[n("div",{staticClass:"van-sku-row__title"},[t._v(t._s(t.skuRow.k)+":")]),n("div",{staticClass:"van-sku-row__items"},[t._t("default")],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isChoosable?n("span",{staticClass:"van-sku-row__item",class:{"van-sku-row__item--active":t.isChoosed},on:{click:t.onSkuSelected}},[t._v("\n "+t._s(t.skuValue.name)+"\n")]):n("span",{staticClass:"van-sku-row__item van-sku-row__item--disabled"},[t._v(t._s(t.skuValue.name))])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isSkuEmpty?t._e():n("popup",{attrs:{position:"bottom",lockOnScroll:"",preventScroll:""},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[n("div",{staticClass:"van-sku-container"},[n("div",{staticClass:"van-sku-layout"},[t._t("sku-header",[n("sku-header",{attrs:{skuEventBus:t.skuEventBus,selectedSku:t.selectedSku,selectedSkuComb:t.selectedSkuComb,goods:t.goods,sku:t.sku}})],{skuEventBus:t.skuEventBus,selectedSku:t.selectedSku,selectedSkuComb:t.selectedSkuComb}),n("div",{staticClass:"van-sku-body scroller",style:t.bodyStyle},[t._t("sku-group",[t.hasSku?n("div",{staticClass:"van-sku-group-container van-hairline--bottom"},t._l(t.skuTree,function(e,i){return n("div",{key:i,staticClass:"van-sku-row-group"},[n("sku-row",{attrs:{skuEventBus:t.skuEventBus,skuRow:e}},t._l(e.v,function(i,s){return n("sku-row-item",{key:s,attrs:{skuKeyStr:e.k_s,skuValue:i,skuEventBus:t.skuEventBus,selectedSku:t.selectedSku,skuList:t.sku.list}})}))],1)})):t._e()],{selectedSku:t.selectedSku,skuEventBus:t.skuEventBus}),t._t("extra-sku-group",null,{skuEventBus:t.skuEventBus}),t._t("sku-stepper",[n("sku-stepper",{ref:"skuStepper",attrs:{skuEventBus:t.skuEventBus,selectedSku:t.selectedSku,selectedSkuComb:t.selectedSkuComb,selectedNum:t.selectedNum,stepperTitle:t.stepperTitle,skuStockNum:t.sku.stock_num,quota:t.quota,quotaUsed:t.quotaUsed,disableStepperInput:t.disableStepperInput,hideStock:t.hideStock}})],{skuEventBus:t.skuEventBus,selectedSku:t.selectedSku,selectedSkuComb:t.selectedSkuComb,selectedNum:t.selectedNum}),t._t("sku-messages",[n("sku-messages",{ref:"skuMessages",attrs:{goodsId:t.goodsId,messagePlaceholderMap:t.messagePlaceholderMap,messages:t.sku.messages}})])],2),t._t("sku-actions",[n("sku-actions",{attrs:{skuEventBus:t.skuEventBus,buyText:t.buyText,showAddCartBtn:t.showAddCartBtn}})],{skuEventBus:t.skuEventBus})],2)])])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-step van-hairline",class:["van-step--"+t.$parent.direction,(i={},i["van-step--"+t.status]=t.status,i)]},[n("div",{staticClass:"van-step__circle-container"},["process"!==t.status?n("i",{staticClass:"van-step__circle"}):n("icon",{style:{color:t.$parent.activeColor},attrs:{name:"checked"}})],1),n("div",{staticClass:"van-step__title",style:t.titleStyle},[t._t("default")],2),n("div",{staticClass:"van-step__line"})]);var i},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-steps",class:"van-steps--"+t.direction},[t.title||t.description?n("div",{staticClass:"van-steps__status"},[t.icon||t.$slots.icon?n("div",{staticClass:"van-steps__icon"},[t._t("icon",[n("icon",{class:t.iconClass,attrs:{name:t.icon}})])],2):t._e(),n("div",{staticClass:"van-steps__message"},[n("div",{staticClass:"van-steps__title",domProps:{textContent:t._s(t.title)}}),n("div",{staticClass:"van-steps__desc",domProps:{textContent:t._s(t.description)}})]),t._t("message-extra")],2):t._e(),n("div",{staticClass:"van-steps__items",class:{"van-steps__items--alone":!t.title&&!t.description}},[t._t("default")],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-submit-bar"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.tip||t.$slots.tip,expression:"tip || $slots.tip"}],staticClass:"van-submit-bar__tip"},[t._v("\n "+t._s(t.tip)),t._t("tip")],2),n("div",{staticClass:"van-submit-bar__bar"},[t._t("default"),n("div",{staticClass:"van-submit-bar__price"},[t.hasPrice?[n("span",{staticClass:"van-submit-bar__price-text"},[t._v(t._s(t.label||t.$t("label")))]),n("span",{staticClass:"van-submit-bar__price-interger"},[t._v("¥"+t._s(t.priceInterger)+".")]),n("span",{staticClass:"van-submit-bar__price-decimal"},[t._v(t._s(t.priceDecimal))])]:t._e()],2),n("van-button",{attrs:{type:t.buttonType,disabled:t.disabled,loading:t.loading},on:{click:t.onSubmit}},[t._v("\n "+t._s(t.loading?"":t.buttonText)+"\n ")])],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-tab__pane",class:{"van-tab__pane--select":t.index===t.parentGroup.curActive}},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"van-tabbar van-hairline--top-bottom",class:{"van-tabbar--fixed":t.fixed}},[t._t("default")],2)},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-tabbar-item",class:{"van-tabbar-item--active":t.active},on:{click:t.onClick}},[n("div",{staticClass:"van-tabbar-item__icon",class:{"van-tabbar-item__icon-dot":t.dot}},[t._t("icon",[t.icon?n("icon",{attrs:{name:t.icon}}):t._e()],{active:t.active}),t.info?n("div",{staticClass:"van-icon__info"},[t._v(t._s(t.info))]):t._e()],2),n("div",{staticClass:"van-tabbar-item__text"},[t._t("default",null,{active:t.active})],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e,n){"use strict";(function(t){function i(t){var e=Date.now(),n=Math.max(0,16-(e-a)),i=setTimeout(t,n);return a=e+n,i}function s(t){return u.call(o,t)}e.a=s;var r=n(1),a=Date.now(),o=r.f?t:window,u=o.requestAnimationFrame||o.webkitRequestAnimationFrame||i;o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.clearTimeout}).call(e,n(178))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-tabs",class:["van-tabs--"+t.type]},[n("div",{staticClass:"van-tabs__wrap",class:["van-tabs__wrap--"+t.position,{"van-tabs--scrollable":t.scrollable,"van-hairline--top-bottom":"line"===t.type}]},[n("div",{ref:"nav",staticClass:"van-tabs__nav",class:"van-tabs__nav--"+t.type},["line"===t.type?n("div",{staticClass:"van-tabs__nav-bar",style:t.navBarStyle}):t._e(),t._l(t.tabs,function(e,i){return n("div",{key:i,ref:"tabs",refInFor:!0,staticClass:"van-tab",class:{"van-tab--active":i===t.curActive,"van-tab--disabled":e.disabled},on:{click:function(e){t.onClick(i)}}},[n("span",[t._v(t._s(e.title))])])})],2)]),n("div",{staticClass:"van-tabs__content"},[t._t("default")],2)])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",{staticClass:"van-tag van-hairline--surround",class:(n={"van-tag--plain":t.plain,"van-tag--mark":t.mark},n["van-tag--"+t.type]=t.type,n)},[t._t("default")],2);var n},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-tree-select",style:{height:t.mainHeight+"px"}},[n("div",{staticClass:"van-tree-select__nav"},t._l(t.items,function(e,i){return n("div",{staticClass:"van-tree-select__nitem",class:{"van-tree-select__nitem--active":t.mainActiveIndex===i},on:{click:function(e){t.$emit("navclick",i)}}},[t._v("\n "+t._s(e.text)+"\n ")])})),n("div",{staticClass:"van-tree-select__content",style:{height:t.itemHeight+"px"}},t._l(t.subItems,function(e){return n("div",{key:e.id,staticClass:"van-tree-select__item",class:{"van-tree-select__item--active":t.activeId===e.id},on:{click:function(n){t.onItemSelect(e)}}},[t._v("\n "+t._s(e.text)+"\n "),t.activeId===e.id?n("icon",{staticClass:"van-tree-select__selected",attrs:{name:"success"}}):t._e()],1)}))])},i=[];t.exports={render:n,staticRenderFns:i}},function(t,e){var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"van-uploader"},[t._t("default"),n("input",t._b({ref:"input",staticClass:"van-uploader__input",attrs:{type:"file",disabled:t.disabled},on:{change:t.onValueChange}},"input",t.$attrs,!1))],2)},i=[];t.exports={render:n,staticRenderFns:i}}])});
|