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
17 KiB
1 lines
17 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-store-details-store-details"],{"0652":function(t,e,a){a("d3b7");var i=getApp();function n(t,e,a){return new Promise((function(n){uni.request({method:t,url:e,data:a,header:{Accept:"*/*","content-type":"application/json;charset=utf-8",Authorization:i.globalData.token},success:function(t){n(t),401!==t.statusCode&&102014!=t.data.return_code&&104001!=t.data.return_code||(i.globalData.userInfo="",i.globalData.token="",uni.setStorage({key:"user",data:""}),uni.setStorage({key:"token",data:""}),uni.showToast({title:"登录信息过期,请重新授权",icon:"none",duration:2e3,success:function(){setTimeout((function(){uni.navigateTo({url:"/pages/login/login"})}),2e3)}}))},fail:function(t){uni.showToast({title:"请求失败",icon:"none",duration:1500})}})}))}function d(t,e,a){return n(t,e,a)}t.exports={POST:d}},"187c":function(t,e,a){"use strict";a.r(e);var i=a("c6a5"),n=a("cfbf");for(var d in n)"default"!==d&&function(t){a.d(e,t,(function(){return n[t]}))}(d);a("1fed");var o,r=a("f0c5"),f=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"53efd2e2",null,!1,i["a"],o);e["default"]=f.exports},"1fed":function(t,e,a){"use strict";var i=a("58d4"),n=a.n(i);n.a},"58d4":function(t,e,a){var i=a("658d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("10e59858",i,!0,{sourceMap:!1,shadowMode:!1})},"658d":function(t,e,a){var i=a("24fb");e=i(!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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 字体大小 */.font11[data-v-53efd2e2]{font-size:11px}.font12[data-v-53efd2e2]{font-size:12px}.font13[data-v-53efd2e2]{font-size:13px}.fontlet[data-v-53efd2e2]{letter-spacing:2px}.font14[data-v-53efd2e2]{font-size:14px}.font15[data-v-53efd2e2]{font-size:15px}.font16[data-v-53efd2e2]{font-size:16px}.font18[data-v-53efd2e2]{font-size:18px}.font20[data-v-53efd2e2]{font-size:20px}.font22[data-v-53efd2e2]{font-size:22px}.font24[data-v-53efd2e2]{font-size:24px}.font28[data-v-53efd2e2]{font-size:28px}.font36[data-v-53efd2e2]{font-size:36px}.font40[data-v-53efd2e2]{font-size:40px}.fontwig6[data-v-53efd2e2]{font-weight:700}\n/* 字体间距 */.fontspec[data-v-53efd2e2]{letter-spacing:1px}.fontspec10[data-v-53efd2e2]{letter-spacing:10px}\n/* 字体行间距 */.linehet[data-v-53efd2e2]{line-height:20px}\n/* 字体位置 */.fotlt[data-v-53efd2e2]{text-align:left}.fotrt[data-v-53efd2e2]{text-align:right}.fotct[data-v-53efd2e2]{text-align:center}.margle[data-v-53efd2e2]{margin-left:6px}.margle10[data-v-53efd2e2]{margin-left:10px}.margle20[data-v-53efd2e2]{margin-left:20px}.marglerig[data-v-53efd2e2]{margin-right:5px}.marRight20[data-v-53efd2e2]{margin-right:20px}.verc[data-v-53efd2e2]{vertical-align:middle}.versub[data-v-53efd2e2]{vertical-align:sub}.text1[data-v-53efd2e2]{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.text2[data-v-53efd2e2]{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}\n/* 字体颜色 */.fcor333[data-v-53efd2e2]{color:#333}.fcorfff[data-v-53efd2e2]{color:#fff}.fcor666[data-v-53efd2e2]{color:#666}.fcor999[data-v-53efd2e2]{color:#b2b2b2}.fcor089[data-v-53efd2e2]{color:#089bf5}.fcorFD7[data-v-53efd2e2]{color:#fd786d}.fcoreb5[data-v-53efd2e2]{color:#eb5823}.fcorred[data-v-53efd2e2]{color:red}.fcor41c[data-v-53efd2e2]{color:#41cda2}\n/* 背景颜色 */.backcor6[data-v-53efd2e2]{background-color:#f6f6f6}.backcorlr[data-v-53efd2e2]{background:linear-gradient(90deg,#fe1a1a,#ff722e)}.backcor9[data-v-53efd2e2]{background-color:#f6f6f6}.backcorf06[data-v-53efd2e2]{background-color:#0083f5}.backcor008[data-v-53efd2e2]{background-color:#0083f5}.backcor89[data-v-53efd2e2]{background-color:#089bf5}.backcorfff[data-v-53efd2e2]{background-color:#fff}.backshare[data-v-53efd2e2]{background:transparent}\n/* 页面布局 */.width90[data-v-53efd2e2]{width:90%;margin-left:5%}.width90p[data-v-53efd2e2]{width:90%}.width10[data-v-53efd2e2]{width:10%}.width96[data-v-53efd2e2]{width:96%;margin-left:2%}.width94[data-v-53efd2e2]{width:94%;margin-left:3%}.width92[data-v-53efd2e2]{width:92%;margin-left:4%}.width80[data-v-53efd2e2]{width:80%;margin-left:10%}.width80p[data-v-53efd2e2]{width:80%}.width65[data-v-53efd2e2]{width:65%}.width70[data-v-53efd2e2]{width:70%}.width75[data-v-53efd2e2]{width:75%}.width85[data-v-53efd2e2]{width:85%}.width50[data-v-53efd2e2]{width:50%}.width45[data-v-53efd2e2]{width:45%}.width40[data-v-53efd2e2]{width:40%}.width60[data-v-53efd2e2]{width:60%}.width60w[data-v-53efd2e2]{width:60%;margin-left:20%}.width35[data-v-53efd2e2]{width:35%}.width30[data-v-53efd2e2]{width:30%}.width20[data-v-53efd2e2]{width:20%}.width25[data-v-53efd2e2]{width:25%}.width15[data-v-53efd2e2]{width:15%}.width8[data-v-53efd2e2]{width:8%}.width95[data-v-53efd2e2]{width:95%}.width100[data-v-53efd2e2]{width:100%}.bor-botm1[data-v-53efd2e2]{border-bottom:1px solid #f4f4f4}.bor-dot1[data-v-53efd2e2]{border-bottom:1px dotted #999}.bor-botm10[data-v-53efd2e2]{border-bottom:10px solid #f4f4f4}\n/* 高40px */.height40p[data-v-53efd2e2]{height:40px}.height45[data-v-53efd2e2]{height:45px}.height22[data-v-53efd2e2]{height:22px}.height100[data-v-53efd2e2]{height:100%}.height10[data-v-53efd2e2]{height:10px}.height60[data-v-53efd2e2]{height:60px}.height70[data-v-53efd2e2]{height:70px}.height80[data-v-53efd2e2]{height:80px}.height90[data-v-53efd2e2]{height:90px}.height100p[data-v-53efd2e2]{height:100px}.height110[data-v-53efd2e2]{height:110px}.height120[data-v-53efd2e2]{height:120px}.height150[data-v-53efd2e2]{height:150px}.height180[data-v-53efd2e2]{height:180px}.height30[data-v-53efd2e2]{height:30px;line-height:30px}.height40[data-v-53efd2e2]{height:40px;line-height:40px}.height45l[data-v-53efd2e2]{height:45px;line-height:45px}.heightl60[data-v-53efd2e2]{height:60px;line-height:60px}.height20[data-v-53efd2e2]{height:20px;line-height:20px}.height25[data-v-53efd2e2]{height:25px}.height20p[data-v-53efd2e2]{height:20px}.height50[data-v-53efd2e2]{height:50px;line-height:50px}.height50l[data-v-53efd2e2]{height:50px}\n/* 向上下外间距 */.margle10[data-v-53efd2e2]{margin-left:10px}.mart90[data-v-53efd2e2]{margin-top:90px}.mart80[data-v-53efd2e2]{margin-top:80px}.mart60[data-v-53efd2e2]{margin-top:60px}.mart50[data-v-53efd2e2]{margin-top:50px}.mart40[data-v-53efd2e2]{margin-top:40px}.mart30[data-v-53efd2e2]{margin-top:30px}.mart15[data-v-53efd2e2]{margin-top:15px}.mart20[data-v-53efd2e2]{margin-top:20px}.mart10[data-v-53efd2e2]{margin-top:10px}.mart5[data-v-53efd2e2]{margin-top:5px}.mart1[data-v-53efd2e2]{margin-top:1px}.marb65[data-v-53efd2e2]{margin-bottom:65px}.marb50[data-v-53efd2e2]{margin-bottom:50px}.marb40[data-v-53efd2e2]{margin-bottom:40px}.marb30[data-v-53efd2e2]{margin-bottom:30px}.marb20[data-v-53efd2e2]{margin-bottom:20px}.marb15[data-v-53efd2e2]{margin-bottom:15px}.marb10[data-v-53efd2e2]{margin-bottom:10px}.marb5[data-v-53efd2e2]{margin-bottom:5px}\n/* 向上下内间距 */.paddtop5[data-v-53efd2e2]{padding-top:5px}.paddtop10[data-v-53efd2e2]{padding-top:10px}.paading10[data-v-53efd2e2]{padding:10px}.paading20[data-v-53efd2e2]{padding:20px}.paddtop13[data-v-53efd2e2]{padding-top:13px}.paddtop15[data-v-53efd2e2]{padding-top:15px}.paddtop20[data-v-53efd2e2]{padding-top:20px}.paddtop25[data-v-53efd2e2]{padding-top:25px}.paddleft5[data-v-53efd2e2]{padding-left:5px}.paddleft10[data-v-53efd2e2]{padding-left:10px}.padleft15[data-v-53efd2e2]{padding-left:15px}.paddtright5[data-v-53efd2e2]{padding-right:5px}.paddtright10[data-v-53efd2e2]{padding-right:10px}.paddbotm5[data-v-53efd2e2]{padding-bottom:5px}.paddbotm10[data-v-53efd2e2]{padding-bottom:10px}\n/* 左悬浮 */.flleft[data-v-53efd2e2]{float:left}\n/* 右悬浮 */.flright[data-v-53efd2e2]{float:right}\n/**\n * 圆角\n */.border-r[data-v-53efd2e2]{border-radius:5px}.borderdot[data-v-53efd2e2]{border:1px dotted #999}\n/* button样式 */.btnw70[data-v-53efd2e2]{width:70%;color:#fff;margin-top:40px;background-color:#089bf5;border-radius:6px}.btnw50[data-v-53efd2e2]{width:50%;margin-left:25%;height:45px;line-height:45px;color:#fff;text-align:center;margin-top:40px;background-color:#0083f5;border-radius:6px}.btn92[data-v-53efd2e2]{width:92%;margin-left:4%;height:45px;line-height:45px;color:#fff;background-color:#089bf5;border-radius:22px;text-align:center;font-size:18px;font-weight:700}\n/* 下滑线 */.line1[data-v-53efd2e2]{height:1px;background-color:#f4f4f4}.line2[data-v-53efd2e2]{height:2px;background-color:#f4f4f4}.line10[data-v-53efd2e2]{height:10px;background-color:#f4f4f4}.line1089[data-v-53efd2e2]{height:10px;background-color:#089bf5}\n/* 展示样式 */.displ[data-v-53efd2e2]{display:inline-block}.aliitem[data-v-53efd2e2]{align-items:center;display:flex}.alijun[data-v-53efd2e2]{justify-content:flex-end;display:flex}.alijusstart[data-v-53efd2e2]{justify-content:flex-start;align-items:center;display:flex}.alijusend[data-v-53efd2e2]{justify-content:flex-end;align-items:center;display:flex}.alicntend[data-v-53efd2e2]{justify-content:end;align-items:center;display:flex}.alijus[data-v-53efd2e2]{justify-content:center;align-items:center;display:flex}.iconw[data-v-53efd2e2]{width:15px}.iconw25[data-v-53efd2e2]{width:25px}.iconw40[data-v-53efd2e2]{width:40px}uni-page-body[data-v-53efd2e2]{background-color:#f6f6f6}.storelis[data-v-53efd2e2]{width:calc(100% - %?90?%);height:%?100?%;display:flex;align-items:center;background-color:#fff;border-bottom:1px solid #f6f6f6;padding:%?8?% %?45?%}.storelis .namecont[data-v-53efd2e2]{color:#666;width:25%}body.?%PAGE?%[data-v-53efd2e2]{background-color:#f6f6f6}',""]),t.exports=e},"874e":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("cf43"),n=getApp(),d={data:function(){return{desId:"",storeDesInfo:"",imageUrl:n.globalData.imgUrl}},onLoad:function(t){this.desId=t.id,this.getStoreDetailById()},methods:{getStoreDetailById:function(){var t=this;uni.showLoading({title:"加载中..."});var e={storeId:this.desId};(0,i.getStoreDetailById)(e).then((function(e){uni.hideLoading(),"000000"==e.return_code?t.storeDesInfo=e.return_data:uni.showToast({title:e.return_msg,duration:2e3,icon:"none"})}))},perImage:function(t){uni.previewImage({current:0,urls:[t]})}}};e.default=d},c6a5:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return d})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"width100 mart10 backcorfff"},[a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("门店名称")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.name))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("门店ID")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.storeNo))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("所在城市")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.storeRegion.provinceName)+"-"+t._s(t.storeDesInfo.storeRegion.cityName)+"-"+t._s(t.storeDesInfo.storeRegion.areaName))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("门店地址")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.storeRegion.address))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("门店电话")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.telephone))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("经营品类")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.storeIndustry.parentName)+"-"+t._s(t.storeDesInfo.storeIndustry.childName))])],1),a("v-uni-view",{staticClass:"width100 line10"}),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("创建时间")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t._f("timeFormat")(t.storeDesInfo.updateTime,"yyyy-mm-dd hh:mm"))+"\n\t\t\t\t"+t._s(t._f("timeFormat")(t.storeDesInfo.updateTime,"hh:mm")))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("公司名称")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.blisName))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("营业执照号")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.blisNo))])],1),a("v-uni-view",{staticClass:"storelis"},[a("v-uni-view",{staticClass:"namecont"},[t._v("营业期限")]),a("v-uni-view",{staticClass:"font14 fcor333 text2 width75 fotrt"},[t._v(t._s(t.storeDesInfo.blisPeriodEnd))])],1),a("v-uni-view",{staticClass:"width100 line10"}),a("v-uni-view",{staticClass:"storelis",staticStyle:{"border-bottom":"0px"}},[a("v-uni-view",{staticClass:"namecont"},[t._v("门店照片")])],1),a("v-uni-view",{staticClass:"width94 displ"},[a("v-uni-image",{staticClass:"width30",staticStyle:{"margin-left":"3%"},attrs:{src:t.imageUrl+t.storeDesInfo.doorHeadImg,mode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.perImage(t.imageUrl+t.storeDesInfo.doorHeadImg)}}}),a("v-uni-image",{staticClass:"width30",staticStyle:{"margin-left":"3%"},attrs:{src:t.imageUrl+t.storeDesInfo.cashRegisterImg,mode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.perImage(t.imageUrl+t.storeDesInfo.cashRegisterImg)}}}),a("v-uni-image",{staticClass:"width30",staticStyle:{"margin-left":"3%"},attrs:{src:t.imageUrl+t.storeDesInfo.internalImg,mode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.perImage(t.imageUrl+t.storeDesInfo.internalImg)}}})],1)],1)],1)},d=[]},cf43:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStoreDetailById=e.getStoreListByMer=e.getLklMcc=e.getMerListBySalesman=e.configMerStore=e.configMerSettlement=e.configMerBasis=e.getMerDetail=e.configMerAccount=e.uploadFile=e.getIndustry=e.recognizeIdCard=e.recognizeBusinessLicense=e.recognizeBankCard=e.logout=e.userLogin=void 0;var i=a("0652"),n=getApp(),d=n.globalData.url,o=function(t){return(0,i.POST)("POST","".concat(d,"/login/userLogin"),t).then((function(t){return t.data}))};e.userLogin=o;var r=function(t){return(0,i.POST)("POST","".concat(d,"/login/logout"),t).then((function(t){return t.data}))};e.logout=r;var f=function(t){return(0,i.POST)("GET","".concat(d,"/ocr/recognizeBankCard"),t).then((function(t){return t.data}))};e.recognizeBankCard=f;var s=function(t){return(0,i.POST)("GET","".concat(d,"/ocr/recognizeBusinessLicense"),t).then((function(t){return t.data}))};e.recognizeBusinessLicense=s;var c=function(t){return(0,i.POST)("GET","".concat(d,"/ocr/recognizeIdCard"),t).then((function(t){return t.data}))};e.recognizeIdCard=c;var v=function(t){return(0,i.POST)("GET","".concat(d,"/common/getIndustry"),t).then((function(t){return t.data}))};e.getIndustry=v;var l=function(t){return(0,i.POST)("POST","".concat(d,"/mer/uploadFile"),t).then((function(t){return t.data}))};e.uploadFile=l;var g=function(t){return(0,i.POST)("POST","".concat(d,"/mer/configMerAccount"),t).then((function(t){return t.data}))};e.configMerAccount=g;var h=function(t){return(0,i.POST)("GET","".concat(d,"/mer/getMerDetail"),t).then((function(t){return t.data}))};e.getMerDetail=h;var u=function(t){return(0,i.POST)("POST","".concat(d,"/mer/configMerBasis"),t).then((function(t){return t.data}))};e.configMerBasis=u;var p=function(t){return(0,i.POST)("POST","".concat(d,"/mer/configMerSettlement"),t).then((function(t){return t.data}))};e.configMerSettlement=p;var m=function(t){return(0,i.POST)("POST","".concat(d,"/mer/configMerStore"),t).then((function(t){return t.data}))};e.configMerStore=m;var x=function(t){return(0,i.POST)("GET","".concat(d,"/mer/getMerListBySalesman"),t).then((function(t){return t.data}))};e.getMerListBySalesman=x;var w=function(t){return(0,i.POST)("GET","".concat(d,"/common/getLklMcc"),t).then((function(t){return t.data}))};e.getLklMcc=w;var b=function(t){return(0,i.POST)("GET","".concat(d,"/store/getStoreListByMer"),t).then((function(t){return t.data}))};e.getStoreListByMer=b;var I=function(t){return(0,i.POST)("GET","".concat(d,"/store/getStoreDetailById"),t).then((function(t){return t.data}))};e.getStoreDetailById=I},cfbf:function(t,e,a){"use strict";a.r(e);var i=a("874e"),n=a.n(i);for(var d in i)"default"!==d&&function(t){a.d(e,t,(function(){return i[t]}))}(d);e["default"]=n.a}}]); |