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"],{"0a33":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("c63e")),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},"0fe4":function(t,i,e){var a=e("f3d3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=e("4f06").default;s("0a8f9287",a,!0,{sourceMap:!1,shadowMode:!1})},4367:function(t,i,e){"use strict";e.r(i);var a=e("7244"),s=e("96ec");for(var o in s)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(o);e("99d4");var n=e("f0c5"),d=Object(n["a"])(s["default"],a["b"],a["c"],!1,null,"a6ebd452",null,!1,a["a"],void 0);i["default"]=d.exports},"70ed":function(t,i,e){t.exports=e.p+"static/img/empty.f3782c52.png"},7244: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("70ed"),mode:"widthFix"}})],1)],1)],1)],1)],1)},s=
|