|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-list-index"],{"0c0b":function(t,e,n){"use strict";n.r(e);var a=n("c416"),o=n("cfb0");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("72e0");var r,s=n("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"55a23ce9",null,!1,a["a"],r);e["default"]=c.exports},"115b":function(t,e,n){"use strict";n.r(e);var a=n("a2be"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"145b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ApiGetCategoryTwoAndGoods=e.ApiGetCategoryOneList=e.ApiGetCategoryNav=e.ApiGetGoodsSkus=e.ApiGetGoodsDetail=e.ApiGetRecommendedGoodsList=e.ApiGetGoodsList=void 0;var a=n("5767"),o="/mall/product",i=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(o,"/app/product/page"),t))};e.ApiGetGoodsList=i;var r=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(o,"/app/product/recommended"),t))};e.ApiGetRecommendedGoodsList=r;var s=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(o,"/app/product/").concat(t.id)))};e.ApiGetGoodsDetail=s;var c=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(o,"/app/product/sku"),t))};e.ApiGetGoodsSkus=c;var u=function(){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(o,"/app/product/categoryNavigation")))};e.ApiGetCategoryNav=u;var d=function(){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(o,"/app/productCategory/levelOne")))};e.ApiGetCategoryOneList=d;var l=function(t){return(0,a.ToAsyncAwait)(a.MsbRequest.get("".concat(o,"/app/productCategory/listCategoryAndProduct/").concat(t.categoryId)))};e.ApiGetCategoryTwoAndGoods=l},"16a8":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-button",{class:"ui-btn ui-btn__"+t.type+" ui-btn__"+t.size+(t.disabed?" ui-btn__disabed":""),on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t._t("default")],2)},i=[]},"1d05":function(t,e,n){var a=n("577d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("0db382b4",a,!0,{sourceMap:!1,shadowMode:!1})},2702:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{type:{type:String,default:"line"},size:{type:String,default:"normal"},disabed:{type:Boolean,default:!1}},methods:{click:function(){!this.disabed&&this.$emit("click")}}};e.default=a},"2fac":function(t,e,n){"use strict";n.r(e);var a=n("d5b2"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"359f":function(t,e,n){"use strict";n.r(e);var a=n("16a8"),o=n("a5d5");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("c95f");var r,s=n("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"5577a645",null,!1,a["a"],r);e["default"]=c.exports},"3ccf":function(t,e,n){var a=n("5640");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("20e9ce27",a,!0,{sourceMap:!1,shadowMode:!1})},"464f":function(t,e,n){"use strict";var a=n("4ea4");n("99af"),n("4e82"),n("ac1f"),n("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var o=a(n("1da1")),i=n("145b"),r=a(n("91cc")),s=a(n("ba2d")),c=a(n("1014")),u=a(n("0c0b")),d=a(n("8832")),l=a(n("359f")),f={components:{BsChoiceGoods:r.default,Sort:s.default,UiPageHeader:c.default,UiGoodsGroup:u.default,BsEmpty:d.default,UiButton:l.default},data:function(){return{sortType:"all",sortPrice:!1,loadingStatus:"loading",listData:[],params:{length:10,pageIndex:1,name:this.$Route.query.search,categoryId:this.$Route.query.categoryId,order:""}}},computed:{showEmpty:function(){return!this.listData.length&&1==this.params.pageIndex&&"loading"!=this.loadingStatus}},onLoad:function(){this.getGoodsList()},onReachBottom:function(){this.showEmpty?this.$refs.choiceGoods.next():this.next()},methods:{sortChange:function(t){this.params.order=t.sort?"".concat(t.value,":").concat(t.sort):t.value,this.params.pageIndex=1,this.listData=[],this.getGoodsList()},getGoodsList:function(){var t=this;return(0,o.default)(regeneratorRuntime.mark((function e(){var n,a,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loadingStatus="loading",e.next=3,(0,i.ApiGetGoodsList)(t.params);case 3:if(n=e.sent,a=n.error,o=n.result,!a){e.next=9;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 9:t.listData=t.listData.concat(o.records),o.records.length<t.params.length&&(t.loadingStatus="nomore");case 11:case"end":return e.stop()}}),e)})))()},next:function(){if("nomore"===this.loadingStatus)return!1;this.params.pageIndex++,this.getGoodsList()}}};e.default=f},"4c1f":function(t,e,n){var a=n("24fb");e=a(!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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-77374bb4]{background:#f8f8f8}.header[data-v-77374bb4]{position:-webkit-sticky;position:sticky;top:var(--window-top);z-index:99}.search--input[data-v-77374bb4]{display:block;margin-left:%?20?%;height:%?70?%;border:none;box-sizing:border-box;background:#f8f8f8}.search--input__placeholder[data-v-77374bb4]{font-size:%?26?%;color:#666}.goods-group[data-v-77374bb4]{padding-top:%?30?%}.title[data-v-77374bb4]{font-size:%?32?%;text-align:center;margin:%?51?% auto %?30?% auto;display:flex;align-items:center;justify-content:space-between;width:%?500?%}.title[data-v-77374bb4]::after, .title[data-v-77374bb4]::before{display:inline-block;content:"";width:%?160?%;height:%?2?%;background:linear-gradient(90deg,#ccc,hsla(0,0%,80%,0))}.title[data-v-77374bb4]::before{background:linear-gradient(270deg,#ccc,hsla(0,0%,80%,0))}body.?%PAGE?%[data-v-77374bb4]{background:#f8f8f8}',""]),t.exports=e},5640:function(t,e,n){var a=n("24fb");e=a(!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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-btn[data-v-5577a645]{display:inline-block;padding:0 %?50?%;border-radius:%?50?%}.ui-btn__normal[data-v-5577a645]{height:%?70?%;line-height:%?70?%;font-size:%?28?%}.ui-btn__max[data-v-5577a645]{width:%?690?%;height:%?80?%;line-height:%?80?%;font-size:%?32?%}.ui-btn__gradual[data-v-5577a645]{background:linear-gradient(270deg,#ff7f39,#ffa35b);color:#fff}.ui-btn__solid[data-v-5577a645]{background:#ff875b;color:#fff}.ui-btn__line[data-v-5577a645]{background:none;color:#333;border:1px solid #c0b9b9}.ui-btn__primaryLine[data-v-5577a645]{background:none;color:#ff875b;border:1px solid #ff875b}.ui-btn__disabed[data-v-5577a645]{opacity:.8}',""]),t.exports=e},"577d":function(t,e,n){var a=n("24fb");e=a(!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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.goods[data-v-55a23ce9]{padding:0 %?30?%;display:flex;justify-content:space-between;flex-flow:wrap}.goods--column[data-v-55a23ce9]{width:%?335?%}.goods-item[data-v-55a23ce9]{width:%?335?%;border-radius:%?8?%;background:#fff;margin-bottom:%?30?%;overflow:hidden;padding-bottom:%?20?%}.goods-item--img[data-v-55a23ce9]{width:100%}.goods-item--title[data-v-55a23ce9]{font-size:%?28?%;padding:%?20?% %?20?%;line-height:%?36?%}.goods-item--pirce-box[data-v-55a23ce9]{padding:0 %?20?%;display:flex;justify-content:space-between}.goods-item--pirce[data-v-55a23ce9]{font-size:%?32?%;color:#ff512b}.goods-item--original-pirce[data-v-55a23ce9]{color:#ccc;font-size:%?20?%;text-decoration:line-through;margin-left:%?15?%}.goods-item--icon[data-v-55a23ce9]{width:%?22?%;height:%?24?%}.goods-item--activity[data-v-55a23ce9]{height:%?40?%;line-height:%?40?%;margin:%?20?% %?20?% 0;background:#ffede9;border-radius:%?20?%;font-size:%?22?%;color:#ff512b;display:flex}.goods-item--activity-title[data-v-55a23ce9]{height:%?40?%;display:block;border-radius:%?20?%;padding:0 %?14?%;background:#ff512b;color:#fff}.goods-item--activity-desc[data-v-55a23ce9]{flex:1 1 auto;text-align:center}',""]),t.exports=e},"69fb":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uvInput",{attrs:{value:t.value,type:t.type,fixed:t.fixed,disabled:t.disabled,disabledColor:t.disabledColor,clearable:t.clearable,password:t.password,maxlength:t.maxlength,placeholder:t.placeholder,placeholderClass:t.placeholderClass,placeholderStyle:t.placeholderStyle,showWordLimit:t.showWordLimit,confirmType:t.confirmType,confirmHold:t.confirmHold,holdKeyboard:t.holdKeyboard,focus:t.focus,autoBlur:t.autoBlur,disableDefaultPadding:t.disableDefaultPadding,cursor:t.cursor,cursorSpacing:t.cursorSpacing,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd,adjustPosition:t.adjustPosition,inputAlign:t.inputAlign,fontSize:t.fontSize,color:t.color,prefixIcon:t.prefixIcon,suffixIcon:t.suffixIcon,suffixIconStyle:t.suffixIconStyle,prefixIconStyle:t.prefixIconStyle,border:t.border,readonly:t.readonly,shape:t.shape,customStyle:t.customStyle,formatter:t.formatter},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("focus")},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("blur")},keyboardheightchange:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("keyboardheightchange")},change:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.$emit("change",e)}.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.$emit("input",e)}.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.$emit("confirm",e)}.apply(void 0,arguments)},clear:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("clear")},click:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("click")}}},[t._t("prefix",null,{slot:"prefix"}),t._t("suffix",null,{slot:"suffix"})],2)},i=[]},"72e0":function(t,e,n){"use strict";var a=n("1d05"),o=n.n(a);o.a},"75fb":function(t,e,n){"use strict";var a=n("aaed"),o=n.n(a);o.a},"88cd":function(t,e,n){"use strict";n("4de4"),n("4160"),n("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{}},props:{listData:{type:Array,defalut:[]}},computed:{goodsLeftData:function(){return this.listData.filter((function(t,e){return e%2===0}))},goodsRightData:function(){return this.listData.filter((function(t,e){return e%2!==0}))}},watch:{lisatData:function(t){console.log(t);var e=[],n=[];t.forEach((function(t,a){a%2===0?e.push(t):n.push(t)})),this.goodsLeftData=e,this.goodsRightData=n}},mounted:function(){},methods:{}};e.default=a},"8ff4":function(t,e,n){"use strict";n.r(e);var a=n("464f"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},"91cc":function(t,e,n){"use strict";n.r(e);var a=n("d565b"),o=n("115b");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);var r,s=n("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"7a76e36c",null,!1,a["a"],r);e["default"]=c.exports},9214:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("1fb7")),i=a(n("acf3")),r={name:"u--input",mixins:[uni.$u.mpMixin,i.default,uni.$u.mixin],components:{uvInput:o.default}};e.default=r},"9df0":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var a={"u-Input":n("eb73").default,uLoadmore:n("c153").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"header"},[n("UiPageHeader",[n("u--input",{staticClass:"search--input",attrs:{slot:"custom",prefixIconStyle:"font-size:48rpx;color:$color-grey3",prefixIcon:"search",placeholderClass:"search--input__placeholder",clearable:!0,placeholder:"请输入您想要搜索的商品名称",value:t.$Route.query.search},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.push("/search")}},slot:"custom"})],1),n("Sort",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.sortChange.apply(void 0,arguments)}}})],1),t.listData.length?n("UiGoodsGroup",{staticClass:"goods-group",attrs:{listData:t.listData}}):t._e(),t.showEmpty?t._e():n("u-loadmore",{attrs:{status:t.loadingStatus}}),t.showEmpty?[n("BsEmpty",{attrs:{tips:"没搜到您想要的相关商品"}},[n("UiButton",{attrs:{slot:"btn"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.replace("/")}},slot:"btn"},[t._v("去逛逛")])],1),n("v-uni-view",{staticClass:"title"},[t._v("为您精选")]),n("BsChoiceGoods",{ref:"choiceGoods",staticClass:"goods-group"})]:t._e()],2)},i=[]},a2be:function(t,e,n){"use strict";var a=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("5530"));n("96cf");var i=a(n("1da1")),r=n("145b"),s=a(n("8832")),c=a(n("0c0b")),u={components:{BsEmpty:s.default,UiGoodsGroup:c.default},data:function(){return{loadingStatus:"loading",listData:[],params:{length:10,pageIndex:1}}},mounted:function(){this.getGoodsList()},methods:{getGoodsList:function(){var t=this;return(0,i.default)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loadingStatus="loading",t.$Route.query,e.next=4,(0,r.ApiGetGoodsList)((0,o.default)({},t.params));case 4:n=e.sent,n.error,a=n.result,t.listData=t.listData.concat(a.records),!a.records.length<t.params.length&&(t.loadingStatus="nomore");case 9:case"end":return e.stop()}}),e)})))()},next:function(){if("nomore"===this.loadingStatus)return!1;this.params.pageIndex++,this.getGoodsList()}}};e.default=u},a5d5:function(t,e,n){"use strict";n.r(e);var a=n("2702"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},a85b:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"sort"},t._l(t.sortData,(function(e){return n("v-uni-view",{key:e.value,staticClass:"sort--item",class:e.value==t.active.value&&"sort--item__active",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.change(e)}}},[n("v-uni-text",{staticClass:"sort--label"},[t._v(t._s(e.label))]),e.sort?n("v-uni-view",[n("v-uni-view",{staticClass:"sort--icon sort--icon__up",class:{"sort--icon__active":"ASC"===e.sort&&e.value===t.active.value}}),n("v-uni-view",{staticClass:"sort--icon sort--icon__down",class:{"sort--icon__active":"DESC"===e.sort&&e.value===t.active.value}})],1):t._e()],1)})),1)},i=[]},aaed:function(t,e,n){var a=n("4c1f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("c684996a",a,!0,{sourceMap:!1,shadowMode:!1})},ba2d:function(t,e,n){"use strict";n.r(e);var a=n("a85b"),o=n("2fac");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("f3ad");var r,s=n("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"4792316a",null,!1,a["a"],r);e["default"]=c.exports},bcff:function(t,e,n){"use strict";n.r(e);var a=n("9df0"),o=n("8ff4");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("75fb");var r,s=n("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"77374bb4",null,!1,a["a"],r);e["default"]=c.exports},c416:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"goods"},[n("v-uni-view",{staticClass:"goods--column"},t._l(t.goodsLeftData,(function(e){return n("v-uni-view",{key:e.id,staticClass:"goods-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/goodsDetail?id="+e.id)}}},[n("v-uni-image",{staticClass:"goods-item--img",attrs:{src:e.mainPicture,mode:"widthFix"}}),n("v-uni-view",{staticClass:"goods-item--title"},[n("v-uni-text",[t._v(t._s(e.name))])],1),n("v-uni-view",{staticClass:"goods-item--pirce-box"},[n("v-uni-view",[n("v-uni-text",{staticClass:"goods-item--pirce"},[t._v("¥"+t._s(e.startingPrice))])],1)],1)],1)})),1),n("v-uni-view",{staticClass:"goods--column"},t._l(t.goodsRightData,(function(e){return n("v-uni-view",{key:e.id,staticClass:"goods-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/goodsDetail?id="+e.id)}}},[n("v-uni-image",{staticClass:"goods-item--img",attrs:{src:e.mainPicture,mode:"widthFix"}}),n("v-uni-view",{staticClass:"goods-item--title"},[n("v-uni-text",[t._v(t._s(e.name))])],1),n("v-uni-view",{staticClass:"goods-item--pirce-box"},[n("v-uni-view",[n("v-uni-text",{staticClass:"goods-item--pirce"},[t._v("¥"+t._s(e.startingPrice))])],1)],1)],1)})),1)],1)},i=[]},c95f:function(t,e,n){"use strict";var a=n("3ccf"),o=n.n(a);o.a},cfb0:function(t,e,n){"use strict";n.r(e);var a=n("88cd"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},cfce:function(t,e,n){"use strict";n.r(e);var a=n("9214"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},d565b:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var a={uLoadmore:n("c153").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("UiGoodsGroup",{attrs:{listData:t.listData}}),n("u-loadmore",{attrs:{status:t.loadingStatus}})],1)},i=[]},d5b2:function(t,e,n){"use strict";var a=n("4ea4");n("4e82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("5530")),i={data:function(){return{sortData:[{value:"",label:"综合"},{value:"starting_price",label:"价格",sort:"ASC"},{value:"sales",label:"销量"},{value:"create_time",label:"上新"}],active:{value:"",label:"综合"}}},methods:{change:function(t){if(t.sort&&("ASC"===t.sort?t.sort="DESC":t.sort="ASC"),console.log(t.value+t.sort,this.active.value+this.active.sort),t.value+t.sort===this.active.value+this.active.sort)return!1;this.active=(0,o.default)({},t),this.$emit("change",this.active)}}};e.default=i},eb73:function(t,e,n){"use strict";n.r(e);var a=n("69fb"),o=n("cfce");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);var r,s=n("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=c.exports},f3ad:function(t,e,n){"use strict";var a=n("ff04"),o=n.n(a);o.a},fd41:function(t,e,n){var a=n("24fb");e=a(!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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.sort[data-v-4792316a]{height:%?88?%;padding:0 %?40?%;display:flex;justify-content:space-between;align-items:center;background:#fff}.sort--item[data-v-4792316a]{display:flex;align-items:center;color:#666}.sort--item__active[data-v-4792316a]{color:#333}.sort--label[data-v-4792316a]{font-size:%?28?%;margin-right:%?16?%}.sort--icon[data-v-4792316a]{border:%?8?% solid #999;border-left-color:transparent;border-right-color:transparent}.sort--icon__up[data-v-4792316a]{border-top-color:transparent;margin-bottom:%?6?%}.sort--icon__up.sort--icon__active[data-v-4792316a]{border-bottom-color:#ff7f39}.sort--icon__down[data-v-4792316a]{border-bottom-color:transparent}.sort--icon__down.sort--icon__active[data-v-4792316a]{border-top-color:#ff7f39}',""]),t.exports=e},ff04:function(t,e,n){var a=n("fd41");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("519175b0",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |