glhcp/server/public/mobile/static/js/pages-goods_search-goods_se...

1 line
7.8 KiB
JavaScript
Raw Normal View History

2023-08-10 06:59:52 +00:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods_search-goods_search"],{2030:function(t,e,s){var o=s("a095");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=s("4f06").default;i("93945fc0",o,!0,{sourceMap:!1,shadowMode:!1})},"358b":function(t,e,s){"use strict";s.r(e);var o=s("f599"),i=s.n(o);for(var n in o)"default"!==n&&function(t){s.d(e,t,(function(){return o[t]}))}(n);e["default"]=i.a},"493c":function(t,e,s){"use strict";var o=s("2030"),i=s.n(o);i.a},"55e8":function(t,e,s){"use strict";s.r(e);var o=s("7c88"),i=s("358b");for(var n in i)"default"!==n&&function(t){s.d(e,t,(function(){return i[t]}))}(n);s("493c");var a,r=s("f0c5"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"0f38c4a2",null,!1,o["a"],a);e["default"]=c.exports},"7c88":function(t,e,s){"use strict";s.d(e,"b",(function(){return i})),s.d(e,"c",(function(){return n})),s.d(e,"a",(function(){return o}));var o={uSearch:s("7882").default,sortNav:s("03d5").default,mescrollUni:s("de4f").default,goodsList:s("fae9").default},i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("v-uni-view",{staticClass:"goods-search flex-col"},[s("v-uni-view",{staticClass:"header-wrap"},[s("v-uni-view",{staticClass:"search"},[s("u-search",{attrs:{focus:t.showHistory,"bg-color":"#F4F4F4"},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.showHistory=!0},search:function(e){arguments[0]=e=t.$handleEvent(e),t.onSearch.apply(void 0,arguments)}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1),s("sort-nav",{directives:[{name:"show",rawName:"v-show",value:!t.showHistory,expression:"!showHistory"}],model:{value:t.sortConfig,callback:function(e){t.sortConfig=e},expression:"sortConfig"}})],1),s("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.showHistory,expression:"showHistory"}],staticClass:"search-content bg-white"},[s("v-uni-scroll-view",{staticStyle:{height:"100%"},attrs:{"scroll-y":!0}},[t.hotList.length?s("v-uni-view",{staticClass:"search-words"},[s("v-uni-view",{staticClass:"title"},[t._v("热门搜索")]),s("v-uni-view",{staticClass:"words flex flex-wrap"},t._l(t.hotList,(function(e,o){return s("v-uni-view",{key:o,staticClass:"item br60 m-r-20 m-b-20 lighter sm line-1",on:{click:function(s){arguments[0]=s=t.$handleEvent(s),t.onChangeKeyword(e)}}},[t._v(t._s(e))])})),1)],1):t._e(),t.historyList.length?s("v-uni-view",{staticClass:"search-words"},[s("v-uni-view",{staticClass:"title flex row-between"},[s("v-uni-view",[t._v("历史搜索")]),s("v-uni-view",{staticClass:"xs muted m-r-20",staticStyle:{padding:"10rpx 20rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clearSearchFun.apply(void 0,arguments)}}},[t._v("清空")])],1),s("v-uni-view",{staticClass:"words flex flex-wrap"},t._l(t.historyList,(function(e,o){return s("v-uni-view",{key:o,staticClass:"item br60 m-r-20 m-b-20 lighter sm line-1",on:{click:function(s){arguments[0]=s=t.$handleEvent(s),t.onChangeKeyword(e)}}},[t._v(t._s(e))])})),1)],1):t._e()],1)],1),s("v-uni-view",{staticClass:"content"},[s("mescroll-uni",{ref:"mescrollRef",attrs:{up:t.upOption,down:{auto:!1},fixed:!1},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[s("v-uni-view",{staticClass:"goods-list"},[s("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"double"==t.sortConfig.goodsType,expression:"sortConfig.goodsType == 'double'"}],staticClass:"double"},[s("goods-list",{attrs:{type:"double",list:t.goodsList}})],1),s("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"one"==t.sortConfig.goodsType,expression:"sortConfig.goodsType == 'one'"}],staticClass:"one"},[s("goods-list",{attrs:{list:t.goodsList,type:"one"}})],1)],1)],1)],1)],1)},n=[]},a095:function(t,e,s){var o=s("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app