1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-dailishang-apply-apply"],{"028b":function(t,i,e){var a=e("5b6f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("cc84e7a6",a,!0,{sourceMap:!1,shadowMode:!1})},"02cc":function(t,i,e){"use strict";var a=e("028b"),n=e.n(a);n.a},"461f":function(t,i,e){"use strict";e.r(i);var a=e("ada0"),n=e.n(a);for(var o in a)"default"!==o&&function(t){e.d(i,t,(function(){return a[t]}))}(o);i["default"]=n.a},5910:function(t,i,e){"use strict";e.r(i);var a=e("a7c8"),n=e("461f");for(var o in n)"default"!==o&&function(t){e.d(i,t,(function(){return n[t]}))}(o);e("615d"),e("02cc");var d,s=e("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"10d784d3",null,!1,a["a"],d);i["default"]=r.exports},"5b6f":function(t,i,e){var a=e("24fb"),n=e("1de5"),o=e("9fb8");i=a(!1);var d=n(o);i.push([t.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-10d784d3]{background-color:#f7f7f7}.tipmsg[data-v-10d784d3]{line-height:60vh;text-align:center}.app[data-v-10d784d3]{padding-bottom:%?120?%}.form[data-v-10d784d3]{background-color:#fff;margin-top:%?4?%;padding-bottom:%?80?%}.form .tag[data-v-10d784d3]{line-height:%?40?%;border-radius:%?20?%;display:inline-block;padding:0 %?30?%;font-size:%?30?%;margin-right:%?32?%}.form .btn-address[data-v-10d784d3]{display:flex;align-items:center;width:%?40?%;height:%?40?%;margin-left:0}.form .tip[data-v-10d784d3]{color:#666}.form .checkbox-group[data-v-10d784d3]{display:flex;flex-wrap:wrap}.form .checkbox-group .checkbox-item[data-v-10d784d3]{display:flex;align-items:center;margin:%?12?% %?60?% %?12?% 0}.form .checkbox-group .checkbox-item .icon-checkbox[data-v-10d784d3]{margin-right:%?12?%}.form .btn-upload[data-v-10d784d3]{width:%?196?%;height:%?126?%;border:%?2?% solid #eee;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#bcbcbc;font-size:%?24?%;border-radius:%?10?%}.form .btn-upload uni-text[data-v-10d784d3]{font-size:%?40?%}.form .zjpic[data-v-10d784d3]{position:relative;width:%?200?%;height:%?130?%}.form .zjpic uni-image[data-v-10d784d3]{display:block;width:100%;height:100%;border-radius:%?10?%}.form .zjpic[data-v-10d784d3]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);width:100%;height:100%;left:0;top:0;border-radius:%?10?%}.form .zjpic .icon-del[data-v-10d784d3]{background:url('+d+") no-repeat;background-size:cover;position:absolute;width:%?42?%;height:%?42?%;right:%?-20?%;top:%?-20?%;z-index:1}.form .intput-area[data-v-10d784d3]{display:flex;justify-content:space-between;align-items:center;font-size:%?20?%}.form .intput-area uni-input[data-v-10d784d3]{font-size:%?30?%;flex:1}.form .form-item.vertical[data-v-10d784d3]{flex-direction:column;align-items:flex-start}.form .form-item.vertical .label[data-v-10d784d3]{padding-bottom:%?32?%}.form .no-sign[data-v-10d784d3]{background-color:#ededed;line-height:%?308?%;text-align:center;width:%?686?%;color:#999;border-radius:%?20?%}.form .signed[data-v-10d784d3]{height:%?308?%;width:%?686?%;background-color:#ededed}.form .content uni-picker[data-v-10d784d3]{flex:1}.form .content .picker[data-v-10d784d3]{white-space:nowrap;overflow:hidden;width:60vw;text-overflow:ellipsis}.form .content.pay-pics[data-v-10d784d3]{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.form .content.pay-pics .zjpic[data-v-10d784d3]{margin-right:%?20?%;margin-bottom:%?20?%}.form .form-item.disabled .content[data-v-10d784d3]{opacity:.4}.form .form-item.disabled .icon-del[data-v-10d784d3]{display:none}.bt-fixed[data-v-10d784d3]{position:fixed;bottom:%?16?%;left:0;width:100%;box-sizing:border-box;display:flex;justify-content:center;padding:0 %?60?%}.bt-fixed.single[data-v-10d784d3]{padding:0 %?85?%}.bt-fixed .button[data-v-10d784d3]{line-height:%?80?%;border-radius:%?56?%;box-sizing:border-box;margin:0 %?16?%;flex:1}.h3[data-v-10d784d3]{color:#00ab78;margin-bottom:%?32?%;display:block;padding-left:%?32?%}.card-wrapper[data-v-10d784d3]{padding:0!important;background-color:#efefef}.card-wrapper .card[data-v-10d784d3]{border-radius:%?20?%;padding:%?32?%;display:flex;flex-direction:column}.card-wrapper .card .h3[data-v-10d784d3]{margin-bottom:%?20?%;padding-left:0}.card-wrapper .card uni-text[data-v-10d784d3]{font-size:%?28?%;line-height:%?54?%}body.?%PAGE?%[data-v-10d784d3]{background-color:#f7f7f7}",""]),t.exports=i},"615d":function(t,i,e){"use strict";var a=e("c2fb"),n=e.n(a);n.a},8763:function(t,i,e){var a=e("24fb"),n=e("1de5"),o=e("e516"),d=e("2457"),s=e("d5ae"),r=e("71c5"),c=e("be44"),l=e("d3a1"),u=e("6464"),p=e("c334"),v=e("af09"),h=e("68b2"),f=e("c1b7"),m=e("d609"),g=e("b275"),b=e("24a3"),y=e("2350"),_=e("d186"),w=e("f546"),k=e("f3d6"),x=e("9b34"),C=e("356a"),z=e("74ea"),A=e("5134"),I=e("5a97");i=a(!1);var T=n(o),E=n(d),j=n(s),B=n(r),S=n(c),P=n(l),D=n(u),M=n(p),$=n(v),O=n(h),R=n(f),q=n(m),F=n(g),U=n(b),L=n(y),J=n(_),N=n(w),G=n(k),Y=n(x),Z=n(C),V=n(z),H=n(A),W=n(I);i.push([t.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-10d784d3]{display:none}uni-page-body[data-v-10d784d3]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-10d784d3]::-webkit-scrollbar{display:none}.button[data-v-10d784d3]{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-10d784d3]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-10d784d3]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-10d784d3]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-10d784d3]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-10d784d3]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-10d784d3]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-10d784d3]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-10d784d3]{display:flex;align-items:center}.addr[data-v-10d784d3]:before{content:"";background:url('+T+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-10d784d3]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-10d784d3]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-10d784d3]{background:url('+E+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-10d784d3]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-10d784d3]{background:url("+j+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-10d784d3]{background:url("+B+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-10d784d3]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+S+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-10d784d3]{background:url("+P+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-10d784d3]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-10d784d3]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-10d784d3]{background:url("+$+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-10d784d3]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-10d784d3]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-10d784d3]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-10d784d3]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-10d784d3]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-10d784d3]{background:url("+L+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-10d784d3]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-10d784d3]{background:url("+N+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-10d784d3]{background:url("+G+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-10d784d3]{background:url("+Y+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-10d784d3]{background:url("+T+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-10d784d3]{background:url("+S+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-10d784d3]{margin-top:%?12?%;display:flex}.tag[data-v-10d784d3]{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-10d784d3]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-10d784d3]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-10d784d3]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-10d784d3]{border-color:#999;color:#333}.btn-page-back[data-v-10d784d3], .btn-page-home[data-v-10d784d3]{position:fixed;background:url("+Z+") 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-10d784d3]{background-image:url("+V+')}.btns-buygroup[data-v-10d784d3]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-10d784d3]{margin:0 %?15?%}.topinfo[data-v-10d784d3]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-10d784d3]{flex:1}.topinfo .address[data-v-10d784d3]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-10d784d3]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-10d784d3]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-10d784d3]{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-10d784d3]{flex-shrink:0}.topinfo .address .range[data-v-10d784d3]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-10d784d3]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-10d784d3]{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-10d784d3]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-10d784d3]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-10d784d3]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-10d784d3]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-10d784d3]:after{content:"";background:url('+H+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-10d784d3]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-10d784d3]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-10d784d3]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-10d784d3]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-10d784d3]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-10d784d3]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-10d784d3]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-10d784d3]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-10d784d3]{margin-bottom:%?8?%}.nav-item[data-v-10d784d3]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-10d784d3]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-10d784d3]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-10d784d3]{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-10d784d3]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+S+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-10d784d3]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-10d784d3]{color:#999}.nav-item[data-v-10d784d3]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-10d784d3]:after{display:none}.nav-item.help[data-v-10d784d3]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-10d784d3]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-10d784d3]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-10d784d3]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-10d784d3]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-10d784d3]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-10d784d3]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-10d784d3]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-10d784d3], .goods-item.inorder uni-image[data-v-10d784d3]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-10d784d3]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-10d784d3]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-10d784d3]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-10d784d3]{position:relative}.swiper-cont .swiper[data-v-10d784d3]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-10d784d3], .swiper-cont .swiper uni-image[data-v-10d784d3]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-10d784d3]: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-10d784d3]{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-10d784d3]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-10d784d3], .swiper-cont .swiper .videoposter.playing[data-v-10d784d3]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-10d784d3]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-10d784d3]{display:block}.swiper-cont .dots[data-v-10d784d3]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-10d784d3]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-10d784d3]{background-color:#fff;width:%?36?%}.form[data-v-10d784d3]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-10d784d3]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-10d784d3]:last-child{border-bottom:0}.form .form-item .label[data-v-10d784d3]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-10d784d3]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-10d784d3]{flex:1}.form .form-item .content .disabled[data-v-10d784d3]{color:#999}.form .form-item .link[data-v-10d784d3]{color:#00ab78}.form .form-item .checkboxgroup[data-v-10d784d3]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-10d784d3]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-10d784d3]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-10d784d3], .form.mini .content[data-v-10d784d3]{font-size:%?24?%}.form.mini .form-item[data-v-10d784d3]{padding-bottom:%?8?%}",""]),t.exports=i},"9fb8":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAr9JREFUWEfFlztoFFEUhr+/SRMCabZwbayEmEaJBiyCWliJdj4aJU3WF/hYELQIiZWCwRhBVzeptFHTKVYS1MpCFxdCtjAETOEKsU595A4zyyaZx51ZwQvLMHvvf853z9w554woMMysBAwD+0J5C1iR9CevOfkKzOw0cBg4AexN0P0A3gNfJC362M4EMLPjwC3AXfOMD8ADSe6aOFIBzGwWuJHHa8zaR5JuJtlIBDCz78D+Hp1H8qakA3G2YgHM7BdQ/kfOIzNtSbu329wBYGYPgcSQ9Qg1K6nabWMLgJlVgOc9OsmSX5RUjxZtB/gGjGRZ6HG+IengDoCs3ddqNUZHRxkZSedrNBosLy8zPj6extmJQicCZvYROBqn2tzcZGZmhna7TaVSSYRwzuv1OuVymWq1ysDAQBLEJ0nH3GQAYGYupa6kITvn8/PziRDdzicmJgKIjDEsqRUBTANTWYokiALOnau7kqYjgCfAlSwAN78dwv0Xhd1z55Gbp5KuRgBvAFdsvEY3hBO4cOd07mSLks5EAIkHMIkognDzBZw7WXAQI4BXwFmv7QPr6+tB2Pv6+jqSAhCvJZ2LAOaAaz4Aq6urwdvQ398f7NwNd18gEo8lXY8ALgG1LIBWqxU4Gxwc3BL2go/jsqRnEcAud8DTAJrNJgsLC5RKpdhnXgCiLOl3dyZ8C5yMg9jY2GBycjLztHdDTE2lppV3kk51MmGYDVMr4dLSEkNDQ5kZzkGsra0xNjaWFtCdtSCE+H/V0CcKWYfUcz65HwghXgDnPY3lXfZS0oVuUVJPmDszepB0SnAmQBiJe8BtD8M+S+5LuhO3MOu7wKtMZxAEZTdpjc+XkevB3CvqfnmGazzrkhppokyASGxme8KW7QhwKPw47bbtOqqvwOew0v30ofUGiDMWtnK41srHWe4zUNRoHt1fadUvME6FRS4AAAAASUVORK5CYII="},a7c8:function(t,i,e){"use strict";var a;e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){return a}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"app"},[t.isMobile?[e("v-uni-view",{staticClass:"form"},[t.isup||(!t.source_id||2!=t.is_invite)&&t.source_id?t._e():[e("v-uni-view",{staticClass:"form-item"},[e("v-uni-text",{staticClass:"label"},[t._v("邀请码")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"submit","data-model":"code",placeholder:"请输入邀请码"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.handleTrim.apply(void 0,arguments)},blur:function(i){arguments[0]=i=t.$handleEvent(i),t.getInfoByCode.apply(void 0,arguments)},confirm:function(i){arguments[0]=i=t.$handleEvent(i),t.getInfoByCode.apply(void 0,arguments)}},model:{value:t.code,callback:function(i){t.code=i},expression:"code"}})],1)],1),e("v-uni-view",{staticClass:"form-item"},[e("v-uni-text",{staticClass:"label"},[t._v("邀请人")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text",disabled:!0,placeholder:"请输入邀请人",value:t.codeInfo.name}})],1)],1)],e("v-uni-view",{staticClass:"form-item hasright",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("入驻类型")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"checkbox-group"},[e("v-uni-view",{staticClass:"checkbox-item",attrs:{"data-type":"1"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"icon-checkbox",class:1==t.type?"checked":""}),t._v("个人")],1),e("v-uni-view",{staticClass:"checkbox-item",attrs:{"data-type":"2"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"icon-checkbox",class:2==t.type?"checked":""}),t._v("公司")],1)],1)],1)],1),e("v-uni-view",{staticClass:"form-item",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("证件照片")]),e("v-uni-view",{staticClass:"content"},[t.idcard_front?e("v-uni-view",{staticClass:"zjpic"},[e("v-uni-image",{attrs:{src:t.loc_idcard_front||t.idcard_front,mode:""}}),e("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"idcard_front"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.delpic.apply(void 0,arguments)}}})],1):e("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"idcard_front"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.uploadPics.apply(void 0,arguments)}}},[e("v-uni-text",[t._v("+")]),t._v("上传身份证正面")],1)],1),e("v-uni-view",{staticClass:"content"},[t.idcard_back?e("v-uni-view",{staticClass:"zjpic"},[e("v-uni-image",{attrs:{src:t.loc_idcard_back||t.idcard_back,mode:""}}),e("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"idcard_back"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.delpic.apply(void 0,arguments)}}})],1):e("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"idcard_back"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.uploadPics.apply(void 0,arguments)}}},[e("v-uni-text",[t._v("+")]),t._v("上传身份证反面")],1)],1)],1),e("v-uni-view",{staticClass:"form-item",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("姓名")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text","data-model":"name",disabled:t.isup,placeholder:"请输入姓名"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.handleTrim.apply(void 0,arguments)}},model:{value:t.name,callback:function(i){t.name=i},expression:"name"}})],1)],1),e("v-uni-view",{staticClass:"form-item",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("身份证号")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text","data-model":"idcard",disabled:t.isup,placeholder:"请输入身份证号"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.handleTrim.apply(void 0,arguments)}},model:{value:t.idcard,callback:function(i){t.idcard=i},expression:"idcard"}})],1)],1),2==t.type?[e("v-uni-view",{staticClass:"form-item",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("公司全称")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text","data-model":"company_name",disabled:t.isup,placeholder:"请输入公司全称"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.handleTrim.apply(void 0,arguments)}},model:{value:t.company_name,callback:function(i){t.company_name=i},expression:"company_name"}})],1)],1),e("v-uni-view",{staticClass:"form-item",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("营业编号")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text",disabled:t.isup,placeholder:"请输入营业编号"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.handleCompanyNumber.apply(void 0,arguments)}},model:{value:t.company_number,callback:function(i){t.company_number=i},expression:"company_number"}})],1)],1),e("v-uni-view",{staticClass:"form-item",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("营业执照")]),e("v-uni-view",{staticClass:"content"},[t.company_pic?e("v-uni-view",{staticClass:"zjpic"},[e("v-uni-image",{attrs:{src:t.loc_company_pic||t.company_pic,mode:""}}),e("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"company_pic"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.delpic.apply(void 0,arguments)}}})],1):e("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"company_pic"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.uploadPics.apply(void 0,arguments)}}},[e("v-uni-text",[t._v("+")]),t._v("上传营业执照")],1)],1)],1)]:t._e(),e("v-uni-view",{staticClass:"form-item",class:t.isup?"disabled":""},[e("v-uni-text",{staticClass:"label"},[t._v("手机号")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"number","data-model":"mobile",disabled:t.isup,placeholder:"请输入手机号"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.handleTrim.apply(void 0,arguments)}},model:{value:t.mobile,callback:function(i){t.mobile=i},expression:"mobile"}})],1)],1),e("v-uni-view",{staticClass:"form-item"},[e("v-uni-text",{staticClass:"label"},[t._v("验证码")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"intput-area"},[e("v-uni-input",{attrs:{type:"number","data-model":"mcode",maxlength:"4",placeholder:"请输入验证码"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.handleTrim.apply(void 0,arguments)}},model:{value:t.mcode,callback:function(i){t.mcode=i},expression:"mcode"}}),t.mobileValiting?t._e():e("v-uni-text",{staticClass:"enable",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getCode.apply(void 0,arguments)}}},[t._v("获取验证码")]),t.mobileValiting?e("v-uni-text",{staticClass:"disabled"},[t._v("重新发送("+t._s(t.timelimit)+")")]):t._e()],1)],1)],1),e("v-uni-view",{staticClass:"form-item hasright"},[e("v-uni-text",{staticClass:"label"},[t._v("代理类型")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"checkbox-group"},t._l(t.roles,(function(i,a){return e("v-uni-view",{key:a,staticClass:"checkbox-item",attrs:{"data-index":a},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeRoleIndex.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"icon-checkbox",class:t.roleIndex==a?"checked":""}),t._v(t._s(i.name))],1)})),1)],1)],1),e("v-uni-view",{staticClass:"form-item hasright"},[e("v-uni-text",{staticClass:"label"},[t._v("注册区域")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-picker",{attrs:{mode:"multiSelector",value:t.areasIndex,"range-key":"name",range:t.areas},on:{columnchange:function(i){arguments[0]=i=t.$handleEvent(i),t.bindMultiPickerColumnChange.apply(void 0,arguments)},change:function(i){arguments[0]=i=t.$handleEvent(i),t.multChange.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"picker"},[t._l(t.areas,(function(i,e){return e<3?[t._v(t._s(t.areas[e]&&t.areas[e][t.areasIndex[e]]&&t.areas[e][t.areasIndex[e]].name)),e<t.areas.length-1?[t._v(",")]:t._e()]:t._e()}))],2)],1),e("v-uni-view",{staticClass:"btn-address"},[e("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1),t.roleDeep>3?e("v-uni-view",{staticClass:"form-item hasright"},[e("v-uni-text",{staticClass:"label"},[t._v("注册街道")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-picker",{attrs:{value:t.streetIndex,"range-key":"name",range:t.streetAreas},on:{change:function(i){arguments[0]=i=t.$handleEvent(i),t.bindStreetChange.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"picker"},[t._v(t._s(t.streetAreas[t.streetIndex]&&t.streetAreas[t.streetIndex].name))])],1),e("v-uni-view",{staticClass:"btn-address"},[e("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1):t._e(),1==t.pay_type?[e("v-uni-view",{staticClass:"form-item hasright"},[e("v-uni-text",{staticClass:"label"},[t._v("待支付金额")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",[t._v(t._s(t.price_str))])],1)],1)]:t._e(),2==t.pay_type?[e("v-uni-view",{staticClass:"form-item hasright"},[e("v-uni-text",{staticClass:"label"},[t._v("应付款金额")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",[t._v(t._s(t.price_str))])],1)],1)]:t._e(),e("v-uni-view",{staticClass:"form-item hasright"},[e("v-uni-text",{staticClass:"label"},[t._v("付款方式")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"checkbox-group"},[e("v-uni-view",{staticClass:"checkbox-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.pay_type=2}}},[e("v-uni-text",{staticClass:"icon-checkbox",class:2==t.pay_type?"checked":""}),t._v("转账汇款")],1)],1)],1)],1),2==t.pay_type?e("v-uni-view",{staticClass:"card-wrapper form-item"},[e("v-uni-view",{staticClass:"card"},[e("v-uni-text",{staticClass:"h3"},[t._v("转账至以下账户")]),e("v-uni-text",[t._v(t._s(t.config.bank_user)+"\n\t\t\t\t\t"+t._s(t.config.bank_name)+"\n\t\t\t\t\t"+t._s(t.config.bank_card))])],1)],1):t._e(),2==t.pay_type?[e("v-uni-view",{staticClass:"form-item vertical"},[e("v-uni-text",{staticClass:"label"},[t._v("打款凭证")]),e("v-uni-view",{staticClass:"content pay-pics"},[t.pay_pic.length?t._l(t.pay_pic,(function(i,a){return e("v-uni-view",{key:a,staticClass:"zjpic"},[e("v-uni-image",{attrs:{src:t.loc_pay_pic[a]||t.pay_pic[a],mode:""}}),e("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"pay_pic","data-index":a},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.delPaypic.apply(void 0,arguments)}}})],1)})):t._e(),t.pay_pic.length<12?e("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"pay_pic"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.uploadPayPics.apply(void 0,arguments)}}},[e("v-uni-text",[t._v("+")]),t._v("上传打款凭证")],1):t._e()],2)],1)]:t._e(),1==t.config.is_shou?[e("v-uni-view",{staticClass:"form-item"},[e("v-uni-text",{staticClass:"label"},[t._v("收款账户名")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text",placeholder:"请输入收款账户名"},model:{value:t.bank_username,callback:function(i){t.bank_username=i},expression:"bank_username"}})],1)],1),e("v-uni-view",{staticClass:"form-item"},[e("v-uni-text",{staticClass:"label"},[t._v("收款开户行")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text",placeholder:"请输入收款开户行"},model:{value:t.bank_name,callback:function(i){t.bank_name=i},expression:"bank_name"}})],1)],1),e("v-uni-view",{staticClass:"form-item"},[e("v-uni-text",{staticClass:"label"},[t._v("收款账号")]),e("v-uni-view",{staticClass:"content"},[e("v-uni-input",{attrs:{type:"text",placeholder:"请输入收款账号"},model:{value:t.bank_account,callback:function(i){t.bank_account=i},expression:"bank_account"}})],1)],1)]:t._e()],2),e("v-uni-view",{staticClass:"bt-fixed"},[e("v-uni-view",{staticClass:"button",class:t.valited?"":"gray",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.submit.apply(void 0,arguments)}}},[t._v("确认")])],1)]:[e("v-uni-view",{staticClass:"tipmsg"},[t._v("请使用手机打开本页面")])]],2)},o=[]},ada0:function(t,i,e){"use strict";var a=e("4ea4");e("99af"),e("4160"),e("c975"),e("d81d"),e("a434"),e("e25e"),e("ac1f"),e("466d"),e("1276"),e("498a"),e("159b"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=a(e("5530")),o=function(t){var i=/^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,e=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],a=[1,0,"X",9,8,7,6,5,4,3,2],n=t.substring(17);if(i.test(t)){for(var o=0,d=0;d<17;d++)o+=t[d]*e[d];if(a[o%11]==n.toUpperCase())return!0}return!1},d=function(t){var i=/^(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)$/;if(i.test(t)){var e=t.substring(0,4),a=t.substring(4,6),n=t.substring(6,8),o=new Date(e+"-"+a+"-"+n);if(o&&o.getMonth()==parseInt(a)-1)return!0}return!1},s=function(t){var i=/^[1-9][0-9]/,e={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江 ",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北 ",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏 ",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",83:"台湾"};return!(!i.test(t)||!e[t])},r=function(t){if(o(t)){var i=t.substring(6,14);if(d(i)&&s(t.substring(0,2)))return!0}return!1},c={data:function(){return{code:"",codeInfo:{},name:"",idcard:"",type:1,mobile:"",id:"",mobileValiting:!1,hasSign:!1,mcode:"",sign:"",areas:[],areasIndex:[0,0,0],roles:[],roleIndex:-1,streetAreas:[{name:"街道选择",value:"-1"}],streetIndex:0,company_pic:"",loc_company_pic:"",idcard_front:"",loc_idcard_front:"",idcard_back:"",loc_idcard_back:"",company_name:"",company_number:"",isup:0,user:{},source_id:"",isMobile:!1,pay_type:2,hasOnlinePay:!1,price:0,config:{},price_str:"",pay_pic:[],loc_pay_pic:[],timelimit:60,valited:!1,scanFace:{},scanBack:{},is_invite:1,config_id:"",is_code:"",bank_username:"",bank_name:"",bank_account:""}},watch:{listenChange:function(){this.valit()}},computed:{roleDeep:function(){var t=this.roles[this.roleIndex];return t?parseInt(t.area)+1:2},listenChange:function(){var t=this,i=this.type,e=this.idcard,a=this.name,n=this.idcard_back,o=this.idcard_front,d=this.mcode,s=this.mobile,r=this.company_name,c=this.company_number,l=this.company_pic,u=this.code,p=this.source_id,v=this.pay_type,h=this.pay_pic,f=(this.bank_name,this.bank_username,this.bank_account,this.roles[this.roleIndex]),m=this.areas.map((function(i,e){return i[t.areasIndex[e]].value})).join(",");return this.roleDeep>3&&(m+=","+this.streetAreas[this.streetIndex].value),{type:i,idcard:e,name:a,idcard_back:n,idcard_front:o,mcode:d,mobile:s,company_name:r,company_number:c,company_pic:l,code:u,source_id:p,pay_type:v,pay_pic:h,role:f,area:m}}},methods:{valit:function(){var t=this,i=this.type,e=this.idcard,a=this.name,n=this.idcard_back,o=this.idcard_front,d=this.mcode,s=this.mobile,r=this.company_name,c=this.company_number,l=this.company_pic,u=this.code,p=this.source_id,v=this.pay_type,h=this.pay_pic,f=(this.roles[this.roleIndex],this.areas.map((function(i,e){return i[t.areasIndex[e]].value})).join(","));if(this.roleDeep>3&&(f+=","+this.streetAreas[this.streetIndex].value),this.isup||1!=this.is_code||p||u)if(a)if(e)if(o&&n){if(2==i){if(!r)return void(this.valited=!1);if(!c)return void(this.valited=!1);if(!l)return void(this.valited=!1)}if(f.indexOf("-1")>-1)this.valited=!1;else if(s)if(1!=v||h.length)if(d){if(1==this.config.is_shou){if(!this.bank_username)return void(this.valited=!1);if(!this.bank_name)return void(this.valited=!1);if(!this.bank_account)return void(this.valited=!1)}this.valited=!0}else this.valited=!1;else this.valited=!1;else this.valited=!1}else this.valited=!1;else this.valited=!1;else this.valited=!1;else this.valited=!1},handleCompanyNumber:function(t){var i=this;t.target.value=t.target.value?t.target.value.trim().toLocaleUpperCase():null,this.$nextTick((function(){i.company_number=t.target.value}))},handleTrim:function(t){var i=this,e=t.currentTarget.dataset.model;t.target.value=t.target.value?t.target.value.trim():null,this.$nextTick((function(){i[e]=t.target.value}))},getInfoByCode:function(){var t=this;console.log(this.source_id,this.config_id),!this.source_id||this.source_id&&this.config_id?this.req({url:"service/agent/?l=auth.getInfoByCode",data:{code:this.code,config_id:this.config_id},success:function(i){1==i.data.status?t.codeInfo=i.data.data.user:uni.showToast({icon:"error",title:i.data.msg})}}):this.source_id&&!this.config_id?this.loadSourceInfo((function(){t.getInfoByCode()})):this.getInfoByCode()},toSign:function(){uni.navigateTo({url:"/pages/dailishang/apply/sign"})},setSign:function(t){this.sign=t},changeType:function(t){this.isup||(this.type=t.currentTarget.dataset.type)},bindStreetChange:function(t){var i=this;this.streetIndex=t.detail.value;var e=this.areas.map((function(t,e){return t[i.areasIndex[e]].value})).join(",");if(this.roleDeep>3&&(e+=","+this.streetAreas[this.streetIndex].value),4==this.roleDeep&&-1==e.indexOf("-1")){var a=this.roles[this.roleIndex];this.getPrice(a.id,e)}},multChange:function(t){var i=this.areas.map((function(i,e){return i[t.detail.value[e]].value})).join(",");if(this.roleDeep>3&&(i+=","+this.streetAreas[this.streetIndex].value),this.areas.length==this.roleDeep&&-1==i.indexOf("-1")){var e=this.roles[this.roleIndex];this.getPrice(e.id,i)}},bindMultiPickerColumnChange:function(t){var i=this.areasIndex.map((function(i,e){return e==t.detail.column?t.detail.value:e<t.detail.column?i:0}));if(this.$set(this,"areasIndex",i),t.detail.column<this.roleDeep-1){var e=this.areas[t.detail.column][t.detail.value].value;if(-1==e){var a=[].concat(this.areas);return a.splice(t.detail.column+1,5),this.areas=a,this.streetAreas=[{name:"街道选择",value:"-1"}],void(this.streetIndex=0)}this.loadAreas(this.areas[t.detail.column][t.detail.value].value,t.detail.column+2,1)}},changeRoleIndex:function(t){this.roleIndex=t.currentTarget.dataset.index,this.areas=[],this.areasIndex=[0,0,0],this.streetAreas=[{name:"街道选择",value:"-1"}],this.streetIndex=0,this.loadAreas("",1),this.price_str=""},changeSex:function(t){this.sex=t.currentTarget.dataset.id},changeTag:function(t){var i=t.currentTarget.dataset.id;this.tag=i==this.tag?"":i},delpic:function(t){var i=t.currentTarget.dataset.type;"company_pic"===i?this.company_pic="":"idcard_front"==i?this.idcard_front="":"pay_pic"==i?this.pay_pic="":this.idcard_back=""},delPaypic:function(t){var i=t.currentTarget.dataset.index;this.pay_pic.splice(i,1),this.loc_pay_pic.splice(i,1)},scanIdCard:function(t,i){var e=this;this.req({url:"service/setting/?l=lib/idcard.getIdcard",data:{type:i?1:2,url:t},success:function(t){if(1==t.data.status)if(i){var a=t.data.data;e.name=a.name,e.idcard=a.idNumber,e.scanFace=a}else{var n=t.data.data;e.scanBack=n}else uni.showToast({icon:"error",title:t.data.msg})}})},uploadPics:function(t){var i=this,e=t.currentTarget.dataset.type;if(!this.isup||"pay_pic"==e){var a=this;uni.chooseImage({count:1,success:function(t){i.upload({url:"package/upload/?l=save.start",filePath:t.tempFilePaths[0],name:"file",formData:{key:9},success:function(i){var n=JSON.parse(i.data);1==n.status?"company_pic"===e?(a.company_pic=n.url,a.loc_company_pic=t.tempFilePaths[0]):"idcard_front"==e?(a.idcard_front=n.url,a.loc_idcard_front=t.tempFilePaths[0],a.scanIdCard(n.url,1)):"pay_pic"==e?(a.pay_pic.push(n.url),a.loc_pay_pic.push(t.tempFilePaths[0])):(a.idcard_back=n.url,a.loc_idcard_back=t.tempFilePaths[0],a.scanIdCard(n.url,0)):uni.showToast({icon:"error",title:"上传失败"}),uni.hideLoading()}})}})}},uploadPayPics:function(t){var i=this,e=t.currentTarget.dataset.type;if(!this.isup||"pay_pic"==e){var a=this;uni.chooseImage({count:12-this.pay_pic.length,success:function(t){t.tempFilePaths.forEach((function(t,e){i.upload({url:"package/upload/?l=save.start",filePath:t,name:"file",formData:{key:9},success:function(i){var e=JSON.parse(i.data);1==e.status?(a.pay_pic.push(e.url),a.loc_pay_pic.push(t)):uni.showToast({icon:"error",title:"上传失败"}),uni.hideLoading()}})}))}})}},countDown:function(){var t=this;this.timelimit=60-Math.floor((Date.now()-this.countdownStart)/1e3),this.timelimit>0?setTimeout((function(){t.countDown()}),500):this.mobileValiting=!1},getCode:function(){var t=this;this.mobile&&/^1\d{10}$/.test(this.mobile)?(uni.showLoading({mask:!0}),this.req({url:"service/agent/?l=auth.".concat(this.isup?"getLoginMcode":"getRegMcode"),data:{mobile:this.mobile},success:function(i){if(1==i.data.status){t.error="",t.mobileValiting=1,t.countdownStart=Date.now(),t.countDown();var e=i.data.data.match(/::(\d*)/);t.mcode=e?e[1]:""}else uni.showToast({icon:"error",title:i.data.msg});uni.hideLoading()}})):uni.showToast({icon:"error",title:"手机号码不正确"})},getPrice:function(t,i){var e=this,a={url:"service/agent/?l=auth.getPrice",data:{role:t,area:i,config_id:this.config_id},success:function(t){1==t.data.status?(e.price=t.data.data.price,e.price_str=t.data.data.price_str):e.showModalNoCancel({content:t.data.msg,success:function(){uni.navigateBack({})}})}};this.isup?this.reqByuser(a):this.req(a)},submit:function(){var t=this,i=this.type,e=this.idcard,a=this.name,n=this.idcard_back,o=this.idcard_front,d=this.mcode,s=this.mobile,c=this.company_name,l=this.company_number,u=this.company_pic,p=this.code,v=this.source_id,h=this.pay_type,f=this.pay_pic,m=this.roles[this.roleIndex],g=this.areas.map((function(i,e){return i[t.areasIndex[e]].value})).join(",");if(this.roleDeep>3&&(g+=","+this.streetAreas[this.streetIndex].value),this.isup||1!=this.is_code||v||p)if(a)if(e&&r(e))if(o&&n){if(2==i){if(!c)return void uni.showToast({icon:"error",title:"请填写公司名称"});if(!l)return void uni.showToast({icon:"error",title:"请填写营业编码"});if(!u)return void uni.showToast({icon:"error",title:"请上传营业执照"})}if(g.indexOf("-1")>-1)uni.showToast({icon:"error",title:"请选择注册区域"});else if(s&&/^1\d{10}$/.test(s))if(d)if(2!=h||f.length){if(1==this.config.is_shou){if(!this.bank_username)return void uni.showToast({icon:"error",title:"请填写收款账户名"});if(!this.bank_name)return void uni.showToast({icon:"error",title:"请填写收款开户行"});if(!this.bank_account)return void uni.showToast({icon:"error",title:"请填写收款账号"})}this.isup?this.reqByuser({url:"service/agent/?l=my.buyArea",data:{area:g,role:m.id,mcode:d,pay_pic:f.join(","),pay_type:h},success:function(i){1==i.data.status?1==t.pay_type?location.href=i.data.data.pay.order+"&refer="+encodeURIComponent(location.origin+"/pages/dailishang/apply/success"):uni.navigateTo({url:"/pages/my/xieyi/xieyi?isup=1&order_id="+i.data.data.order_id}):uni.showToast({icon:"error",title:i.data.msg})}}):this.req({url:"service/agent/?l=auth.reg",data:{type:i,idcard:e,name:a,idcard_back:n,idcard_front:o,mcode:d,mobile:s,company_name:c,company_number:l,company_pic:u,area:g,role:m.id,code:p,source_id:v,pay_type:h,pay_pic:f.join(","),idcard_path:JSON.stringify({face:this.scanFace,back:this.scanBack}),bank_username:this.bank_username,bank_name:this.bank_name,bank_account:this.bank_account},success:function(i){1==i.data.status?(uni.setStorage({key:"baseToken",data:{signature:i.data.data.signature,uid:i.data.data.uid,mobile:t.mobile}}),t.setUserInfo({mobile:t.mobile,signature:i.data.data.signature,uid:i.data.data.uid}),1==t.pay_type?location.href=i.data.data.pay.order+"&refer="+encodeURIComponent(location.origin+"/pages/my/xieyi/xieyi?order_id="+i.data.data.order_id):uni.navigateTo({url:"/pages/my/xieyi/xieyi?order_id="+i.data.data.order_id})):uni.showToast({icon:"error",title:i.data.msg})}})}else uni.showToast({icon:"error",title:"请上传打款凭证"});else uni.showToast({icon:"error",title:"请填写验证码"});else uni.showToast({icon:"error",title:"手机号码不正确"})}else uni.showToast({icon:"error",title:"请上传身份证照片"});else uni.showToast({icon:"error",title:"身份证号不正确"});else uni.showToast({icon:"error",title:"请填写姓名"});else uni.showToast({icon:"error",title:"请填写邀请码"})},loadAreas:function(t,i,e){var a=this,n={url:"service/agent/?l=area.get",data:{level_num:i,level_id:t,level_search:1,role:this.roles[this.roleIndex]?this.roles[this.roleIndex].id:"",config_id:this.config_id},success:function(t){if(1==t.data.status){var n=t.data.data;if(i-1<3?a.areas.splice(i-1,5,n.list):a.streetAreas=n.list,e&&i<a.roleDeep-1){var o=n.list[0];-1!==o.value&&a.loadAreas(o.value,i+1)}}}};this.signature?this.reqByUser(n):this.req(n)},loadSourceInfo:function(t){var i=this;this.req({url:"service/agent/?l=auth.getSourceInfo",data:{source_id:this.source_id},success:function(e){1==e.data.status?(i.is_invite=e.data.data.is_invite,i.config_id=e.data.data.config_id,i.is_code=e.data.data.is_code):uni.showToast({icon:"error",title:e.data.msg}),t()}})}},onShow:function(){function t(){for(var t=navigator.userAgent,i=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!1,a=0;a<i.length;a++)if(t.indexOf(i[a])>0){e=!0;break}return e}this.isMobile=t()},onLoad:function(t){var i=this;this.isup=!!t.isup,this.isup&&uni.setNavigationBarTitle({title:"账号升级"}),this.source_id=t.source_id||getApp().globalData.source_id||"";var e={url:"service/agent/?l=".concat(this.isup?"my":"auth",".getUpInfo"),data:{},success:function(t){1==t.data.status?(i.roles=t.data.data.role,i.config=t.data.data.config,1==i.roles.length&&(i.roleIndex=0),i.loadAreas("",1)):uni.showToast({icon:"error",title:t.data.msg})}};this.isup?this.reqByuser(e):this.source_id?this.loadSourceInfo((function(){i.req((0,n.default)((0,n.default)({},e),{},{data:{config_id:i.config_id}})),t.code&&(i.code=t.code,i.getInfoByCode())})):(this.req(e),t.code&&(this.code=t.code,this.getInfoByCode())),t.isup&&this.reqByuser({url:"service/agent/?l=my.area",method:"GET",data:{id:this.userInfo.uid},success:function(t){if(1==t.data.status){var e=t.data.data;i.user=e.user,i.type=i.user.type,i.idcard=i.user.idcard,i.name=i.user.name,i.idcard_back=i.user.idcard_back,i.idcard_front=i.user.idcard_front,i.mcode=i.user.mcode,i.mobile=i.user.mobile,i.company_name=i.user.company_name,i.company_number=i.user.company_number,i.company_pic=i.user.company_pic,i.code=i.user.code,i.pay_pic=i.user.pay_pic.split(","),i.loc_pay_pic=i.user.pay_pic.split(",")}else uni.showToast({icon:"error",title:t.data.msg})}})}};i.default=c},c2fb:function(t,i,e){var a=e("8763");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("3a4db14e",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|