pages-my-belongshop-belongshop.c9296163.js 23 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-belongshop-belongshop"],{"0cc0":function(e,t,a){"use strict";a.r(t);var i=a("d270"),n=a("b431");for(var o in n)"default"!==o&&function(e){a.d(t,e,(function(){return n[e]}))}(o);a("f8de"),a("8698");var r,d=a("f0c5"),s=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"69c8ef74",null,!1,i["a"],r);t["default"]=s.exports},1598:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-69c8ef74]{background-color:#f7f7f7}.app[data-v-69c8ef74]{padding-bottom:%?120?%}.avatar[data-v-69c8ef74]{padding:%?64?% 0;background-color:#fff}.avatar uni-image[data-v-69c8ef74]{width:%?200?%;height:%?200?%;border-radius:50%;display:block;margin:0 auto}.btn-address[data-v-69c8ef74]{display:flex;align-items:center;width:%?40?%;height:%?40?%;margin-left:0}.form[data-v-69c8ef74]{background-color:#fff;margin-bottom:%?32?%}.form .form-title[data-v-69c8ef74]{padding:%?32?% 0;font-size:%?28?%;color:#333;display:flex;align-items:center}.form .form-title .icon-checkbox[data-v-69c8ef74]{margin-right:%?8?%}.form .form-title ~ .form-item[data-v-69c8ef74]{padding-top:0}.form .form-item[data-v-69c8ef74]{font-size:%?30?%}.form .intput-area[data-v-69c8ef74]{display:flex;justify-content:space-between;flex:1}.form .label[data-v-69c8ef74]{display:flex;align-items:center}.form .content[data-v-69c8ef74]{display:flex;justify-content:space-around}.form .content uni-picker[data-v-69c8ef74]{flex:1}.form .content .picker[data-v-69c8ef74]{white-space:nowrap;overflow:hidden;width:60vw;text-overflow:ellipsis}.form .content .tip[data-v-69c8ef74]{color:#666}.form .content .cardimg[data-v-69c8ef74]{width:%?196?%;height:%?126?%;position:relative;border-radius:%?10?%}.form .content .cardimg uni-image[data-v-69c8ef74]{display:block;width:100%;height:100%;border-radius:%?10?%}.form .content .cardimg[data-v-69c8ef74]:after{content:"";position:absolute;width:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.3);border-radius:%?10?%}.group-title[data-v-69c8ef74]{font-size:%?28?%;padding:%?32?% %?36?%}.bt-fixed[data-v-69c8ef74]{position:fixed;bottom:%?16?%;left:0;width:100%;box-sizing:border-box}.bt-fixed .button[data-v-69c8ef74]{width:%?580?%;line-height:%?80?%;border-radius:%?56?%;margin:0 auto}.mask[data-v-69c8ef74]{z-index:999;position:fixed;background-color:rgba(0,0,0,.6);top:0;left:0;bottom:0;right:0;display:flex;justify-content:center;align-items:center}.mask .layer[data-v-69c8ef74]{background-color:#fff;padding:%?46?% %?32?%;width:%?562?%;box-sizing:border-box;border-radius:%?20?%}.mask .layer .h3[data-v-69c8ef74]{text-align:center;font-size:%?32?%;display:block}.mask .layer .button[data-v-69c8ef74]{flex:1;margin-top:%?16?%}.mask .layer .disabled[data-v-69c8ef74]{color:#eee}.tips[data-v-69c8ef74]{color:#666;padding:0 %?36?%}body.?%PAGE?%[data-v-69c8ef74]{background-color:#f7f7f7}',""]),e.exports=t},"39bc":function(e,t,a){var i=a("6d16");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("5f5d4176",i,!0,{sourceMap:!1,shadowMode:!1})},"6d16":function(e,t,a){var i=a("24fb"),n=a("1de5"),o=a("e516"),r=a("2457"),d=a("d5ae"),s=a("71c5"),c=a("be44"),l=a("d3a1"),f=a("6464"),p=a("af09"),u=a("68b2"),h=a("c1b7"),g=a("d609"),v=a("b275"),b=a("24a3"),m=a("2350"),w=a("d186"),k=a("f546"),y=a("f3d6"),x=a("9b34"),z=a("356a"),C=a("74ea"),_=a("5134"),I=a("5a97");t=i(!1);var j=n(o),A=n(r),S=n(d),E=n(s),M=n(c),P=n(l),T=n(f),$=n(p),B=n(u),F=n(h),q=n(g),U=n(v),D=n(b),R=n(m),G=n(w),J=n(k),O=n(y),L=n(x),H=n(z),K=n(C),N=n(_),Q=n(I);t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-head[data-v-69c8ef74]{display:none}uni-page-body[data-v-69c8ef74]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-69c8ef74]::-webkit-scrollbar{display:none}.button[data-v-69c8ef74]{background-color:#00ae75;border-radius:%?32?%;font-size:%?32?%;line-height:%?64?%;color:#fff;padding:0 %?30?%;text-align:center;position:relative}.button.border[data-v-69c8ef74]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-69c8ef74]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-69c8ef74]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-69c8ef74]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-69c8ef74]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-69c8ef74]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-69c8ef74]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-69c8ef74]{display:flex;align-items:center}.addr[data-v-69c8ef74]:before{content:"";background:url('+j+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-69c8ef74]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-69c8ef74]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-69c8ef74]{background:url('+A+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-69c8ef74]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-69c8ef74]{background:url("+S+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-69c8ef74]{background:url("+E+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-69c8ef74]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+M+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-69c8ef74]{background:url("+P+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-69c8ef74]{background:url("+T+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-69c8ef74]{background:url("+$+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-69c8ef74]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-69c8ef74]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-69c8ef74]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-69c8ef74]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-69c8ef74]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-69c8ef74]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-69c8ef74]{background:url("+G+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-69c8ef74]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-69c8ef74]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-69c8ef74]{background:url("+L+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-69c8ef74]{background:url("+j+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-69c8ef74]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-69c8ef74]{margin-top:%?12?%;display:flex}.tag[data-v-69c8ef74]{border:%?1?% solid #00ab78;line-height:%?28?%;font-size:%?20?%;padding:0 %?8?%;border-radius:%?4?%;margin-right:%?8?%;color:#00ab78}.tag.orange[data-v-69c8ef74]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-69c8ef74]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-69c8ef74]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-69c8ef74]{border-color:#999;color:#333}.btn-page-back[data-v-69c8ef74], .btn-page-home[data-v-69c8ef74]{position:fixed;background:url("+H+") no-repeat 50% rgba(0,0,0,.3);background-size:%?44?%;width:%?44?%;height:%?44?%;z-index:999;left:0}.btn-page-home[data-v-69c8ef74]{background-image:url("+K+')}.btns-buygroup[data-v-69c8ef74]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-69c8ef74]{margin:0 %?15?%}.topinfo[data-v-69c8ef74]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-69c8ef74]{flex:1}.topinfo .address[data-v-69c8ef74]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-69c8ef74]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-69c8ef74]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-69c8ef74]{margin:0 %?16?%;color:#333;font-size:%?28?%;line-height:%?40?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topinfo .address .adr-shop .icon-address[data-v-69c8ef74]{flex-shrink:0}.topinfo .address .range[data-v-69c8ef74]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-69c8ef74]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-69c8ef74]{font-size:%?24?%;color:#fff;padding:0 %?18?%;border-radius:%?30?%;line-height:%?38?%;display:inline-block}.topinfo .address .switch uni-text.active[data-v-69c8ef74]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-69c8ef74]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-69c8ef74]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-69c8ef74]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-69c8ef74]:after{content:"";background:url('+N+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-69c8ef74]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-69c8ef74]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-69c8ef74]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-69c8ef74]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-69c8ef74]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-69c8ef74]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-69c8ef74]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-69c8ef74]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-69c8ef74]{margin-bottom:%?8?%}.nav-item[data-v-69c8ef74]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-69c8ef74]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-69c8ef74]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-69c8ef74]{display:flex;align-items:baseline;color:#333;flex:1;margin-left:%?12?%;justify-content:flex-end;text-align:right}.nav-item > uni-view[data-v-69c8ef74]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+M+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-69c8ef74]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-69c8ef74]{color:#999}.nav-item[data-v-69c8ef74]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-69c8ef74]:after{display:none}.nav-item.help[data-v-69c8ef74]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-69c8ef74]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-69c8ef74]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-69c8ef74]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-69c8ef74]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-69c8ef74]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-69c8ef74]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-69c8ef74]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-69c8ef74], .goods-item.inorder uni-image[data-v-69c8ef74]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-69c8ef74]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-69c8ef74]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-69c8ef74]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-69c8ef74]{position:relative}.swiper-cont .swiper[data-v-69c8ef74]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-69c8ef74], .swiper-cont .swiper uni-image[data-v-69c8ef74]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-69c8ef74]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);top:0;left:0;right:0;bottom:0}.swiper-cont .swiper .videoposter .btn-play[data-v-69c8ef74]{background:url('+Q+") no-repeat;background-size:contain;width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.swiper-cont .swiper .videoposter uni-video[data-v-69c8ef74]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-69c8ef74], .swiper-cont .swiper .videoposter.playing[data-v-69c8ef74]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-69c8ef74]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-69c8ef74]{display:block}.swiper-cont .dots[data-v-69c8ef74]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-69c8ef74]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-69c8ef74]{background-color:#fff;width:%?36?%}.form[data-v-69c8ef74]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-69c8ef74]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-69c8ef74]:last-child{border-bottom:0}.form .form-item .label[data-v-69c8ef74]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-69c8ef74]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-69c8ef74]{flex:1}.form .form-item .content .disabled[data-v-69c8ef74]{color:#999}.form .form-item .link[data-v-69c8ef74]{color:#00ab78}.form .form-item .checkboxgroup[data-v-69c8ef74]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-69c8ef74]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-69c8ef74]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-69c8ef74], .form.mini .content[data-v-69c8ef74]{font-size:%?24?%}.form.mini .form-item[data-v-69c8ef74]{padding-bottom:%?8?%}",""]),e.exports=t},8698:function(e,t,a){"use strict";var i=a("cb23"),n=a.n(i);n.a},b431:function(e,t,a){"use strict";a.r(t);var i=a("bee0"),n=a.n(i);for(var o in i)"default"!==o&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},bee0:function(e,t,a){"use strict";var i=a("4ea4");a("99af"),a("d81d"),a("a434"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(a("5530")),o=a("26cb"),r={data:function(){return{areas:[],areasIndex:[0,0,0],roleDeep:1,shops:[],pshop:{},shopIndex:0,type:1,loading:1,disabled:!1}},methods:(0,n.default)((0,n.default)({},(0,o.mapMutations)(["setUserInfo"])),{},{bindShopChange:function(e){this.shopIndex=e.detail.value},bindMultiPickerColumnChange:function(e){var t=this.areasIndex.map((function(t,a){return a==e.detail.column?e.detail.value:a<e.detail.column?t:0}));if(this.$set(this,"areasIndex",t),e.detail.column<this.roleDeep-1){var a=this.areas[e.detail.column][e.detail.value].value;if(-1==a){var i=[].concat(this.areas);return i.splice(e.detail.column+1,5),void(this.areas=i)}this.loadAreas(this.areas[e.detail.column][e.detail.value].value,e.detail.column+2,1)}},bindChange:function(e){var t=this.areas.map((function(t,a){return t[e.detail.value[a]].value})).join(",");this.loading=1,this.getShops(t)},getShops:function(e){var t=this;this.reqByuser({url:"service/agent/?l=my.getShop",data:{area:e},success:function(e){1==e.data.status?(t.pshop=e.data.data.pshop,t.shops=e.data.data.shop):uni.showToast({icon:"error",title:e.data.msg}),t.loading=0}})},loadAreas:function(e,t,a){var i=this,n={url:"package/area/?l=api.get",data:{level_num:t,level_id:e,level_search:1},success:function(e){if(1==e.data.status){var n=e.data.data;if(t-1<3?i.areas.splice(t-1,5,n.list):i.streetAreas=n.list,a&&t<i.roleDeep-1){var o=n.list[0];-1!==o.value&&i.loadAreas(o.value,t+1)}}}};this.signature?this.reqByUser(n):this.req(n)},loadInfo:function(e){var t=this;this.reqByuser({url:"service/agent/?l=my.area",method:"GET",data:{id:this.userInfo.uid},success:function(a){if(1==a.data.status){var i=a.data.data,o=i.user;t.setUserInfo((0,n.default)((0,n.default)({},t.userInfo),o)),e()}else uni.showToast({icon:"error",title:a.data.msg})}})},submit:function(){var e=this;this.disabled||(1==this.type&&this.shops[this.shopIndex]&&this.shops[this.shopIndex].id||2==this.type&&this.pshop.id?(this.disabled=1,this.reqByuser({url:"service/agent/?l=my.setShop",data:{shop_id:1==this.type?this.shops[this.shopIndex].id:this.pshop.id},success:function(t){1==t.data.status?(uni.showToast({title:"保存成功"}),e.loadInfo((function(){uni.navigateBack({})}))):uni.showToast({icon:"error",title:t.data.msg}),e.disabled=0}})):uni.showToast({icon:"error",title:"请选择门店"}))},initArea:function(){this.areas.length||this.loadAreas("",1)}}),onLoad:function(){}};t.default=r},cb23:function(e,t,a){var i=a("1598");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("bb7c3ed6",i,!0,{sourceMap:!1,shadowMode:!1})},d270:function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"app"},[a("v-uni-view",{staticClass:"form"},[a("v-uni-view",{staticClass:"form-title"},[e._v("根据区域查找门店")]),a("v-uni-view",{staticClass:"form-item"},[a("v-uni-view",{staticClass:"label"},[a("v-uni-text",{staticClass:"icon-address-b"}),e._v("门店区域")],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-picker",{attrs:{mode:"multiSelector",value:e.areasIndex,"range-key":"name",range:e.areas},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindChange.apply(void 0,arguments)},columnchange:function(t){arguments[0]=t=e.$handleEvent(t),e.bindMultiPickerColumnChange.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"picker",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.initArea.apply(void 0,arguments)}}},[e.areas.length?[e._l(e.areas,(function(t,a){return a<3&&e.areas[a]&&e.areas[a][e.areasIndex[a]]&&e.areas[a][e.areasIndex[a]].name?[e._v(e._s(e.areas[a]&&e.areas[a][e.areasIndex[a]]&&e.areas[a][e.areasIndex[a]].name)),a<e.areas.length-1?[e._v(",")]:e._e()]:e._e()}))]:[a("v-uni-text",{staticClass:"tip"},[e._v("请选择区域")])]],2)],1),a("v-uni-view",{staticClass:"btn-address"},[a("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1)],1),a("v-uni-view",{staticClass:"form"},[a("v-uni-view",{staticClass:"form-title",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.type=1}}},[a("v-uni-text",{staticClass:"icon-checkbox",class:1==e.type?"checked":""}),e._v("根据区域查找门店")],1),a("v-uni-view",{staticClass:"form-item"},[a("v-uni-view",{staticClass:"label"},[e._v("门店名称")]),a("v-uni-view",{staticClass:"content"},[e.loading||e.shops.length?[a("v-uni-picker",{attrs:{value:e.shopIndex,"range-key":"name",range:e.shops},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindShopChange.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"picker"},[e.shops[e.shopIndex]?[e._v(e._s(e.shops[e.shopIndex].name))]:[a("v-uni-text",{staticClass:"tip"},[e._v("请选择门店")])]],2)],1),a("v-uni-view",{staticClass:"btn-address"},[a("v-uni-text",{staticClass:"icon-arrow-right"})],1)]:[a("v-uni-view",{staticClass:"picker"},[a("v-uni-text",{staticClass:"tip"},[e._v("该区域暂无门店")])],1)]],2)],1)],1),a("v-uni-view",{staticClass:"tips"},[e._v("归属体验店每半年方可修改一次")]),a("v-uni-view",{staticClass:"bt-fixed"},[a("v-uni-view",{staticClass:"button",class:e.disabled?"gray":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("确认选择归店")])],1)],1)},o=[]},f8de:function(e,t,a){"use strict";var i=a("39bc"),n=a.n(i);n.a}}]);