pages-rights-search-search.4a3e74eb.js 23 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-rights-search-search"],{"052c":function(e,t,a){var i=a("1d9f");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var d=a("4f06").default;d("5e126674",i,!0,{sourceMap:!1,shadowMode:!1})},"1d9f":function(e,t,a){var i=a("24fb"),d=a("1de5"),n=a("c81f");t=i(!1);var o=d(n);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-d48131d2]{background-color:#f7f7f7}.app[data-v-d48131d2]{padding:%?32?%}.avatar[data-v-d48131d2]{padding:%?64?% 0;background-color:#fff}.avatar uni-image[data-v-d48131d2]{width:%?200?%;height:%?200?%;border-radius:50%;display:block;margin:0 auto}.form[data-v-d48131d2]{background-color:#fff;border-radius:%?20?%}.form .form-item[data-v-d48131d2]{border-bottom:0}.form .form-item .content[data-v-d48131d2]{justify-content:flex-start}.form .label[data-v-d48131d2]{display:flex;align-items:center}.form .content[data-v-d48131d2]{display:flex}.form .content .checkbox-item[data-v-d48131d2]{display:flex;align-items:center;margin-right:%?20?%}.form .content .checkbox-item .icon-checkbox[data-v-d48131d2]{margin-right:%?8?%}.form .content uni-picker[data-v-d48131d2]{flex:1}.form .ctrls[data-v-d48131d2]{justify-content:center}.form .ctrls .button[data-v-d48131d2]{width:%?368?%}.result[data-v-d48131d2]{padding-top:%?80?%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;line-height:%?50?%}.result .success[data-v-d48131d2]{display:block;width:%?104?%;height:%?104?%;background:url('+o+") no-repeat;background-size:contain;border-radius:50%;margin-bottom:%?20?%}body.?%PAGE?%[data-v-d48131d2]{background-color:#f7f7f7}",""]),e.exports=t},"404f":function(e,t,a){var i=a("7dcd");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var d=a("4f06").default;d("14fb5fd5",i,!0,{sourceMap:!1,shadowMode:!1})},"4a7d":function(e,t,a){"use strict";var i=a("404f"),d=a.n(i);d.a},6304:function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return d})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return i}));var d=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-item"},[a("v-uni-text",{staticClass:"label"},[e._v("区域类型")]),a("v-uni-view",{staticClass:"content"},e._l(e.role,(function(t,i){return a("v-uni-view",{key:i,staticClass:"checkbox-item",attrs:{"data-roletype":t.area,"data-roleid":t.id},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeRoleType.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"icon-checkbox",class:e.roleType==t.area?"checked":""}),e._v(e._s(t.name))],1)})),1)],1),a("v-uni-view",{staticClass:"form-item"},[a("v-uni-view",{staticClass:"label"},[e._v("代理区域")]),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)],1)],1),e.roleDeep>3?a("v-uni-view",{staticClass:"form-item hasright"},[a("v-uni-text",{staticClass:"label"},[e._v("代理街道")]),a("v-uni-view",{staticClass:"content"},[a("v-uni-picker",{attrs:{value:e.streetIndex,"range-key":"name",range:e.streetAreas},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindPickerChange.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"picker"},[e._v(e._s(e.streetAreas[e.streetIndex]?e.streetAreas[e.streetIndex].name:"请选择街道"))])],1),a("v-uni-view",{staticClass:"btn-address"},[a("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1):e._e(),a("v-uni-view",{staticClass:"form-item ctrls"},[a("v-uni-text",{staticClass:"button",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("查询")])],1)],1),e.result.price_str?a("v-uni-view",{staticClass:"result"},[2==e.result.state?[a("v-uni-text",{staticClass:"success"}),a("v-uni-text",[e._v("恭喜您\n"+e._s(e.areaStr)+"\n未被代理\n代理费用为:"+e._s(e.result.price_str))])]:[a("v-uni-text",[e._v("抱歉,该区域已经被代理")])]],2):e._e()],1)},n=[]},"7d3b":function(e,t,a){"use strict";a.r(t);var i=a("b20b"),d=a.n(i);for(var n in i)"default"!==n&&function(e){a.d(t,e,(function(){return i[e]}))}(n);t["default"]=d.a},"7dcd":function(e,t,a){var i=a("24fb"),d=a("1de5"),n=a("e516"),o=a("2457"),r=a("d5ae"),s=a("71c5"),l=a("be44"),c=a("d3a1"),u=a("6464"),p=a("c334"),f=a("af09"),g=a("68b2"),v=a("c1b7"),h=a("d609"),b=a("b275"),m=a("24a3"),k=a("2350"),w=a("d186"),y=a("f546"),x=a("f3d6"),z=a("9b34"),C=a("356a"),_=a("74ea"),I=a("5134"),A=a("5a97");t=i(!1);var j=d(n),T=d(o),P=d(r),M=d(s),D=d(l),E=d(c),S=d(u),$=d(p),F=d(f),R=d(g),B=d(v),q=d(h),O=d(b),J=d(m),N=d(k),U=d(w),G=d(y),L=d(x),H=d(z),K=d(C),Q=d(_),V=d(I),W=d(A);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-d48131d2]{display:none}uni-page-body[data-v-d48131d2]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-d48131d2]::-webkit-scrollbar{display:none}.button[data-v-d48131d2]{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-d48131d2]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-d48131d2]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-d48131d2]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-d48131d2]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-d48131d2]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-d48131d2]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-d48131d2]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-d48131d2]{display:flex;align-items:center}.addr[data-v-d48131d2]: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-d48131d2]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-d48131d2]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-d48131d2]{background:url('+T+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-d48131d2]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-d48131d2]{background:url("+P+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-d48131d2]{background:url("+M+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-d48131d2]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+D+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-d48131d2]{background:url("+E+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-d48131d2]{background:url("+S+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-d48131d2]{background:url("+$+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-d48131d2]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-d48131d2]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-d48131d2]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-d48131d2]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-d48131d2]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-d48131d2]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-d48131d2]{background:url("+N+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-d48131d2]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-d48131d2]{background:url("+G+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-d48131d2]{background:url("+L+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-d48131d2]{background:url("+H+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-d48131d2]{background:url("+j+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-d48131d2]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-d48131d2]{margin-top:%?12?%;display:flex}.tag[data-v-d48131d2]{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-d48131d2]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-d48131d2]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-d48131d2]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-d48131d2]{border-color:#999;color:#333}.btn-page-back[data-v-d48131d2], .btn-page-home[data-v-d48131d2]{position:fixed;background:url("+K+") 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-d48131d2]{background-image:url("+Q+')}.btns-buygroup[data-v-d48131d2]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-d48131d2]{margin:0 %?15?%}.topinfo[data-v-d48131d2]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-d48131d2]{flex:1}.topinfo .address[data-v-d48131d2]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-d48131d2]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-d48131d2]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-d48131d2]{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-d48131d2]{flex-shrink:0}.topinfo .address .range[data-v-d48131d2]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-d48131d2]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-d48131d2]{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-d48131d2]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-d48131d2]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-d48131d2]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-d48131d2]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-d48131d2]:after{content:"";background:url('+V+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-d48131d2]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-d48131d2]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-d48131d2]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-d48131d2]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-d48131d2]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-d48131d2]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-d48131d2]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-d48131d2]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-d48131d2]{margin-bottom:%?8?%}.nav-item[data-v-d48131d2]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-d48131d2]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-d48131d2]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-d48131d2]{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-d48131d2]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+D+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-d48131d2]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-d48131d2]{color:#999}.nav-item[data-v-d48131d2]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-d48131d2]:after{display:none}.nav-item.help[data-v-d48131d2]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-d48131d2]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-d48131d2]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-d48131d2]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-d48131d2]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-d48131d2]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-d48131d2]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-d48131d2]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-d48131d2], .goods-item.inorder uni-image[data-v-d48131d2]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-d48131d2]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-d48131d2]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-d48131d2]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-d48131d2]{position:relative}.swiper-cont .swiper[data-v-d48131d2]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-d48131d2], .swiper-cont .swiper uni-image[data-v-d48131d2]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-d48131d2]: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-d48131d2]{background:url('+W+") 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-d48131d2]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-d48131d2], .swiper-cont .swiper .videoposter.playing[data-v-d48131d2]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-d48131d2]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-d48131d2]{display:block}.swiper-cont .dots[data-v-d48131d2]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-d48131d2]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-d48131d2]{background-color:#fff;width:%?36?%}.form[data-v-d48131d2]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-d48131d2]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-d48131d2]:last-child{border-bottom:0}.form .form-item .label[data-v-d48131d2]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-d48131d2]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-d48131d2]{flex:1}.form .form-item .content .disabled[data-v-d48131d2]{color:#999}.form .form-item .link[data-v-d48131d2]{color:#00ab78}.form .form-item .checkboxgroup[data-v-d48131d2]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-d48131d2]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-d48131d2]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-d48131d2], .form.mini .content[data-v-d48131d2]{font-size:%?24?%}.form.mini .form-item[data-v-d48131d2]{padding-bottom:%?8?%}",""]),e.exports=t},b20b:function(e,t,a){"use strict";a("99af"),a("c975"),a("d81d"),a("a434"),a("e25e"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;a("26cb");var i={data:function(){return{roleType:"",roleId:"",areas:[],areasIndex:[0,0,0],roleDeep:2,streetAreas:[],streetIndex:0,result:{},role:[],config_id:""}},computed:{areaStr:function(){var e=this,t=this.areas.map((function(t,a){return t[e.areasIndex[a]].name})).join(" / ");return this.roleDeep>3&&(t+=" / "+this.streetAreas[this.streetIndex].name),t}},methods:{bindPickerChange:function(e){this.streetIndex=e.detail.value},changeRoleType:function(e){this.roleType=e.currentTarget.dataset.roletype,this.roleId=e.currentTarget.dataset.roleid,this.roleDeep=parseInt(this.roleType)+1,this.areas=[],this.areasIndex=[0,0,0],this.streetIndex=0,this.loadAreas("",1),this.result={}},bindMultiPickerColumnChange:function(e){if(this.areasIndex.splice(e.detail.column,1,e.detail.value),e.detail.column<this.roleDeep-1){var t=this.areas[e.detail.column][e.detail.value].value;if(-1==t){var a=[].concat(this.areas);return a.splice(e.detail.column+1,5),void(this.areas=a)}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.result=0,console.log(t)},loadAreas:function(e,t,a){var i=this,d={url:"service/agent/?l=area.get",data:{level_num:t,level_id:e,level_search:1,config_id:this.config_id},success:function(e){if(1==e.data.status){var d=e.data.data;if(t-1<3?i.areas.splice(t-1,5,d.list):i.streetAreas=d.list,a&&t<i.roleDeep-1){var n=d.list[0];-1!==n.value&&i.loadAreas(n.value,t+1)}}}};this.req(d)},submit:function(){var e=this,t=this.areas.map((function(t,a){return t[e.areasIndex[a]].value})).join(",");this.roleDeep>3&&(t+=","+this.streetAreas[this.streetIndex].value),!t||t.indexOf("-1")>-1?uni.showToast({icon:"error",title:"请选择查询区域"}):this.reqByuser({url:"service/agent/?l=my.checkArea",data:{area:t,role:this.roleId},success:function(t){if(1==t.data.status){var a=t.data.data;e.result=a}else e.showModalNoCancel({content:t.data.msg,showCancel:!1})}})},initArea:function(){this.areas.length||this.loadAreas("",1)}},onLoad:function(){var e=this;this.reqByuser({url:"service/agent/?l=my.getAreaInfo",data:{},success:function(t){if(1==t.data.status){var a=t.data.data;e.role=a.role,e.config_id=a.config_id,e.roleType=a.role[0].area,e.roleId=a.role[0].id,e.roleDeep=parseInt(e.roleType)+1,e.initArea()}else e.showModalNoCancel({content:t.data.msg,showCancel:!1})}})}};t.default=i},c0c0:function(e,t,a){"use strict";var i=a("052c"),d=a.n(i);d.a},c81f:function(e,t,a){e.exports=a.p+"static/img/icon-success.68ddda96.png"},f7af:function(e,t,a){"use strict";a.r(t);var i=a("6304"),d=a("7d3b");for(var n in d)"default"!==n&&function(e){a.d(t,e,(function(){return d[e]}))}(n);a("4a7d"),a("c0c0");var o,r=a("f0c5"),s=Object(r["a"])(d["default"],i["b"],i["c"],!1,null,"d48131d2",null,!1,i["a"],o);t["default"]=s.exports}}]);