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.
hezhiying/unpackage/dist/build/h5/static/js/pages-SearchGoodsList-Searc...

1 line
16 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-SearchGoodsList-SearchGoodsList"],{1917:function(t,i,e){t.exports=e.p+"static/img/empty.f3782c52.png"},"1b33":function(t,i,e){"use strict";e.r(i);var a=e("3b14"),s=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);i["default"]=s.a},"3b14":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("eb09")),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},"5de1":function(t,i,e){"use strict";var a=e("cad0"),s=e.n(a);s.a},"8e92":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("1917"),mode:"widthFix"}})],1)],1)],1)],1)],1)},s=[]},a25c:function(t,i,e){"use strict";e.r(i);var a=e("8e92"),s=e("1b33");for(var o in s)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(o);e("5de1");var n=e("f0c5"),d=Object(n["a"])(s["default"],a["b"],a["c"],!1,null,"a6ebd452",null,!1,