杨总惠通宝
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.
 
 
 
 
 
 
htb_backend/public/static/js/pages-store-shopStreet-inde...

1 lines
34 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-shopStreet-index"],{"02fc":function(t,e,i){"use strict";var a=i("8e36"),r=i.n(a);r.a},"07c8":function(t,e,i){var a=i("24fb");e=a(!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/* 文章场景相关 */.productList .search[data-v-130480ca]{width:100%;height:%?86?%;padding:0 %?20?%;box-sizing:border-box;position:fixed;left:0;top:0;z-index:9;display:flex;flex-wrap:nowrap;background-color:#fff}.productList .search.styleType1[data-v-130480ca]{background-color:var(--view-theme)}.productList .search .search-right[data-v-130480ca]{display:flex;align-items:center;justify-content:space-between;max-width:-webkit-max-content;max-width:max-content;flex:1;padding-left:%?20?%}.productList .search .right-text[data-v-130480ca]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:%?28?%;width:-webkit-max-content;width:max-content;color:#fff;padding:0 %?10?%}.productList .search .icon-xiangyou[data-v-130480ca],\n.productList .search .icon-dingwei[data-v-130480ca]{font-size:%?30?%;color:#fff}.search-right.styleType2 .right-text[data-v-130480ca], .search-right.styleType3 .right-text[data-v-130480ca]{color:#282828}.search-right.styleType2 .icon-xiangyou[data-v-130480ca], .search-right.styleType3 .icon-xiangyou[data-v-130480ca]{color:#999}.search-right.styleType2 .icon-dingwei[data-v-130480ca], .search-right.styleType3 .icon-dingwei[data-v-130480ca]{color:#8a8a8a}.productList .search .back[data-v-130480ca]{display:flex;align-items:center;width:%?40?%;height:%?60?%}.productList .search .back .iconfont[data-v-130480ca]{color:#fff;font-size:%?36?%}.productList .search .input[data-v-130480ca]{flex:1;height:%?60?%;background-color:#fff;border-radius:%?50?%;padding:0 %?20?%;box-sizing:border-box}.productList .search.styleType2 .input[data-v-130480ca], .productList .search.styleType3 .input[data-v-130480ca]{background:#ededed}.productList .search .input uni-input[data-v-130480ca]{flex:1;height:100%;font-size:%?26?%;margin-left:%?10?%}.productList .search .input .placeholder[data-v-130480ca]{color:#999}.productList .search .input .iconfont[data-v-130480ca]{font-size:%?35?%;color:#555}.productList .search .icon-pailie[data-v-130480ca],\n.productList .search .icon-tupianpailie[data-v-130480ca]{color:#fff;width:%?62?%;font-size:%?40?%;height:%?86?%;line-height:%?86?%}.productList .nav-wrapper[data-v-130480ca]{z-index:9;position:fixed;left:0;top:0;width:100%;margin-top:%?86?%;background-color:#fff}.productList .nav-wrapper.styleType1[data-v-130480ca]{background-color:var(--view-theme)}.productList .nav-wrapper .tab-bar[data-v-130480ca]{display:flex;align-items:center}.productList .nav-wrapper .tab-bar .tab-item[data-v-130480ca]{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-130480ca]::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-130480ca]::after{background:#fff}.border-picture[data-v-130480ca]{position:absolute;top:0;left:0;width:100%;height:100%;background:50%/cover no-repeat}.productList .nav[data-v-130480ca]{height:%?86?%;color:#454545;font-size:%?28?%;display:flex;justify-content:space-between;padding:0 %?28?%}.productList .nav .item[data-v-130480ca]{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;flex:1}.productList .nav.styleType2 .item[data-v-130480ca], .productList .nav.styleType3 .item[data-v-130480ca]{color:#282828}.productList .nav .item.font-colors[data-v-130480ca]{font-weight:500;color:#fff}.productList .nav.styleType2 .item.font-colors[data-v-130480ca],\n.productList .nav.styleType3 .item.font-colors[data-v-130480ca]{color:var(--view-theme)}.productList .nav .item .font-line[data-v-130480ca]{height:%?4?%;background-color:#fff;margin-top:%?3?%;width:%?28?%;animation:line-data-v-130480ca .3s;-moz-animation:line-data-v-130480ca .3s;\n /* Firefox */-webkit-animation:line-data-v-130480ca .3s;\n /* Safari 和 Chrome */-o-animation:line-data-v-130480ca .3s\n /* Opera */}.productList .nav.styleType2 .item .font-line[data-v-130480ca],\n.productList .nav.styleType3 .item .font-line[data-v-130480ca]{background-color:var(--view-theme)}@-webkit-keyframes line-data-v-130480ca{from{width:%?0?%}to{width:%?28?%}}@keyframes line-data-v-130480ca{from{width:%?0?%}to{width:%?28?%}}.productList .nav .item uni-image[data-v-130480ca]{width:%?15?%;height:%?19?%;margin-left:%?10?%}.mer-box[data-v-130480ca]{padding:%?20?% %?20?%;margin-top:%?168?%}.mer-box .store-margin[data-v-130480ca]{width:%?30?%!important;height:%?32?%!important;margin:0 0 0 %?10?%!important;border:none!important;border-radius:0!important}.mer-box .mer-item[data-v-130480ca]{margin-bottom:%?20?%;background-color:#fff;border-radius:%?16?%}.mer-box .mer-item.mer-item3[data-v-130480ca]{background-size:cover;background-repeat:no-repeat}.mer-box .mer-item .mer-hd[data-v-130480ca]{position:relative;width:100%;height:%?134?%;border-radius:%?16?% %?16?% 0 0;overflow:hidden;display:flex}.mer-box .mer-item .mer-hd uni-image[data-v-130480ca]{width:100%;height:100%}.mer-box .mer-item .mer-hd .mer-name[data-v-130480ca]{position:absolute;left:%?20?%;top:%?30?%;display:flex;align-items:center;padding:0 %?10?%}.mer-box .mer-item .mer-hd .mer-name uni-image[data-v-130480ca]{width:%?79?%;height:%?79?%;border:1px solid #fff;border-radius:50%;margin-right:%?10?%}.mer-box .mer-item .mer-hd .mer-name .txt[data-v-130480ca]{flex:1}.mer-box .mer-item[data-v-130480ca] .easy-loadimage{width:100%;height:%?214?%;border-radius:%?8?%}.mer-box .mer-item .pro-box[data-v-130480ca]{display:flex;align-items:center;padding:%?20?% %?20?% %?30?%}.mer-box .mer-item .pro-box .pro-item[data-v-130480ca]{width:%?218?%;margin-right:%?14?%}.mer-box .mer-item .pro-box .pro-item .picture[data-v-130480ca], .mer-box .mer-item .pro-box .pro-item[data-v-130480ca] uni-image, .mer-box .mer-item .pro-box .pro-item uni-image[data-v-130480ca]{width:100%;height:%?214?%;border-radius:%?8?%;position:relative}.mer-box .mer-item .pro-box .pro-item .price[data-v-130480ca]{margin-top:%?5?%;font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.mer-box .mer-item .pro-box .pro-item .price uni-text[data-v-130480ca]{font-size:%?28?%}.mer-box .mer-item .pro-box .pro-item[data-v-130480ca]:last-child{margin-right:0}.mer-box .mer-item .pro-box.styleType3[data-v-130480ca]{padding:%?20?%}.mer-box .mer-item .pro-box.styleType3 .pro-item[data-v-130480ca]{background-color:#fff;border-radius:%?16?%;text-align:center;padding:%?10?% 0 %?20?%}.mer-box .mer-item .pro-box.styleType3 .pro-item .picture[data-v-130480ca], .mer-box .mer-item .pro-box.styleType3 .pro-item[data-v-130480ca] uni-image, .mer-box .mer-item .pro-box.styleType3 .pro-item uni-image[data-v-130480ca]{width:%?194?%;height:%?194?%;text-align:center;border-radius:%?8?%;position:relative;margin:0 auto}.mer-box .mer-top[data-v-130480ca]{display:flex;align-items:center;color:#fff;font-size:%?28?%;font-weight:700;margin-bottom:%?6?%}.mer-box .mer-top .font-bg-red[data-v-130480ca]{margin-left:%?20?%;font-size:%?18?%;padding:%?2?% %?10?%;color:#fff;border-radius:%?30?%;width:auto;background-color:var(--view-theme);border-color:var(--view-theme)}.mer-box .mer-btn[data-v-130480ca]{color:hsla(0,0%,100%,.7);font-size:%?24?%;display:flex;align-items:center}.mer-box .mer-btn .line[data-v-130480ca]{width:%?2?%;height:%?18?%;color:hsla(0,0%,100%,.7);margin:0 %?12?%}.mer-box .mer-btn .distance[data-v-130480ca]{display:flex;align-items:center;font-size:%?24?%}.mer-box .mer-btn .distance .iconfont[data-v-130480ca]{font-size:%?24?%;line-height:%?24?%}.mer-box .more-shop[data-v-130480ca]{display:flex;align-items:center;justify-content:center;background-color:#fff;padding:%?27?% 0;color:#999;font-size:%?26?%}.mer-box .more-shop .icon-xiangyou[data-v-130480ca]{font-size:%?22?%}.mer-item2[data-v-130480ca]{padding:%?20?%;background:#fff;margin-bottom:%?20?%;border-radius:%?16?%}.mer-item2 .mer-shop-count[data-v-130480ca]{display:flex}.mer-item2 .mer-shop-count .mer-avatar[data-v-130480ca]{width:%?100?%;height:%?100?%}.mer-item2 .mer-shop-count .mer-top[data-v-130480ca]{color:#282828}.mer-item2 .mer-shop-count .mer-shop-right[data-v-130480ca]{margin-left:%?20?%}.mer-item2 .mer-shop-count .mer-shop-right .mer-btn[data-v-130480ca]{color:#666}.mer-item2 .mer-shop-count .pro-box[data-v-130480ca]{display:flex;align-items:center;margin-top:%?20?%}.mer-item2 .mer-shop-count .pro-box .pro-item[data-v-130480ca]{width:%?170?%;margin-right:%?20?%}.mer-item2 .mer-shop-count .pro-box .pro-item .picture[data-v-130480ca], .mer-item2 .mer-shop-count .pro-box .pro-item[data-v-130480ca] uni-image, .mer-item2 .mer-shop-count .pro-box .pro-item uni-image[data-v-130480ca], .mer-item2 .mer-shop-count .pro-box .pro-item[data-v-130480ca] .easy-loadimage{width:100%;height:%?170?%;border-radius:%?8?%;position:relative}.mer-item2 .mer-shop-count .pro-box .pro-item .price[data-v-130480ca]{margin-top:%?5?%;font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.mer-item2 .mer-shop-count .pro-box .pro-item .price uni-text[data-v-130480ca]{font-size:%?28?%}.mer-item2 .mer-shop-count .pro-box .pro-item[data-v-130480ca]:last-child{margin-right:0}.no-shop[data-v-130480ca]{background-color:#fff;padding-bottom:calc(100% - %?176?%)}.no-shop .pictrue[data-v-130480ca]{display:flex;flex-direction:column;align-items:center;color:#999}.no-shop .pictrue uni-image[data-v-130480ca]{width:%?414?%;height:%?380?%}',""]),t.exports=e},"11d3":function(t,e,i){"use strict";i.r(e);var a=i("26f0"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=r.a},"26f0":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"),r={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=r},"28be":function(t,e,i){"use strict";i.r(e);var a=i("3791"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=r.a},3791:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(i("5530"));i("d401"),i("d3b7"),i("25f0"),i("4de4"),i("d81d"),i("159b"),i("a9e3"),i("acd8"),i("fb6a"),i("99af"),i("14d9");var n=i("111c"),o=a(i("5380")),s=a(i("7f08")),c=i("26cb"),d=(i("bd9e"),i("4f1b")),l=a(i("ae65")),u=(getApp(),{components:{recommend:o.default,rightSlider:s.default,easyLoadimage:l.default},data:function(){return{price:0,stock:0,nows:!1,loading:!1,loadingIcon:!0,loadTitle:"加载更多",title:"",hotPage:1,hotLimit:10,hotScroll:!1,rightBox:!1,brandList:[],downKey:0,downStatus:!1,downMenu:[{title:"默认",key:0,order:""},{title:"销量",key:1,order:"sales"},{title:"好评",key:2,order:"rate"},{title:"距离",key:3,order:"location"}],firstKey:0,storeList:[],sotreParam:{keyword:"",page:1,limit:10,order:"",category_id:"",type_id:""},storeKey:0,storeScroll:!0,mer_id:"",sortId:"",price_on:"",price_off:"",detaile_address:"",recommend_address:"",location_address:"",latitude:"",longitude:"",count:0,storeTypeArr:[],merList:[]}},onLoad:function(t){this.sotreParam.type_id=t.type_id&&t.type_id.split(",").toString()||"",this.sotreParam.category_id=t.cate_id&&t.cate_id.split(",").toString()||"",this.storeList=[],1==this.mer_location&&this.selfLocation(),this.storeMerchantList(),this.getClassfication(),this.getStoreType()},computed:(0,r.default)({downMenus:function(){var t=this;return this.downMenu.filter((function(e){return t.mer_location?e:e.key<3}))}},(0,d.configMap)({margin_ico_switch:0,margin_ico:"",mer_location:0,store_street_theme:1,hide_mer_status:""},(0,c.mapGetters)(["viewColor"]))),methods:{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})}))},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),name:"当前位置",address:this.location_address}).then((function(t){})):uni.openLocation({latitude:parseFloat(t),longitude:parseFloat(e),name:"当前位置",address:this.location_address,scale:8,success:function(t){}})},showStoreLocation:function(t){if(!t.lat||!t.long)return this.$util.Tips({title:"请设置允许商城访问您的位置!"});!0===this.$wechat.isWeixin()?this.$wechat.seeLocation({latitude:Number(t.lat),longitude:Number(t.long),name:t.mer_name,address:t.mer_address?t.mer_address:""}).then((function(t){})):uni.openLocation({latitude:parseFloat(t.lat),longitude:parseFloat(t.long),scale:8,name:t.mer_name,address:t.mer_address?t.mer_address:"",success:function(t){}})},selfLocation:function(){var t=this;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.location_address=e.data.address,t.recommend_address=e.data.address.length>4?e.data.address.slice(0,4)+"...":e.data.address})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},fail:function(t){uni.showToast({title:t,icon:"none",duration:1e3})}})},storeMerchantList:function(){var t=this;if(!this.loading){this.loading=!0;var e={keyword:this.sotreParam.keyword,page:this.sotreParam.page,limit:10,order:this.sotreParam.order,category_id:this.sotreParam.category_id,type_id:this.sotreParam.type_id};this.latitude&&(e.location=this.latitude+","+this.longitude),(0,n.storeMerchantList)(e).then((function(e){t.count=e.data.count,t.storeList=t.storeList.concat(e.data.list),t.loading=!1,t.loadingIcon=!1}))}},goStore:function(t){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t)})},searchSubmit:function(t){this.$set(this.sotreParam,"keyword",t.detail.value),this.set_where(this.firstKey)},bindRight:function(){this.sotreParam.page=1,this.rightBox=!0},confirm: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.rightBox=t.status,this.loadend=!1,this.$set(this.sotreParam,"page",1),this.storeList=[],this.storeMerchantList()},close:function(){this.rightBox=!1},set_where:function(t){this.loading||(this.storeList=[],this.firstKey=t,this.sotreParam.page=1,this.sotreParam.order=this.downMenu[t].order,this.storeMerchantList())},backjJump:function(){uni.navigateBack({delta:1})}},onPullDownRefresh:function(){},onReachBottom:function(){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()},onPageScroll:function(t){uni.$emit("scroll")}});e.default=u},4735:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var a={easyLoadimage:i("ae65").default},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"productList",style:t.viewColor},[a("v-uni-view",{staticClass:"search acea-row row-between-wrapper",class:"styleType"+t.store_street_theme},[a("v-uni-view",{staticClass:"back",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.backjJump()}}},[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.sotreParam.keyword},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.searchSubmit.apply(void 0,arguments)}}})],1),1==t.mer_location?a("v-uni-view",{staticClass:"iconfont search-right",class:"styleType"+t.store_street_theme,staticStyle:{"text-align":"right"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showMaoLocation(t.latitude,t.longitude)}}},[a("v-uni-view",{staticClass:"iconfont icon-dingwei"}),t.recommend_address?a("v-uni-view",{staticClass:"right-text"},[t._v(t._s(t.recommend_address))]):t._e(),t.recommend_address?a("v-uni-view",{staticClass:"iconfont icon-xiangyou"}):t._e()],1):t._e()],1),a("v-uni-view",{staticClass:"nav-wrapper",class:"styleType"+t.store_street_theme},[a("v-uni-view",{staticClass:"nav acea-row row-middle",class:"styleType"+t.store_street_theme},[t._l(t.downMenus,(function(e){return a("v-uni-view",{key:e.key,staticClass:"item",class:{"font-colors":t.firstKey==e.key},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.set_where(e.key)}}},[a("v-uni-view",{},[t._v(t._s(e.title))]),a("v-uni-view",{staticClass:"line",class:{"font-line":t.firstKey==e.key}})],1)})),a("v-uni-view",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindRight.apply(void 0,arguments)}}},[a("v-uni-view",[t._v("筛选")]),a("v-uni-view",{staticClass:"line"})],1)],2)],1),[a("v-uni-view",{staticClass:"mer-box"},[1==t.store_street_theme?t._l(t.storeList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"mer-item"},[a("v-uni-view",{staticClass:"mer-hd",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goStore(e.mer_id)}}},[a("v-uni-image",{attrs:{src:e.mini_banner?e.mini_banner:e.mer_banner}}),a("v-uni-view",{staticClass:"mer-name"},[a("v-uni-image",{attrs:{src:e.mer_avatar}}),a("v-uni-view",{},[a("v-uni-view",{staticClass:"mer-top"},[a("v-uni-view",{staticClass:"txt line1"},[t._v(t._s(e.mer_name))]),1==t.margin_ico_switch&&t.margin_ico&&10==e.is_margin?a("v-uni-image",{staticClass:"store-margin",attrs:{src:t.margin_ico}}):t._e(),e.type_name?a("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v(t._s(e.type_name))]):e.is_trader?a("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v("自营")]):t._e()],1),a("v-uni-view",{staticClass:"mer-btn"},[a("v-uni-view",{},[t._v(t._s(e.care_count<1e4?e.care_count:(e.care_count/1e4).toFixed(2)+"万")+"人关注")]),e.distance?a("v-uni-view",{staticClass:"line"}):t._e(),e.distance?a("v-uni-view",{staticClass:"distance",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.showStoreLocation(e)}}},[a("v-uni-view",{},[t._v(t._s(e.distance))]),a("v-uni-view",{staticClass:"iconfont icon-xiangyou"})],1):t._e()],1)],1)],1)],1),a("v-uni-view",{staticClass:"pro-box",class:"styleType"+t.store_street_theme},t._l(e.recommend,(function(i,r){return e.recommend.length<=3?a("v-uni-navigator",{key:r,staticClass:"pro-item",attrs:{url:"/pages/goods_details/index?id="+i.product_id,"hover-class":"none"}},[a("v-uni-view",{staticClass:"picture"},[a("easy-loadimage",{attrs:{mode:"widthFix","image-src":i.image}}),i.border_pic?a("v-uni-view",{staticClass:"border-picture",style:{backgroundImage:"url("+i.border_pic+")"}}):t._e()],1),a("v-uni-view",{staticClass:"price"},[a("v-uni-text",[t._v("¥")]),t._v(t._s(i.price))],1)],1):t._e()})),1)],1)})):t._e(),2==t.store_street_theme?t._l(t.storeList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"mer-item2"},[a("v-uni-view",{staticClass:"mer-hd mer-shop-count",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goStore(e.mer_id)}}},[a("v-uni-image",{staticClass:"mer-avatar",attrs:{src:e.mer_avatar}}),a("v-uni-view",{staticClass:"mer-shop-right"},[a("v-uni-view",{staticClass:"mer-count"},[a("v-uni-view",{staticClass:"mer-top"},[a("v-uni-view",{staticClass:"txt line1"},[t._v(t._s(e.mer_name))]),e.type_name?a("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v(t._s(e.type_name))]):e.is_trader?a("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v("自营")]):t._e()],1),a("v-uni-view",{staticClass:"mer-btn"},[a("v-uni-view",{},[t._v(t._s(e.care_count<1e4?e.care_count:(e.care_count/1e4).toFixed(2)+"万")+"人关注")]),e.distance?a("v-uni-view",{staticClass:"line"}):t._e(),e.distance?a("v-uni-view",{staticClass:"distance",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.showStoreLocation(e)}}},[a("v-uni-view",{},[t._v(t._s(e.distance))]),a("v-uni-view",{staticClass:"iconfont icon-xiangyou"})],1):t._e()],1)],1),a("v-uni-view",{staticClass:"pro-box"},t._l(e.recommend,(function(i,r){return e.recommend.length<=3?a("v-uni-navigator",{key:r,staticClass:"pro-item",attrs:{url:"/pages/goods_details/index?id="+i.product_id,"hover-class":"none"}},[a("v-uni-view",{staticClass:"picture"},[a("easy-loadimage",{attrs:{mode:"widthFix","image-src":i.image}}),i.border_pic?a("v-uni-view",{staticClass:"border-picture",style:{backgroundImage:"url("+i.border_pic+")"}}):t._e()],1),a("v-uni-view",{staticClass:"price"},[a("v-uni-text",[t._v("¥")]),t._v(t._s(i.price))],1)],1):t._e()})),1)],1)],1)],1)})):t._e(),3==t.store_street_theme?t._l(t.storeList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"mer-item mer-item3",style:"background-image:url("+e.mini_banner+")"},[a("v-uni-view",{staticClass:"mer-hd",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goStore(e.mer_id)}}},[a("v-uni-view",{staticClass:"mer-name"},[a("v-uni-image",{attrs:{src:e.mer_avatar}}),a("v-uni-view",{},[a("v-uni-view",{staticClass:"mer-top"},[a("v-uni-view",{staticClass:"txt line1"},[t._v(t._s(e.mer_name))]),e.type_name?a("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v(t._s(e.type_name))]):e.is_trader?a("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v("自营")]):t._e()],1),a("v-uni-view",{staticClass:"mer-btn"},[a("v-uni-view",{},[t._v(t._s(e.care_count<1e4?e.care_count:(e.care_count/1e4).toFixed(2)+"万")+"人关注")]),e.distance?a("v-uni-view",{staticClass:"line"}):t._e(),e.distance?a("v-uni-view",{staticClass:"distance",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.showStoreLocation(e)}}},[a("v-uni-view",{},[t._v(t._s(e.distance))]),a("v-uni-view",{staticClass:"iconfont icon-xiangyou"})],1):t._e()],1)],1)],1)],1),a("v-uni-view",{staticClass:"pro-box",class:"styleType"+t.store_street_theme},t._l(e.recommend,(function(i,r){return e.recommend.length<=3?a("v-uni-navigator",{key:r,staticClass:"pro-item",attrs:{url:"/pages/goods_details/index?id="+i.product_id,"hover-class":"none"}},[a("v-uni-view",{staticClass:"picture"},[a("v-uni-image",{attrs:{src:i.image}}),i.border_pic?a("v-uni-view",{staticClass:"border-picture",style:{backgroundImage:"url("+i.border_pic+")"}}):t._e()],1),a("v-uni-view",{staticClass:"price"},[a("v-uni-text",[t._v("¥")]),t._v(t._s(i.price))],1)],1):t._e()})),1)],1)})):t._e(),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.storeList.length||t.loading||t.loadingIcon?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:i("9832")}}),a("v-uni-text",[t._v("暂无店铺,快去搜索其他店铺吧")])],1)],1)]],2),t.rightBox?a("rightSlider",{attrs:{status:t.rightBox,merList:t.merList,storeTypeArr:t.storeTypeArr},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()],1)},n=[]},"5e8e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),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)},r=[]},"62aa":function(t,e,i){var a=i("24fb");e=a(!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/* 文章场景相关 */.slideInRight[data-v-379e6d6c]{-webkit-animation-duration:.5s;animation-duration:.5s}.right-wrapper[data-v-379e6d6c]{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%}.right-wrapper .control-wrapper[data-v-379e6d6c]{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-379e6d6c]{padding:%?50?% %?26?% %?40?%;background-color:#fff}.right-wrapper .control-wrapper .header .title[data-v-379e6d6c]{font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .header .input-wrapper[data-v-379e6d6c]{display:flex;align-items:center;justify-content:space-between;margin-top:%?28?%}.right-wrapper .control-wrapper .header .input-wrapper uni-input[data-v-379e6d6c]{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-379e6d6c]{width:%?15?%;height:%?2?%;background:#7d7d7d}.right-wrapper .control-wrapper .content-box[data-v-379e6d6c]{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-379e6d6c]{padding:%?40?% 0 %?20?%;font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .content-box .brand-wrapper[data-v-379e6d6c]{overflow:hidden}.right-wrapper .control-wrapper .content-box .brand-wrapper .wrapper[data-v-379e6d6c]{display:flex;flex-wrap:wrap;padding-bottom:%?20?%}.right-wrapper .control-wrapper .content-box .brand-wrapper .item[data-v-379e6d6c]{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-379e6d6c]:nth-child(3n){margin-right:0}.right-wrapper .control-wrapper .content-box .brand-wrapper .item.on[data-v-379e6d6c]{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-379e6d6c]{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-379e6d6c]{margin-left:%?10?%;margin-top:%?5?%;font-size:%?20?%}.right-wrapper .control-wrapper .content-box .foot-btn[data-v-379e6d6c]{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-379e6d6c]{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-379e6d6c]{background:var(--view-theme);border-color:var(--view-theme);color:#fff;margin-left:%?20?%}.right-wrapper .right-bg[data-v-379e6d6c]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5)}',""]),t.exports=e},"6cda":function(t,e,i){"use strict";var a=i("70fa"),r=i.n(a);r.a},"70fa":function(t,e,i){var a=i("07c8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=i("4f06").default;r("4fd748cf",a,!0,{sourceMap:!1,shadowMode:!1})},"7f08":function(t,e,i){"use strict";i.r(e);var a=i("5e8e"),r=i("11d3");for(var n in r)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(n);i("02fc");var o=i("f0c5"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"379e6d6c",null,!1,a["a"],void 0);e["default"]=s.exports},"8e36":function(t,e,i){var a=i("62aa");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=i("4f06").default;r("4eb90282",a,!0,{sourceMap:!1,shadowMode:!1})},9832:function(t,e,i){t.exports=i.p+"static/img/noCart.67573212.png"},fea0:function(t,e,i){"use strict";i.r(e);var a=i("4735"),r=i("28be");for(var n in r)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(n);i("6cda");var o=i("f0c5"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"130480ca",null,!1,a["a"],void 0);e["default"]=s.exports}}]);