glhcp/server/public/mobile/static/js/pages-goods_cate-goods_cate...

1 line
47 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods_cate-goods_cate","pages-goods_search-goods_search~pages-store_index-store_index"],{"0036":function(t,e,i){"use strict";i.r(e);var n=i("575c"),a=i("027e");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"4550fe42",null,!1,n["a"],o);e["default"]=c.exports},"027e":function(t,e,i){"use strict";i.r(e);var n=i("5d93"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"03d5":function(t,e,i){"use strict";i.r(e);var n=i("51c8"),a=i("4f25");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("704e");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"686e5c3c",null,!1,n["a"],o);e["default"]=c.exports},"065b":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uLoading:i("778d").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"loading-footer flex row-center",style:"color: "+t.color},["loading"===t.status?i("v-uni-view",{staticClass:"loading flex"},[i("u-loading",{attrs:{color:t.color,size:40,mode:"flower"}}),i("v-uni-text",{staticClass:"m-l-20",style:"color: "+t.color},[t._v(t._s(t.loadingText))])],1):t._e(),"finished"===t.status?i("v-uni-view",{staticClass:"finished"},[t._v(t._s(t.finishedText))]):t._e(),"error"===t.status?i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRefresh.apply(void 0,arguments)}}},[t._v(t._s(t.errorText))]):t._e(),"empty"===t.status?i("v-uni-view",{staticClass:"empty"},[t.slotEmpty?t._t("empty"):i("v-uni-text",[t._v("暂无数据")])],2):t._e()],1)},r=[]},"0760":function(t,e,i){"use strict";i.r(e);var n=i("55d5"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"0858":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.swiper-wrap[data-v-d683f632]{overflow:hidden;box-sizing:initial}.swiper-wrap .swiper-con[data-v-d683f632]{position:relative;height:100%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0)}.swiper-wrap .swiper[data-v-d683f632]{width:100%;height:100%;position:relative}.swiper-wrap .swiper .slide-image[data-v-d683f632]{height:100%}.swiper-wrap .dots[data-v-d683f632]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:%?20?%;display:flex}.swiper-wrap .dots .dot[data-v-d683f632]{width:%?8?%;height:%?8?%;border-radius:50%;margin-right:%?10?%;background-color:#fff}.swiper-wrap .dots .dot.active[data-v-d683f632]{width:%?16?%;border-radius:%?8?%;background-color:#ff2c3c}',""]),t.exports=e},1153:function(t,e,i){"use strict";i.r(e);var n=i("ea7f"),a=i("5ed7");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("4dfd");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"40cad406",null,!1,n["a"],o);e["default"]=c.exports},"1eb2":function(t,e,i){var n=i("f618");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("c96fc5c6",n,!0,{sourceMap:!1,shadowMode:!1})},"1f2b4":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uIcon:i("4569").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-search",style:{margin:t.margin,backgroundColor:t.wrapBgColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"u-content",style:{backgroundColor:t.bgColor,borderRadius:"round"==t.shape?"100rpx":"10rpx",border:t.borderStyle,height:t.height+"rpx"}},[i("v-uni-view",{staticClass:"u-icon-wrap"},[i("u-icon",{staticClass:"u-clear-icon",attrs:{size:30,name:t.searchIcon,color:t.searchIconColor?t.searchIconColor:t.color}})],1),i("v-uni-input",{staticClass:"u-input",style:[{textAlign:t.inputAlign,color:t.color,backgroundColor:t.bgColor},t.inputStyle],attrs:{"confirm-type":"search",value:t.value,disabled:t.disabled,focus:t.focus,maxlength:t.maxlength,"placeholder-class":"u-placeholder-class",placeholder:t.placeholder,"placeholder-style":"color: "+t.placeholderColor,type:"text"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.blur.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputChange.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.getFocus.apply(void 0,arguments)}}}),t.keyword&&t.clearabled&&t.focused?i("v-uni-view",{staticClass:"u-close-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clear.apply(void 0,arguments)}}},[i("u-icon",{staticClass:"u-clear-icon",attrs:{name:"close-circle-fill",size:"34",color:"#c0c4cc"}})],1):t._e()],1),t.hideRight?i("v-uni-view",{staticClass:"u-action",class:[t.showActionBtn||t.show?"u-action-active":""],style:[t.actionStyle],on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.custom.apply(void 0,arguments)}}},[t._v(t._s(t.actionText))]):t._e()],1)},r=[]},2267:function(t,e,i){var n=i("91b7");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6d8bbcec",n,!0,{sourceMap:!1,shadowMode:!1})},2343:function(t,e,i){"use strict";i.r(e);var n=i("db83"),a=i("5f25");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("7c4b");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"ebabbd52",null,!1,n["a"],o);e["default"]=c.exports},2512:function(t,e,i){var n=i("4efc");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6018cd94",n,!0,{sourceMap:!1,shadowMode:!1})},2897:function(t,e,i){"use strict";var n=i("3281"),a=i.n(n);a.a},"2e7e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={mescrollUni:i("de4f").default,cateNav:i("441a").default,adSwipers:i("6db4").default,sortNav:i("03d5").default,goodsList:i("fae9").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"cate-list"},[i("mescroll-uni",{ref:"mescrollRef"+t.i,attrs:{top:t.positionTop,up:t.upOption,down:t.downOption},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"content"},[3==t.appConfig.cate_style?i("v-uni-view",{staticStyle:{margin:"0 20rpx"}},[i("cate-nav",{attrs:{list:t.cateTwoList}})],1):t._e(),i("ad-swipers",{attrs:{pid:11,height:"268rpx",padding:"20rpx 20rpx 0",radius:"10rpx"}}),i("v-uni-view",{staticClass:"sort-nav-wrap"},[i("sort-nav",{model:{value:t.sortConfig,callback:function(e){t.sortConfig=e},expression:"sortConfig"}})],1),i("v-uni-view",{staticClass:"goods"},[i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"double"==t.sortConfig.goodsType,expression:"sortConfig.goodsType == 'double'"}],staticClass:"double"},[i("goods-list",{attrs:{type:"double",list:t.goodsList}})],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"one"==t.sortConfig.goodsType,expression:"sortConfig.goodsType == 'one'"}],staticClass:"one"},[i("goods-list",{attrs:{list:t.goodsList,type:"one"}})],1)],1)],1)],1)],1)},r=[]},3281:function(t,e,i){var n=i("448b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("309ff98d",n,!0,{sourceMap:!1,shadowMode:!1})},"366f":function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=i("3b3e"),o=(i("357b"),{data:function(){return{lists:[],currentSwiper:0}},props:{pid:{type:Number},circular:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},height:{type:String},radius:{type:String,default:"0"},padding:{type:String,default:"0rpx"},previousMargin:{type:String,default:"0rpx"},isSwiper:{type:Boolean,default:!0}},created:function(){this.getAdListFun()},watch:{pid:function(t){this.getAdListFun()}},methods:{getAdListFun:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,r.getAdList)({pid:t.pid,terminal:1});case 2:i=e.sent,n=i.code,a=i.data,1==n&&(t.lists=a);case 6:case"end":return e.stop()}}),e)})))()},swiperChange:function(t){this.currentSwiper=t.detail.current},goPage:function(t){var e=t.link,i=t.link_type,n=t.params,a=t.is_tab;switch(i){case 1:case 2:a?this.$Router.pushTab({path:e}):this.$Router.push({path:e,query:n});break;case 3:this.$Router.push({path:"/pages/webview/webview",query:{url:e}});break}}}});e.default=o},"441a":function(t,e,i){"use strict";i.r(e);var n=i("6731"),a=i("bf46");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("2897");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"793540d8",null,!1,n["a"],o);e["default"]=c.exports},"448b":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.cate-nav[data-v-793540d8]{position:relative;border-radius:%?20?%}.cate-nav .nav-item[data-v-793540d8]{width:20%}.cate-nav .dots[data-v-793540d8]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:%?20?%;display:flex}.cate-nav .dots .dot[data-v-793540d8]{width:%?10?%;height:%?6?%;border-radius:%?6?%;margin-right:%?10?%;background-color:rgba(255,44,60,.4)}.cate-nav .dots .dot.active[data-v-793540d8]{width:%?20?%;background-color:#ff2c3c}',""]),t.exports=e},4623:function(t,e,i){"use strict";var n=i("1eb2"),a=i.n(n);a.a},4745:function(t,e,i){"use strict";var n=i("f88c"),a=i.n(n);a.a},"4b89":function(t,e,i){"use strict";i.r(e);var n=i("366f"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"4d7d":function(t,e,i){"use strict";var n=i("55c6"),a=i.n(n);a.a},"4dfd":function(t,e,i){"use strict";var n=i("2512"),a=i.n(n);a.a},"4efc":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */uni-page-body[data-v-40cad406]{background-color:#fff}uni-page-body .goods-cate .header[data-v-40cad406]{box-sizing:border-box;height:%?94?%;border-bottom:1px solid #e5e5e5}uni-page-body .goods-cate .header .search[data-v-40cad406]{flex:1;height:%?60?%}uni-page-body .goods-cate .header .search uni-input[data-v-40cad406]{flex:1;height:100%}uni-page-body .goods-cate .content[data-v-40cad406]{height:calc(100vh - %?94?% - var(--window-top) - var(--window-bottom))}body.?%PAGE?%[data-v-40cad406]{background-color:#fff}',""]),t.exports=e},"4f25":function(t,e,i){"use strict";i.r(e);var n=i("ebcb"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"51c8":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uIcon:i("4569").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"sort-nav flex bg-white"},[i("v-uni-view",{class:"tag flex-2 flex row-center "+(t.comprehensive?"primary":""),on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onNormal.apply(void 0,arguments)}}},[t._v("综合")]),i("v-uni-view",{staticClass:"tag flex-2 flex row-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPriceSort.apply(void 0,arguments)}}},[i("v-uni-text",{class:t.value.priceSort?"primary":""},[t._v("价格")]),i("v-uni-view",{staticClass:"arrow-icon flex-col col-center row-center"},[i("u-icon",{attrs:{name:"arrow-up-fill",color:"asc"==t.value.priceSort?t.colorConfig.primary:t.colorConfig.normal}}),i("u-icon",{attrs:{name:"arrow-down-fill",color:"desc"==t.value.priceSort?t.colorConfig.primary:t.colorConfig.normal}})],1)],1),i("v-uni-view",{staticClass:"tag flex-2 flex row-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSaleSort.apply(void 0,arguments)}}},[i("v-uni-text",{class:t.value.saleSort?"primary":""},[t._v("销量")]),i("v-uni-view",{staticClass:"arrow-icon flex-col col-center row-center"},[i("u-icon",{attrs:{name:"arrow-up-fill",color:"asc"==t.value.saleSort?t.colorConfig.primary:t.colorConfig.normal}}),i("u-icon",{attrs:{name:"arrow-down-fill",color:"desc"==t.value.saleSort?t.colorConfig.primary:t.colorConfig.normal}})],1)],1),t.showType?i("v-uni-view",{staticClass:"tag flex-1 flex row-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeType.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"icon-sm",attrs:{src:"one"===t.value.goodsType?"/static/images/icon_double.png":"/static/images/icon_one.png"}})],1):t._e()],1)},r=[]},"52dd":function(t,e,i){var n=i("bbb9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("43fc57bb",n,!0,{sourceMap:!1,shadowMode:!1})},"55c6":function(t,e,i){var n=i("a00d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("16791d4e",n,!0,{sourceMap:!1,shadowMode:!1})},"55d5":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle:function(){var t={};return t.width=this.size+"rpx",t.height=this.size+"rpx","circle"==this.mode&&(t.borderColor="#e4e4e4 #e4e4e4 #e4e4e4 ".concat(this.color?this.color:"#c7c7c7")),t}}};e.default=n},"575c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={tabs:i("a243").default,tab:i("201c").default,cateList:i("8c04").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"cate-one"},[t.cateList.length?i("tabs",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeActive.apply(void 0,arguments)}}},t._l(t.cateList,(function(e,n){return i("tab",{key:n,attrs:{name:e.name}},[t.showCate[n]?i("cate-list",{ref:"mescrollItem",refInFor:!0,attrs:{top:174,i:n,index:t.selectIndex,cate:e}}):t._e()],1)})),1):t._e()],1)},r=[]},"5d93":function(t,e,i){"use strict";i("d81d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"cate-one",props:{cateList:{type:Array,default:function(){return[]}}},data:function(){return{selectIndex:0,showCate:[]}},methods:{changeActive:function(t){this.selectIndex=t,this.showCate[t]=!0}},watch:{cateList:function(t){var e=this;this.showCate=t.map((function(t,i){return i==e.selectIndex})),console.log(this.showCate)}}};e.default=n},"5ed7":function(t,e,i){"use strict";i.r(e);var n=i("d3bb"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"5f25":function(t,e,i){"use strict";i.r(e);var n=i("8da6"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"61c0":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-loading",class:"circle"==t.mode?"u-loading-circle":"u-loading-flower",style:[t.cricleStyle]}):t._e()},r=[]},6731:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uImage:i("7171").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.navList.length?i("v-uni-view",{staticClass:"p-t-20"},[i("v-uni-view",{staticClass:"cate-nav bg-white"},[i("v-uni-swiper",{style:"height:"+t.navSwiperH+"rpx;",on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChange.apply(void 0,arguments)}}},t._l(t.navList,(function(e,n){return i("v-uni-swiper-item",{key:n},[i("v-uni-view",{staticClass:"nav-list flex flex-wrap"},t._l(e,(function(e,n){return i("router-link",{key:n,staticClass:"nav-item m-t-30",attrs:{to:{path:"/pages/goods_search/goods_search",query:{id:e.id,name:e.name,type:1}}}},[i("v-uni-view",{staticClass:"flex-col col-center"},[i("u-image",{attrs:{width:"82rpx",height:"82rpx",src:e.image,"border-radius":"50%"}}),i("v-uni-view",{staticClass:"m-t-14 xs line-1 text-center",staticStyle:{width:"90%"}},[t._v(t._s(e.name))])],1)],1)})),1)],1)})),1),t.navList.length>1?i("v-uni-view",{staticClass:"dots"},t._l(t.navList,(function(e,n){return i("v-uni-view",{key:n,class:"dot "+(n==t.currentSwiper?"active":"")})})),1):t._e()],1)],1):t._e()},r=[]},"69db":function(t,e,i){var n=i("cd0f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("ff9476a6",n,!0,{sourceMap:!1,shadowMode:!1})},"6db4":function(t,e,i){"use strict";i.r(e);var n=i("7acb"),a=i("4b89");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("4745");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"d683f632",null,!1,n["a"],o);e["default"]=c.exports},"6f4a":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{i:Number,index:{type:Number,default:function(){return 0}}},data:function(){return{downOption:{auto:!1},upOption:{auto:!1},isInit:!1}},watch:{index:function(t){this.i!==t||this.isInit||(this.isInit=!0,this.mescroll&&this.mescroll.triggerDownScroll())}},methods:{mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef||this.$refs["mescrollRef"+this.i];t&&(this.mescroll=t.mescroll)}},mescrollInit:function(t){this.mescroll=t,this.mescrollInitByRef&&this.mescrollInitByRef(),this.i===this.index&&(this.isInit=!0,this.mescroll.triggerDownScroll())}}},a=n;e.default=a},"704e":function(t,e,i){"use strict";var n=i("c57b"),a=i.n(n);a.a},"778d":function(t,e,i){"use strict";i.r(e);var n=i("61c0"),a=i("0760");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("4d7d");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"60256ec8",null,!1,n["a"],o);e["default"]=c.exports},"77cd":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.sort-nav[data-v-686e5c3c]{height:%?80?%}.sort-nav .tag[data-v-686e5c3c]{height:100%}.sort-nav .arrow-icon[data-v-686e5c3c]{-webkit-transform:scale(.36);transform:scale(.36)}',""]),t.exports=e},7882:function(t,e,i){"use strict";i.r(e);var n=i("1f2b4"),a=i("ed89");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("bc2f");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"29e1f541",null,!1,n["a"],o);e["default"]=c.exports},"7acb":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uImage:i("7171").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.lists.length?i("v-uni-view",{staticClass:"swiper-wrap",style:{height:t.height,padding:t.padding}},[i("v-uni-view",{staticClass:"swiper-con",style:{borderRadius:t.radius}},[t.isSwiper?[i("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:t.autoplay,circular:t.circular,"previous-margin":t.previousMargin,"display-multiple-items":"1"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChange.apply(void 0,arguments)}}},t._l(t.lists,(function(e,n){return i("v-uni-swiper-item",{key:n},[i("v-uni-view",{staticStyle:{width:"100%",height:"100%"},attrs:{"data-item":e},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goPage(e)}}},[i("u-image",{attrs:{mode:"aspectFill",width:"calc(100% - "+t.previousMargin+")",height:"100%","border-radius":t.radius,src:e.image}})],1)],1)})),1),t.lists.length>1?i("v-uni-view",{staticClass:"dots"},t._l(t.lists,(function(e,n){return i("v-uni-view",{key:n,class:"dot "+(n==t.currentSwiper?"active":"")})})),1):t._e()]:t._e(),t._l(t.lists,(function(e,n){return[n<1?i("v-uni-view",{key:n,staticStyle:{width:"100%",height:"100%"},attrs:{"data-item":e},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goPage(e)}}},[i("u-image",{attrs:{mode:"aspectFill",width:"calc(100% - "+t.previousMargin+")",height:"100%","border-radius":t.radius,src:e.image}})],1):t._e()]}))],2)],1):t._e()},r=[]},"7c4b":function(t,e,i){"use strict";var n=i("69db"),a=i.n(n);a.a},"848c":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-search",props:{shape:{type:String,default:"round"},bgColor:{type:String,default:"#f2f2f2"},placeholder:{type:String,default:"请输入关键字"},clearabled:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},showAction:{type:Boolean,default:!0},actionStyle:{type:Object,default:function(){return{}}},actionText:{type:String,default:"搜索"},inputAlign:{type:String,default:"left"},disabled:{type:Boolean,default:!1},animation:{type:Boolean,default:!1},borderColor:{type:String,default:"none"},value:{type:String,default:""},height:{type:[Number,String],default:64},inputStyle:{type:Object,default:function(){return{}}},maxlength:{type:[Number,String],default:"-1"},searchIconColor:{type:String,default:""},color:{type:String,default:"#606266"},placeholderColor:{type:String,default:"#909399"},margin:{type:String},searchIcon:{type:String,default:"search"},wrapBgColor:{type:String,default:"#fff"},hideRight:{type:Boolean,default:!1}},data:function(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword:function(t){this.$emit("input",t),this.$emit("change",t)},value:{immediate:!0,handler:function(t){this.keyword=t}}},computed:{showActionBtn:function(){return!(this.animation||!this.showAction)},borderStyle:function(){return this.borderColor?"1px solid ".concat(this.borderColor):"none"}},methods:{inputChange:function(t){this.keyword=t.detail.value},clear:function(){var t=this;this.keyword="",this.$nextTick((function(){t.$emit("clear")}))},search:function(t){this.$emit("search",t.detail.value);try{uni.hideKeyboard()}catch(t){}},custom:function(){this.$emit("custom",this.keyword);try{uni.hideKeyboard()}catch(t){}},getFocus:function(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur:function(){var t=this;setTimeout((function(){t.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler:function(){this.disabled&&this.$emit("click")}}};e.default=n},"8c04":function(t,e,i){"use strict";i.r(e);var n=i("2e7e"),a=i("f486");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("a486");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"74b653b8",null,!1,n["a"],o);e["default"]=c.exports},"8c65":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},components:{},props:{status:{type:String,default:"loading"},errorText:{type:String,default:"加载失败,点击重新加载"},loadingText:{type:String,default:"加载中..."},finishedText:{type:String,default:"我可是有底线的~"},slotEmpty:{type:Boolean,default:!1},color:{type:String,default:"#666"}},methods:{onRefresh:function(){this.$emit("refresh")}}};e.default=n},"8da6":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),r=n(i("2909"));i("96cf");var o=n(i("1da1")),s=i("3b3e"),c=i("26cb"),u=i("d429"),l={name:"cate-two",props:{cateList:{type:Array,default:function(){return[]}}},data:function(){return{selectIndex:0,cateTwoList:[],goodsList:[],sortConfig:{goodsType:"double",priceSort:"",saleSort:""},status:u.loadingType.LOADING,hasData:!0}},methods:{changeActive:function(t){this.selectIndex=t},getListByLevelOneFun:function(){var t=this;return(0,o.default)(regeneratorRuntime.mark((function e(){var i,n,a,r,o,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.selectIndex,n=t.cateList,n.length){e.next=3;break}return e.abrupt("return");case 3:return a=n[i].id,e.next=6,(0,s.getListByLevelOne)({id:a});case 6:r=e.sent,o=r.code,c=r.data,1==o&&(t.cateTwoList=c);case 10:case"end":return e.stop()}}),e)})))()},getGoodsListFun:function(){var t=this,e=this.page,i=this.cateList,n=this.status,a=this.selectIndex,o=this.goodsList,c=this.sortConfig,l=c.priceSort,d=c.saleSort;if(i.length){var f=i[a].id;n!=u.loadingType.FINISHED&&4!=this.appConfig.cate_style&&(0,s.getGoodsList)({page_no:e,platform_cate_id:f,sort_by_price:l,sort_by_sales:d}).then((function(e){if(1==e.code){var i=e.data,n=i.more,a=i.lists;if(o.push.apply(o,(0,r.default)(a)),t.page++,n||(t.status=u.loadingType.FINISHED),o.length<=0)return void(t.status=u.loadingType.EMPTY)}else t.status=u.loadingType.ERROR}))}},onRefresh:function(){this.status=u.loadingType.LOADING,this.page=1,this.goodsList=[],this.getGoodsListFun()}},watch:{selectIndex:function(){1==this.appConfig.cate_style?this.onRefresh():this.getListByLevelOneFun()},cateList:{immediate:!0,handler:function(t){this.hasData=!!t.length,1==this.appConfig.cate_style?this.onRefresh():this.getListByLevelOneFun()}},"sortConfig.saleSort":function(){this.onRefresh()},"sortConfig.priceSort":function(){this.onRefresh()}},computed:(0,a.default)({},(0,c.mapGetters)(["appConfig"]))};e.default=l},"91b7":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-search[data-v-29e1f541]{display:flex;flex-direction:row;align-items:center;flex:1;padding:%?15?% %?20?%}.u-content[data-v-29e1f541]{display:flex;flex-direction:row;align-items:center;padding:0 %?18?%;flex:1}.u-clear-icon[data-v-29e1f541]{display:flex;flex-direction:row;align-items:center}.u-input[data-v-29e1f541]{flex:1;font-size:%?28?%;line-height:1;margin:0 %?10?%;color:#909399}.u-close-wrap[data-v-29e1f541]{width:%?40?%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;border-radius:50%}.u-placeholder-class[data-v-29e1f541]{color:#909399}.u-action[data-v-29e1f541]{font-size:%?28?%;color:#303133;width:0;overflow:hidden;transition:all .3s;white-space:nowrap;text-align:center}.u-action-active[data-v-29e1f541]{width:%?80?%;margin-left:%?10?%}',""]),t.exports=e},a00d:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-loading-circle[data-v-60256ec8]{display:inline-flex;vertical-align:middle;width:%?28?%;height:%?28?%;background:0 0;border-radius:50%;border:2px solid;border-color:#e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;-webkit-animation:u-circle-data-v-60256ec8 1s linear infinite;animation:u-circle-data-v-60256ec8 1s linear infinite}.u-loading-flower[data-v-60256ec8]{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:u-flower-data-v-60256ec8 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}@-webkit-keyframes u-flower-data-v-60256ec8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-flower-data-v-60256ec8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes u-circle-data-v-60256ec8{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},a486:function(t,e,i){"use strict";var n=i("52dd"),a=i.n(n);a.a},bbb9:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.cate-list[data-v-74b653b8]{border-radius:%?20?% %?20?% 0 0;overflow:hidden}.cate-list .contain[data-v-74b653b8]{padding:%?20?% %?30?% 0}.cate-list .sort-nav-wrap[data-v-74b653b8]{margin:%?20?% %?20?% 0;border-radius:%?14?%;overflow:hidden}.cate-list .title-img[data-v-74b653b8]{width:100%;height:%?120?%}',""]),t.exports=e},bc2f:function(t,e,i){"use strict";var n=i("2267"),a=i.n(n);a.a},bf46:function(t,e,i){"use strict";i.r(e);var n=i("ce1c"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c345:function(t,e,i){"use strict";i.r(e);var n=i("8c65"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c57b:function(t,e,i){var n=i("77cd");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("7cfa10b9",n,!0,{sourceMap:!1,shadowMode:!1})},c8ac:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=n(i("5530")),o=n(i("9df2")),s=n(i("6f4a")),c=i("3b3e"),u=i("26cb"),l=(getApp(),{mixins:[o.default,s.default],name:"cate-list",props:{top:{type:[Number,String]},cate:{type:Object,default:function(){return{}}}},data:function(){return{goodsList:[],cateTwoList:[],upOption:{auto:!1,noMoreSize:1,empty:{icon:"/static/images/goods_null.png",tip:"暂无商品~"}},sortConfig:{goodsType:"double",priceSort:"",saleSort:""}}},computed:(0,r.default)((0,r.default)({},(0,u.mapGetters)(["appConfig"])),{},{positionTop:function(){return this.top}}),methods:{onRefresh:function(){this.mescroll.resetUpScroll(!0)},downCallback:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getListByLevelOneFun();case 2:t.mescroll.resetUpScroll();case 3:case"end":return e.stop()}}),e)})))()},upCallback:function(t){var e=this,i=this.sortConfig,n=i.priceSort,a=i.saleSort;(0,c.getGoodsList)({page_size:t.size,page_no:t.num,platform_cate_id:this.cate.id,sort_by_price:n,sort_by_sales:a}).then((function(i){var n=i.data,a=n.lists,r=a.length,o=!!n.more;1==t.num&&(e.goodsList=[]),e.goodsList=e.goodsList.concat(a),e.mescroll.endSuccess(r,o)}))},getListByLevelOneFun:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.cate.id,e.next=3,(0,c.getListByLevelOne)({id:i});case 3:n=e.sent,a=n.code,r=n.data,1==a&&(t.cateTwoList=r);case 7:case"end":return e.stop()}}),e)})))()}},watch:{"sortConfig.saleSort":function(){this.onRefresh()},"sortConfig.priceSort":function(){this.onRefresh()}}});e.default=l},cd0f:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.cate-two .aside[data-v-ebabbd52]{width:%?180?%;flex:none;height:100%}.cate-two .aside .one-item[data-v-ebabbd52]{position:relative;text-align:center;padding:%?26?% %?10?%}.cate-two .aside .one-item.active[data-v-ebabbd52]{color:#ff2c3c;font-size:%?26?%;font-weight:700}.cate-two .aside .one-item .active-line[data-v-ebabbd52]{position:absolute;width:%?6?%;height:%?30?%;left:%?4?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cate-two .main[data-v-ebabbd52]{height:100%;flex:1}.cate-two .main .main-wrap[data-v-ebabbd52]{position:relative;padding:%?20?% %?20?% 0}.cate-two .main .main-wrap .two-item[data-v-ebabbd52]{border-radius:%?10?%}.cate-two .main .main-wrap .two-item .title[data-v-ebabbd52]{height:%?90?%;padding:0 %?20?%}.cate-two .main .main-wrap .two-item .title .line[data-v-ebabbd52]{width:%?40?%;height:1px;background-color:#bbb}.cate-two .main .main-wrap .two-item .three-list[data-v-ebabbd52]{align-items:flex-start;padding:0 %?10?%}.cate-two .main .main-wrap .two-item .three-list .three-item[data-v-ebabbd52]{width:33%}.cate-two .main .main-wrap .two-item .three-list .three-item .text[data-v-ebabbd52]{text-align:center}.cate-two .main .goods .item[data-v-ebabbd52]{border-radius:%?14?%}',""]),t.exports=e},ce1c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("357b"),a={name:"cate-nav",props:{list:{type:Array}},data:function(){return{navSwiperH:0,navList:[],currentSwiper:0}},watch:{list:{handler:function(t){t.length<=5?this.navSwiperH=200:this.navSwiperH=374,this.navList=(0,n.arraySlice)(t)},immediate:!0}},methods:{swiperChange:function(t){this.currentSwiper=t.detail.current}}};e.default=a},d3bb:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530"));i("96cf");var r=n(i("1da1")),o=i("3b3e"),s=(i("357b"),i("26cb")),c=(n(i("e0c6")),{data:function(){return{cateList:[],cateTwoList:[],selectIndex:0}},onLoad:function(t){var e=this;return(0,r.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.getLevelOneListFun();case 1:case"end":return t.stop()}}),t)})))()},onShow:function(){this.getCartNum()},methods:(0,a.default)((0,a.default)({},(0,s.mapActions)(["getCartNum"])),{},{getLevelOneListFun:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.getLevelOneList)();case 2:i=e.sent,n=i.code,a=i.data,1==n&&(t.cateList=a);case 6:case"end":return e.stop()}}),e)})))()}}),computed:(0,a.default)({},(0,s.mapGetters)(["inviteCode","appConfig"]))});e.default=c},db83:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={adSwipers:i("6db4").default,uIcon:i("4569").default,uImage:i("7171").default,sortNav:i("03d5").default,priceFormat:i("8312").default,loadingFooter:i("df83").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"cate-two flex",staticStyle:{height:"100%"}},[i("v-uni-view",{staticClass:"aside bg-white"},[i("v-uni-scroll-view",{staticStyle:{height:"100%"},attrs:{"scroll-y":"true","scroll-with-animation":"true"}},[t._l(t.cateList,(function(e,n){return[i("v-uni-view",{key:n+"_0",class:"one-item sm "+(n==t.selectIndex?"active":""),on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeActive(n)}}},[i("v-uni-text",{staticClass:"name"},[t._v(t._s(e.name))]),n==t.selectIndex?i("v-uni-view",{staticClass:"active-line bg-primary"}):t._e()],1)]}))],2)],1),i("v-uni-view",{staticClass:"main bg-body"},[i("v-uni-scroll-view",{staticStyle:{height:"100%"},attrs:{"scroll-y":"true","scroll-with-animation":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.getGoodsListFun.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"main-wrap"},[i("ad-swipers",{attrs:{pid:11,height:"200rpx","previous-margin":"0",padding:"0 0 20rpx",radius:"10rpx"}}),4==t.appConfig.cate_style?i("v-uni-view",{staticClass:"cate-two"},t._l(t.cateTwoList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"two-item bg-white m-b-20"},[i("router-link",{attrs:{to:{path:"/pages/goods_search/goods_search",query:{id:e.id,name:e.name,type:1}}}},[i("v-uni-view",{staticClass:"title flex row-between"},[i("v-uni-text",{staticClass:"name bold sm"},[t._v(t._s(e.name))]),i("u-icon",{attrs:{name:"arrow-right"}})],1)],1),i("v-uni-view",{staticClass:"three-list flex flex-wrap"},t._l(e.children,(function(e,n){return i("router-link",{key:n,staticClass:"three-item",attrs:{to:{path:"/pages/goods_search/goods_search",query:{id:e.id,name:e.name,type:1}}}},[i("v-uni-view",{staticClass:" flex-col col-center m-b-20"},[i("u-image",{attrs:{mode:"aspectFit",width:"150rpx",height:"150rpx",src:e.image}}),i("v-uni-view",{staticClass:"text m-t-20 xs"},[t._v(t._s(e.name))])],1)],1)})),1)],1)})),1):t._e(),1==t.appConfig.cate_style&&t.hasData?i("v-uni-view",{staticClass:"goods"},[i("v-uni-view",{staticClass:"sort-nav-wrap"},[i("sort-nav",{attrs:{"show-type":!1},model:{value:t.sortConfig,callback:function(e){t.sortConfig=e},expression:"sortConfig"}})],1),i("v-uni-view",{staticClass:"goods"},[i("v-uni-view",{staticClass:"goods-list"},t._l(t.goodsList,(function(e,n){return i("router-link",{key:n,attrs:{to:"/pages/goods_details/goods_details?id="+e.id}},[i("v-uni-view",{staticClass:"flex item bg-white m-t-20"},[i("u-image",{attrs:{width:"200rpx",height:"200rpx","border-radius":"14rpx",src:e.image}}),i("v-uni-view",{staticClass:"flex-1 m-l-20 m-r-10"},[i("v-uni-view",{staticClass:"line-2"},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"muted"},[i("v-uni-text",{staticClass:"xxs"},[t._v("原价")]),i("price-format",{attrs:{"subscript-size":22,"first-size":22,"second-size":22,price:e.market_price}})],1),i("v-uni-view",{staticClass:"primary mt10"},[i("price-format",{attrs:{price:e.min_price,"subscript-size":22,"first-size":34,"second-size":26}})],1)],1)],1)],1)})),1),i("loading-footer",{attrs:{status:t.status,"slot-empty":!0}},[i("v-uni-view",{staticClass:"flex-col col-center",staticStyle:{padding:"200rpx 0 0"},attrs:{slot:"empty"},slot:"empty"},[i("v-uni-image",{staticClass:"img-null",attrs:{src:"/static/images/goods_null.png"}}),i("v-uni-text",{staticClass:"lighter sm"},[t._v("暂无商品")])],1)],1)],1)],1):t._e()],1)],1)],1)],1)},r=[]},df83:function(t,e,i){"use strict";i.r(e);var n=i("065b"),a=i("c345");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("4623");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"07243910",null,!1,n["a"],o);e["default"]=c.exports},ea7f:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uSearch:i("7882").default,cateTwo:i("2343").default,cateOne:i("0036").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goods-cate"},[i("router-link",{attrs:{to:"/pages/goods_search/goods_search"}},[i("v-uni-view",{staticClass:"header"},[i("u-search",{attrs:{"bg-color":"#F4F4F4",disabled:!0}})],1)],1),1==t.appConfig.cate_style||4==t.appConfig.cate_style?i("v-uni-view",{staticClass:"content"},[i("cate-two",{attrs:{"cate-list":t.cateList}})],1):t._e(),3==t.appConfig.cate_style||2==t.appConfig.cate_style?i("v-uni-view",{staticClass:"content bg-body"},[i("cate-one",{attrs:{"cate-list":t.cateList}})],1):t._e()],1)},r=[]},ebcb:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("357b"),a={name:"sort-nav",props:{value:{type:Object,default:function(){return{priceSort:"",saleSort:"",goodsType:"one"}}},showType:{type:Boolean,default:!0}},data:function(){return{}},created:function(){this.onNormal=(0,n.trottle)(this.onNormal,500,this),this.onPriceSort=(0,n.trottle)(this.onPriceSort,500,this),this.onSaleSort=(0,n.trottle)(this.onSaleSort,500,this)},computed:{comprehensive:function(){var t=this.value,e=t.priceSort,i=t.saleSort;return""==e&&""==i}},methods:{onNormal:function(){this.value.priceSort="",this.value.saleSort="";var t={priceSort:"",saleSort:""};this.onInput(t)},onInput:function(t){this.$emit("input",Object.assign(this.value,t))},onPriceSort:function(){var t=this.value.priceSort,e={};e.priceSort="asc"==t?"desc":"asc",e.saleSort="",this.onInput(e)},onSaleSort:function(){var t=this.value.saleSort,e={};e.saleSort="asc"==t?"desc":"asc",e.priceSort="",this.onInput(e)},changeType:function(){var t=this.value.goodsType,e={};e.goodsType="one"===t?"double":"one",this.onInput(e)}}};e.default=a},ed89:function(t,e,i){"use strict";i.r(e);var n=i("848c"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},f486:function(t,e,i){"use strict";i.r(e);var n=i("c8ac"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},f618:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".loading-footer[data-v-07243910]{padding:%?30?% 0;color:#666}",""]),t.exports=e},f88c:function(t,e,i){var n=i("0858");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("7e5d816e",n,!0,{sourceMap:!1,shadowMode:!1})}}]);