zx/public/static/js/pages-columnGoods-goods_sea...

1 line
25 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-goods_search-index"],{24253:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"searchGood"},[i("v-uni-view",{staticClass:"search acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"input acea-row row-between-wrapper"},[i("v-uni-text",{staticClass:"iconfont icon-sousuo2"}),i("v-uni-input",{attrs:{type:"text",value:t.searchValue,focus:t.focus,placeholder:"点击搜索商品、店铺名称","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.setValue.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"bnt",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.searchBut.apply(void 0,arguments)}}},[t._v("搜索")])],1),i("v-uni-view",{staticClass:"title"},[t._v("历史记录"),i("v-uni-text",{staticClass:"iconfont icon-shanchu",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.remove.apply(void 0,arguments)}}})],1),t.historyList.length>0?i("v-uni-view",{staticClass:"list acea-row",style:{height:t.historyBox?"auto":"150rpx"}},[t._l(t.historyList,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"item line1",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.setHotSearchValue(e,0)}}},[t._v(t._s(e))])]}))],2):t._e(),i("v-uni-view",[t.historyList.length>9&&!t.historyBox?i("v-uni-view",{staticClass:"more-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.historyBox=!0}}},[t._v("展开全部"),i("v-uni-text",{staticClass:"iconfont icon-xiangxia"})],1):t._e(),t.historyList.length>9&&t.historyBox?i("v-uni-view",{staticClass:"more-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.historyBox=!1}}},[t._v("收起"),i("v-uni-text",{staticClass:"iconfont icon-xiangshang"})],1):t._e()],1),0==t.historyList.length?i("v-uni-view",{staticStyle:{"text-align":"center",color:"#999"}},[t._v("暂无搜索历史~")]):t._e(),i("v-uni-view",{staticClass:"title"},[t._v("热门搜索")]),i("v-uni-view",{staticClass:"list acea-row",style:{height:t.hotSearchBox?"auto":"150rpx"}},[t._l(t.hotSearchList,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"item line1",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.setHotSearchValue(e,1)}}},[t._v(t._s(e.keyword))])]}))],2),i("v-uni-view",[t.hotSearchList.length>8&&!t.hotSearchBox?i("v-uni-view",{staticClass:"more-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hotSearchBox=!0}}},[t._v("展开全部"),i("v-uni-text",{staticClass:"iconfont icon-xiangxia"})],1):t._e(),t.hotSearchList.length>8&&t.hotSearchBox?i("v-uni-view",{staticClass:"more-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hotSearchBox=!1}}},[t._v("收起"),i("v-uni-text",{staticClass:"iconfont icon-xiangshang"})],1):t._e()],1),i("v-uni-view",{staticClass:"search-hot"},[t.isShow?i("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap",display:"flex"},attrs:{"scroll-x":"true","scroll-with-animation":!0,"show-scrollbar":"true"}},[t.daySearchList.length>0?i("v-uni-view",{staticClass:"scroll-count"},[i("v-uni-view",{staticClass:"scroll-item",style:{"background-image":"url("+t.domain+"/static/images/search-title-bg.png)"}},[i("v-uni-view",{staticClass:"search-title"},[i("v-uni-image",{staticClass:"title-icon",attrs:{src:t.domain+"/static/images/search-title-icon.png"}}),i("v-uni-text",[t._v("今日热搜")])],1),i("v-uni-view",{staticClass:"search-list"},t._l(t.daySearchList,(function(e,n){return i("v-uni-navigator",{staticClass:"search-item",attrs:{url:"/pages/goods_details/index?id="+e.product_id,"hover-class":"none"}},[n<3?[i("v-uni-view",{staticClass:"picture"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image}}),i("v-uni-text",{staticClass:"list-num num-pic",style:{"background-image":"url("+t.domain+"/static/images/search-list"+(n+1)+".png)"}},[t._v(t._s(n+1))])],1),i("v-uni-view",{staticClass:"list-info"},[i("v-uni-view",{staticClass:"title line1"},[t._v(t._s(e.store_name))]),i("v-uni-view",{staticClass:"info line1"},[t._v(t._s(e.store_info))])],1)]:[i("v-uni-view",{staticClass:"list-more"},[i("v-uni-view",{staticClass:"list-num",style:{"background-image":"url("+t.domain+"/static/images/search-list.png)"}},[t._v(t._s(n+1))]),i("v-uni-view",{staticClass:"title line1 titleml"},[t._v(t._s(e.store_name))])],1)]],2)})),1)],1)],1):t._e(),t._l(t.hotRankList,(function(e,n){return i("v-uni-view",{staticClass:"scroll-count"},[i("v-uni-view",{staticClass:"scroll-item",style:{"background-image":"url("+t.domain+"/static/images/search-title-bg.png)"}},[i("v-uni-view",{staticClass:"search-title"},[i("v-uni-image",{staticClass:"title-icon",attrs:{src:t.domain+"/static/images/search-title-icon.png"}}),i("v-uni-text",[t._v(t._s(e.cate_name))])],1),i("v-uni-view",{staticClass:"search-list"},t._l(e.list,(function(e,n){return i("v-uni-navigator",{staticClass:"search-item",attrs:{url:"/pages/goods_details/index?id="+e.product_id,"hover-class":"none"}},[n<3?[i("v-uni-view",{staticClass:"picture"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image}}),i("v-uni-text",{staticClass:"list-num num-pic",style:{"background-image":"url("+t.domain+"/static/images/search-list"+(n+1)+".png)"}},[t._v(t._s(n+1))])],1),i("v-uni-view",{staticClass:"list-info"},[i("v-uni-view",{staticClass:"title line1"},[t._v(t._s(e.store_name))]),i("v-uni-view",{staticClass:"info line1"},[t._v(t._s(e.store_info))])],1)]:[i("v-uni-view",{staticClass:"list-more"},[i("v-uni-view",{staticClass:"list-num",style:{"background-image":"url("+t.domain+"/static/images/search-list.png)"}},[t._v(t._s(n+1))]),i("v-uni-view",{staticClass:"title line1 titleml"},[t._v(t._s(e.store_name))])],1)]],2)})),1)],1)],1)}))],2):t._e(),i("v-uni-view",{staticClass:"search-hot-switch"},[t.isShow?i("v-uni-view",{staticClass:"switch",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isShow=!t.isShow}}},[i("v-uni-text",{staticClass:"iconfont icon-xianshizhuangtai"}),i("v-uni-text",[t._v("隐藏热搜榜")])],1):i("v-uni-view",{staticClass:"switch",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isShow=!t.isShow}}},[i("v-uni-text",{staticClass:"iconfont icon-yincangzhuangtai"}),i("v-uni-text",[t._v("开启热搜榜")])],1)],1)],1)],1)],1)},o=[]},"3bd5":function(t,e,i){"use strict";var n=i("6d86"),o=i.n(n);o.a},"3e37":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("672a"),a=n(i("6a1b")),s=function(t,e){t&&a.default.set("spread",t||0),t&&e&&(0,o.spread)(t).then((function(t){}))};e.default=s},"4a82":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.goShopDetail=function(t,e){return new Promise((function(e){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id)}):0===t.product_type||10===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id)}):40===t.product_type?uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id)}):e(t)}))},i("bf0f"),i("c223")},"6d86":function(t,e,i){var n=i("73b5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("2c43dbe2",n,!0,{sourceMap:!1,shadowMode:!1})},"73b5":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,"uni-page-body[data-v-e568b8f4]{background-color:#fff}body.?%PAGE?%[data-v-e568b8f4]{background-color:#fff}",""]),t.exports=e},"7e00":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return a.default.post("store/product/increase_take",t)},e.bagExplain=function(){return a.default.get("store/product/bag/explain")},e.bagRecommend=function(){return a.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return a.default.post("user/relation/create",t)},e.collectAll=function(t){return a.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return a.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return a.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return a.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return a.default.post("intention/create",t)},e.discountsCartAdd=function(t){return a.default.post("user/cart/batchCreate",t)},e.express=function(t){return a.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return a.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return a.default.get("intention/lst",t)},e.getBrandlist=function(t){return a.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return a.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return a.default.get("captcha")},e.getCategoryList=function(){return a.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return a.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return a.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return a.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return a.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return a.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return a.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return a.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getHotRanking=function(){return a.default.get("product/spu/hot_top",{},{noAuth:!0})},e.getLiveList=function(t){return a.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return a.default.get("product/spu/recommend",{page:void 0===e.page?1:e.page,limit:void 0===e.limit?10:e.limit,mer_id:t||""},{noAuth:!0})},e.getMerchantLst=function(t){return a.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getParmasList=function(t){return a.default.get("product/spu/params",t,{noAuth:!0})},e.getParmasValue=function(t){return a.default.get("product/spu/params_value/".concat(t),{},{noAuth:!0})},e.getPresellProductDetail=function(t){return a.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return a.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return a.default.get("store/product/qrcode/"+t,e,{noAuth:!0})},e.getProductDetail=function(t){return a.default.get("store/product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return a.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductParmas=function(t){return a.default.get("store/product/show/"+t,{},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return a.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return a.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return a.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return a.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t,e){return a.default.get("store/product/seckill/detail/"+t,e,{noAuth:!0})},e.getStoreCategory=function(t,e){return a.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return a.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return a.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreRecommend=function(t){return a.default.get("store/product/good_list/"+t,{},{noAuth:!0})},e.getStoreTypeApi=function(t){return a.default.get("intention/type",t,{noAuth:!0})},e.getTodayHotSearch=function(){return a.default.get("product/spu/hot_lst",{},{noAuth:!0})},e.merClassifly=function(){return a.default.get("intention/cate",{},{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,o.default)({},e),e.brand_id=e.brand_id.toString());return a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return a.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.postCartAdd=function(t){return a.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return a.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return a.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return a.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return a.default.post("store/certificate/".concat(t.merId),t)},e.storeMerchantList=function(t){return a.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return a.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.unfollowStore=function(t){return a.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return a.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return a.default.post("user/relation/batch/delete",t)},e.verify=function(t){return a.default.post("auth/verify",t)},i("c9b5"),i("bf0f"),i("ab80"),i("c223");var o=n(i("9b1b")),a=n(i("fea3"))},8858:function(t,e,i){var n=i("d632");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("367a2186",n,!0,{sourceMap:!1,shadowMode:!1})},"8d3c":function(t,e,i){"use strict";i.r(e);var n=i("24253"),o=i("ad7a");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("3bd5"),i("ed4c");var s=i("828b"),r=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"e568b8f4",null,!1,n["a"],void 0);e["default"]=r.exports},ad7a:function(t,e,i){"use strict";i.r(e);var n=i("f691"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},d632:function(t,e,i){var n=i("c86c");e=n(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.searchGood .search[data-v-e568b8f4]{padding-left:%?30?%}.searchGood .search[data-v-e568b8f4]{margin-top:%?20?%}.searchGood .search .input[data-v-e568b8f4]{width:%?598?%;background-color:#f7f7f7;border-radius:%?33?%;padding:0 %?35?%;box-sizing:border-box;height:%?66?%}.searchGood .search .input uni-input[data-v-e568b8f4]{width:%?472?%;font-size:%?28?%}.searchGood .search .input .placeholder[data-v-e568b8f4]{color:#bbb}.searchGood .search .input .iconfont[data-v-e568b8f4]{color:#000;font-size:%?35?%}.searchGood .search .bnt[data-v-e568b8f4]{width:%?120?%;text-align:center;height:%?66?%;line-height:%?66?%;font-size:%?30?%;color:#282828}.searchGood .title[data-v-e568b8f4]{position:relative;font-size:%?28?%;color:#282828;margin:%?50?% %?30?% %?25?% %?30?%}.searchGood .title .icon-shanchu[data-v-e568b8f4]{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#999}.searchGood .list[data-v-e568b8f4]{padding:0 %?10?%;overflow:hidden}.searchGood .list .item[data-v-e568b8f4]{font-size:%?26?%;color:#666;padding:0 %?21?%;height:%?60?%;background:#f2f2f2;border-radius:%?22?%;line-height:%?60?%;margin:0 0 %?20?% %?20?%;max-width:%?150?%}.searchGood .line[data-v-e568b8f4]{border-bottom:%?1?% solid #eee;margin:%?20?% %?30?% 0 %?30?%}.more-btn[data-v-e568b8f4]{display:flex;align-items:center;justify-content:center;margin:0 0 %?20?% %?20?%;height:%?60?%;font-size:%?24?%;color:#999}.more-btn .iconfont[data-v-e568b8f4]{font-size:%?22?%;margin-left:%?10?%}.search-hot[data-v-e568b8f4]{padding:0 %?30?% %?30?%;padding-bottom:calc(30rpx+ constant(safe-area-inset-bottom));padding-bottom:calc(%?30?% + env(safe-area-inset-bottom))}.search-hot uni-scroll-view[data-v-e568b8f4]{width:100%}.search-hot[data-v-e568b8f4] .uni-scroll-view-content{display:flex}.scroll-item[data-v-e568b8f4]{border:1px solid #ffecec;border-radius:%?16?%;background-repeat:no-repeat;background-size:100% auto;height:%?980?%}.scroll-count[data-v-e568b8f4]{display:inline-block;width:%?450?%;margin-right:%?30?%;vertical-align:top}.scroll-count[data-v-e568b8f4]:last-child{margin-right:0}.scroll-count .search-title[data-v-e568b8f4]{padding:%?20?% %?20?% %?32?%;color:#e93323;font-size:%?28?%;font-weight:700;display:flex;align-items:center}.scroll-count .search-title .title-icon[data-v-e568b8f4]{width:%?30?%;height:%?30?%;margin-right:%?10?%}.scroll-count .search-list[data-v-e568b8f4]{padding:0 %?20?% %?40?%;position:relative;top:%?-15?%}.scroll-count .search-item[data-v-e568b8f4]{display:flex;align-items:center;margin-bottom:%?20?%}.scroll-count .search-item[data-v-e568b8f4]:nth-child(n+3){margin-bottom:0}.scroll-count .search-item .list-more[data-v-e568b8f4]{display:flex;align-items:center;margin-top:%?40?%}.scroll-count .search-item .picture[data-v-e568b8f4]{width:%?106?%;height:%?106?%;border-radius:%?10?%;position:relative}.scroll-count .search-item .picture .image[data-v-e568b8f4]{width:100%;height:100%;border-radius:%?10?%}.scroll-count .search-item .list-info[data-v-e568b8f4]{max-width:%?260?%;margin-left:%?20?%}.scroll-count .search-item .title[data-v-e568b8f4]{margin:0;color:#282828;font-size:%?26?%}.scroll-count .search-item .title.titleml[data-v-e568b8f4]{margin-left:%?15?%;max-width:%?360?%}.scroll-count .search-item .info[data-v-e568b8f4]{font-size:%?22?%;color:#999}.scroll-count .list-num[data-v-e568b8f4]{width:%?28?%;height:%?31?%;display:flex;align-items:center;justify-content:center;font-size:%?20?%;color:#fff;background-size:100% 100%}.scroll-count .list-num.num-pic[data-v-e568b8f4]{position:absolute;top:0;left:0}.search-hot-switch[data-v-e568b8f4]{margin-top:%?20?%}.search-hot-switch .switch[data-v-e568b8f4]{border:1px solid #ccc;border-radius:%?22?%;display:flex;align-items:center;justify-content:center;width:%?174?%;height:%?43?%;color:#666;font-size:%?20?%}.search-hot-switch .switch .iconfont[data-v-e568b8f4]{font-size:%?24?%;margin-right:%?10?%;position:relative}',""]),t.exports=e},d727:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return o.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(t){return o.default.get("store/product/assist/count",t,{noAuth:!0})},e.getActivitycategory=function(t){return o.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t,e){return o.default.get("store/product/assist/detail/"+t,e)},e.getAssistList=function(t){return o.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return o.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return o.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return o.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return o.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return o.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return o.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return o.default.post("combination/poster",t)},e.getCombinationUser=function(t){return o.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return o.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return o.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return o.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return o.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return o.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return o.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return o.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return o.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return o.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return o.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return o.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return o.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return o.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return o.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return o.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return o.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return o.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var o=n(i("fea3"))},ed4c:function(t,e,i){"use strict";var n=i("8858"),o=i.n(n);o.a},f691:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5c47"),i("0506"),i("bf0f"),i("2797"),i("3efd");var o=i("7e00"),a=n(i("3e37")),s=i("96e0"),r=i("4a82"),u=i("d727"),c=i("8f59"),l=i("aa10"),d=i("e44d"),f={computed:(0,c.mapGetters)(["isLogin","uid"]),components:{},data:function(){return{domain:l.HTTP_REQUEST_URL,hostProduct:[],searchValue:"",focus:!0,bastList:[],hotSearchList:[],daySearchList:[],hotRankList:[],first:0,limit:8,page:1,loading:!1,loadend:!1,loadTitle:"加载更多",hotPage:1,isScroll:!0,historyList:[],tempStorage:[],historyBox:!1,hotSearchBox:!1,mainWidth:960,isShow:!0}},onLoad:function(t){this.searchValue=t.searchVal||""},onShow:function(){try{this.historyList=[],this.tempStorage=[];var t=uni.getStorageSync("historyList");t.length>0?this.historyList=t:this.historyList=[],this.tempStorage=this.historyList}catch(e){}this.getRoutineHotSearch(),this.getHotSearchList(),this.getHotRankingList()},methods:{remove:function(){var t=this;uni.showModal({title:"提示",content:"确认删除全部历史搜索记录?",success:function(e){if(e.confirm){t.tempStorage=[];try{uni.setStorageSync("historyList",t.tempStorage),t.historyList=[]}catch(i){}}else e.cancel}})},getRoutineHotSearch:function(){var t=this;(0,o.getSearchKeyword)().then((function(e){t.$set(t,"hotSearchList",e.data)}))},getHotSearchList:function(){var t=this;(0,o.getTodayHotSearch)().then((function(e){t.$set(t,"daySearchList",e.data)}))},getHotRankingList:function(){var t=this;(0,o.getHotRanking)().then((function(e){t.$set(t,"hotRankList",e.data)}))},setHotSearchValue:function(t,e){var i=this;this.focus=!1,e?this.$set(this,"searchValue",t.keyword):this.$set(this,"searchValue",t),this.$nextTick((function(){i.focus=!0})),this.searchBut()},setValue:function(t){this.$set(this,"searchValue",t.detail.value)},searchBut:function(){var t=this;if(/^(\/@[1-9]{1}).*\*\//.test(this.searchValue))uni.showLoading({title:"加载中",mask:!0}),(0,o.copyPasswordSearch)({key:this.searchValue}).then((function(e){uni.hideLoading();var i=e.data;(0,a.default)(e.data.user.uid,t.isLogin),t.isLogin&&(0,s.silenceBindingSpread)(),(0,r.goShopDetail)(i,t.uid).then((function(e){t.isLogin?(0,u.initiateAssistApi)(i.activity_id).then((function(t){var e=t.data.product_assist_set_id;uni.hideLoading(),uni.navigateTo({url:"/pages/activity/assist_detail/index?id="+e})})).catch((function(t){uni.showToast({title:t,icon:"none"})})):(0,d.toLogin)()}))})).catch((function(e){uni.showToast({title:e,icon:"none"}),t.searchValue=""}));else{var e=!1;this.tempStorage.forEach((function(i,n){i==t.searchValue&&(e=!0)})),!e&&this.searchValue&&this.tempStorage.unshift(this.searchValue);try{uni.setStorageSync("historyList",this.tempStorage)}catch(i){}uni.navigateTo({url:"/pages/columnGoods/goods_search_con/index?searchValue="+this.searchValue})}}}};e.default=f}}]);