You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
16 KiB
1 line
16 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-SearchGoodsList-SearchGoodsList"],{"12a1":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"search-head"},[a("v-uni-view",{staticClass:"back",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onBack.apply(void 0,arguments)}}},[a("v-uni-text")],1),a("v-uni-view",{staticClass:"search"},[a("v-uni-view",[t._v(t._s(t.keyword))])],1),a("v-uni-view",{staticClass:"cut",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.isList=!t.isList}}},[a("v-uni-text",{staticClass:"iconfont",class:t.isList?"icon-shitu01":"icon-shitu02"})],1)],1),a("v-uni-view",{staticClass:"screen-info"},[a("v-uni-view",{staticClass:"screen-list"},[a("v-uni-view",{staticClass:"list"},[a("v-uni-text",[t._v("综合排序")]),a("v-uni-text")],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-text",[t._v("价格排序")]),a("v-uni-view",{staticClass:"icon_j"},[a("v-uni-text",{staticClass:"iconfont icon-sanjiao up"}),a("v-uni-text",{staticClass:"iconfont icon-sanjiao down"})],1)],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-text",[t._v("销量优先")]),a("v-uni-text")],1)],1)],1),a("v-uni-view",{staticClass:"goods-data"},[a("mescroll-body",{ref:"mescrollRef",attrs:{down:t.downOption,up:t.upOption,top:0},on:{init:function(i){arguments[0]=i=t.$handleEvent(i),t.mescrollInit.apply(void 0,arguments)},down:function(i){arguments[0]=i=t.$handleEvent(i),t.downCallback.apply(void 0,arguments)},up:function(i){arguments[0]=i=t.$handleEvent(i),t.upCallback.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"goods-list"},[t.goodsList.length>0?a("v-uni-view",t._l(t.goodsList,(function(i,e){return a("v-uni-view",{key:e,class:t.isList?"list-view":"list-li",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onGoodsList.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"thumb"},[a("v-uni-image",{attrs:{src:i.img,mode:"heightFix"}})],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",{staticClass:"two-omit"},[t._v(t._s(i.name))])],1),a("v-uni-view",{staticClass:"price"},[a("v-uni-view",{staticClass:"retail-price"},[a("v-uni-text",{staticClass:"min"},[t._v("¥")]),a("v-uni-text",{staticClass:"max"},[t._v(t._s(i.price))]),1===i.is_goods?a("v-uni-view",{staticClass:"tag"},[a("v-uni-text",[t._v("抢购价")])],1):t._e()],1),a("v-uni-view",{staticClass:"vip-price"},[a("v-uni-text",{staticClass:"min"},[t._v("¥")]),a("v-uni-text",{staticClass:"max"},[t._v(t._s(i.vip_price))])],1)],1)],1)],1)})),1):a("v-uni-view",{staticClass:"empty"},[a("v-uni-image",{attrs:{src:e("fd4f"),mode:"widthFix"}})],1)],1)],1)],1)],1)},s=[]},"45e3":function(t,i,e){"use strict";var a=e("904a"),s=e.n(a);s.a},5098:function(t,i,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=a(e("e984")),o={mixins:[s.default],data:function(){return{mescroll:null,downOption:{},upOption:{},isList:!0,screenShow:0,keyword:"",goodsList:[]}},onLoad:function(t){this.keyword=t.keyword||""},methods:{downCallback:function(){this.mescroll.endSuccess()},upCallback:function(t){var i=this;setTimeout((function(){i.mescroll.endByPage(10,20)}),500)},onBack:function(){uni.navigateBack()},onGoodsList:function(t,i){uni.navigateTo({url:"/pages/GoodsDetails/GoodsDetails",animationType:"zoom-fade-out",animationDuration:200})}}};i.default=o},"8cd2":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r
|