webpackjsonp([95],{"1v1k":function(t,e,r){(t.exports=r("utlt")(!1)).push([t.i,".store-main-wrap .menu{height:44px;background:#000}.store-main-wrap .menu .layout{height:100%;font-size:16px}.store-main-wrap .menu .layout .content{display:inline-table;width:100%}.store-main-wrap .menu .layout .content>a{display:table-cell;line-height:44px;text-align:center;color:#fff}.store-main-wrap .menu .layout .content>a:hover{background-color:#f33}.store-main-wrap .menu .layout .content>a.active{background:#e60012}.store-main-wrap .foot-wrap{margin-top:100px}",""])},afs2:function(t,e,r){var n=r("1v1k");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);r("fiqi")("0de8562a",n,!1,{sourcemap:!1})},bzpk:function(t,e,r){"use strict";object.defineproperty(e,"__esmodule",{value:!0});var n=u(r("4yfn")),o=u(r("xikd")),i=u(r("gp9p")),a=u(r("2zc1")),s=r("9rma");function u(t){return t&&t.__esmodule?t:{default:t}}e.default={data:function(){return{ishome:!1,qqnumber:null}},computed:(0,n.default)({},(0,s.mapgetters)({userattrid:"userattrid",navsbrand:"brand/navsbrand"}),{routername:function(){return this.$route.name},id:function(){var t=this.$route.query.id?this.$route.query.id:0;return this.ishome=0==t,t},linktarget:function(){return this.$route.query.linktarget?this.$route.query.linktarget:0},linktype:function(){return this.$route.query.linktype?this.$route.query.linktype:0},keyword:function(){return this.$route.query.keyword||""}}),beforemount:function(){console.log("store page sync userattrid >>>> ",this.userattrid),this.userattrid&&a.default.local.set("userattrid",this.userattrid)},mounted:function(){var t=this;3==this.$route.query.linktype&&this.getstorecatebaseinfo(this.$route.query.linktarget).then(function(e){t.getqq(e.storeid).then(function(e){t.qqnumber=e})}).catch(function(e){t.$message.error(e)})},methods:(0,n.default)({},(0,s.mapactions)({getstorecatebaseinfo:"brand/getstorecatebaseinfo",getqq:"getqq"}),{goserises:function(t){0!=t?6!=t?7!=t?this.$router.push({path:"/store/seriesid",query:{id:t}}):this.$router.push({path:"/store/goodsdiy",query:{id:t}}):this.$router.push({path:"/store/entitystores",query:{id:t}}):this.$router.push({path:"/store",query:{id:t}})}}),components:{top:o.default,foot:i.default}}},s88u:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createelement,r=t._self._c||e;return r("div",{staticclass:"store-main-wrap"},[r("top",{attrs:{ishome:t.ishome,isstore:"",searchtext:"搜本店"}}),r("div",{staticclass:"menu"},[r("div",{staticclass:"layout"},[r("div",{staticclass:"content"},t._l(t.navsbrand,function(e){return r("a",{directives:[{name:"link",rawname:"v-link",value:e.linktype+"&"+e.linktarget,expression:"nav.linktype+'&'+nav.linktarget"}],class:{active:e.linktarget==t.linktarget&&!t.keyword&&t.linktype==e.linktype}},[t._v(t._s(e.linkname))])}))])]),r("nuxt"),r("foot")],1)};n._withstripped=!0;var o={render:n,staticrenderfns:[]};e.a=o},gc32:function(t,e,r){"use strict";object.defineproperty(e,"__esmodule",{value:!0});var n=r("bzpk"),o=r.n(n);for(var i in n)"default"!==i&&function(t){r.d(e,t,function(){return n[t]})}(i);var a=r("s88u"),s=!1;var u=function(t){s||r("afs2")},l=r("x4nt")(o.a,a.a,!1,u,null,null);l.options.__file="layouts/store.vue",e.default=l.exports}});