1 line
49 KiB
JavaScript
1 line
49 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-goods_search_con-index"],{"28e0":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.wgsToGcj=void 0;var a=i("5abc");e.wgsToGcj=function(t){try{var e=t,i=a.transformFromWGSToGCJ(t.latitude,t.longitude);return e.latitude=i.latitude,e.longitude=i.longitude,e}catch(i){return t}}},3147:function(t,e,i){"use strict";var a=i("3d6c"),o=i.n(a);o.a},"38a1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAbRJREFUOE+tlE2IzlEUh58nCxKbyd4GaRbSNClhMQtTSk0zCysWE+Zj5SMpO/ksC2pKNLOYhYSJJEpZaGqa3YSFDUslSpGFRoqjW2d0533fv7Fwd/fjPOfjd86V/7TsxImIrcBxYEd1/xW4D0ypP1rt2kARcRrYD5wFZtVfxSgiuoARYAg4pL6pYctACdkEjKs/G6LtBm4XZ+r7pTd/QJnOJNDXBFkyiog9wCl1oBPoJjCjPq9SKWdbSmbAhDpdwZ4AJ9W35ayO6AXQW9VkBrilPo6INcBD4II6n46OAKvV620gtafy+ErdXu37M+0zCeoD9qlFnGURLai9leFLYKf6PQ2PAuvVq7kvyvao51pBs0Va9XM+HAYOANeAjcAosFf9kvfngeL8UStoHOhSL1ZR7cqe+gRMV5C1wBywW11sBZWCPgUuq8+aJiciVgEPgHvqnTb5M9wNCRtWXzc05ATwUb3U2NkJ2wzczc79UD+OiGPANvXwirOWsFKbK0C/+i3PShePAQP/NLRVoYtiB4FBoPTTjVSt/AJtq+M3UsFOlEnPERlU3zWJ8FdQprQOWFxpkH8DXnfAE2jBjHEAAAAASUVORK5CYII="},"3d6c":function(t,e,i){var a=i("9857");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("38fade8e",a,!0,{sourceMap:!1,shadowMode:!1})},"45c2":function(t,e,i){var a=i("24fb"),o=i("1de5"),r=i("756b"),n=i("d702"),s=i("e553");e=a(!1);var c=o(r),d=o(n),l=o(s);e.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\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.b-color[data-v-1a577b2b]{background-color:var(--view-theme)!important;border:1px solid var(--view-theme)!important}.productList .search[data-v-1a577b2b]{width:100%;height:%?170?%;padding:0 %?20?%;position:fixed;left:0;top:%?0?%;padding-top:%?60?%;z-index:9;background-color:var(--view-theme)}.productList .search .icon-dingwei[data-v-1a577b2b]{color:#fff;font-weight:0;font-size:%?40?%;line-height:%?86?%;width:%?62?%}.productList .search .back[data-v-1a577b2b]{display:flex;align-items:center;width:%?40?%;height:%?60?%}.productList .search .back .iconfont[data-v-1a577b2b]{color:#fff;font-size:%?36?%}.productList .search .input[data-v-1a577b2b]{flex:1;height:%?60?%;background-color:#fff;border-radius:%?50?%;padding:0 %?20?%;box-sizing:border-box}.productList .search .input uni-input[data-v-1a577b2b]{flex:1;height:100%;font-size:%?26?%;margin-left:%?10?%}.productList .search .input .placeholder[data-v-1a577b2b]{color:#999}.productList .search .input .iconfont[data-v-1a577b2b]{font-size:%?35?%;color:#555}.productList .search .icon-pailie[data-v-1a577b2b],\r\n.productList .search .icon-tupianpailie[data-v-1a577b2b],\r\n.productList .search .iconempty[data-v-1a577b2b]{color:#fff;width:%?62?%;font-size:%?40?%;height:%?86?%;line-height:%?86?%}.productList .nav-wrapper[data-v-1a577b2b]{z-index:9;position:fixed;left:0;top:%?70?%;width:100%;margin-top:%?86?%;background-color:var(--view-theme)}.productList .nav-wrapper .tab-bar[data-v-1a577b2b]{display:flex;align-items:center}.productList .nav-wrapper .tab-bar .tab-item[data-v-1a577b2b]{position:relative;flex:1;display:flex;justify-content:center;align-items:center;padding:%?8?% 0 %?20?%;color:#fff;font-size:%?28?%;font-weight:700}.productList .nav-wrapper .tab-bar .tab-item[data-v-1a577b2b]::after{content:" ";position:absolute;left:50%;bottom:%?18?%;width:%?30?%;height:%?3?%;background:transparent;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.productList .nav-wrapper .tab-bar .tab-item.on[data-v-1a577b2b]::after{background:#fff}.productList .nav[data-v-1a577b2b]{height:%?86?%;color:#454545;font-size:%?28?%;background-color:#fff;display:flex;justify-content:space-between;padding:0 %?28?%}.productList .nav .item[data-v-1a577b2b]{display:flex;align-items:center;justify-content:center;flex:1}.t-color[data-v-1a577b2b]{color:var(--view-theme)}.productList .nav .item.t-color[data-v-1a577b2b]{font-weight:700;color:#454545}.productList .nav .item uni-image[data-v-1a577b2b]{width:%?15?%;height:%?19?%;margin-left:%?10?%}.productList .list[data-v-1a577b2b]{padding:0 %?20?%}.productList .list.on[data-v-1a577b2b]{background-color:#fff;border-top:1px solid #f6f6f6}.productList .list .item[data-v-1a577b2b]{position:relative;width:%?345?%;margin-top:%?20?%;background-color:#fff;border-radius:%?20?%}.productList .list .item .name[data-v-1a577b2b]{display:flex;align-items:center}.productList .list .item.on[data-v-1a577b2b]{width:100%;display:flex;padding:%?30?% 0;margin:0}.productList .list .item .pictrue[data-v-1a577b2b]{position:relative;width:100%;height:%?345?%}.productList .list .item .pictrue.on[data-v-1a577b2b]{width:%?260?%;height:%?260?%}.productList .list .item .pictrue.on .sell_out[data-v-1a577b2b]{display:flex;width:%?110?%;height:%?110?%;align-items:center;justify-content:center;border-radius:100%;background:rgba(0,0,0,.6);color:#fff;font-size:%?24?%;position:absolute;top:50%;left:50%;margin:%?-55?% 0 0 %?-55?%}.productList .list .item .pictrue.on .sell_out[data-v-1a577b2b]::before{content:"";display:block;width:%?100?%;height:%?100?%;border-radius:100%;border:1px dashed #fff;position:absolute;top:%?5?%;left:%?5?%}.productList .list .item .pictrue.on .border-picture[data-v-1a577b2b]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:%?16?%;background:50%/cover no-repeat}.productList .list .item .pictrue uni-image[data-v-1a577b2b]{width:100%;height:100%;border-radius:%?20?% %?20?% 0 0}.productList .list .item .pictrue uni-image.on[data-v-1a577b2b]{border-radius:%?16?%;width:%?260?%;height:%?260?%}.productList .list .item .text[data-v-1a577b2b]{padding:%?20?% %?17?% %?26?% %?17?%;font-size:%?30?%;color:#222}.productList .list .item .text.on[data-v-1a577b2b]{width:%?508?%;padding:0 0 0 %?22?%;justify-content:space-between}.productList .list .item .text.on .font-bg-red[data-v-1a577b2b]{max-width:%?120?%}.productList .list .item .text.on .bt-color[data-v-1a577b2b]{background-color:var(--view-theme);border:1px solid var(--view-theme)}.productList .list .item .text.on .bt-color.type2[data-v-1a577b2b]{background-color:#fd6523;border:1px solid #fd6523}.productList .list .item .text.on .name[data-v-1a577b2b],\r\n.productList .list .item .text.on .item_bot[data-v-1a577b2b]{width:100%}.productList .list .item .text.on .vip-money[data-v-1a577b2b]{color:#282828;font-size:%?22?%;margin-left:%?6?%;font-weight:700}.productList .list .item .text.on .vipImg[data-v-1a577b2b]{width:%?65?%;height:%?28?%;margin-left:%?4?%}.productList .list .item .text.on .vipImg uni-image[data-v-1a577b2b]{width:100%;height:100%;display:block}.productList .list .item .text.on .item_bot[data-v-1a577b2b]{position:relative}.productList .list .item .text.on .item_bot[data-v-1a577b2b]::after{content:"";display:block;width:100%;border-bottom:1px solid #f6f6f6;position:absolute;right:%?20?%;bottom:%?-30?%}.text_flex[data-v-1a577b2b]{display:flex;align-items:center}.productList .list .item .text .money[data-v-1a577b2b]{display:flex;align-items:center;font-size:%?26?%;font-weight:700;color:var(--view-priceColor)}.productList .list .item .text .money .num[data-v-1a577b2b]{font-size:%?34?%}.productList .distance[data-v-1a577b2b]{display:flex;align-items:center;font-size:%?24?%;color:#999}.productList .distance .icon-xiangyou[data-v-1a577b2b]{font-size:%?24?%;line-height:%?24?%}.productList .list .item .text .money .ticket[data-v-1a577b2b]{margin-left:%?10?%;padding:0 %?5?%;font-weight:400;font-size:%?20?%;border:1px solid var(--view-theme);border-radius:%?4?%}.productList .list .item .text .money .ticket-big[data-v-1a577b2b]{display:flex;align-items:center;justify-content:center;min-width:%?163?%;height:%?28?%;margin-left:%?10?%;background-image:url('+c+");background-size:100% 100%;font-size:%?20?%;font-weight:400;padding:0 %?10?%}.productList .list .item .item_tags[data-v-1a577b2b]{margin-top:%?8?%}.productList .list .item .item_tags .tags_item[data-v-1a577b2b]{display:inline-block;font-size:%?20?%;text-align:center;border-radius:%?5?%;padding:0 %?4?%;line-height:%?28?%;margin-right:%?8?%}.productList .list .item .item_tags .tags_item.ticket[data-v-1a577b2b]{color:var(--view-theme);border:1px solid var(--view-theme)}.item_tags .tags_item.delivery[data-v-1a577b2b]{color:#ff9000;border:1px solid #ff9000}.productList .list .item .text .score[data-v-1a577b2b]{margin-top:%?10?%;color:#737373;font-size:%?20?%}.productList .list .item .text .company[data-v-1a577b2b]{display:flex;align-items:center;color:#737373;font-size:%?20?%;margin-top:%?10?%}.productList .list .item .text .company .name[data-v-1a577b2b]{display:inline-block;width:auto;max-width:%?200?%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.productList .list .item .text .company .flex[data-v-1a577b2b]{display:flex;align-items:center;margin-left:%?10?%;color:#282828;width:%?100?%}.productList .list .item .text .company .flex .iconfont[data-v-1a577b2b]{font-size:%?16?%;margin-top:%?4?%}.productList .list .item .foot-bar[data-v-1a577b2b]{width:100%;height:%?52?%;display:flex;align-items:center;justify-content:center;background-image:linear-gradient(-90deg,var(--view-bntColor21),var(--view-bntColor22));border-radius:0 0 %?16?% %?16?%;color:#fff;font-size:%?24?%}.productList .list .item .foot-bar .icon-fenxiang[data-v-1a577b2b]{font-size:%?24?%;margin-right:%?10?%}.productList .list .item .foot-bar.on[data-v-1a577b2b]{position:absolute;right:0;bottom:%?30?%;width:%?200?%;height:%?44?%;border-radius:%?22?%}.noCommodity[data-v-1a577b2b]{background-color:#fff}.noCommodity .pictrue[data-v-1a577b2b]{height:%?420?%;color:#999}.noCommodity .pictrue uni-image[data-v-1a577b2b]{width:%?414?%;height:%?336?%}.no-shop[data-v-1a577b2b]{margin-top:%?240?%;background-color:#fff;padding-bottom:calc(100% - %?109?%)}.no-shop .pictrue[data-v-1a577b2b]{display:flex;flex-direction:column;align-items:center;color:#999}.no-shop .pictrue uni-image[data-v-1a577b2b]{width:%?414?%;height:%?336?%}.spin[data-v-1a577b2b]{display:block;-webkit-transform:rotate(180deg);transform:rotate(180deg);font-size:%?36?%}.icon-xiala1[data-v-1a577b2b]{margin-top:%?6?%}.icon-shaixuan[data-v-1a577b2b]{font-size:%?30?%;margin-left:%?10?%}.down-wrapper .bg[data-v-1a577b2b]{z-index:8;position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.down-wrapper .down-box[data-v-1a577b2b]{z-index:8;position:fixed;left:0;top:%?238?%;width:100%;padding:0 %?40?% %?28?% %?74?%;background-color:#f8f8f8;border-radius:0 0 %?24?% %?24?%}.down-wrapper .down-box .down-item[data-v-1a577b2b]{margin-top:%?28?%;font-size:%?24?%;color:#454545}.down-wrapper .down-box .down-item.on[data-v-1a577b2b]{color:var(--view-theme)}.down-wrapper .down-box .down-item .iconfont[data-v-1a577b2b]{float:right}.store-wrapper[data-v-1a577b2b]{margin-top:%?310?%;border-top:1px solid #f6f6f6}.store-wrapper .star-box[data-v-1a577b2b]{display:flex;align-items:center}.store-wrapper .star-box .line[data-v-1a577b2b]{width:%?2?%;height:%?20?%;background:#bfbfbf;margin:0 %?12?%}.store-wrapper .star-box .star[data-v-1a577b2b]{position:relative;width:%?111?%;height:%?19?%;background:url("+d+");background-size:%?111?% %?19?%}.store-wrapper .star-box .star-active[data-v-1a577b2b]{position:absolute;left:0;top:0;width:%?111?%;height:%?19?%;overflow:hidden;background:url("+l+");background-size:%?111?% %?19?%}.store-wrapper .star-box .num[data-v-1a577b2b]{color:var(--view-theme);font-size:%?24?%;margin-left:%?10?%}.store-wrapper .store-item[data-v-1a577b2b]{margin:%?20?% auto}.store-wrapper .store-item .head[data-v-1a577b2b]{display:flex;align-items:center;justify-content:center;color:#fff}.store-wrapper .store-item .head .zhezhao[data-v-1a577b2b]{position:absolute;width:95%;height:150px;border-radius:%?20?%;z-index:0;opacity:.5;background-color:#999}.store-wrapper .store-item .head .bgc_img[data-v-1a577b2b]{position:absolute;width:95%;height:150px;background-size:cover;border-radius:%?20?%;z-index:0}.store-wrapper .store-item .head .zhezhao1[data-v-1a577b2b]{width:100%;height:150px;border-radius:%?20?%;z-index:1}.store-wrapper .store-item .head .zhezhao1 .title[data-v-1a577b2b]{display:flex;height:50px;align-items:center;margin-left:20px;z-index:1}.store-wrapper .store-item .head .zhezhao1 .title span[data-v-1a577b2b]{background-color:#f84221;color:#fff;font-size:12px;padding:3px;border-radius:5px;margin-left:5px}.store-wrapper .store-item .head .zhezhao1 .coent[data-v-1a577b2b]{display:flex;margin-left:20px}.store-wrapper .store-item .head .zhezhao1 .coent .avater[data-v-1a577b2b]{width:80px;height:80px;flex-shrink:0}.store-wrapper .store-item .head .zhezhao1 .coent .avater uni-image[data-v-1a577b2b]{width:80px;height:80px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_one[data-v-1a577b2b]{display:flex;height:30px;line-height:30px;padding-left:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_one uni-image[data-v-1a577b2b]{width:20px;height:20px;margin-right:10px;flex-shrink:0}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_one .text_one_r[data-v-1a577b2b]{flex:1;margin-left:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_two[data-v-1a577b2b]{width:270px;height:30px;line-height:30px;padding-left:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_two .text_tip[data-v-1a577b2b]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_two uni-image[data-v-1a577b2b]{width:20px;height:20px;margin-right:10px;flex-shrink:0}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_three[data-v-1a577b2b]{width:270px;height:30px;line-height:30px;padding-left:10px}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_three .text_tip[data-v-1a577b2b]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-wrapper .store-item .head .zhezhao1 .coent .text .text_three uni-image[data-v-1a577b2b]{width:20px;height:20px;margin-right:10px}.store-wrapper .store-item .pro-box[data-v-1a577b2b]{white-space:nowrap;display:flex;align-items:center;padding:%?20?% %?20?% %?30?%}.store-wrapper .store-item .pro-box .pro-item[data-v-1a577b2b]{display:inline-block;width:%?218?%;margin-right:%?14?%}.store-wrapper .store-item .pro-box .pro-item .picture[data-v-1a577b2b],\r\n.store-wrapper .store-item .pro-box .pro-item[data-v-1a577b2b] uni-image,\r\n.store-wrapper .store-item .pro-box .pro-item uni-image[data-v-1a577b2b]{width:100%;height:%?214?%;border-radius:%?8?%;position:relative}.store-wrapper .store-item .pro-box .pro-item .price[data-v-1a577b2b]{margin-top:%?5?%;font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.store-wrapper .store-item .pro-box .pro-item .price uni-text[data-v-1a577b2b]{font-size:%?28?%}.store-wrapper .store-item .pro-box .pro-item[data-v-1a577b2b]:last-child{margin-right:0}.store-wrapper .store-item .pro-box.styleType3[data-v-1a577b2b]{padding:%?20?%}.store-wrapper .store-item .pro-box.styleType3 .pro-item[data-v-1a577b2b]{display:inline-block;background-color:#fff;border-radius:%?16?%;text-align:center;padding:%?10?% 0 %?20?%}.store-wrapper .store-item .pro-box.styleType3 .pro-item .picture[data-v-1a577b2b],\r\n.store-wrapper .store-item .pro-box.styleType3 .pro-item[data-v-1a577b2b] uni-image,\r\n.store-wrapper .store-item .pro-box.styleType3 .pro-item uni-image[data-v-1a577b2b]{width:%?194?%;height:%?194?%;text-align:center;border-radius:%?8?%;position:relative;margin:0 auto}.guanbi[data-v-1a577b2b]{width:20px;height:20px;margin:30px auto}.pop[data-v-1a577b2b]{z-index:1}",""]),t.exports=e},"4a07":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"right-wrapper",style:t.viewColor,on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.moveStop.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"control-wrapper animated",class:t.showBox?"slideInRight":""},[i("v-uni-view",{staticClass:"content-box"},[i("v-uni-view",{staticClass:"title"},[t._v("店铺类型")]),i("v-uni-view",{staticClass:"brand-wrapper"},[i("v-uni-scroll-view",{staticStyle:{"max-height":"400rpx"},attrs:{"scroll-y":t.isShow}},[i("v-uni-view",{staticClass:"wrapper"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item line1",class:e.check?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindChenck1(e)}}},[t._v(t._s(e.type_name))])})),1)],1),!t.isShow&&t.list.length>9?i("v-uni-view",{staticClass:"btns",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isShow=!0}}},[t._v("展开全部"),i("v-uni-text",{staticClass:"iconfont icon-xiangxia"})],1):t._e(),t.isShow&&t.list.length>9?i("v-uni-view",{staticClass:"btns",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isShow=!1}}},[t._v("收起"),i("v-uni-text",{staticClass:"iconfont icon-xiangshang"})],1):t._e()],1),i("v-uni-view",{staticClass:"title"},[t._v("商户分类")]),i("v-uni-view",{staticClass:"brand-wrapper"},[i("v-uni-scroll-view",{staticStyle:{"max-height":"400rpx"},attrs:{"scroll-y":t.isShow}},[i("v-uni-view",{staticClass:"wrapper"},t._l(t.merCate,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item line1",class:e.check?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindChenck2(e)}}},[t._v(t._s(e.category_name))])})),1)],1),!t.isShow&&t.merCate.length>9?i("v-uni-view",{staticClass:"btns",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isShow=!0}}},[t._v("展开全部"),i("v-uni-text",{staticClass:"iconfont icon-xiangxia"})],1):t._e()],1),i("v-uni-view",{staticClass:"foot-btn"},[i("v-uni-view",{staticClass:"btn-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.reset.apply(void 0,arguments)}}},[t._v("重置")]),i("v-uni-view",{staticClass:"btn-item confirm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1),i("v-uni-view",{staticClass:"right-bg",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)},o=[]},"4d89":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4de4"),i("d3b7"),i("159b");var a=i("26cb"),o={props:{storeTypeArr:{type:Array},merList:{type:Array},status:{type:Boolean,default:!1}},computed:(0,a.mapGetters)(["viewColor"]),data:function(){return{min:"",max:"",isShow:!1,list:[],merCate:[],activeList:[],selectList:[],showBox:!1}},mounted:function(){this.list=this.storeTypeArr,this.merCate=this.merList,this.showBox=this.status},methods:{bindChenck1:function(t){t.check=!t.check,this.arrFilter1()},bindChenck2:function(t){t.check=!t.check,this.arrFilter2()},arrFilter1:function(){this.selectList=this.list.filter((function(t){return 1==t.check}))},arrFilter2:function(){this.activeList=this.merCate.filter((function(t){return 1==t.check}))},reset:function(){this.list.forEach((function(t,e){t.check=!1})),this.merCate.forEach((function(t,e){t.check=!1})),this.arrFilter1(),this.arrFilter2()},confirm:function(){this.arrFilter1(),this.arrFilter2();var t={storeTypeArr:this.selectList,merList:this.activeList,status:!1};this.showBox=!1,this.$emit("confirm",t)},close:function(){this.showBox=!1,this.$emit("close")},moveStop:function(){}}};e.default=o},"5abc":function(t,e){function i(t,e){return e<72.004||e>137.8347||t<.8293||t>55.8271}function a(t,e){var a=.006693421622965943,o=6378245,r=3.141592653589793;if(i(t,e))t,e;else{var n=function(t,e){var i=3.141592653589793,a=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return a+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,a+=2*(20*Math.sin(e*i)+40*Math.sin(e/3*i))/3,a+=2*(160*Math.sin(e/12*i)+320*Math.sin(e*i/30))/3,a}(e-105,t-35),s=function(t,e){var i=3.141592653589793,a=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return a+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,a+=2*(20*Math.sin(t*i)+40*Math.sin(t/3*i))/3,a+=2*(150*Math.sin(t/12*i)+300*Math.sin(t/30*i))/3,a}(e-105,t-35),c=t/180*r,d=Math.sin(c);d=1-a*d*d;var l=Math.sqrt(d);n=180*n/(o*(1-a)/(d*l)*r),s=180*s/(o/l*Math.cos(c)*r),t+=n,e+=s}return{latitude:t,longitude:e}}function o(t,e,i){return t.latitude>=Math.min(e.latitude,i.latitude)&&t.latitude<=Math.max(e.latitude,i.latitude)&&t.longitude>=Math.min(e.longitude,i.longitude)&&t.longitude<=Math.max(e.longitude,i.longitude)}t.exports={isLocationOutOfChina:i,transformFromWGSToGCJ:a,transformFromGCJToBaidu:function(t,e){var i=52.35987755982988,a=Math.sqrt(e*e+t*t)+2e-5*Math.sin(t*i),o=Math.atan2(t,e)+3e-6*Math.cos(e*i),r=a*Math.sin(o)+.006,n=a*Math.cos(o)+.0065;return{latitude:r,longitude:n}},transformFromBaiduToGCJ:function(t,e){var i=52.35987755982988,a=e-.0065,o=t-.006,r=Math.sqrt(a*a+o*o)-2e-5*Math.sin(o*i),n=Math.atan2(o,a)-3e-6*Math.cos(a*i),s=r*Math.sin(n),c=r*Math.cos(n);return{latitude:s,longitude:c}},transformFromGCJToWGS:function(t,e){var i=t-.5,r=t+.5,n=e-.5,s=e+.5,c=1,d=30;while(1){var l=a(i,n),p=a(i,s),h=a(r,n),u=a((i+r)/2,(n+s)/2);if(c=Math.abs(u.latitude-t)+Math.abs(u.longitude-e),d--<=0||c<=1e-5)return{latitude:(i+r)/2,longitude:(n+s)/2};o({latitude:t,longitude:e},l,u)?(r=(i+r)/2,s=(n+s)/2):o({latitude:t,longitude:e},p,u)?(r=(i+r)/2,n=(n+s)/2):o({latitude:t,longitude:e},h,u)?(i=(i+r)/2,s=(n+s)/2):(i=(i+r)/2,n=(n+s)/2)}}}},"6cde":function(t,e,i){var a=i("45c2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("4c55a612",a,!0,{sourceMap:!1,shadowMode:!1})},"7a19":function(t,e,i){"use strict";i.r(e);var a=i("c3c6"),o=i("9b0a");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("95ec");var n=i("f0c5"),s=Object(n["a"])(o["default"],a["b"],a["c"],!1,null,"1a577b2b",null,!1,a["a"],void 0);e["default"]=s.exports},"85f5":function(t,e,i){"use strict";i.r(e);var a=i("4a07"),o=i("b31a");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);i("3147");var n=i("f0c5"),s=Object(n["a"])(o["default"],a["b"],a["c"],!1,null,"388c5b58",null,!1,a["a"],void 0);e["default"]=s.exports},8982:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAATxJREFUOE/d1D9IlVEYx/HPb8hCtKm9wTYFtztJg65CZUtT2BoooosgLi0NIeHQVHAvQVv0Z2hpCSfRpSUICZqcRRcb+nPihffGvbfhvcGdOts55+H7PHx/hxMjWhkRRx+olLKJ+/g5RIPvWEryqar9AyqlXMYhZpL8aAKVUhZxO8m9QdAtzCdZaYJU96WUi/iMa0l+9U70FG+SvBsGVMNe4VGS/V7QF8wmOf8H0DKmkmz3gr5iOsm3ulvl4FKSl/X+Ap7gQZLj+uwOWknWe0FVYi3sVMJRuaqkP8NHrGISV7CFCTzEjSRHg/G/rQsOsFuD1nAV7/ECc7iLBWwked2XWj1qG50ke02eSil9tYMT/eeg50k+DOGog3bX56Cjm3iM0yYQqnd1PcnJX6nVyY1hfAjQWZLSrRvZf/QbiVePE9WqUSEAAAAASUVORK5CYII="},"95ec":function(t,e,i){"use strict";var a=i("6cde"),o=i.n(a);o.a},9857:function(t,e,i){var a=i("24fb");e=a(!1),e.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\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.slideInRight[data-v-388c5b58]{-webkit-animation-duration:.5s;animation-duration:.5s}.right-wrapper[data-v-388c5b58]{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%}.right-wrapper .control-wrapper[data-v-388c5b58]{z-index:90;position:absolute;right:0;top:0;display:flex;flex-direction:column;width:%?635?%;height:100%;background-color:#f5f5f5}.right-wrapper .control-wrapper .header[data-v-388c5b58]{padding:%?50?% %?26?% %?40?%;background-color:#fff}.right-wrapper .control-wrapper .header .title[data-v-388c5b58]{font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .header .input-wrapper[data-v-388c5b58]{display:flex;align-items:center;justify-content:space-between;margin-top:%?28?%}.right-wrapper .control-wrapper .header .input-wrapper uni-input[data-v-388c5b58]{width:%?260?%;height:%?56?%;padding:0 %?10?%;background:#f2f2f2;border-radius:%?28?%;font-size:%?22?%;text-align:center}.right-wrapper .control-wrapper .header .input-wrapper .line[data-v-388c5b58]{width:%?15?%;height:%?2?%;background:#7d7d7d}.right-wrapper .control-wrapper .content-box[data-v-388c5b58]{position:relative;flex:1;display:flex;flex-direction:column;margin-top:%?20?%;padding:0 %?26?%;background-color:#fff;overflow:hidden}.right-wrapper .control-wrapper .content-box .title[data-v-388c5b58]{padding:%?40?% 0 %?20?%;font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .content-box .brand-wrapper[data-v-388c5b58]{overflow:hidden}.right-wrapper .control-wrapper .content-box .brand-wrapper .wrapper[data-v-388c5b58]{display:flex;flex-wrap:wrap;padding-bottom:%?20?%}.right-wrapper .control-wrapper .content-box .brand-wrapper .item[data-v-388c5b58]{display:block;width:%?186?%;height:%?56?%;line-height:%?56?%;text-align:center;background:#f2f2f2;border-radius:%?28?%;margin-top:%?25?%;padding:0 %?10?%;margin-right:%?12?%}.right-wrapper .control-wrapper .content-box .brand-wrapper .item[data-v-388c5b58]:nth-child(3n){margin-right:0}.right-wrapper .control-wrapper .content-box .brand-wrapper .item.on[data-v-388c5b58]{background:var(--view-minorColor);border:1px solid var(--view-theme);color:var(--view-theme)}.right-wrapper .control-wrapper .content-box .brand-wrapper .btns[data-v-388c5b58]{display:flex;align-items:center;justify-content:center;padding-top:%?10?%;font-size:%?22?%;color:#999}.right-wrapper .control-wrapper .content-box .brand-wrapper .btns .iconfont[data-v-388c5b58]{margin-left:%?10?%;margin-top:%?5?%;font-size:%?20?%}.right-wrapper .control-wrapper .content-box .foot-btn[data-v-388c5b58]{display:flex;align-items:center;justify-content:space-between;position:absolute;bottom:%?30?%}.right-wrapper .control-wrapper .content-box .foot-btn .btn-item[data-v-388c5b58]{display:flex;align-items:center;justify-content:center;width:%?286?%;height:%?68?%;background:#fff;border:1px solid #aaa;border-radius:%?34?%;font-size:%?26?%;color:#282828}.right-wrapper .control-wrapper .content-box .foot-btn .btn-item.confirm[data-v-388c5b58]{background:var(--view-theme);border-color:var(--view-theme);color:#fff;margin-left:%?20?%}.right-wrapper .right-bg[data-v-388c5b58]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5)}',""]),t.exports=e},"9a12":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4de4"),i("d3b7"),i("a9e3"),i("acd8"),i("d401"),i("25f0"),i("d81d"),i("159b"),i("e25e"),i("99af"),i("14d9"),i("498a"),i("26e9");var o=a(i("ade3")),r=a(i("5530")),n=i("a126"),s=(i("28e0"),i("95ca")),c=a(i("fb7b")),d=a(i("2ea6")),l=a(i("85f5")),p=a(i("a825")),h=i("5315"),u=i("26cb"),v=a(i("104c")),f=i("3093"),b=i("bb20"),g=(i("cc48"),getApp(),(0,o.default)({components:{recommend:c.default,rightSlider1:d.default,rightSlider2:l.default,WaterfallsFlow:p.default,authorize:v.default},watch:{tabIndex:function(t,e){1==t?(this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)):(this.downStatus=!1,this.storeScroll=!0,this.storeList=[],this.storeMerchantList(""))}},data:function(){return{domain:f.HTTP_REQUEST_URL,productList:[],is_switch:!0,where:{cate_id:"",order:"",price_on:"",price_off:"",brand_id:"",keyword:"",is_trader:"",page:1,limit:30},shopTabs:[{title:"默认",key:0,order:""},{title:"销量",key:1,order:"sales"},{title:"好评",key:2,order:"rate"},{title:"距离",key:3,order:"location"}],price:0,stock:0,nows:!1,loadend:!1,loading:!1,loadTitle:"加载更多",title:"",hostProduct:[],hotPage:1,hotLimit:10,hotScroll:!1,rightBox:!1,rightBox2:!1,brandList:[],downKey:0,downStatus:!1,downMenu:[{title:"综合",key:1},{title:"评分",key:2},{title:"新品",key:3}],firstKey:0,tabIndex:1,storeList:[],sotreParam:{keyword:"",page:1,limit:10,order:"",category_id:"",type_id:""},storeKey:0,storeScroll:!0,detaile_address:"",recommend_address:"",latitude:"",longitude:"",mer_location:0,count:0,isAuto:!1,isShowAuth:!1,storeTypeArr:[],merList:[],mTop:0,activeIndex:0}},onLoad:function(t){this.$set(this.where,"cate_id",t.id||""),this.title=t.title||"",this.$set(this.where,"keyword",t.searchValue||""),this.get_product_list(),this.get_host_product(),this.getClassfication(),this.getStoreType()},onReady:function(){},mounted:function(){var t=this;uni.getStorage({key:"GLOBAL_DATA",success:function(e){1==e.data.mer_location&&(t.mer_location=e.data.mer_location,t.selfLocation())}}),this.mTop=0==this.hide_mer_status?"308rpx":"170rpx"},computed:(0,r.default)({shopTab:function(){var t=this;return this.shopTabs.filter((function(e){return 1==t.mer_location?e:e.key<3}))}},(0,h.configMap)({margin_ico_switch:0,margin_ico:"",hide_mer_status:0,recommend_switch:0},(0,u.mapGetters)(["uid","isLogin","scrollTop","viewColor","keyColor"]))),onPageScroll:function(){uni.$emit("scroll")},methods:{showMaoLocation:function(t,e){if(!t||!e)return this.$util.Tips({title:"请设置允许商城访问您的位置!"});!0===this.$wechat.isWeixin()?this.$wechat.seeLocation({latitude:Number(t),longitude:Number(e)}).then((function(t){})):uni.openLocation({latitude:parseFloat(t),longitude:parseFloat(e),scale:8,geocode:!0,name:"当前位置",address:this.detaile_address,success:function(t){}})},selfLocation:function(){var t=this;uni.getStorageSync("RejectTarget")||uni.getLocation({type:"gcj02",success:function(e){var i,a;i=e.latitude.toString(),a=e.longitude.toString(),t.latitude=e.latitude,t.longitude=e.longitude,(0,n.getGeocoder)({lat:i,long:a}).then((function(e){t.detaile_address=e.data.address,t.recommend_address=e.data.formatted_addresses.recommend}))},complete:function(){}})},getClassfication:function(){var t=this,e=[];(0,n.merClassifly)().then((function(i){e=i.data.map((function(t){return(0,r.default)((0,r.default)({},t),{},{check:!1})})),t.sotreParam.category_id.length>0&&t.sotreParam.category_id.forEach((function(t,i){e.forEach((function(e){t==e.merchant_category_id&&(e.check=!0)}))})),t.merList=e})).catch((function(e){t.$util.Tips({title:e})}))},getStoreType:function(){var t=this,e=[];(0,n.getStoreTypeApi)().then((function(i){e=i.data.map((function(t){return(0,r.default)((0,r.default)({},t),{},{check:!1})})),t.sotreParam.type_id.length>0&&t.sotreParam.type_id.forEach((function(t,i){e.forEach((function(e){t==e.mer_type_id&&(e.check=!0)}))})),t.storeTypeArr=e})).catch((function(e){t.$util.Tips({title:e})}))},storeMerchantList:function(t){var e=this;if(this.storeScroll){this.loading=!0;var i={keyword:this.where.keyword,page:this.sotreParam.page,limit:this.sotreParam.limit,order:this.sotreParam.order,category_id:this.sotreParam.category_id,type_id:this.sotreParam.type_id};this.latitude&&(i.location=this.latitude+","+this.longitude),(0,n.storeMerchantList)(i).then((function(t){t.data.list.forEach((function(t){var e=parseFloat(t.product_score)+parseFloat(t.service_score)+parseInt(t.postage_score);e=e/3/5*100,t.allScore=e.toFixed(2)})),e.storeScroll=t.data.list.length>=e.sotreParam.limit,e.storeList=e.storeList.concat(t.data.list),e.count=t.data.count,e.loading=!1}))}},storeTab:function(t){this.loading||(this.storeKey=t,this.sotreParam.order=this.shopTabs[t].order,this.sotreParam.page=1,this.storeScroll=!0,this.storeList=[],this.storeMerchantList())},bindRight:function(){this.price=0,this.firstKey=4,this.getBrandlist()},getBrandlist:function(){var t=this,e=[];(0,n.getBrandlist)({cate_id:this.where.cate_id,keyword:this.where.keyword}).then((function(i){e=i.data.list.map((function(t){return(0,r.default)((0,r.default)({},t),{},{check:!1})})),t.where.brand_id.length>0&&t.where.brand_id.forEach((function(t,i){e.forEach((function(e){t==e.brand_id&&(e.check=!0)}))})),t.brandList=e,t.rightBox=!0}))},onLoadFun:function(t){this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},godDetail:function(t){var e=this;(0,b.goShopDetail)(t,this.uid).then((function(i){e.isLogin?(0,s.initiateAssistApi)(t.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"})})):(e.isAuto=!0,e.isShowAuth=!0)}))},confirm:function(t,e){var i=[];0==t.brandList.length?this.where.brand_id="":(t.brandList.forEach((function(t){i.push(t.brand_id)})),this.where.brand_id=i),this.activeIndex=e,this.rightBox=t.status,this.where.price_on=t.price_on,this.where.price_off=t.price_off,this.where.is_trader=t.is_trader,this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)},bindRight2:function(){this.price=0,this.sotreParam.page=1,this.sotreParam.order="",this.rightBox2=!0},confirm2:function(t){var e=[],i=[];0==t.storeTypeArr.length?this.sotreParam.type_id="":(t.storeTypeArr.forEach((function(t){e.push(t.mer_type_id)})),this.sotreParam.type_id=e.toString()),0==t.merList.length?this.sotreParam.category_id="":(t.merList.forEach((function(t){i.push(t.merchant_category_id)})),this.sotreParam.category_id=i.toString()),this.rightBox2=t.status,this.loadend=!1,this.$set(this.sotreParam,"page",1),this.storeList=[],this.storeScroll=!0,this.storeMerchantList()},close:function(){this.rightBox=!1,this.rightBox2=!1},bindDown:function(t,e){this.firstKey=0,0==e?this.where.order="":1==e?this.where.order="rate":2==e&&(this.where.order="is_new"),this.downKey=e,this.downStatus=!1,this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)},Changswitch:function(){this.is_switch=!this.is_switch},searchSubmit:function(t){t.detail.value.trim()?(this.$set(this.where,"keyword",t.detail.value),1==this.tabIndex?(this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)):(this.sotreParam.page=1,this.storeScroll=!0,this.storeList=[],this.storeMerchantList("search"))):uni.showToast({title:"请输入搜索内容",icon:"none",duration:1e3})},inputChange:function(t){this.$set(this.where,"keyword",t.detail.value)},get_host_product:function(){var t=this;t.hotScroll||(0,n.getProductHot)(t.hotPage,t.hotLimit).then((function(e){t.hotPage++,t.hotScroll=e.data.list.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(e.data.list),t.hostProduct.length==e.data.count&&uni.showToast({title:"推荐商品,加载完毕",duration:2e3,icon:"none"})}))},set_where:function(t){switch(t){case 1:uni.navigateBack();break;case 2:this.firstKey=t,0==this.price?(this.price=1,this.where.order="price_asc"):1==this.price?(this.price=2,this.where.order="price_desc"):2==this.price&&(this.price=0,this.where.order=""),this.$set(this.where,"page",1),this.get_product_list(!0);break;case 3:this.price=0,this.loadend=!1,this.$set(this.where,"order","sales"),this.$set(this.where,"page",1),this.get_product_list(!0),this.firstKey=t;break}this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)},get_product_list:function(t){var e=this;e.loadend||e.loading||(!0===t&&e.$set(e,"productList",[]),e.loading=!0,e.loadTitle="",(0,n.getProductslist)(e.where).then((function(t){var i=t.data.list,a=e.$util.SplitArray(i,e.productList),o=i.length<e.where.limit;e.loadend=o,e.loading=!1,e.loadTitle=o?"已全部加载":"加载更多",e.$set(e,"productList",a),e.$set(e.where,"page",e.where.page+1)})).catch((function(t){e.loading=!1,e.loadTitle="加载更多"})))},goStore:function(t){1!=this.hide_mer_status?uni.navigateTo({url:"/pages/store/home/index?id=".concat(t)}):12==this.storeList.type_id&&uni.navigateTo({url:"/pages/nongKe/supply_chain/merchant?id=".concat(t)})}},onPullDownRefresh:function(){},onReachBottom:function(){if(1==this.tabIndex)this.productList.length>0?this.get_product_list(!1):this.get_host_product();else if(this.count===this.storeList.length){if(0===this.count)return;uni.showToast({title:"已加载全部",icon:"none",duration:1e3})}else this.sotreParam.page+=1,this.storeMerchantList()}},"onPullDownRefresh",(function(){var t=this;setTimeout((function(){var e=t.productList.reverse();t.productList=e,uni.stopPullDownRefresh()}),500)})));e.default=g},"9b0a":function(t,e,i){"use strict";i.r(e);var a=i("9a12"),o=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},b31a:function(t,e,i){"use strict";i.r(e);var a=i("4d89"),o=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},c3c6:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var a={WaterfallsFlow:i("a825").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{style:t.viewColor},[a("v-uni-view",{staticClass:"productList"},[a("v-uni-view",{staticClass:"search acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"back",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.set_where(1)}}},[a("v-uni-view",{staticClass:"iconfont icon-xiangzuo"})],1),a("v-uni-view",{staticClass:"input acea-row row-between-wrapper"},[a("v-uni-text",{staticClass:"iconfont icon-sousuo"}),a("v-uni-input",{attrs:{placeholder:"搜索商品名称","placeholder-class":"placeholder","confirm-type":"search",name:"search",value:t.where.keyword},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.searchSubmit.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputChange.apply(void 0,arguments)}}})],1),1==t.tabIndex?a("v-uni-view",{staticClass:"iconfont",class:1==t.is_switch?"icon-pailie":"icon-tupianpailie",staticStyle:{"text-align":"right"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Changswitch.apply(void 0,arguments)}}}):t._e()],1),a("v-uni-view",{staticClass:"nav-wrapper"},[0==t.hide_mer_status?a("v-uni-view",{staticClass:"tab-bar"},[a("v-uni-view",{staticClass:"tab-item",class:{on:1==t.tabIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabIndex=1}}},[t._v("商品")]),a("v-uni-view",{staticClass:"tab-item",class:{on:2==t.tabIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabIndex=2}}},[t._v("店铺")])],1):t._e(),1==t.tabIndex?[a("v-uni-view",{staticClass:"nav acea-row row-middle"},[a("v-uni-view",{staticClass:"item",class:{"t-color":t.downKey>0&&0==t.firstKey},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.downStatus=!t.downStatus}}},[t._v(t._s(t.downMenu[t.downKey].title)),t.downStatus?a("v-uni-text",{staticClass:"iconfont icon-xiala1"}):a("v-uni-text",{staticClass:"iconfont icon-xiala1 spin"})],1),a("v-uni-view",{staticClass:"item",class:{"t-color":"sales"==t.where.order},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.set_where(3)}}},[t._v("销量")]),a("v-uni-view",{staticClass:"item",class:{"t-color":"price_desc"==t.where.order},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.set_where(2)}}},[t._v("价格"),1==t.price?a("v-uni-image",{attrs:{src:t.domain+"/static/diy/up"+t.keyColor+".png"}}):2==t.price?a("v-uni-image",{attrs:{src:t.domain+"/static/diy/down"+t.keyColor+".png"}}):a("v-uni-image",{attrs:{src:"/static/images/horn.png"}})],1),a("v-uni-view",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindRight.apply(void 0,arguments)}}},[t._v("筛选"),a("v-uni-text",{staticClass:"iconfont icon-shaixuan"})],1)],1)]:t._e(),2==t.tabIndex?[a("v-uni-view",{staticClass:"nav acea-row row-middle"},[t._l(t.shopTab,(function(e){return a("v-uni-view",{key:e.key,staticClass:"item",class:{"t-color":t.storeKey==e.key},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.storeTab(e.key)}}},[t._v(t._s(e.title))])})),a("v-uni-view",{staticClass:"item",class:{"t-colors":4==t.firstKey},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindRight2.apply(void 0,arguments)}}},[a("v-uni-view",[t._v("筛选"),a("v-uni-text",{staticClass:"iconfont icon-shaixuan"})],1),a("v-uni-view",{staticClass:"line",class:{"font-line":4==t.firstKey}})],1)],2)]:t._e()],2),1==t.tabIndex?[t.is_switch?a("v-uni-view",{staticClass:"list",style:{marginTop:t.mTop}},[a("WaterfallsFlow",{attrs:{wfList:t.productList,isStore:t.hide_mer_status,type:1},on:{itemTap:function(e){arguments[0]=e=t.$handleEvent(e),t.godDetail.apply(void 0,arguments)},goShop:function(e){arguments[0]=e=t.$handleEvent(e),t.goStore.apply(void 0,arguments)}}}),t.productList.length>0?a("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[a("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],1):a("v-uni-view",{staticClass:"list acea-row row-between-wrapper on",style:{marginTop:t.mTop}},[t._l(t.productList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item on",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.godDetail(e)}}},[a("v-uni-view",{staticClass:"pictrue on"},[a("v-uni-image",{staticClass:"on",attrs:{src:e.image}}),0==e.stock?a("v-uni-view",{staticClass:"sell_out"},[t._v("已售罄")]):t._e(),e.border_pic?a("v-uni-view",{staticClass:"border-picture",style:{backgroundImage:"url("+e.border_pic+")"}}):t._e()],1),a("v-uni-view",{staticClass:"text on acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[a("v-uni-text",{staticClass:"name_text line2"},[t._v(t._s(e.store_name))])],1),a("v-uni-view",{staticClass:"item_bot"},[a("v-uni-view",{staticClass:"acea-row row-bottom"},[a("v-uni-view",{staticClass:"money on"},[t._v("¥"),a("v-uni-text",{staticClass:"num"},[t._v(t._s(e.price))])],1),e.show_svip_info.show_svip_price&&e.svip_price?a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"vip-money"},[t._v("¥"+t._s(e.svip_price))]),a("v-uni-view",{staticClass:"vipImg"},[a("v-uni-image",{attrs:{src:"/static/images/svip.png"}})],1)],1):t._e()],1),a("v-uni-view",{staticClass:"item_tags acea-row"},[e.merchant.type_name&&0==e.product_type?a("v-uni-text",{staticClass:"font-bg-red bt-color line1"},[t._v(t._s(e.merchant.type_name))]):e.merchant.is_trader&&0==e.product_type?a("v-uni-text",{staticClass:"font-bg-red bt-color line1"},[t._v("自营")]):t._e(),0!=e.product_type?a("v-uni-text",{class:"font_bg-red bt-color type"+e.product_type},[t._v(t._s(1==e.product_type?"秒杀":2==e.product_type?"预售":3==e.product_type?"助力":4==e.product_type?"拼团":""))]):t._e(),e.issetCoupon?a("v-uni-text",{staticClass:"tags_item ticket"},[t._v("领券")]):t._e(),1==e.delivery_free?a("v-uni-text",{staticClass:"tags_item delivery"},[t._v("包邮")]):t._e()],1),a("v-uni-view",{staticClass:"score"},[t._v(t._s(e.rate)+"评分 "+t._s(e.reply_count)+"条评论"),e.merchant?a("v-uni-text",[t._v(t._s(e.merchant.street_name))]):t._e()],1),e.merchant&&0==t.hide_mer_status?a("v-uni-view",{staticClass:"company"},[a("v-uni-text",{staticClass:"name line1"},[t._v(t._s(e.merchant.mer_name))]),e.merchant?a("v-uni-view",{staticClass:"flex",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goStore(e.merchant.mer_id)}}},[t._v("进店"),a("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1):t._e()],1):t._e()],1)],1),e.max_extension>0&&(2==e.product_type||0==e.product_type)?[a("v-uni-view",{staticClass:"foot-bar on"},[1==t.is_switch?a("v-uni-text",{staticClass:"iconfont icon-fenxiang"}):t._e(),a("v-uni-text",{staticClass:"line1"},[t._v("最高赚 ¥"+t._s(e.max_extension))])],1)]:t._e()],2)})),t.productList.length>0?a("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[a("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],2),0!=t.productList.length||t.loading?t._e():a("v-uni-view",{staticClass:"noCommodity"},[a("v-uni-view",{staticClass:"pictrue",staticStyle:{margin:"0 auto"}},[a("v-uni-image",{attrs:{src:"/static/images/noCart.png"}}),a("v-uni-text",[t._v("暂无商品,快去搜索其他商品吧")])],1),1==t.recommend_switch?a("recommend",{attrs:{hostProduct:t.hostProduct,isLogin:t.isLogin}}):t._e()],1)]:t._e(),2==t.tabIndex?[t.storeList.length?a("v-uni-view",{staticClass:"store-wrapper"},[t._l(t.storeList,(function(e,o){return a("v-uni-view",{key:o,staticClass:"store-item"},[a("v-uni-view",{staticClass:"head"},[a("v-uni-view",{staticClass:"bgc_img",style:{backgroundImage:"url("+e.mini_banner+")"}}),a("v-uni-view",{staticClass:"zhezhao"}),a("v-uni-view",{staticClass:"zhezhao1",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goStore(e.mer_id)}}},[a("v-uni-view",{staticClass:"title"},[a("v-uni-view",[t._v(t._s(e.mer_name))]),a("span",[t._v(t._s(e.type_name))])],1),a("v-uni-view",{staticClass:"coent"},[a("v-uni-view",{staticClass:"avater"},[a("v-uni-image",{attrs:{src:e.mer_avatar,mode:""}})],1),a("v-uni-view",{staticClass:"text"},[a("v-uni-view",{staticClass:"text_one text_flex"},[a("v-uni-view",{staticClass:"text_flex"},[a("v-uni-image",{attrs:{src:i("f1af"),mode:""}}),t._v(t._s(e.service_phone))],1),a("v-uni-view",{staticClass:"text_one_r text_flex"},[a("v-uni-image",{attrs:{src:i("d84f"),mode:""}}),t._v(t._s(e.mer_take_time[0])+"-"+t._s(e.mer_take_time[1]))],1)],1),a("v-uni-view",{staticClass:"text_two text_flex"},[a("v-uni-image",{attrs:{src:i("8982"),mode:""}}),a("v-uni-view",{staticClass:"text_tip"},[t._v(t._s(e.mer_info))])],1),a("v-uni-view",{staticClass:"text_three text_flex"},[a("v-uni-image",{attrs:{src:i("38a1"),mode:""}}),a("v-uni-view",{staticClass:"text_tip"},[t._v(t._s(e.mer_address))])],1)],1)],1)],1)],1)],1)})),t.loading?a("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[a("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],2):t._e(),t.storeList.length||t.loading?t._e():a("v-uni-view",{staticClass:"no-shop"},[a("v-uni-view",{staticClass:"pictrue",staticStyle:{margin:"0 auto"}},[a("v-uni-image",{attrs:{src:"/static/images/no-Cart.png"}}),a("v-uni-text",[t._v("暂无店铺,快去搜索其他店铺吧")])],1)],1)]:t._e(),t.rightBox?a("rightSlider1",{attrs:{status:t.rightBox,activeIndex:t.activeIndex,brandList:t.brandList,price_on:t.where.price_on,price_off:t.where.price_off},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e()],2),t.downStatus?a("v-uni-view",{staticClass:"down-wrapper"},[a("v-uni-view",{staticClass:"bg"}),a("v-uni-view",{staticClass:"down-box",style:{top:t.mTop}},t._l(t.downMenu,(function(e,i){return a("v-uni-view",{key:e.key,staticClass:"down-item",class:{on:i==t.downKey},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.bindDown(e,i)}}},[t._v(t._s(e.title)),i==t.downKey?a("v-uni-text",{staticClass:"iconfont icon-gou"}):t._e()],1)})),1)],1):t._e(),t.rightBox2?a("rightSlider2",{attrs:{status:t.rightBox2,activeIndex:t.activeIndex,merList:t.merList,storeTypeArr:t.storeTypeArr},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm2.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),a("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},r=[]},d84f:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAZRJREFUOE+t1D9IllEUgPHngYj+QINLSERRU4suEUJgZERIQ0tkOqXgZEvQoFtCS20NLTlIhLW4KAShEaQugk7iJLmJ4pZBBBVHbtwvrm/vZ8v3jpd7f/ecc895pUWfLXKohSLiODAE9AFn4M++38AKMKF+qgbwDxQRV4DXwAzwSt1MhyLiCNANjAFfgUH1WwM8AGXkDXBXXWuWdkQ8SnuAG+qPtO8vFBEngFXgXolERBvQr74s4YgYB06qj6vQCHBWHa0cOA9Mqtcr60eBdeCqultGtAA8aNSkcSgiaqFctyfAljpRQl/Ui9W6/AfqBW6rD0toU71QA7UDn4HL6l4lvWs5i8ES2gAuqb9qsAEg1bC3xCLiPtCpjpXQu2bNluuRsGGgR428NglMq+9LqCc1m3rzkP5pV7czcg74AHSoP6sNOQ0sqi8Om8E8Qh+B52qagIOzFhGn8i3zwNN0U029UiRvgVn1We2I5JCPJQS4A0wBy8B3IL3eLaALGG1E0hQqGvF0xjrSKAA7wBIwVxdpy/5H+zqprBN1UnZmAAAAAElFTkSuQmCC"},f1af:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAVtJREFUOE+t0z8ohVEcxvHvE6NiM1gkK5ssRpfCwmTBKESJUpJ/dzNQNlIWRsmkDKSUv5vBYlFKmdxsd/Do1Ot2Ljdvb90zvZ3zvp/znt95fqJKQ1VyKEG2w/MW0ANMSbrIskkMTQPNwDpwDOSzYDF0B3RJKtquz4rF0L2kjp/jJNgJMCHpKe2YMXQrqTOC6oBTYFLSYxboCFiQ9Bw+sr0IvEvaS0PCevxHvUC/pJkEmgU+JO1nhQJ6CYxIerHdAJwBOUmFNKwskLZDjVaBPkm2nQNWgGFJr7abgA1gV1LYtDT+JNv2WiiRpACGWoWb3ATekpzNAeGdspxVgsLcIXAjaTvBwlxrUvxCpZxV7DXbNcAO8JncZPF3jSJsWdLVv01rexwYA5YknVfARoF2SfOp3Z8UOA+0AAfAA/AFDADdwGC41VQoSnojMAS0AbXAdahl6M2yQKblJG39GwFzkBPWwzyaAAAAAElFTkSuQmCC"}}]); |