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.
1 lines
6.0 KiB
1 lines
6.0 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["shopstore-pages-store-info"],{3117:function(t,i,e){"use strict";e.r(i);var a=e("b5ee"),n=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},"361d":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.detail.id?e("v-uni-view",{staticClass:"shopstore-store-info rel"},[e("v-uni-view",{staticClass:"bg abs",style:{background:"linear-gradient(180deg, "+t.primaryColor+" 0%, "+t.subColor+" 100%)"}}),e("v-uni-view",{staticClass:"ml-md mr-md"},[e("v-uni-view",{staticClass:"space-lg"}),e("v-uni-view",{staticClass:"fill-base pd-lg f-paragraph c-paragraph radius-18"},[e("v-uni-view",{staticClass:"flex-y-center pb-lg c-title b-1px-b"},[e("i",{staticClass:"iconfont icongongsi"}),e("v-uni-view",{staticClass:"flex-1 ml-md f-mini-title text-bold ellipsis"},[t._v(t._s(t.detail.attestation))])],1),e("v-uni-view",{staticClass:"count-item flex-x-center pt-lg"},[e("v-uni-view",{staticClass:"flex-center flex-column"},[e("v-uni-view",{staticClass:"f-title c-title"},[t._v(t._s(t.detail.total_num)+"+")]),e("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v("服务次数")])],1),e("v-uni-view",{staticClass:"flex-center flex-column"},[e("v-uni-view",{staticClass:"f-title c-title"},[t._v(t._s(t.detail.order_rate)+"%")]),e("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v("接单率")])],1),e("v-uni-view",{staticClass:"flex-center flex-column"},[e("v-uni-view",{staticClass:"f-title c-title"},[t._v(t._s(t.detail.positive_rate)+"%")]),e("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v("好评率")])],1)],1)],1),e("v-uni-view",{staticClass:"fill-base mt-md pd-lg f-paragraph c-paragraph radius-18"},[e("v-uni-view",{staticClass:"f-mini-title c-title text-bold mb-lg"},[t._v("营业执照")]),e("v-uni-view",{staticClass:"flex-center img-list radius-16"},[e("v-uni-image",{staticClass:"img-item radius-16",attrs:{mode:"aspectFill",src:t.detail.business_license},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.$util.previewImage({current:t.detail.business_license,urls:[t.detail.business_license]})}}})],1)],1),e("v-uni-view",{staticClass:"fill-base mt-md pd-lg f-paragraph c-paragraph radius-18"},[e("v-uni-view",{staticClass:"f-mini-title c-title text-bold mb-md"},[t._v("商家简介")]),e("v-uni-text",{staticClass:"f-paragraph c-paragraph",staticStyle:{"word-break":"break-all"},attrs:{decode:"emsp"}},[t._v(t._s(t.detail.text))])],1)],1),e("v-uni-view",{staticClass:"space-footer"})],1):t._e()},n=[]},"39ab":function(t,i,e){var a=e("a950");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("967d").default;n("3da825c1",a,!0,{sourceMap:!1,shadowMode:!1})},"57fe":function(t,i,e){"use strict";var a=e("39ab"),n=e.n(a);n.a},a950:function(t,i,e){var a=e("c86c");i=a(!1),i.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/* 文章场景相关 */.shopstore-store-info .bg[data-v-0a4bb8aa]{width:100%;height:%?172?%;z-index:-1}.shopstore-store-info .count-item .flex-column[data-v-0a4bb8aa]{width:33.33%}.shopstore-store-info .img-list[data-v-0a4bb8aa]{height:%?282?%;background:#f5f5f5}.shopstore-store-info .img-list .img-item[data-v-0a4bb8aa]{width:%?339?%;height:%?242?%}',""]),t.exports=i},b5ee:function(t,i,e){"use strict";e("6a54");var a=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=a(e("2634")),s=a(e("2fdc")),r=a(e("9b1b")),o=e("8f59"),l={components:{},data:function(){return{options:{},detail:{}}},computed:(0,o.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,r.default)((0,r.default)({},(0,o.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var t=this;return(0,s.default)((0,n.default)().mark((function i(){return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!t.$jweixin.isWechat()){i.next=4;break}return i.next=3,t.$jweixin.initJssdk();case 3:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 4:return i.next=6,t.getDetail();case 6:t.$util.setNavigationBarColor({bg:t.primaryColor});case 7:case"end":return i.stop()}}),i)})))()},getDetail:function(){var t=this;return(0,s.default)((0,n.default)().mark((function i(){var e,a,s,r;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return e=t.options.id,i.next=3,t.$api.shopstore.storeInfo({id:e});case 3:a=i.sent,s=a.info,r=s.title,uni.setNavigationBarTitle({title:r}),t.detail=s,t.$util.hideAll();case 9:case"end":return i.stop()}}),i)})))()}})};i.default=l},bc69:function(t,i,e){"use strict";e.r(i);var a=e("361d"),n=e("3117");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);e("57fe");var r=e("828b"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"0a4bb8aa",null,!1,a["a"],void 0);i["default"]=o.exports}}]); |