(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-merchant-info"],{"1dc5":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.detail.id?e("v-uni-view",{staticClass:"merchant-info ml-lg mr-lg"},[e("v-uni-view",{staticClass:"flex-y-center pt-lg pb-lg f-mini-title c-title"},[e("i",{staticClass:"iconfont icondianpu",staticStyle:{"margin-right":"6rpx"}}),e("v-uni-view",{staticClass:"text-bold"},[t._v(t._s(t.detail.agent_name))]),e("v-uni-view",{staticClass:"mearchant-label flex-center f-icontext ml-md c-base rel",style:{color:t.primaryColor}},[e("v-uni-view",{staticClass:"bg abs",style:{background:t.primaryColor}}),t._v("签约商家")],1)],1),e("v-uni-view",{staticClass:"flex-y-center f-paragraph c-paragraph text-bold mt-md mb-lg"},[t._v("营业执照"),t.detail.license?t._e():e("v-uni-view",{staticClass:"f-caption c-caption ml-sm"},[t._v("暂未设置")])],1),t.detail.license?e("v-uni-view",{staticClass:"license-info flex-center mt-md f-paragraph c-paragraph radius-18"},[e("v-uni-image",{staticClass:"img-item radius-16",attrs:{mode:"aspectFill",src:t.detail.license},on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.$util.previewImage({current:t.detail.license,urls:[t.detail.license]})}}})],1):t._e(),e("v-uni-view",{staticClass:"space-footer"})],1):t._e()},i=[]},3331:function(t,n,e){"use strict";e.r(n);var a=e("8aac"),i=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=i.a},"34ad":function(t,n,e){var a=e("c042");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("967d").default;i("02f6702e",a,!0,{sourceMap:!1,shadowMode:!1})},"6d37":function(t,n,e){"use strict";var a=e("34ad"),i=e.n(a);i.a},"8aac":function(t,n,e){"use strict";e("6a54");var a=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(e("2634")),r=a(e("2fdc")),c=a(e("9b1b")),s=e("8f59"),o={components:{},data:function(){return{options:{},detail:{}}},computed:(0,s.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.options=t,this.initIndex()},methods:(0,c.default)((0,c.default)({},(0,s.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var t=this;return(0,r.default)((0,i.default)().mark((function n(){return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!t.$jweixin.isWechat()){n.next=4;break}return n.next=3,t.$jweixin.initJssdk();case 3:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 4:return n.next=6,t.getDetail();case 6:t.$util.setNavigationBarColor({bg:t.primaryColor});case 7:case"end":return n.stop()}}),n)})))()},getDetail:function(){var t=this;return(0,r.default)((0,i.default)().mark((function n(){var e,a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e=t.options.id,n.next=3,t.$api.agent.agentInfo({admin_id:e});case 3:a=n.sent,t.detail=a,t.$util.hideAll();case 6:case"end":return n.stop()}}),n)})))()}})};n.default=o},c042:function(t,n,e){var a=e("c86c");n=a(!1),n.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-104c647f]{background:#fff}body.?%PAGE?%[data-v-104c647f]{background:#fff}.merchant-info .mearchant-label[data-v-104c647f]{width:%?100?%;height:%?34?%;border-radius:%?4?%}.merchant-info .mearchant-label .bg[data-v-104c647f]{opacity:.1;top:0;left:0;right:0;bottom:0;z-index:1;border-radius:%?4?%}.merchant-info .license-info[data-v-104c647f]{height:%?345?%;background:#f4f4f4}.merchant-info .img-item[data-v-104c647f]{width:%?315?%;height:%?232?%}',""]),t.exports=n},f36f:function(t,n,e){"use strict";e.r(n);var a=e("1dc5"),i=e("3331");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("6d37");var c=e("828b"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"104c647f",null,!1,a["a"],void 0);n["default"]=s.exports}}]);