(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/merchantList/index"],{"13a0":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("0466"),r=n("8f59"),i={data:function(){return{urlDomain:this.$Cache.get("imgHost"),skeletonShow:!0,isShow:!0,moren:"",noStarLevel:0}},components:{easyLoadimage:function(){Promise.all([n.e("common/vendor"),n.e("components/base/easy-loadimage")]).then(function(){return resolve(n("0dff"))}.bind(null,n)).catch(n.oe)}},computed:(0,r.mapGetters)(["uid"]),props:{merchantList:{type:Array,default:function(){return[]}},isStreet:{type:Boolean,default:function(){return!1}},isHome:{type:Boolean,default:function(){return!1}},isShowHome:{type:Object,default:function(){return{logoShow:!0,typeShow:!0,nameShow:!0}}},merchantStyle:{type:Object,default:function(){}}},created:function(){this.moren=this.urlDomain+"crmebimage/presets/mermoren.png"},methods:{godDetail:function(e){(0,o.goProductDetail)(e.id,0,"")},menusTap:function(t){e.navigateTo({url:t})},goShop:function(t){e.navigateTo({url:"/pages/merchant/home/index?merId=".concat(t)})}}};t.default=i}).call(this,n("df3c")["default"])},"4eb5":function(e,t,n){"use strict";var o=n("a4f7"),r=n.n(o);r.a},"4fb7":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.merchantList.length),o=n?e.__map(e.merchantList,(function(t,n){var o=e.__get_orig(t),r=t.proList&&t.proList.length&&e.isStreet||!e.isStreet,i=r?e.__get_style([e.isStreet?{"background-image":t.streetBackImage?"url("+t.streetBackImage+")":"url("+e.moren+")"}:"",e.isHome?e.merchantStyle.contentStyle:""]):null,a=r?e.__get_style([e.isHome?e.merchantStyle.nameColor:""]):null,l=r&&t.isSelf&&(e.isShowHome.typeShow&&e.isHome||!e.isHome)?e.__get_style([e.isHome?e.merchantStyle.labelColor:""]):null,u=r&&!e.isStreet?Number(t.starLevel):null,s=r&&!e.isStreet?parseInt(t.starLevel):null,c=!r||t.followerNum<1e4?null:(t.followerNum/1e4).toFixed(2),f=r?t.proList.length:null,m=r&&f?e.__map(t.proList,(function(t,n){var o=e.__get_orig(t),r=e.isStreet?null:e.__get_style([e.isHome?e.merchantStyle.priceColor:""]),i=e.isStreet?e.__get_style([e.isHome?e.merchantStyle.priceColor:""]):null;return{$orig:o,s3:r,s4:i}})):null;return{$orig:o,g1:r,s0:i,s1:a,s2:l,m0:u,m1:s,g2:c,g3:f,l0:m}})):null;e.$mp.data=Object.assign({},{$root:{g0:n,l1:o}})},r=[]},"5e38":function(e,t,n){"use strict";n.r(t);var o=n("4fb7"),r=n("b4e2");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("4eb5");var a=n("828b"),l=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"4fd38550",null,!1,o["a"],void 0);t["default"]=l.exports},a4f7:function(e,t,n){},b4e2:function(e,t,n){"use strict";n.r(t);var o=n("13a0"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/merchantList/index-create-component',
    {
        'components/merchantList/index-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("5e38"))
        })
    },
    [['components/merchantList/index-create-component']]
]);
