{"version":3,"sources":["webpack:///./src/assets/imgs/banner5.png","webpack:///./node_modules/vant/es/utils/deep-clone.js","webpack:///./src/assets/imgs/banner7.png","webpack:///./src/views/index/index.vue?f628","webpack:///./node_modules/vant/es/notice-bar/index.js","webpack:///./node_modules/vant/es/picker/shared.js","webpack:///./node_modules/vant/es/picker/PickerColumn.js","webpack:///./node_modules/vant/es/picker/index.js","webpack:///src/views/index/index.vue","webpack:///./src/views/index/index.vue?d174","webpack:///./src/views/index/index.vue","webpack:///./node_modules/vant/es/utils/router.js","webpack:///./src/assets/imgs/banner10.png","webpack:///./node_modules/vant/es/button/style/index.js","webpack:///./node_modules/vant/es/utils/constant.js","webpack:///./src/assets/imgs/banner9.png","webpack:///./node_modules/vant/es/button/index.js","webpack:///./src/assets/imgs/banner8.png","webpack:///./src/assets/imgs/banner6.png"],"names":["module","exports","deepClone","obj","Array","isArray","map","item","to","Object","keys","forEach","key","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_s","$t","on","$event","toPath","_l","i","toCategoryDetail","Img","categoryUrl","Name","class","showOrder","bannerlist","length","bannerPrev","_e","ref","touchable","showBottom","bannerNext","directives","name","rawName","value","expression","url","_m","classify","index","btn","goodsList","refInFor","toMore","staticRenderFns","_createNamespace","create","createComponent","bem","mixins","bind","window","start","inject","vanPopup","default","props","text","String","mode","color","leftIcon","wrapable","Boolean","background","scrollable","type","delay","Number","speed","data","show","offset","duration","wrapWidth","contentWidth","watch","handler","immediate","created","_this","onReopen","activated","methods","onClickIcon","event","$emit","onTransitionEnd","_this2","raf","reset","_this3","clearTimeout","startTimer","setTimeout","_this3$$refs","$refs","wrap","content","getBoundingClientRect","width","render","_this4","h","arguments","slots","barStyle","contentStyle","transform","transitionDuration","LeftIcon","slot","RightIcon","iconName","DEFAULT_ITEM_HEIGHT","pickerProps","title","loading","readonly","itemHeight","showToolbar","cancelButtonText","confirmButtonText","allowHtml","visibleItemCount","swipeDuration","DEFAULT_DURATION","MOMENTUM_LIMIT_TIME","MOMENTUM_LIMIT_DISTANCE","getElementTranslateY","element","style","getComputedStyle","webkitTransform","translateY","slice","split","isOptionDisabled","option","disabled","valueKey","className","defaultIndex","initialOptions","options","currentIndex","$parent","children","push","setIndex","mounted","bindTouchEvent","$el","destroyed","splice","indexOf","val","computed","count","baseOffset","setOptions","JSON","stringify","onTouchStart","touchStart","moving","wrapper","Math","min","startOffset","transitionEndTrigger","touchStartTime","Date","now","momentumOffset","onTouchMove","touchMove","direction","deltaY","onTouchEnd","distance","allowMomentum","abs","momentum","getIndexByOffset","stopMomentum","onClickItem","adjustIndex","_i","getOptionText","emitChange","trigger","setValue","getValue","round","genOptions","optionStyle","height","_domProps","role","tabindex","selected","click","childData","domProps","wrapperStyle","transitionProperty","t","columns","toolbarPosition","formattedColumns","itemPxHeight","unit","dataType","firstColumn","values","format","formatCascade","formatted","cursor","_cursor$defaultIndex","_cursor","emit","getColumnValue","getColumnIndex","getValues","getIndexes","onCascadeChange","columnIndex","indexes","setColumnValues","onChange","getColumn","column","setColumnValue","setColumnIndex","optionIndex","getColumnValues","child","setValues","setIndexes","confirm","cancel","genTitle","titleSlot","genCancel","genConfirm","genToolbar","genColumns","wrapHeight","frameStyle","columnsStyle","maskStyle","backgroundSize","genColumnItems","_this5","_item$defaultIndex","PickerColumn","$scopedSlots","components","goodsListBar","Button","Picker","Popup","NoticeBar","Swipe","SwipeItem","Icon","dealGoodsList","bannerList2","bannerList3","fastGoodsList","topCompanyList","bestGoodsList","classifyList","classifyList2","categoryList","categoryLis2","appName","$store","state","isLogin","categoryListBak","init","f","append","console","log","allCategory","initGoods","form","id","res","code","v","path","$router","isList","prev","next","query","ID","component","isRedundantNavigation","err","message","route","router","config","replace","promise","catch","location","href","functionalRoute","context","parent","routeProps","BORDER","BORDER_TOP","BORDER_LEFT","BORDER_BOTTOM","BORDER_SURROUND","BORDER_UNSET_TOP_BOTTOM","ctx","_ref","tag","icon","plain","hairline","loadingText","iconPosition","onClick","preventDefault","onTouchstart","border","borderColor","classes","size","block","square","renderIcon","loadingSize","loadingType","iconPrefix","renderContent","nativeType"],"mappings":"mGAAAA,EAAOC,QAAU,IAA0B,4B,oCCA3C,kDACO,SAASC,EAAUC,GACxB,IAAK,eAAMA,GACT,OAAOA,EAGT,GAAIC,MAAMC,QAAQF,GAChB,OAAOA,EAAIG,KAAI,SAAUC,GACvB,OAAOL,EAAUK,MAIrB,GAAmB,kBAARJ,EAAkB,CAC3B,IAAIK,EAAK,GAIT,OAHAC,OAAOC,KAAKP,GAAKQ,SAAQ,SAAUC,GACjCJ,EAAGI,GAAOV,EAAUC,EAAIS,OAEnBJ,EAGT,OAAOL,I,qBCpBTH,EAAOC,QAAU,IAA0B,4B,2CCA3C,IAAI,EAAS,WAAa,IAAIY,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,8BAA8B,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,MAAM,CAACE,YAAY,oCAAoC,CAACF,EAAG,MAAM,CAACE,YAAY,8CAA8C,CAACF,EAAG,MAAM,CAACE,YAAY,+CAA+CC,MAAM,CAAC,GAAK,qBAAqB,CAACH,EAAG,MAAM,CAACE,YAAY,8EAA8E,CAACF,EAAG,OAAO,CAACE,YAAY,qBAAqB,CAACN,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,GAAG,eAAeN,EAAG,IAAI,CAACE,YAAY,aAAaK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,OAAO,eAAe,CAACT,EAAG,OAAO,CAACE,YAAY,4BAA4B,CAACN,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,GAAG,oBAAoB,YAAYN,EAAG,KAAK,CAACE,YAAY,6DAA6DN,EAAIc,GAAId,EAAgB,cAAE,SAASN,EAAKqB,GAAG,OAAOX,EAAG,KAAK,CAACL,IAAIgB,EAAET,YAAY,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,KAAMR,OACNH,QAAS,QAEXoR,aAAc,CACZzQ,KAAMR,OACNH,QAAS,UAGE,OAAAR,EAAA,I,4CCpLf3D,EAAOC,QAAU,IAA0B,4B,qBCA3CD,EAAOC,QAAU,IAA0B","file":"js/chunk-2e16c97e.c232b424.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/banner5.c581a2a0.png\";","import { isDef } from './index';\nexport function deepClone(obj) {\n if (!isDef(obj)) {\n return obj;\n }\n\n if (Array.isArray(obj)) {\n return obj.map(function (item) {\n return deepClone(item);\n });\n }\n\n if (typeof obj === 'object') {\n var to = {};\n Object.keys(obj).forEach(function (key) {\n to[key] = deepClone(obj[key]);\n });\n return to;\n }\n\n return obj;\n}","module.exports = __webpack_public_path__ + \"img/banner7.ef8bea09.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"home-banner-area mb-4 pt-3\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row gutters-10 position-relative\"},[_c('div',{staticClass:\"col-lg-3 position-static d-none d-lg-block\"},[_c('div',{staticClass:\"aiz-category-menu bg-white rounded shadow-sm\",attrs:{\"id\":\"category-sidebar\"}},[_c('div',{staticClass:\"p-3 d-none d-lg-block rounded-top all-category position-relative text-left\"},[_c('span',{staticClass:\"fw-600 fs-16 mr-3\"},[_vm._v(_vm._s(_vm.$t('lei-bie')))]),_c('a',{staticClass:\"text-reset\",on:{\"click\":function($event){return _vm.toPath('category')}}},[_c('span',{staticClass:\"d-none d-lg-inline-block\"},[_vm._v(_vm._s(_vm.$t('kan-dao-suo-you'))+\" >\")])])]),_c('ul',{staticClass:\"list-unstyled categories no-scrollbar py-2 mb-0 text-left\"},_vm._l((_vm.categoryLis2),function(item,i){return _c('li',{key:i,staticClass:\"category-nav-element\",on:{\"click\":function($event){return _vm.toCategoryDetail(item)}}},[_c('a',{staticClass:\"text-truncate text-reset py-2 px-3 d-block\"},[_c('img',{staticClass:\"cat-image lazyload mr-2 opacity-60\",attrs:{\"src\":item.Img ? (\"\" + (item.Img)) : _vm.categoryUrl,\"width\":\"16\"}}),_c('span',{staticClass:\"cat-name\"},[_vm._v(_vm._s(item.Name))])])])}),0)])]),_c('div',{class:_vm.showOrder ? 'col-lg-7' : 'col-lg-9'},[_c('div',{staticClass:\"aiz-carousel dots-inside-bottom mobile-img-auto-height slick-initialized slick-slider slick-dotted\"},[(_vm.bannerlist.length > 1)?_c('button',{staticClass:\"slick-prev slick-arrow\",attrs:{\"type\":\"button\",\"aria-disabled\":\"false\"},on:{\"click\":function($event){return _vm.bannerPrev('banner')}}},[_c('i',{staticClass:\"las la-angle-left\"})]):_vm._e(),_c('Swipe',{ref:\"banner\",staticClass:\"home-banner\",attrs:{\"autoplay\":3000,\"touchable\":_vm.touchable,\"indicator-color\":\"#e62e04\"}},_vm._l((_vm.bannerlist),function(item,i){return _c('SwipeItem',{key:i},[_c('div',{staticClass:\"aiz-carousel dots-inside-bottom mobile-img-auto-height\",attrs:{\"data-arrows\":\"true\",\"data-dots\":\"true\",\"data-autoplay\":\"true\"}},[_c('div',{staticClass:\"carousel-box\"},[_c('a',[_c('img',{staticClass:\"d-block mw-100 img-fit rounded shadow-sm overflow-hidden\",attrs:{\"src\":(\"\" + (item.Img)),\"height\":_vm.showBottom ? 315 : 457}})])])])])}),1),(_vm.bannerlist.length > 1)?_c('button',{staticClass:\"slick-next slick-arrow slick-disabled\",attrs:{\"type\":\"button\",\"aria-disabled\":\"true\"},on:{\"click\":function($event){return _vm.bannerNext('banner')}}},[_c('i',{staticClass:\"las la-angle-right\"})]):_vm._e()],1),_c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showBottom),expression:\"showBottom\"}],staticClass:\"list-unstyled mb-0 row gutters-5\"},_vm._l((_vm.categoryLis2),function(item,i){return _c('li',{key:i,staticClass:\"minw-0 col-4 col-md mt-3\",on:{\"click\":function($event){return _vm.toCategoryDetail(item)}}},[_c('a',{staticClass:\"d-block rounded bg-white p-2 text-reset shadow-sm\"},[_c('img',{staticClass:\"lazyload img-fit\",attrs:{\"src\":item.Img ? (\"\" + (item.Img)) : _vm.categoryUrl,\"height\":\"78\"}}),_c('div',{staticClass:\"text-truncate fs-12 fw-600 mt-2 opacity-70\"},[_vm._v(_vm._s(item.Name))])])])}),0)]),(_vm.showOrder)?_c('div',{staticClass:\"col-lg-2 order-3 mt-3 mt-lg-0\"},[_c('div',{staticClass:\"bg-white rounded shadow-sm\"},[_c('div',{staticClass:\" rounded-top p-3 d-flex align-items-center justify-content-center\"},[_c('span',{staticClass:\"fw-600 fs-16 mr-2 text-truncate\"},[_vm._v(\" \"+_vm._s(_vm.$t('jin-ri-jiao-yi'))+\" \")]),_c('span',{staticClass:\"badge badge-primary badge-inline\"},[_vm._v(_vm._s(_vm.$t('re-men')))])]),_c('div',{staticClass:\"c-scrollbar-light overflow-auto h-lg-400px p-2 bg-primary rounded-bottom\"},[_c('div',{staticClass:\"gutters-5 lg-no-gutters row row-cols-2 row-cols-lg-1\"},_vm._l((_vm.dealGoodsList),function(item,i){return _c('div',{key:i,staticClass:\"col mb-2\"},[_c('a',{staticClass:\"d-block p-2 text-reset bg-white h-100 rounded\"},[_c('div',{staticClass:\"row gutters-5 align-items-center\"},[_c('div',{staticClass:\"col-xxl\"},[_c('div',{staticClass:\"img\"},[_c('img',{staticClass:\"lazyload img-fit h-140px h-lg-80px\",attrs:{\"src\":item.url}})])]),_vm._m(0,true)])])])}),0)])])]):_vm._e()])])]),_vm._l((_vm.classifyList),function(classify,index){return _c('section',{key:index,staticClass:\"mb-4\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"px-2 py-4 px-md-4 py-md-3 bg-white shadow-sm rounded\"},[_c('div',{staticClass:\"d-flex flex-wrap mb-3 align-items-baseline border-bottom\"},[_c('h3',{staticClass:\"h5 fw-700 mb-0\"},[_c('span',{staticClass:\"border-bottom border-primary border-width-2 pb-3 d-inline-block\"},[_vm._v(_vm._s(classify.name))])]),(classify.btn)?_c('a',{staticClass:\"ml-auto mr-0 btn btn-primary btn-sm shadow-md w-100 w-md-auto\",attrs:{\"href\":\"javascript:void(0)\"}},[_vm._v(_vm._s(classify.btn))]):_vm._e()]),_c('div',{staticClass:\"aiz-carousel gutters-10 half-outside-arrow slick-initialized slick-slider\"},[(classify.goodsList.length > 1)?_c('button',{staticClass:\"slick-prev slick-arrow\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.bannerPrev(classify.key, true)}}},[_c('i',{staticClass:\"las la-angle-left\"})]):_vm._e(),_c('Swipe',{ref:classify.key,refInFor:true,attrs:{\"touchable\":_vm.touchable,\"width\":224,\"show-indicators\":false,\"loop\":false}},_vm._l((classify.goodsList),function(item,i){return _c('SwipeItem',{key:i},[_c('goodsListBar',{attrs:{\"goodsInfo\":item}})],1)}),1),(classify.goodsList.length > 1)?_c('button',{staticClass:\"slick-next slick-arrow\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.bannerNext(classify.key, true)}}},[_c('i',{staticClass:\"las la-angle-right\"})]):_vm._e()],1)])])])}),_vm._l((_vm.classifyList2),function(classify,index){return _c('section',{key:(\"list2-\" + index),staticClass:\"mb-4\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"px-2 py-4 px-md-4 py-md-3 bg-white shadow-sm rounded\"},[_c('div',{staticClass:\"d-flex flex-wrap mb-3 align-items-baseline border-bottom\"},[_c('h3',{staticClass:\"h5 fw-700 mb-0\"},[_c('span',{staticClass:\"border-bottom border-primary border-width-2 pb-3 d-inline-block\"},[_vm._v(_vm._s(classify.name))])]),_c('a',{staticClass:\"ml-auto mr-0 btn btn-primary btn-sm shadow-md w-100 w-md-auto\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.toMore(classify)}}},[_vm._v(_vm._s(_vm.$t('cha-kan-geng-duo')))])]),_c('div',{staticClass:\"aiz-carousel gutters-10 half-outside-arrow slick-initialized slick-slider\"},[(classify.goodsList.length > 1)?_c('button',{staticClass:\"slick-prev slick-arrow\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.bannerPrev(classify.key, true)}}},[_c('i',{staticClass:\"las la-angle-left\"})]):_vm._e(),_c('Swipe',{ref:classify.key,refInFor:true,attrs:{\"touchable\":_vm.touchable,\"width\":224,\"show-indicators\":false,\"loop\":false}},_vm._l((classify.goodsList),function(item,i){return _c('SwipeItem',{key:i},[_c('goodsListBar',{attrs:{\"goodsInfo\":item}})],1)}),1),(classify.goodsList.length > 1)?_c('button',{staticClass:\"slick-next slick-arrow\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.bannerNext(classify.key, true)}}},[_c('i',{staticClass:\"las la-angle-right\"})]):_vm._e()],1)])])])}),_c('section',{staticClass:\"mb-4\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row gutters-10\"},[_c('div',{staticClass:\"col-lg-12\"},[_c('div',{staticClass:\"d-flex mb-3 align-items-baseline border-bottom\"},[_c('h3',{staticClass:\"h5 fw-700 mb-0\"},[_c('span',{staticClass:\"border-bottom border-primary border-width-2 pb-3 d-inline-block\"},[_vm._v(_vm._s(_vm.$t('qian-10-ming-lei-bie')))])]),_c('a',{staticClass:\"ml-auto mr-0 btn btn-primary btn-sm shadow-md\",attrs:{\"href\":\"javascript: void(0)\"}},[_vm._v(_vm._s(_vm.$t('cha-kan-suo-you-lei-bie')))])]),_c('div',{staticClass:\"row gutters-5\"},_vm._l((_vm.categoryList),function(item,i){return _c('div',{key:i,staticClass:\"col-sm-6\",on:{\"click\":function($event){return _vm.toCategoryDetail(item)}}},[_c('a',{staticClass:\"bg-white border d-block text-reset rounded p-2 hov-shadow-md mb-2\"},[_c('div',{staticClass:\"row align-items-center no-gutters\"},[_c('div',{staticClass:\"col-3 text-center\"},[_c('img',{staticClass:\"img-fluid img lazyload h-60px\",attrs:{\"src\":item.Img || _vm.categoryUrl}})]),_c('div',{staticClass:\"col-7\"},[_c('div',{staticClass:\"text-truncat-2 pl-3 fs-14 fw-600 text-left\"},[_vm._v(_vm._s(item.Name))])]),_vm._m(1,true)])])])}),0)])])])])],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col-xxl\"},[_c('div',{staticClass:\"fs-16\"},[_c('span',{staticClass:\"d-block text-primary fw-600\"},[_vm._v(\"500\")]),_c('del',{staticClass:\"d-block opacity-70\"},[_vm._v(\"520\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col-2 text-center\"},[_c('i',{staticClass:\"la la-angle-right text-primary\"})])}]\n\nexport { render, staticRenderFns }","import { createNamespace, isDef } from '../utils';\nimport { doubleRaf, raf } from '../utils/dom/raf';\nimport { BindEventMixin } from '../mixins/bind-event';\nimport Icon from '../icon';\n\nvar _createNamespace = createNamespace('notice-bar'),\n createComponent = _createNamespace[0],\n bem = _createNamespace[1];\n\nexport default createComponent({\n mixins: [BindEventMixin(function (bind) {\n // fix cache issues with forwards and back history in safari\n // see: https://guwii.com/cache-issues-with-forwards-and-back-history-in-safari/\n bind(window, 'pageshow', this.start);\n })],\n inject: {\n vanPopup: {\n default: null\n }\n },\n props: {\n text: String,\n mode: String,\n color: String,\n leftIcon: String,\n wrapable: Boolean,\n background: String,\n scrollable: {\n type: Boolean,\n default: null\n },\n delay: {\n type: [Number, String],\n default: 1\n },\n speed: {\n type: [Number, String],\n default: 60\n }\n },\n data: function data() {\n return {\n show: true,\n offset: 0,\n duration: 0,\n wrapWidth: 0,\n contentWidth: 0\n };\n },\n watch: {\n scrollable: 'start',\n text: {\n handler: 'start',\n immediate: true\n }\n },\n created: function created() {\n var _this = this;\n\n // https://github.com/youzan/vant/issues/8634\n if (this.vanPopup) {\n this.vanPopup.onReopen(function () {\n _this.start();\n });\n }\n },\n activated: function activated() {\n this.start();\n },\n methods: {\n onClickIcon: function onClickIcon(event) {\n if (this.mode === 'closeable') {\n this.show = false;\n this.$emit('close', event);\n }\n },\n onTransitionEnd: function onTransitionEnd() {\n var _this2 = this;\n\n this.offset = this.wrapWidth;\n this.duration = 0; // wait for Vue to render offset\n // using nextTick won't work in iOS14\n\n raf(function () {\n // use double raf to ensure animation can start\n doubleRaf(function () {\n _this2.offset = -_this2.contentWidth;\n _this2.duration = (_this2.contentWidth + _this2.wrapWidth) / _this2.speed;\n\n _this2.$emit('replay');\n });\n });\n },\n reset: function reset() {\n this.offset = 0;\n this.duration = 0;\n this.wrapWidth = 0;\n this.contentWidth = 0;\n },\n start: function start() {\n var _this3 = this;\n\n var delay = isDef(this.delay) ? this.delay * 1000 : 0;\n this.reset();\n clearTimeout(this.startTimer);\n this.startTimer = setTimeout(function () {\n var _this3$$refs = _this3.$refs,\n wrap = _this3$$refs.wrap,\n content = _this3$$refs.content;\n\n if (!wrap || !content || _this3.scrollable === false) {\n return;\n }\n\n var wrapWidth = wrap.getBoundingClientRect().width;\n var contentWidth = content.getBoundingClientRect().width;\n\n if (_this3.scrollable || contentWidth > wrapWidth) {\n doubleRaf(function () {\n _this3.offset = -contentWidth;\n _this3.duration = contentWidth / _this3.speed;\n _this3.wrapWidth = wrapWidth;\n _this3.contentWidth = contentWidth;\n });\n }\n }, delay);\n }\n },\n render: function render() {\n var _this4 = this;\n\n var h = arguments[0];\n var slots = this.slots,\n mode = this.mode,\n leftIcon = this.leftIcon,\n onClickIcon = this.onClickIcon;\n var barStyle = {\n color: this.color,\n background: this.background\n };\n var contentStyle = {\n transform: this.offset ? \"translateX(\" + this.offset + \"px)\" : '',\n transitionDuration: this.duration + 's'\n };\n\n function LeftIcon() {\n var slot = slots('left-icon');\n\n if (slot) {\n return slot;\n }\n\n if (leftIcon) {\n return h(Icon, {\n \"class\": bem('left-icon'),\n \"attrs\": {\n \"name\": leftIcon\n }\n });\n }\n }\n\n function RightIcon() {\n var slot = slots('right-icon');\n\n if (slot) {\n return slot;\n }\n\n var iconName;\n\n if (mode === 'closeable') {\n iconName = 'cross';\n } else if (mode === 'link') {\n iconName = 'arrow';\n }\n\n if (iconName) {\n return h(Icon, {\n \"class\": bem('right-icon'),\n \"attrs\": {\n \"name\": iconName\n },\n \"on\": {\n \"click\": onClickIcon\n }\n });\n }\n }\n\n return h(\"div\", {\n \"attrs\": {\n \"role\": \"alert\"\n },\n \"directives\": [{\n name: \"show\",\n value: this.show\n }],\n \"class\": bem({\n wrapable: this.wrapable\n }),\n \"style\": barStyle,\n \"on\": {\n \"click\": function click(event) {\n _this4.$emit('click', event);\n }\n }\n }, [LeftIcon(), h(\"div\", {\n \"ref\": \"wrap\",\n \"class\": bem('wrap'),\n \"attrs\": {\n \"role\": \"marquee\"\n }\n }, [h(\"div\", {\n \"ref\": \"content\",\n \"class\": [bem('content'), {\n 'van-ellipsis': this.scrollable === false && !this.wrapable\n }],\n \"style\": contentStyle,\n \"on\": {\n \"transitionend\": this.onTransitionEnd\n }\n }, [this.slots() || this.text])]), RightIcon()]);\n }\n});","export var DEFAULT_ITEM_HEIGHT = 44;\nexport var pickerProps = {\n title: String,\n loading: Boolean,\n readonly: Boolean,\n itemHeight: [Number, String],\n showToolbar: Boolean,\n cancelButtonText: String,\n confirmButtonText: String,\n allowHtml: {\n type: Boolean,\n default: true\n },\n visibleItemCount: {\n type: [Number, String],\n default: 6\n },\n swipeDuration: {\n type: [Number, String],\n default: 1000\n }\n};","import _mergeJSXProps2 from \"@vue/babel-helper-vue-jsx-merge-props\";\nimport _mergeJSXProps from \"@vue/babel-helper-vue-jsx-merge-props\";\nimport { deepClone } from '../utils/deep-clone';\nimport { createNamespace, isObject } from '../utils';\nimport { range } from '../utils/format/number';\nimport { preventDefault } from '../utils/dom/event';\nimport { TouchMixin } from '../mixins/touch';\nvar DEFAULT_DURATION = 200; // 惯性滑动思路:\n// 在手指离开屏幕时,如果和上一次 move 时的间隔小于 `MOMENTUM_LIMIT_TIME` 且 move\n// 距离大于 `MOMENTUM_LIMIT_DISTANCE` 时,执行惯性滑动\n\nvar MOMENTUM_LIMIT_TIME = 300;\nvar MOMENTUM_LIMIT_DISTANCE = 15;\n\nvar _createNamespace = createNamespace('picker-column'),\n createComponent = _createNamespace[0],\n bem = _createNamespace[1];\n\nfunction getElementTranslateY(element) {\n var style = window.getComputedStyle(element);\n var transform = style.transform || style.webkitTransform;\n var translateY = transform.slice(7, transform.length - 1).split(', ')[5];\n return Number(translateY);\n}\n\nfunction isOptionDisabled(option) {\n return isObject(option) && option.disabled;\n}\n\nexport default createComponent({\n mixins: [TouchMixin],\n props: {\n valueKey: String,\n readonly: Boolean,\n allowHtml: Boolean,\n className: String,\n itemHeight: Number,\n defaultIndex: Number,\n swipeDuration: [Number, String],\n visibleItemCount: [Number, String],\n initialOptions: {\n type: Array,\n default: function _default() {\n return [];\n }\n }\n },\n data: function data() {\n return {\n offset: 0,\n duration: 0,\n options: deepClone(this.initialOptions),\n currentIndex: this.defaultIndex\n };\n },\n created: function created() {\n if (this.$parent.children) {\n this.$parent.children.push(this);\n }\n\n this.setIndex(this.currentIndex);\n },\n mounted: function mounted() {\n this.bindTouchEvent(this.$el);\n },\n destroyed: function destroyed() {\n var children = this.$parent.children;\n\n if (children) {\n children.splice(children.indexOf(this), 1);\n }\n },\n watch: {\n initialOptions: 'setOptions',\n defaultIndex: function defaultIndex(val) {\n this.setIndex(val);\n }\n },\n computed: {\n count: function count() {\n return this.options.length;\n },\n baseOffset: function baseOffset() {\n return this.itemHeight * (this.visibleItemCount - 1) / 2;\n }\n },\n methods: {\n setOptions: function setOptions(options) {\n if (JSON.stringify(options) !== JSON.stringify(this.options)) {\n this.options = deepClone(options);\n this.setIndex(this.defaultIndex);\n }\n },\n onTouchStart: function onTouchStart(event) {\n if (this.readonly) {\n return;\n }\n\n this.touchStart(event);\n\n if (this.moving) {\n var translateY = getElementTranslateY(this.$refs.wrapper);\n this.offset = Math.min(0, translateY - this.baseOffset);\n this.startOffset = this.offset;\n } else {\n this.startOffset = this.offset;\n }\n\n this.duration = 0;\n this.transitionEndTrigger = null;\n this.touchStartTime = Date.now();\n this.momentumOffset = this.startOffset;\n },\n onTouchMove: function onTouchMove(event) {\n if (this.readonly) {\n return;\n }\n\n this.touchMove(event);\n\n if (this.direction === 'vertical') {\n this.moving = true;\n preventDefault(event, true);\n }\n\n this.offset = range(this.startOffset + this.deltaY, -(this.count * this.itemHeight), this.itemHeight);\n var now = Date.now();\n\n if (now - this.touchStartTime > MOMENTUM_LIMIT_TIME) {\n this.touchStartTime = now;\n this.momentumOffset = this.offset;\n }\n },\n onTouchEnd: function onTouchEnd() {\n var _this = this;\n\n if (this.readonly) {\n return;\n }\n\n var distance = this.offset - this.momentumOffset;\n var duration = Date.now() - this.touchStartTime;\n var allowMomentum = duration < MOMENTUM_LIMIT_TIME && Math.abs(distance) > MOMENTUM_LIMIT_DISTANCE;\n\n if (allowMomentum) {\n this.momentum(distance, duration);\n return;\n }\n\n var index = this.getIndexByOffset(this.offset);\n this.duration = DEFAULT_DURATION;\n this.setIndex(index, true); // compatible with desktop scenario\n // use setTimeout to skip the click event Emitted after touchstart\n\n setTimeout(function () {\n _this.moving = false;\n }, 0);\n },\n onTransitionEnd: function onTransitionEnd() {\n this.stopMomentum();\n },\n onClickItem: function onClickItem(index) {\n if (this.moving || this.readonly) {\n return;\n }\n\n this.transitionEndTrigger = null;\n this.duration = DEFAULT_DURATION;\n this.setIndex(index, true);\n },\n adjustIndex: function adjustIndex(index) {\n index = range(index, 0, this.count);\n\n for (var i = index; i < this.count; i++) {\n if (!isOptionDisabled(this.options[i])) return i;\n }\n\n for (var _i = index - 1; _i >= 0; _i--) {\n if (!isOptionDisabled(this.options[_i])) return _i;\n }\n },\n getOptionText: function getOptionText(option) {\n if (isObject(option) && this.valueKey in option) {\n return option[this.valueKey];\n }\n\n return option;\n },\n setIndex: function setIndex(index, emitChange) {\n var _this2 = this;\n\n index = this.adjustIndex(index) || 0;\n var offset = -index * this.itemHeight;\n\n var trigger = function trigger() {\n if (index !== _this2.currentIndex) {\n _this2.currentIndex = index;\n\n if (emitChange) {\n _this2.$emit('change', index);\n }\n }\n }; // trigger the change event after transitionend when moving\n\n\n if (this.moving && offset !== this.offset) {\n this.transitionEndTrigger = trigger;\n } else {\n trigger();\n }\n\n this.offset = offset;\n },\n setValue: function setValue(value) {\n var options = this.options;\n\n for (var i = 0; i < options.length; i++) {\n if (this.getOptionText(options[i]) === value) {\n return this.setIndex(i);\n }\n }\n },\n getValue: function getValue() {\n return this.options[this.currentIndex];\n },\n getIndexByOffset: function getIndexByOffset(offset) {\n return range(Math.round(-offset / this.itemHeight), 0, this.count - 1);\n },\n momentum: function momentum(distance, duration) {\n var speed = Math.abs(distance / duration);\n distance = this.offset + speed / 0.003 * (distance < 0 ? -1 : 1);\n var index = this.getIndexByOffset(distance);\n this.duration = +this.swipeDuration;\n this.setIndex(index, true);\n },\n stopMomentum: function stopMomentum() {\n this.moving = false;\n this.duration = 0;\n\n if (this.transitionEndTrigger) {\n this.transitionEndTrigger();\n this.transitionEndTrigger = null;\n }\n },\n genOptions: function genOptions() {\n var _this3 = this;\n\n var h = this.$createElement;\n var optionStyle = {\n height: this.itemHeight + \"px\"\n };\n return this.options.map(function (option, index) {\n var _domProps;\n\n var text = _this3.getOptionText(option);\n\n var disabled = isOptionDisabled(option);\n var data = {\n style: optionStyle,\n attrs: {\n role: 'button',\n tabindex: disabled ? -1 : 0\n },\n class: [bem('item', {\n disabled: disabled,\n selected: index === _this3.currentIndex\n })],\n on: {\n click: function click() {\n _this3.onClickItem(index);\n }\n }\n };\n var childData = {\n class: 'van-ellipsis',\n domProps: (_domProps = {}, _domProps[_this3.allowHtml ? 'innerHTML' : 'textContent'] = text, _domProps)\n };\n return h(\"li\", _mergeJSXProps([{}, data]), [_this3.slots('option', option) || h(\"div\", _mergeJSXProps2([{}, childData]))]);\n });\n }\n },\n render: function render() {\n var h = arguments[0];\n var wrapperStyle = {\n transform: \"translate3d(0, \" + (this.offset + this.baseOffset) + \"px, 0)\",\n transitionDuration: this.duration + \"ms\",\n transitionProperty: this.duration ? 'all' : 'none'\n };\n return h(\"div\", {\n \"class\": [bem(), this.className]\n }, [h(\"ul\", {\n \"ref\": \"wrapper\",\n \"style\": wrapperStyle,\n \"class\": bem('wrapper'),\n \"on\": {\n \"transitionend\": this.onTransitionEnd\n }\n }, [this.genOptions()])]);\n }\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// Utils\nimport { createNamespace } from '../utils';\nimport { preventDefault } from '../utils/dom/event';\nimport { BORDER_UNSET_TOP_BOTTOM } from '../utils/constant';\nimport { pickerProps, DEFAULT_ITEM_HEIGHT } from './shared';\nimport { unitToPx } from '../utils/format/unit'; // Components\n\nimport Loading from '../loading';\nimport PickerColumn from './PickerColumn';\n\nvar _createNamespace = createNamespace('picker'),\n createComponent = _createNamespace[0],\n bem = _createNamespace[1],\n t = _createNamespace[2];\n\nexport default createComponent({\n props: _extends({}, pickerProps, {\n defaultIndex: {\n type: [Number, String],\n default: 0\n },\n columns: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n toolbarPosition: {\n type: String,\n default: 'top'\n },\n valueKey: {\n type: String,\n default: 'text'\n }\n }),\n data: function data() {\n return {\n children: [],\n formattedColumns: []\n };\n },\n computed: {\n itemPxHeight: function itemPxHeight() {\n return this.itemHeight ? unitToPx(this.itemHeight) : DEFAULT_ITEM_HEIGHT;\n },\n dataType: function dataType() {\n var columns = this.columns;\n var firstColumn = columns[0] || {};\n\n if (firstColumn.children) {\n return 'cascade';\n }\n\n if (firstColumn.values) {\n return 'object';\n }\n\n return 'text';\n }\n },\n watch: {\n columns: {\n handler: 'format',\n immediate: true\n }\n },\n methods: {\n format: function format() {\n var columns = this.columns,\n dataType = this.dataType;\n\n if (dataType === 'text') {\n this.formattedColumns = [{\n values: columns\n }];\n } else if (dataType === 'cascade') {\n this.formatCascade();\n } else {\n this.formattedColumns = columns;\n }\n },\n formatCascade: function formatCascade() {\n var formatted = [];\n var cursor = {\n children: this.columns\n };\n\n while (cursor && cursor.children) {\n var _cursor$defaultIndex;\n\n var _cursor = cursor,\n children = _cursor.children;\n var defaultIndex = (_cursor$defaultIndex = cursor.defaultIndex) != null ? _cursor$defaultIndex : +this.defaultIndex;\n\n while (children[defaultIndex] && children[defaultIndex].disabled) {\n if (defaultIndex < children.length - 1) {\n defaultIndex++;\n } else {\n defaultIndex = 0;\n break;\n }\n }\n\n formatted.push({\n values: cursor.children,\n className: cursor.className,\n defaultIndex: defaultIndex\n });\n cursor = children[defaultIndex];\n }\n\n this.formattedColumns = formatted;\n },\n emit: function emit(event) {\n var _this = this;\n\n if (this.dataType === 'text') {\n this.$emit(event, this.getColumnValue(0), this.getColumnIndex(0));\n } else {\n var values = this.getValues(); // compatible with old version of wrong parameters\n // should be removed in next major version\n // see: https://github.com/youzan/vant/issues/5905\n\n if (this.dataType === 'cascade') {\n values = values.map(function (item) {\n return item[_this.valueKey];\n });\n }\n\n this.$emit(event, values, this.getIndexes());\n }\n },\n onCascadeChange: function onCascadeChange(columnIndex) {\n var cursor = {\n children: this.columns\n };\n var indexes = this.getIndexes();\n\n for (var i = 0; i <= columnIndex; i++) {\n cursor = cursor.children[indexes[i]];\n }\n\n while (cursor && cursor.children) {\n columnIndex++;\n this.setColumnValues(columnIndex, cursor.children);\n cursor = cursor.children[cursor.defaultIndex || 0];\n }\n },\n onChange: function onChange(columnIndex) {\n var _this2 = this;\n\n if (this.dataType === 'cascade') {\n this.onCascadeChange(columnIndex);\n }\n\n if (this.dataType === 'text') {\n this.$emit('change', this, this.getColumnValue(0), this.getColumnIndex(0));\n } else {\n var values = this.getValues(); // compatible with old version of wrong parameters\n // should be removed in next major version\n // see: https://github.com/youzan/vant/issues/5905\n\n if (this.dataType === 'cascade') {\n values = values.map(function (item) {\n return item[_this2.valueKey];\n });\n }\n\n this.$emit('change', this, values, columnIndex);\n }\n },\n // get column instance by index\n getColumn: function getColumn(index) {\n return this.children[index];\n },\n // @exposed-api\n // get column value by index\n getColumnValue: function getColumnValue(index) {\n var column = this.getColumn(index);\n return column && column.getValue();\n },\n // @exposed-api\n // set column value by index\n setColumnValue: function setColumnValue(index, value) {\n var column = this.getColumn(index);\n\n if (column) {\n column.setValue(value);\n\n if (this.dataType === 'cascade') {\n this.onCascadeChange(index);\n }\n }\n },\n // @exposed-api\n // get column option index by column index\n getColumnIndex: function getColumnIndex(columnIndex) {\n return (this.getColumn(columnIndex) || {}).currentIndex;\n },\n // @exposed-api\n // set column option index by column index\n setColumnIndex: function setColumnIndex(columnIndex, optionIndex) {\n var column = this.getColumn(columnIndex);\n\n if (column) {\n column.setIndex(optionIndex);\n\n if (this.dataType === 'cascade') {\n this.onCascadeChange(columnIndex);\n }\n }\n },\n // @exposed-api\n // get options of column by index\n getColumnValues: function getColumnValues(index) {\n return (this.children[index] || {}).options;\n },\n // @exposed-api\n // set options of column by index\n setColumnValues: function setColumnValues(index, options) {\n var column = this.children[index];\n\n if (column) {\n column.setOptions(options);\n }\n },\n // @exposed-api\n // get values of all columns\n getValues: function getValues() {\n return this.children.map(function (child) {\n return child.getValue();\n });\n },\n // @exposed-api\n // set values of all columns\n setValues: function setValues(values) {\n var _this3 = this;\n\n values.forEach(function (value, index) {\n _this3.setColumnValue(index, value);\n });\n },\n // @exposed-api\n // get indexes of all columns\n getIndexes: function getIndexes() {\n return this.children.map(function (child) {\n return child.currentIndex;\n });\n },\n // @exposed-api\n // set indexes of all columns\n setIndexes: function setIndexes(indexes) {\n var _this4 = this;\n\n indexes.forEach(function (optionIndex, columnIndex) {\n _this4.setColumnIndex(columnIndex, optionIndex);\n });\n },\n // @exposed-api\n confirm: function confirm() {\n this.children.forEach(function (child) {\n return child.stopMomentum();\n });\n this.emit('confirm');\n },\n cancel: function cancel() {\n this.emit('cancel');\n },\n genTitle: function genTitle() {\n var h = this.$createElement;\n var titleSlot = this.slots('title');\n\n if (titleSlot) {\n return titleSlot;\n }\n\n if (this.title) {\n return h(\"div\", {\n \"class\": ['van-ellipsis', bem('title')]\n }, [this.title]);\n }\n },\n genCancel: function genCancel() {\n var h = this.$createElement;\n return h(\"button\", {\n \"attrs\": {\n \"type\": \"button\"\n },\n \"class\": bem('cancel'),\n \"on\": {\n \"click\": this.cancel\n }\n }, [this.slots('cancel') || this.cancelButtonText || t('cancel')]);\n },\n genConfirm: function genConfirm() {\n var h = this.$createElement;\n return h(\"button\", {\n \"attrs\": {\n \"type\": \"button\"\n },\n \"class\": bem('confirm'),\n \"on\": {\n \"click\": this.confirm\n }\n }, [this.slots('confirm') || this.confirmButtonText || t('confirm')]);\n },\n genToolbar: function genToolbar() {\n var h = this.$createElement;\n\n if (this.showToolbar) {\n return h(\"div\", {\n \"class\": bem('toolbar')\n }, [this.slots() || [this.genCancel(), this.genTitle(), this.genConfirm()]]);\n }\n },\n genColumns: function genColumns() {\n var h = this.$createElement;\n var itemPxHeight = this.itemPxHeight;\n var wrapHeight = itemPxHeight * this.visibleItemCount;\n var frameStyle = {\n height: itemPxHeight + \"px\"\n };\n var columnsStyle = {\n height: wrapHeight + \"px\"\n };\n var maskStyle = {\n backgroundSize: \"100% \" + (wrapHeight - itemPxHeight) / 2 + \"px\"\n };\n return h(\"div\", {\n \"class\": bem('columns'),\n \"style\": columnsStyle,\n \"on\": {\n \"touchmove\": preventDefault\n }\n }, [this.genColumnItems(), h(\"div\", {\n \"class\": bem('mask'),\n \"style\": maskStyle\n }), h(\"div\", {\n \"class\": [BORDER_UNSET_TOP_BOTTOM, bem('frame')],\n \"style\": frameStyle\n })]);\n },\n genColumnItems: function genColumnItems() {\n var _this5 = this;\n\n var h = this.$createElement;\n return this.formattedColumns.map(function (item, columnIndex) {\n var _item$defaultIndex;\n\n return h(PickerColumn, {\n \"attrs\": {\n \"readonly\": _this5.readonly,\n \"valueKey\": _this5.valueKey,\n \"allowHtml\": _this5.allowHtml,\n \"className\": item.className,\n \"itemHeight\": _this5.itemPxHeight,\n \"defaultIndex\": (_item$defaultIndex = item.defaultIndex) != null ? _item$defaultIndex : +_this5.defaultIndex,\n \"swipeDuration\": _this5.swipeDuration,\n \"visibleItemCount\": _this5.visibleItemCount,\n \"initialOptions\": item.values\n },\n \"scopedSlots\": {\n option: _this5.$scopedSlots.option\n },\n \"on\": {\n \"change\": function change() {\n _this5.onChange(columnIndex);\n }\n }\n });\n });\n }\n },\n render: function render(h) {\n return h(\"div\", {\n \"class\": bem()\n }, [this.toolbarPosition === 'top' ? this.genToolbar() : h(), this.loading ? h(Loading, {\n \"class\": bem('loading')\n }) : h(), this.slots('columns-top'), this.genColumns(), this.slots('columns-bottom'), this.toolbarPosition === 'bottom' ? this.genToolbar() : h()]);\n }\n});","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0c9f806f&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/**\n * Vue Router support\n */\nfunction isRedundantNavigation(err) {\n return err.name === 'NavigationDuplicated' || // compatible with vue-router@3.3\n err.message && err.message.indexOf('redundant navigation') !== -1;\n}\n\nexport function route(router, config) {\n var to = config.to,\n url = config.url,\n replace = config.replace;\n\n if (to && router) {\n var promise = router[replace ? 'replace' : 'push'](to);\n /* istanbul ignore else */\n\n if (promise && promise.catch) {\n promise.catch(function (err) {\n if (err && !isRedundantNavigation(err)) {\n throw err;\n }\n });\n }\n } else if (url) {\n replace ? location.replace(url) : location.href = url;\n }\n}\nexport function functionalRoute(context) {\n route(context.parent && context.parent.$router, context.props);\n}\nexport var routeProps = {\n url: String,\n replace: Boolean,\n to: [String, Object]\n};","module.exports = __webpack_public_path__ + \"img/banner10.0e52f191.png\";","import '../../style/base.css';\nimport '../../info/index.css';\nimport '../../icon/index.css';\nimport '../../loading/index.css';\nimport '../index.css';","// color\nexport var RED = '#ee0a24'; // border\n\nexport var BORDER = 'van-hairline';\nexport var BORDER_TOP = BORDER + \"--top\";\nexport var BORDER_LEFT = BORDER + \"--left\";\nexport var BORDER_BOTTOM = BORDER + \"--bottom\";\nexport var BORDER_SURROUND = BORDER + \"--surround\";\nexport var BORDER_TOP_BOTTOM = BORDER + \"--top-bottom\";\nexport var BORDER_UNSET_TOP_BOTTOM = BORDER + \"-unset--top-bottom\";","module.exports = __webpack_public_path__ + \"img/banner9.55150888.png\";","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _mergeJSXProps from \"@vue/babel-helper-vue-jsx-merge-props\";\n// Utils\nimport { createNamespace } from '../utils';\nimport { emit, inherit } from '../utils/functional';\nimport { BORDER_SURROUND } from '../utils/constant';\nimport { routeProps, functionalRoute } from '../utils/router'; // Components\n\nimport Icon from '../icon';\nimport Loading from '../loading'; // Types\n\nvar _createNamespace = createNamespace('button'),\n createComponent = _createNamespace[0],\n bem = _createNamespace[1];\n\nfunction Button(h, props, slots, ctx) {\n var _ref;\n\n var tag = props.tag,\n icon = props.icon,\n type = props.type,\n color = props.color,\n plain = props.plain,\n disabled = props.disabled,\n loading = props.loading,\n hairline = props.hairline,\n loadingText = props.loadingText,\n iconPosition = props.iconPosition;\n var style = {};\n\n if (color) {\n style.color = plain ? color : 'white';\n\n if (!plain) {\n // Use background instead of backgroundColor to make linear-gradient work\n style.background = color;\n } // hide border when color is linear-gradient\n\n\n if (color.indexOf('gradient') !== -1) {\n style.border = 0;\n } else {\n style.borderColor = color;\n }\n }\n\n function onClick(event) {\n if (props.loading) {\n event.preventDefault();\n }\n\n if (!loading && !disabled) {\n emit(ctx, 'click', event);\n functionalRoute(ctx);\n }\n }\n\n function onTouchstart(event) {\n emit(ctx, 'touchstart', event);\n }\n\n var classes = [bem([type, props.size, {\n plain: plain,\n loading: loading,\n disabled: disabled,\n hairline: hairline,\n block: props.block,\n round: props.round,\n square: props.square\n }]), (_ref = {}, _ref[BORDER_SURROUND] = hairline, _ref)];\n\n function renderIcon() {\n if (loading) {\n return slots.loading ? slots.loading() : h(Loading, {\n \"class\": bem('loading'),\n \"attrs\": {\n \"size\": props.loadingSize,\n \"type\": props.loadingType,\n \"color\": \"currentColor\"\n }\n });\n }\n\n if (slots.icon) {\n return h(\"div\", {\n \"class\": bem('icon')\n }, [slots.icon()]);\n }\n\n if (icon) {\n return h(Icon, {\n \"attrs\": {\n \"name\": icon,\n \"classPrefix\": props.iconPrefix\n },\n \"class\": bem('icon')\n });\n }\n }\n\n function renderContent() {\n var content = [];\n\n if (iconPosition === 'left') {\n content.push(renderIcon());\n }\n\n var text;\n\n if (loading) {\n text = loadingText;\n } else {\n text = slots.default ? slots.default() : props.text;\n }\n\n if (text) {\n content.push(h(\"span\", {\n \"class\": bem('text')\n }, [text]));\n }\n\n if (iconPosition === 'right') {\n content.push(renderIcon());\n }\n\n return content;\n }\n\n return h(tag, _mergeJSXProps([{\n \"style\": style,\n \"class\": classes,\n \"attrs\": {\n \"type\": props.nativeType,\n \"disabled\": disabled\n },\n \"on\": {\n \"click\": onClick,\n \"touchstart\": onTouchstart\n }\n }, inherit(ctx)]), [h(\"div\", {\n \"class\": bem('content')\n }, [renderContent()])]);\n}\n\nButton.props = _extends({}, routeProps, {\n text: String,\n icon: String,\n color: String,\n block: Boolean,\n plain: Boolean,\n round: Boolean,\n square: Boolean,\n loading: Boolean,\n hairline: Boolean,\n disabled: Boolean,\n iconPrefix: String,\n nativeType: String,\n loadingText: String,\n loadingType: String,\n tag: {\n type: String,\n default: 'button'\n },\n type: {\n type: String,\n default: 'default'\n },\n size: {\n type: String,\n default: 'normal'\n },\n loadingSize: {\n type: String,\n default: '20px'\n },\n iconPosition: {\n type: String,\n default: 'left'\n }\n});\nexport default createComponent(Button);","module.exports = __webpack_public_path__ + \"img/banner8.c2a3794c.png\";","module.exports = __webpack_public_path__ + \"img/banner6.ca660f79.png\";"],"sourceRoot":""}