(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["other-list-list"],{"0160":function(t,e,i){var o=i("e860");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("71fa3b86",o,!0,{sourceMap:!1,shadowMode:!1})},"017c":function(t,e,i){var o=i("c2c7");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("1457f72c",o,!0,{sourceMap:!1,shadowMode:!1})},"0a4a":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223"),i("4100"),i("d4b5"),i("aa9c"),i("bf0f"),i("2797"),i("8f71");var n=o(i("5de6")),a=o(i("b7c7")),s=o(i("3114")),d=o(i("20ce")),r=o(i("dc690")),c=o(i("b82d")),l=o(i("78cd")),f={components:{Shenhe:s.default,searchNav:d.default,horizontalList:r.default,verticalList:c.default,footNav:l.default},data:function(){return{searchVal:"",tabs:[{text:this.$t("list.comprehensive"),haveSequence:!1,sequenceTop:1,sequenceDown:0,options:[this.$t("list.recommended"),this.$t("list.commits")],sort:0},{text:this.$t("list.latest"),haveSequence:!1,sequenceTop:0,sequenceDown:0,sort:1},{text:this.$t("list.price"),haveSequence:!0,sequenceTop:1,sequenceDown:1,sequence:0,sort:2,sort_type:-1},{text:this.$t("goods.count"),haveSequence:!1,sequenceTop:0,sequenceDown:0,sequence:1,sort:3}],cat_id:"",topbar:1,sorter:1,show:!1,brand:this.$t("list.brand"),selectindex:-1,datalist:[{id:1,name:"测试"},{id:2,name:"哈哈"}],loadStatus:"loadmore",listtwo:[],currentpage:1,no_data:!1,res_data:{mch_id:"",sorts:0,sort_type:-1,brand_id:"",goods_id:""},useFoot:!0,currentBar:null,total_count:0,listShowWay:1,flowList:[],controlList:[]}},onLoad:function(t){t&&(this.cat_id=t.cat_id||"",this.res_data.brand_id=t.brand_id||"",this.getGoodList()),uni.setNavigationBarTitle({title:this.$t("title.list")}),this.getBandlist(),this.getDiySystemPages()},onShow:function(){var t=this;setTimeout((function(){try{t.useFoot=t.$utils.useFoot(t.controls)}catch(e){}}),500)},onReachBottom:function(){12*this.currentpage>=this.total_count||(this.currentpage++,this.getGoodList("loadMore"))},methods:{gotoSearch:function(t){this.searchVal=t.val,this.getSearchList()},getSearchList:function(){var t={keyword:this.searchVal,page:this.currentpage,sort:this.res_data.sorts};this.currentBar&&this.currentBar.text===this.$t("list.price")&&void 0!=this.currentBar.sort_type&&(t["sort_type"]=this.res_data.sort_type),this.searchRequest(t)},searchRequest:function(t){var e=this;uni.showLoading({title:this.$t("list.search"),mask:!0}),this.$allrequest.classification.goodsList(t).then((function(i){!i.code&&i.data&&(uni.hideLoading(),t.loadMore?e.listtwo=[].concat((0,a.default)(e.listtwo),(0,a.default)(i.data.list)):e.listtwo=i.data.list,e.addRandomData(),e.total_count=i.data.row_count)}))},goGoodsDetails:function(t){uni.navigateTo({url:"/goods/goods/goods?id="+t})},getGoodList:function(t){var e=this,i={cat_id:this.cat_id?this.cat_id:0,page:this.currentpage,mch_id:this.res_data.mch_id,sort:this.res_data.sorts,sort_type:this.res_data.sort_type,brand_id:this.res_data.brand_id,goods_id:this.res_data.goods_id};this.$allrequest.classification.goodsList(i).then((function(i){if(0==i.code){if(0==i.data.list.length)return void(e.no_data=!0);e.total_count=i.data.row_count,e.listtwo="loadMore"==t?[].concat((0,a.default)(e.listtwo),(0,a.default)(i.data.list)):i.data.list,e.addRandomData()}}))},getBandlist:function(){var t=this;this.$allrequest.classification.getBrandList({}).then((function(e){0==e.code&&(t.datalist=e.data.list)}))},selectBar:function(t,e){this.currentBar=t,this.topbar=e+1,t.text===this.$t("list.price")&&(this.res_data.sort_type=1==this.res_data.sort_type?0:1),this.res_data.sorts=t.sort,0!=this.listtwo.length&&this.$refs.uWaterfall.clear(),this.listtwo=[],this.currentpage=1,this.no_data=!1,this.getGoodList()},changeLayout:function(){this.listShowWay=!this.listShowWay,uni.pageScrollTo({scrollTop:0,duration:300})},addRandomData:function(){for(var t=0;t0?i("v-uni-view",[t._l(t.listtwo,(function(e,o){return i("v-uni-view",{key:o},[t.listShowWay?t._e():i("horizontalList",{key:o,attrs:{good:e}})],1)})),t.listShowWay?i("u-waterfall",{ref:"uWaterfall",scopedSlots:t._u([{key:"left",fn:function(e){var o=e.leftList;return[t._l(o,(function(t,e){return[i("verticalList",{key:e,attrs:{good:t}})]}))]}},{key:"right",fn:function(e){var o=e.rightList;return[t._l(o,(function(t,e){return[i("verticalList",{key:e,attrs:{good:t}})]}))]}}],null,!1,2005610898),model:{value:t.listtwo,callback:function(e){t.listtwo=e},expression:"listtwo"}}):t._e()],2):t._e(),0==t.listtwo.length?i("v-uni-view",{staticClass:"no-good"},[i("u-empty",{attrs:{text:t.$t("common.noGoods"),mode:"search"}})],1):t._e(),t.listtwo.length>0&&12*t.currentpage>=t.total_count?i("v-uni-view",{staticClass:"data-complete"},[t._v("没有更多了 ~")]):t._e()],1),i("footNav",{attrs:{controlList:t.controlList}})],1):1==t.shenheStatus?i("Shenhe",{attrs:{isShowTitle:!0}}):t._e()},a=[]},a41f:function(t,e,i){"use strict";var o=i("017c"),n=i.n(o);n.a},ab33:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5ef2");var n=o(i("cf13")),a={props:{good:{type:Object,default:{}}},components:{goodsSaleNo:n.default},data:function(){return{}},created:function(){},filters:{priceBeforeZero:function(t){return t.indexOf(".")<0?"".concat(t,"."):t.substr(0,t.indexOf("."))},priceAfterZero:function(t){return t.indexOf(".")<0?"00":t.substr(t.indexOf("."),t.lenhth)}},computed:{},methods:{gotoDetail:function(){this.$utils.toUrl("/goods/goods/goods?id="+this.good.id)},addCart:function(){uni.$emit("searchAddGoods",this.good)}}};e.default=a},b6c7:function(t,e,i){"use strict";i.r(e);var o=i("944b"),n=i("ef36");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("4cbf");var s=i("828b"),d=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"1873d49d",null,!1,o["a"],void 0);e["default"]=d.exports},b82d:function(t,e,i){"use strict";i.r(e);var o=i("75d6"),n=i("17bf");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("bb36");var s=i("828b"),d=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"f949bd1e",null,!1,o["a"],void 0);e["default"]=d.exports},bb36:function(t,e,i){"use strict";var o=i("0160"),n=i.n(o);n.a},bcfa:function(t,e,i){var o=i("c86c");e=o(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-1873d49d] .u-form-item--right__content__slot > uni-view,[data-v-1873d49d] .u-form-item--right__content__slot > div,[data-v-1873d49d] .u-form-item--right__content__slot > span,[data-v-1873d49d] .u-form-item--right__content__slot > uni-text{width:100%}.list-content[data-v-1873d49d]{min-height:100vh;background-color:#fff;padding-bottom:%?120?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?120?%);padding-bottom:calc(env(safe-area-inset-bottom) + %?120?%)}.list-content .list-header[data-v-1873d49d]{width:100%;display:flex;align-items:center;position:fixed;left:0;z-index:201;background-color:#fff}.list-content .list-header .condition-nav[data-v-1873d49d]{width:%?628?%;height:%?80?%}.list-content .list-header .condition-nav .tabs-section[data-v-1873d49d]{width:%?628?%;height:100%;overflow-x:scroll;display:flex;padding-top:%?23?%}.list-content .list-header .condition-nav .tabs-section .tabs-item[data-v-1873d49d]{width:25%;flex-shrink:0}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word[data-v-1873d49d]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:%?28?%;font-weight:500;color:#262626;line-height:1}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .active-tab[data-v-1873d49d]{width:%?26?%;height:%?18?%;display:flex;justify-content:center;align-items:center}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .active-tab .active-icon[data-v-1873d49d]{width:%?24?%;height:%?4?%;background:#f0250e}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .tab-text[data-v-1873d49d]{display:flex;align-items:center}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .tab-text .sequence[data-v-1873d49d]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:%?5?%;position:relative;height:%?29?%}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .tab-text .sequence .iconfont[data-v-1873d49d]{font-size:%?26?%;position:absolute;left:0;color:#000}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .tab-text .sequence .top-icon[data-v-1873d49d]{top:%?-6?%}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .tab-text .sequence .down-icon[data-v-1873d49d]{bottom:%?-6?%}.list-content .list-header .condition-nav .tabs-section .tabs-item .tab-word .tab-text .sequence .color-red[data-v-1873d49d]{color:#f0250e}.list-content .list-header .layout-box[data-v-1873d49d]{width:100%;flex:1;height:%?80?%;display:flex;justify-content:center;align-items:center}.list-content .list-header .layout-box .iconfont[data-v-1873d49d]{color:#262626;font-size:%?44?%;font-weight:500;padding-bottom:%?10?%}.list-content .list-body[data-v-1873d49d]{width:100%;padding-top:%?80?%}.list-content .list-body .data-complete[data-v-1873d49d]{display:flex;justify-content:center;align-items:center;font-size:%?22?%;font-family:PingFang SC;font-weight:400;color:#c1c1c1;padding:%?40?% 0;clear:both}.list-content .list-body .no-good[data-v-1873d49d]{font-size:%?32?%;color:#999;text-align:center;margin-top:%?200?%}.list-content .add-padding[data-v-1873d49d]{padding:%?96?% 2.13vw 4.73vw}.list-content .demo-warter[data-v-1873d49d]{margin:5px;background-color:#fff;position:relative}.list-content .demo-warter .demo-title[data-v-1873d49d]{padding:0 %?16?%;margin-bottom:%?15?%;margin-top:10px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:%?26?%;color:#303133;background-color:#fff}.list-content .demo-warter .price-row[data-v-1873d49d]{padding:%?0?% %?16?% %?16?%;display:flex;align-items:center;justify-content:space-between;background-color:#fff}.list-content .demo-warter .price-row .price-row-left[data-v-1873d49d]{display:flex}.list-content .demo-warter .price-row .price-row-left uni-view[data-v-1873d49d]{font-size:%?28?%;color:#ff334b}.list-content .demo-warter .price-row .price-row-right[data-v-1873d49d]{font-size:%?22?%;color:#999}.bg-grey[data-v-1873d49d]{background-color:#f2f2f2}.demo-warter[data-v-1873d49d]{margin:5px;background-color:#fff;position:relative}.demo-warter .demo-title[data-v-1873d49d]{padding:0 %?16?%;margin-bottom:%?15?%;margin-top:10px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:%?26?%;color:#303133;background-color:#fff}.demo-warter .price-row[data-v-1873d49d]{padding:%?0?% %?16?% %?16?%;display:flex;align-items:center;justify-content:space-between;background-color:#fff}.demo-warter .price-row .price-row-left[data-v-1873d49d]{display:flex}.demo-warter .price-row .price-row-left uni-view[data-v-1873d49d]{font-size:%?28?%;color:#ff334b}.demo-warter .price-row .price-row-right[data-v-1873d49d]{font-size:%?22?%;color:#999}',""]),t.exports=e},c2c7:function(t,e,i){var o=i("c86c");e=o(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-043f8ed2] .u-form-item--right__content__slot > uni-view,[data-v-043f8ed2] .u-form-item--right__content__slot > div,[data-v-043f8ed2] .u-form-item--right__content__slot > span,[data-v-043f8ed2] .u-form-item--right__content__slot > uni-text{width:100%}.list-item[data-v-043f8ed2]{margin:0 %?24?% %?24?%}.list-item .good-banner[data-v-043f8ed2]{width:%?264?%;height:%?264?%;background:#f2f2f2;border-radius:%?16?%;display:block;margin-right:%?20?%;flex-shrink:0;position:relative;overflow:hidden}.list-item .good-banner .banner[data-v-043f8ed2]{width:100%;height:100%;display:block;border-radius:%?16?%}.list-item .goods-info[data-v-043f8ed2]{flex:1;flex-shrink:0}.list-item .goods-info .goods-name[data-v-043f8ed2]{font-size:%?28?%;font-weight:400;color:#262626;line-height:%?40?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.list-item .goods-info .goods-price[data-v-043f8ed2]{line-height:%?40?%;margin-top:%?37?%}.list-item .goods-info .goods-price .price[data-v-043f8ed2]{display:flex;align-items:baseline;color:#fa2c19;font-weight:500}.list-item .goods-info .goods-price .price uni-text[data-v-043f8ed2]:nth-child(1){font-size:%?24?%}.list-item .goods-info .goods-price .price uni-text[data-v-043f8ed2]:nth-child(2){font-size:%?36?%}.list-item .goods-info .goods-price .price uni-text[data-v-043f8ed2]:nth-child(3){font-size:%?24?%}.list-item .goods-info .good-evaluate[data-v-043f8ed2]{margin-top:%?10?%;font-size:%?22?%;font-weight:400;color:#888;line-height:%?40?%}.list-item .goods-info .good-evaluate uni-text[data-v-043f8ed2]:last-child{margin-left:%?13?%}.list-item .goods-info .good-sale[data-v-043f8ed2]{margin-top:%?8?%;font-size:%?22?%;font-weight:400;color:#888;line-height:%?40?%}.list-item .goods-info .good-sale .add-car[data-v-043f8ed2]{width:%?52?%;height:%?52?%;background:#f2f2f2;border-radius:%?26?%;display:flex;justify-content:center;align-items:center}.list-item .goods-info .good-sale .add-car uni-image[data-v-043f8ed2]{width:%?24?%;height:%?24?%;display:block}',""]),t.exports=e},dc690:function(t,e,i){"use strict";i.r(e);var o=i("5855"),n=i("1c6b");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("a41f");var s=i("828b"),d=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"043f8ed2",null,!1,o["a"],void 0);e["default"]=d.exports},df1a:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5ef2");var n=o(i("cf13")),a={props:{good:{type:Object,default:{}}},components:{goodsSaleNo:n.default},data:function(){return{}},created:function(){},filters:{priceBeforeZero:function(t){return t.indexOf(".")<0?"".concat(t,"."):t.substr(0,t.indexOf("."))},priceAfterZero:function(t){return t.indexOf(".")<0?"00":t.substr(t.indexOf("."),t.lenhth)}},computed:{},methods:{gotoDetail:function(){this.$utils.toUrl("/goods/goods/goods?id="+this.good.id)},addCart:function(){uni.$emit("searchAddGoods",this.good)}}};e.default=a},e860:function(t,e,i){var o=i("c86c");e=o(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-f949bd1e] .u-form-item--right__content__slot > uni-view,[data-v-f949bd1e] .u-form-item--right__content__slot > div,[data-v-f949bd1e] .u-form-item--right__content__slot > span,[data-v-f949bd1e] .u-form-item--right__content__slot > uni-text{width:100%}.list-item[data-v-f949bd1e]{width:%?354?%;margin:0 %?10?% %?10?% 0;display:flex;flex-direction:column;position:relative;background:#fff;border-radius:%?16?%;float:left;padding-bottom:%?12?%}.list-item .good-banner[data-v-f949bd1e]{width:%?354?%;background:#ececec;border-radius:%?16?% %?16?% 0 0;display:block;position:relative}.list-item .good-banner .banner[data-v-f949bd1e]{width:%?354?%;background:#ececec;border-radius:%?16?% %?16?% 0 0;display:block}.list-item .goods-info[data-v-f949bd1e]{margin:%?14?% auto 0;width:89.83%}.list-item .goods-info .goods-name[data-v-f949bd1e]{max-width:%?322?%;font-size:%?28?%;font-weight:400;color:#262626;line-height:%?40?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.list-item .goods-info .goods-price[data-v-f949bd1e]{max-width:%?322?%;line-height:%?40?%;margin-top:%?20?%}.list-item .goods-info .goods-price .price[data-v-f949bd1e]{max-width:%?322?%;display:flex;align-items:baseline;color:#fa2c19;font-weight:500}.list-item .goods-info .goods-price .price uni-text[data-v-f949bd1e]:nth-child(1){font-size:%?24?%}.list-item .goods-info .goods-price .price uni-text[data-v-f949bd1e]:nth-child(2){font-size:%?36?%}.list-item .goods-info .goods-price .price uni-text[data-v-f949bd1e]:nth-child(3){font-size:%?24?%}.list-item .goods-info .good-evaluate[data-v-f949bd1e]{max-width:%?322?%;margin-top:%?10?%;font-size:%?22?%;font-weight:400;color:#888;line-height:%?40?%}.list-item .goods-info .good-evaluate uni-text[data-v-f949bd1e]:last-child{margin-left:%?13?%}.list-item .goods-info .good-sale[data-v-f949bd1e]{max-width:%?322?%;margin-top:%?8?%;font-size:%?22?%;font-weight:400;color:#888;line-height:%?40?%}.list-item .add-car[data-v-f949bd1e]{width:%?52?%;height:%?52?%;background:#f2f2f2;border-radius:%?26?%;position:absolute;right:0;bottom:0;z-index:11;display:flex;justify-content:center;align-items:center}.list-item .add-car uni-image[data-v-f949bd1e]{width:%?24?%;height:%?24?%;display:block}',""]),t.exports=e},ef36:function(t,e,i){"use strict";i.r(e);var o=i("0a4a"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a}}]);