pages-dailishang-apply-apply.98f54e9e.js 47 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-dailishang-apply-apply"],{"07ee":function(e,t,i){var a=i("24fb"),n=i("1de5"),o=i("f6a0"),s=i("42c3"),d=i("b8d7"),r=i("7cbe"),c=i("43dd"),l=i("2cc4"),u=i("89d8"),p=i("82da"),f=i("e820"),v=i("2334"),h=i("fe07"),m=i("3fd3"),g=i("6de6"),b=i("fb7f"),y=i("cf23"),_=i("fe0a"),w=i("ade1"),x=i("bc22"),k=i("1476"),C=i("ed31"),z=i("59b2"),A=i("0d2b"),I=i("1ded");t=a(!1);var T=n(o),E=n(s),j=n(d),B=n(r),S=n(c),P=n(l),D=n(u),M=n(p),O=n(f),$=n(v),R=n(h),q=n(m),F=n(g),L=n(b),U=n(y),J=n(_),N=n(w),G=n(x),Y=n(k),Z=n(C),V=n(z),H=n(A),W=n(I);t.push([e.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/* 文章场景相关 */uni-page-head[data-v-d66f974e]{display:none}uni-page-body[data-v-d66f974e]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-d66f974e]::-webkit-scrollbar{display:none}.button[data-v-d66f974e]{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-d66f974e]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-d66f974e]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-d66f974e]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-d66f974e]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-d66f974e]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-d66f974e]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-d66f974e]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-d66f974e]{display:flex;align-items:center}.addr[data-v-d66f974e]: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-d66f974e]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-d66f974e]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-d66f974e]{background:url('+E+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-d66f974e]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-d66f974e]{background:url("+j+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-d66f974e]{background:url("+B+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-d66f974e]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+S+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-d66f974e]{background:url("+P+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-d66f974e]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-d66f974e]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-d66f974e]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-d66f974e]{background:url("+$+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-d66f974e]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-d66f974e]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-d66f974e]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-d66f974e]{background:url("+L+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-d66f974e]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-d66f974e]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-d66f974e]{background:url("+N+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-d66f974e]{background:url("+G+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-d66f974e]{background:url("+Y+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-d66f974e]{background:url("+T+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-d66f974e]{background:url("+S+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-d66f974e]{margin-top:%?12?%;display:flex}.tag[data-v-d66f974e]{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-d66f974e]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-d66f974e]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-d66f974e]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-d66f974e]{border-color:#999;color:#333}.btn-page-back[data-v-d66f974e], .btn-page-home[data-v-d66f974e]{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-d66f974e]{background-image:url("+V+')}.btns-buygroup[data-v-d66f974e]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-d66f974e]{margin:0 %?15?%}.topinfo[data-v-d66f974e]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-d66f974e]{flex:1}.topinfo .address[data-v-d66f974e]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-d66f974e]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-d66f974e]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-d66f974e]{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-d66f974e]{flex-shrink:0}.topinfo .address .range[data-v-d66f974e]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-d66f974e]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-d66f974e]{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-d66f974e]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-d66f974e]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-d66f974e]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-d66f974e]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-d66f974e]: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-d66f974e]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-d66f974e]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-d66f974e]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-d66f974e]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-d66f974e]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-d66f974e]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-d66f974e]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-d66f974e]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-d66f974e]{margin-bottom:%?8?%}.nav-item[data-v-d66f974e]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-d66f974e]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-d66f974e]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-d66f974e]{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-d66f974e]: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-d66f974e]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-d66f974e]{color:#999}.nav-item[data-v-d66f974e]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-d66f974e]:after{display:none}.nav-item.help[data-v-d66f974e]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-d66f974e]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-d66f974e]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-d66f974e]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-d66f974e]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-d66f974e]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-d66f974e]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-d66f974e]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-d66f974e], .goods-item.inorder uni-image[data-v-d66f974e]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-d66f974e]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-d66f974e]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-d66f974e]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-d66f974e]{position:relative}.swiper-cont .swiper[data-v-d66f974e]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-d66f974e], .swiper-cont .swiper uni-image[data-v-d66f974e]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-d66f974e]: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-d66f974e]{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-d66f974e]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-d66f974e], .swiper-cont .swiper .videoposter.playing[data-v-d66f974e]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-d66f974e]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-d66f974e]{display:block}.swiper-cont .dots[data-v-d66f974e]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-d66f974e]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-d66f974e]{background-color:#fff;width:%?36?%}.form[data-v-d66f974e]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-d66f974e]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-d66f974e]:last-child{border-bottom:0}.form .form-item .label[data-v-d66f974e]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-d66f974e]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-d66f974e]{flex:1}.form .form-item .content .disabled[data-v-d66f974e]{color:#999}.form .form-item .link[data-v-d66f974e]{color:#00ab78}.form .form-item .checkboxgroup[data-v-d66f974e]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-d66f974e]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-d66f974e]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-d66f974e], .form.mini .content[data-v-d66f974e]{font-size:%?24?%}.form.mini .form-item[data-v-d66f974e]{padding-bottom:%?8?%}",""]),e.exports=t},"1fd3":function(e,t,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("5530"));i("ac1f"),i("00b4"),i("e25e"),i("d81d"),i("c975"),i("498a"),i("99af"),i("a434"),i("14d9"),i("d3b7"),i("159b"),i("466d"),i("e9c4");var o=function(e){if(function(e){var t=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],i=e.substring(17);if(/^[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]$/.test(e)){for(var a=0,n=0;n<17;n++)a+=e[n]*t[n];if([1,0,"X",9,8,7,6,5,4,3,2][a%11]==i.toUpperCase())return!0}return!1}(e)){var t=e.substring(6,14);if(function(e){if(/^(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)$/.test(e)){var t=e.substring(0,4),i=e.substring(4,6),a=e.substring(6,8),n=new Date(t+"-"+i+"-"+a);if(n&&n.getMonth()==parseInt(i)-1)return!0}return!1}(t)&&function(e){return!(!/^[1-9][0-9]/.test(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:"台湾"}[e])}(e.substring(0,2)))return!0}return!1},s={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 e=this.roles[this.roleIndex];return e?parseInt(e.area)+1:2},listenChange:function(){var e=this,t=this.type,i=this.idcard,a=this.name,n=this.idcard_back,o=this.idcard_front,s=this.mcode,d=this.mobile,r=this.company_name,c=this.company_number,l=this.company_pic,u=this.code,p=this.source_id,f=this.pay_type,v=this.pay_pic,h=(this.bank_name,this.bank_username,this.bank_account,this.roles[this.roleIndex]),m=this.areas.map((function(t,i){return t[e.areasIndex[i]].value})).join(",");return this.roleDeep>3&&(m+=","+this.streetAreas[this.streetIndex].value),{type:t,idcard:i,name:a,idcard_back:n,idcard_front:o,mcode:s,mobile:d,company_name:r,company_number:c,company_pic:l,code:u,source_id:p,pay_type:f,pay_pic:v,role:h,area:m}}},methods:{valit:function(){var e=this,t=this.type,i=this.idcard,a=this.name,n=this.idcard_back,o=this.idcard_front,s=this.mcode,d=this.mobile,r=this.company_name,c=this.company_number,l=this.company_pic,u=this.code,p=this.source_id,f=this.pay_type,v=this.pay_pic,h=(this.roles[this.roleIndex],this.areas.map((function(t,i){return t[e.areasIndex[i]].value})).join(","));if(this.roleDeep>3&&(h+=","+this.streetAreas[this.streetIndex].value),this.isup||1!=this.is_code||p||u)if(a)if(i)if(o&&n){if(2==t){if(!r)return void(this.valited=!1);if(!c)return void(this.valited=!1);if(!l)return void(this.valited=!1)}if(h.indexOf("-1")>-1)this.valited=!1;else if(d)if(1!=f||v.length)if(s){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(e){var t=this;e.target.value=e.target.value?e.target.value.trim().toLocaleUpperCase():null,this.$nextTick((function(){t.company_number=e.target.value}))},handleTrim:function(e){var t=this,i=e.currentTarget.dataset.model;e.target.value=e.target.value?e.target.value.trim():null,this.$nextTick((function(){t[i]=e.target.value}))},getInfoByCode:function(){var e=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(t){1==t.data.status?e.codeInfo=t.data.data.user:uni.showToast({icon:"error",title:t.data.msg})}}):this.source_id&&!this.config_id?this.loadSourceInfo((function(){e.getInfoByCode()})):this.getInfoByCode()},toSign:function(){uni.navigateTo({url:"/pages/dailishang/apply/sign"})},setSign:function(e){this.sign=e},changeType:function(e){this.isup||(this.type=e.currentTarget.dataset.type)},bindStreetChange:function(e){var t=this;this.streetIndex=e.detail.value;var i=this.areas.map((function(e,i){return e[t.areasIndex[i]].value})).join(",");if(this.roleDeep>3&&(i+=","+this.streetAreas[this.streetIndex].value),4==this.roleDeep&&-1==i.indexOf("-1")){var a=this.roles[this.roleIndex];this.getPrice(a.id,i)}},multChange:function(e){var t=this.areas.map((function(t,i){return t[e.detail.value[i]].value})).join(",");if(this.roleDeep>3&&(t+=","+this.streetAreas[this.streetIndex].value),this.areas.length==this.roleDeep&&-1==t.indexOf("-1")){var i=this.roles[this.roleIndex];this.getPrice(i.id,t)}},bindMultiPickerColumnChange:function(e){var t=this.areasIndex.map((function(t,i){return i==e.detail.column?e.detail.value:i<e.detail.column?t:0}));if(this.$set(this,"areasIndex",t),e.detail.column<this.roleDeep-1){var i=this.areas[e.detail.column][e.detail.value].value;if(-1==i){var a=[].concat(this.areas);return a.splice(e.detail.column+1,5),this.areas=a,this.streetAreas=[{name:"街道选择",value:"-1"}],void(this.streetIndex=0)}this.loadAreas(this.areas[e.detail.column][e.detail.value].value,e.detail.column+2,1)}},changeRoleIndex:function(e){this.roleIndex=e.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(e){this.sex=e.currentTarget.dataset.id},changeTag:function(e){var t=e.currentTarget.dataset.id;this.tag=t==this.tag?"":t},delpic:function(e){var t=e.currentTarget.dataset.type;"company_pic"===t?this.company_pic="":"idcard_front"==t?this.idcard_front="":"pay_pic"==t?this.pay_pic="":this.idcard_back=""},delPaypic:function(e){var t=e.currentTarget.dataset.index;this.pay_pic.splice(t,1),this.loc_pay_pic.splice(t,1)},scanIdCard:function(e,t){var i=this;this.req({url:"service/setting/?l=lib/idcard.getIdcard",data:{type:t?1:2,url:e},success:function(e){if(1==e.data.status)if(t){var a=e.data.data;i.name=a.name,i.idcard=a.idNumber,i.scanFace=a}else{var n=e.data.data;i.scanBack=n}else uni.showToast({icon:"error",title:e.data.msg})}})},uploadPics:function(e){var t=this,i=e.currentTarget.dataset.type;if(!this.isup||"pay_pic"==i){var a=this;uni.chooseImage({count:1,success:function(e){t.upload({url:"package/upload/?l=save.start",filePath:e.tempFilePaths[0],name:"file",formData:{key:9},success:function(t){var n=JSON.parse(t.data);1==n.status?"company_pic"===i?(a.company_pic=n.url,a.loc_company_pic=e.tempFilePaths[0]):"idcard_front"==i?(a.idcard_front=n.url,a.loc_idcard_front=e.tempFilePaths[0],a.scanIdCard(n.url,1)):"pay_pic"==i?(a.pay_pic.push(n.url),a.loc_pay_pic.push(e.tempFilePaths[0])):(a.idcard_back=n.url,a.loc_idcard_back=e.tempFilePaths[0],a.scanIdCard(n.url,0)):uni.showToast({icon:"error",title:"上传失败"}),uni.hideLoading()},fail:function(){uni.showToast({icon:"error",title:"上传失败"}),uni.hideLoading()}})}})}},uploadPayPics:function(e){var t=this,i=e.currentTarget.dataset.type;if(!this.isup||"pay_pic"==i){var a=this;uni.chooseImage({count:1,success:function(e){e.tempFilePaths.forEach((function(e,i){t.upload({url:"package/upload/?l=save.start",filePath:e,name:"file",formData:{key:9},success:function(t){var i=JSON.parse(t.data);1==i.status?(console.log("......"),a.pay_pic.push(i.url),a.loc_pay_pic.push(e)):uni.showToast({icon:"error",title:"上传失败"}),uni.hideLoading()},fail:function(){uni.showToast({icon:"error",title:"上传失败"}),uni.hideLoading()}})}))}})}},countDown:function(){var e=this;this.timelimit=60-Math.floor((Date.now()-this.countdownStart)/1e3),this.timelimit>0?setTimeout((function(){e.countDown()}),500):this.mobileValiting=!1},getCode:function(){var e=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(t){if(1==t.data.status){e.error="",e.mobileValiting=1,e.countdownStart=Date.now(),e.countDown();var i=t.data.data.match(/::(\d*)/);e.mcode=i?i[1]:""}else uni.showToast({icon:"error",title:t.data.msg});uni.hideLoading()}})):uni.showToast({icon:"error",title:"手机号码不正确"})},getPrice:function(e,t){var i=this,a={url:"service/agent/?l=auth.getPrice",data:{role:e,area:t,config_id:this.config_id},success:function(e){1==e.data.status?(i.price=e.data.data.price,i.price_str=e.data.data.price_str):i.showModalNoCancel({content:e.data.msg,success:function(){uni.navigateBack({})}})}};this.isup?this.reqByuser(a):this.req(a)},submit:function(){var e=this,t=this.type,i=this.idcard,a=this.name,n=this.idcard_back,s=this.idcard_front,d=this.mcode,r=this.mobile,c=this.company_name,l=this.company_number,u=this.company_pic,p=this.code,f=this.source_id,v=this.pay_type,h=this.pay_pic,m=this.roles[this.roleIndex],g=this.areas.map((function(t,i){return t[e.areasIndex[i]].value})).join(",");if(this.roleDeep>3&&(g+=","+this.streetAreas[this.streetIndex].value),this.isup||1!=this.is_code||f||p)if(a)if(i&&o(i))if(s&&n){if(2==t){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(r&&/^1\d{10}$/.test(r))if(d)if(2!=v||h.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:h.join(","),pay_type:v},success:function(t){1==t.data.status?1==e.pay_type?location.href=t.data.data.pay.order+"&refer="+encodeURIComponent(location.origin+"/pages/dailishang/apply/success"):uni.navigateTo({url:"/pages/my/xieyi/xieyi?isup=1&order_id="+t.data.data.order_id}):uni.showToast({icon:"error",title:t.data.msg})}}):this.req({url:"service/agent/?l=auth.reg",data:{type:t,idcard:i,name:a,idcard_back:n,idcard_front:s,mcode:d,mobile:r,company_name:c,company_number:l,company_pic:u,area:g,role:m.id,code:p,source_id:f,pay_type:v,pay_pic:h.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(t){1==t.data.status?(uni.setStorage({key:"baseToken",data:{signature:t.data.data.signature,uid:t.data.data.uid,mobile:e.mobile}}),e.setUserInfo({mobile:e.mobile,signature:t.data.data.signature,uid:t.data.data.uid}),1==e.pay_type?location.href=t.data.data.pay.order+"&refer="+encodeURIComponent(location.origin+"/pages/my/xieyi/xieyi?order_id="+t.data.data.order_id):uni.navigateTo({url:"/pages/my/xieyi/xieyi?order_id="+t.data.data.order_id})):uni.showToast({icon:"error",title:t.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(e,t,i){var a=this,n={url:"service/agent/?l=area.get",data:{level_num:t,level_id:e,level_search:1,role:this.roles[this.roleIndex]?this.roles[this.roleIndex].id:"",config_id:this.config_id},success:function(e){if(1==e.data.status){var n=e.data.data;if(t-1<3?a.areas.splice(t-1,5,n.list):a.streetAreas=n.list,i&&t<a.roleDeep-1){var o=n.list[0];-1!==o.value&&a.loadAreas(o.value,t+1)}}}};this.signature?this.reqByUser(n):this.req(n)},loadSourceInfo:function(e){var t=this;this.req({url:"service/agent/?l=auth.getSourceInfo",data:{source_id:this.source_id},success:function(i){1==i.data.status?(t.is_invite=i.data.data.is_invite,t.config_id=i.data.data.config_id,t.is_code=i.data.data.is_code):uni.showToast({icon:"error",title:i.data.msg}),e()}})}},onShow:function(){this.isMobile=function(){for(var e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],i=!1,a=0;a<t.length;a++)if(e.indexOf(t[a])>0){i=!0;break}return i}()},onLoad:function(e){var t=this;this.isup=!!e.isup,this.isup&&uni.setNavigationBarTitle({title:"账号升级"}),this.source_id=e.source_id||getApp().globalData.source_id||"";var i={url:"service/agent/?l=".concat(this.isup?"my":"auth",".getUpInfo"),data:{},success:function(e){1==e.data.status?(t.roles=e.data.data.role,t.config=e.data.data.config,1==t.roles.length&&(t.roleIndex=0),t.loadAreas("",1)):uni.showToast({icon:"error",title:e.data.msg})}};this.isup?this.reqByuser(i):this.source_id?this.loadSourceInfo((function(){t.req((0,n.default)((0,n.default)({},i),{},{data:{config_id:t.config_id}})),e.code&&(t.code=e.code,t.getInfoByCode())})):(this.req(i),e.code&&(this.code=e.code,this.getInfoByCode())),e.isup&&this.reqByuser({url:"service/agent/?l=my.area",method:"GET",data:{id:this.userInfo.uid},success:function(e){if(1==e.data.status){var i=e.data.data;t.user=i.user,t.type=t.user.type,t.idcard=t.user.idcard,t.name=t.user.name,t.idcard_back=t.user.idcard_back,t.idcard_front=t.user.idcard_front,t.mcode=t.user.mcode,t.mobile=t.user.mobile,t.company_name=t.user.company_name,t.company_number=t.user.company_number,t.company_pic=t.user.company_pic,t.code=t.user.code,t.pay_pic=(t.user.pay_pic||"").split(","),t.loc_pay_pic=(t.user.pay_pic||"").split(",")}else uni.showToast({icon:"error",title:e.data.msg})}})}};t.default=s},"3ccc":function(e,t,i){var a=i("745b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("30b606e4",a,!0,{sourceMap:!1,shadowMode:!1})},"426e":function(e,t,i){"use strict";i.r(t);var a=i("1fd3"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},"745b":function(e,t,i){var a=i("24fb"),n=i("1de5"),o=i("df59");t=a(!1);var s=n(o);t.push([e.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/* 文章场景相关 */uni-page-body[data-v-d66f974e]{background-color:#f7f7f7}body.?%PAGE?%[data-v-d66f974e]{background-color:#f7f7f7}.tipmsg[data-v-d66f974e]{line-height:60vh;text-align:center}.app[data-v-d66f974e]{padding-bottom:%?120?%}.form[data-v-d66f974e]{background-color:#fff;margin-top:%?4?%;padding-bottom:%?80?%}.form .tag[data-v-d66f974e]{line-height:%?40?%;border-radius:%?20?%;display:inline-block;padding:0 %?30?%;font-size:%?30?%;margin-right:%?32?%}.form .btn-address[data-v-d66f974e]{display:flex;align-items:center;width:%?40?%;height:%?40?%;margin-left:0}.form .tip[data-v-d66f974e]{color:#666}.form .checkbox-group[data-v-d66f974e]{display:flex;flex-wrap:wrap}.form .checkbox-group .checkbox-item[data-v-d66f974e]{display:flex;align-items:center;margin:%?12?% %?60?% %?12?% 0}.form .checkbox-group .checkbox-item .icon-checkbox[data-v-d66f974e]{margin-right:%?12?%}.form .btn-upload[data-v-d66f974e]{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-d66f974e]{font-size:%?40?%}.form .zjpic[data-v-d66f974e]{position:relative;width:%?200?%;height:%?130?%}.form .zjpic uni-image[data-v-d66f974e]{display:block;width:100%;height:100%;border-radius:%?10?%}.form .zjpic[data-v-d66f974e]: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-d66f974e]{background:url('+s+") no-repeat;background-size:cover;position:absolute;width:%?42?%;height:%?42?%;right:%?-20?%;top:%?-20?%;z-index:1}.form .intput-area[data-v-d66f974e]{display:flex;justify-content:space-between;align-items:center;font-size:%?20?%}.form .intput-area uni-input[data-v-d66f974e]{font-size:%?30?%;flex:1}.form .form-item.vertical[data-v-d66f974e]{flex-direction:column;align-items:flex-start}.form .form-item.vertical .label[data-v-d66f974e]{padding-bottom:%?32?%}.form .no-sign[data-v-d66f974e]{background-color:#ededed;line-height:%?308?%;text-align:center;width:%?686?%;color:#999;border-radius:%?20?%}.form .signed[data-v-d66f974e]{height:%?308?%;width:%?686?%;background-color:#ededed}.form .content uni-picker[data-v-d66f974e]{flex:1}.form .content .picker[data-v-d66f974e]{white-space:nowrap;overflow:hidden;width:60vw;text-overflow:ellipsis}.form .content.pay-pics[data-v-d66f974e]{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.form .content.pay-pics .zjpic[data-v-d66f974e]{margin-right:%?20?%;margin-bottom:%?20?%}.form .form-item.disabled .content[data-v-d66f974e]{opacity:.4}.form .form-item.disabled .icon-del[data-v-d66f974e]{display:none}.bt-fixed[data-v-d66f974e]{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-d66f974e]{padding:0 %?85?%}.bt-fixed .button[data-v-d66f974e]{line-height:%?80?%;border-radius:%?56?%;box-sizing:border-box;margin:0 %?16?%;flex:1}.h3[data-v-d66f974e]{color:#00ab78;margin-bottom:%?32?%;display:block;padding-left:%?32?%}.card-wrapper[data-v-d66f974e]{padding:0!important;background-color:#efefef}.card-wrapper .card[data-v-d66f974e]{border-radius:%?20?%;padding:%?32?%;display:flex;flex-direction:column}.card-wrapper .card .h3[data-v-d66f974e]{margin-bottom:%?20?%;padding-left:0}.card-wrapper .card uni-text[data-v-d66f974e]{font-size:%?28?%;line-height:%?54?%}",""]),e.exports=t},7821:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"app"},[e.isMobile?[i("v-uni-view",{staticClass:"form"},[e.isup||(!e.source_id||2!=e.is_invite)&&e.source_id?e._e():[i("v-uni-view",{staticClass:"form-item"},[i("v-uni-text",{staticClass:"label"},[e._v("邀请码")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"submit","data-model":"code",placeholder:"请输入邀请码"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleTrim.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.getInfoByCode.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.getInfoByCode.apply(void 0,arguments)}},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}})],1)],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-text",{staticClass:"label"},[e._v("邀请人")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text",disabled:!0,placeholder:"请输入邀请人",value:e.codeInfo.name}})],1)],1)],i("v-uni-view",{staticClass:"form-item hasright",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("入驻类型")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"checkbox-group"},[i("v-uni-view",{staticClass:"checkbox-item",attrs:{"data-type":"1"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeType.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"icon-checkbox",class:1==e.type?"checked":""}),e._v("个人")],1),i("v-uni-view",{staticClass:"checkbox-item",attrs:{"data-type":"2"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeType.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"icon-checkbox",class:2==e.type?"checked":""}),e._v("公司")],1)],1)],1)],1),i("v-uni-view",{staticClass:"form-item",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("证件照片")]),i("v-uni-view",{staticClass:"content"},[e.idcard_front?i("v-uni-view",{staticClass:"zjpic"},[i("v-uni-image",{attrs:{src:e.loc_idcard_front||e.idcard_front,mode:""}}),i("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"idcard_front"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delpic.apply(void 0,arguments)}}})],1):i("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"idcard_front"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadPics.apply(void 0,arguments)}}},[i("v-uni-text",[e._v("+")]),e._v("上传身份证正面")],1)],1),i("v-uni-view",{staticClass:"content"},[e.idcard_back?i("v-uni-view",{staticClass:"zjpic"},[i("v-uni-image",{attrs:{src:e.loc_idcard_back||e.idcard_back,mode:""}}),i("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"idcard_back"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delpic.apply(void 0,arguments)}}})],1):i("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"idcard_back"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadPics.apply(void 0,arguments)}}},[i("v-uni-text",[e._v("+")]),e._v("上传身份证反面")],1)],1)],1),i("v-uni-view",{staticClass:"form-item",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("姓名")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text","data-model":"name",disabled:e.isup,placeholder:"请输入姓名"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleTrim.apply(void 0,arguments)}},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1)],1),i("v-uni-view",{staticClass:"form-item",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("身份证号")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text","data-model":"idcard",disabled:e.isup,placeholder:"请输入身份证号"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleTrim.apply(void 0,arguments)}},model:{value:e.idcard,callback:function(t){e.idcard=t},expression:"idcard"}})],1)],1),2==e.type?[i("v-uni-view",{staticClass:"form-item",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("公司全称")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text","data-model":"company_name",disabled:e.isup,placeholder:"请输入公司全称"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleTrim.apply(void 0,arguments)}},model:{value:e.company_name,callback:function(t){e.company_name=t},expression:"company_name"}})],1)],1),i("v-uni-view",{staticClass:"form-item",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("营业编号")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text",disabled:e.isup,placeholder:"请输入营业编号"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleCompanyNumber.apply(void 0,arguments)}},model:{value:e.company_number,callback:function(t){e.company_number=t},expression:"company_number"}})],1)],1),i("v-uni-view",{staticClass:"form-item",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("营业执照")]),i("v-uni-view",{staticClass:"content"},[e.company_pic?i("v-uni-view",{staticClass:"zjpic"},[i("v-uni-image",{attrs:{src:e.loc_company_pic||e.company_pic,mode:""}}),i("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"company_pic"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delpic.apply(void 0,arguments)}}})],1):i("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"company_pic"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadPics.apply(void 0,arguments)}}},[i("v-uni-text",[e._v("+")]),e._v("上传营业执照")],1)],1)],1)]:e._e(),i("v-uni-view",{staticClass:"form-item",class:e.isup?"disabled":""},[i("v-uni-text",{staticClass:"label"},[e._v("手机号")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"number","data-model":"mobile",disabled:e.isup,placeholder:"请输入手机号"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleTrim.apply(void 0,arguments)}},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}})],1)],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-text",{staticClass:"label"},[e._v("验证码")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"intput-area"},[i("v-uni-input",{attrs:{type:"number","data-model":"mcode",maxlength:"4",placeholder:"请输入验证码"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleTrim.apply(void 0,arguments)}},model:{value:e.mcode,callback:function(t){e.mcode=t},expression:"mcode"}}),e.mobileValiting?e._e():i("v-uni-text",{staticClass:"enable",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.getCode.apply(void 0,arguments)}}},[e._v("获取验证码")]),e.mobileValiting?i("v-uni-text",{staticClass:"disabled"},[e._v("重新发送("+e._s(e.timelimit)+")")]):e._e()],1)],1)],1),i("v-uni-view",{staticClass:"form-item hasright"},[i("v-uni-text",{staticClass:"label"},[e._v("代理类型")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"checkbox-group"},e._l(e.roles,(function(t,a){return i("v-uni-view",{key:a,staticClass:"checkbox-item",attrs:{"data-index":a},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeRoleIndex.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"icon-checkbox",class:e.roleIndex==a?"checked":""}),e._v(e._s(t.name))],1)})),1)],1)],1),i("v-uni-view",{staticClass:"form-item hasright"},[i("v-uni-text",{staticClass:"label"},[e._v("注册区域")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-picker",{attrs:{mode:"multiSelector",value:e.areasIndex,"range-key":"name",range:e.areas},on:{columnchange:function(t){arguments[0]=t=e.$handleEvent(t),e.bindMultiPickerColumnChange.apply(void 0,arguments)},change:function(t){arguments[0]=t=e.$handleEvent(t),e.multChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"picker"},[e._l(e.areas,(function(t,i){return i<3?[e._v(e._s(e.areas[i]&&e.areas[i][e.areasIndex[i]]&&e.areas[i][e.areasIndex[i]].name)),i<e.areas.length-1?[e._v(",")]:e._e()]:e._e()}))],2)],1),i("v-uni-view",{staticClass:"btn-address"},[i("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1),e.roleDeep>3?i("v-uni-view",{staticClass:"form-item hasright"},[i("v-uni-text",{staticClass:"label"},[e._v("注册街道")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-picker",{attrs:{value:e.streetIndex,"range-key":"name",range:e.streetAreas},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindStreetChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"picker"},[e._v(e._s(e.streetAreas[e.streetIndex]&&e.streetAreas[e.streetIndex].name))])],1),i("v-uni-view",{staticClass:"btn-address"},[i("v-uni-text",{staticClass:"icon-arrow-right"})],1)],1)],1):e._e(),1==e.pay_type?[i("v-uni-view",{staticClass:"form-item hasright"},[i("v-uni-text",{staticClass:"label"},[e._v("待支付金额")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",[e._v(e._s(e.price_str))])],1)],1)]:e._e(),2==e.pay_type?[i("v-uni-view",{staticClass:"form-item hasright"},[i("v-uni-text",{staticClass:"label"},[e._v("应付款金额")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",[e._v(e._s(e.price_str))])],1)],1)]:e._e(),i("v-uni-view",{staticClass:"form-item hasright"},[i("v-uni-text",{staticClass:"label"},[e._v("付款方式")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"checkbox-group"},[i("v-uni-view",{staticClass:"checkbox-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.pay_type=2}}},[i("v-uni-text",{staticClass:"icon-checkbox",class:2==e.pay_type?"checked":""}),e._v("转账汇款")],1)],1)],1)],1),2==e.pay_type?i("v-uni-view",{staticClass:"card-wrapper form-item"},[i("v-uni-view",{staticClass:"card"},[i("v-uni-text",{staticClass:"h3"},[e._v("转账至以下账户")]),i("v-uni-text",[e._v(e._s(e.config.bank_user)+"\n\t\t\t\t\t"+e._s(e.config.bank_name)+"\n\t\t\t\t\t"+e._s(e.config.bank_card))])],1)],1):e._e(),2==e.pay_type?[i("v-uni-view",{staticClass:"form-item vertical"},[i("v-uni-text",{staticClass:"label"},[e._v("打款凭证")]),i("v-uni-view",{staticClass:"content pay-pics"},[e.pay_pic.length?e._l(e.pay_pic,(function(t,a){return i("v-uni-view",{key:a,staticClass:"zjpic"},[i("v-uni-image",{attrs:{src:e.loc_pay_pic[a]||e.pay_pic[a],mode:""}}),i("v-uni-text",{staticClass:"icon-del",attrs:{"data-type":"pay_pic","data-index":a},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.delPaypic.apply(void 0,arguments)}}})],1)})):e._e(),e.pay_pic.length<12?i("v-uni-view",{staticClass:"btn-upload",attrs:{"data-type":"pay_pic"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadPayPics.apply(void 0,arguments)}}},[i("v-uni-text",[e._v("+")]),e._v("上传打款凭证")],1):e._e()],2)],1)]:e._e(),1==e.config.is_shou?[i("v-uni-view",{staticClass:"form-item"},[i("v-uni-text",{staticClass:"label"},[e._v("收款账户名")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入收款账户名"},model:{value:e.bank_username,callback:function(t){e.bank_username=t},expression:"bank_username"}})],1)],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-text",{staticClass:"label"},[e._v("收款开户行")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入收款开户行"},model:{value:e.bank_name,callback:function(t){e.bank_name=t},expression:"bank_name"}})],1)],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-text",{staticClass:"label"},[e._v("收款账号")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入收款账号"},model:{value:e.bank_account,callback:function(t){e.bank_account=t},expression:"bank_account"}})],1)],1)]:e._e()],2),i("v-uni-view",{staticClass:"bt-fixed"},[i("v-uni-view",{staticClass:"button",class:e.valited?"":"gray",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("确认")])],1)]:[i("v-uni-view",{staticClass:"tipmsg"},[e._v("请使用手机打开本页面")])]],2)},n=[]},d173:function(e,t,i){"use strict";i.r(t);var a=i("7821"),n=i("426e");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("d703"),i("f62c");var s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d66f974e",null,!1,a["a"],void 0);t["default"]=d.exports},d703:function(e,t,i){"use strict";var a=i("f217"),n=i.n(a);n.a},df59:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAr9JREFUWEfFlztoFFEUhr+/SRMCabZwbayEmEaJBiyCWliJdj4aJU3WF/hYELQIiZWCwRhBVzeptFHTKVYS1MpCFxdCtjAETOEKsU595A4zyyaZx51ZwQvLMHvvf853z9w554woMMysBAwD+0J5C1iR9CevOfkKzOw0cBg4AexN0P0A3gNfJC362M4EMLPjwC3AXfOMD8ADSe6aOFIBzGwWuJHHa8zaR5JuJtlIBDCz78D+Hp1H8qakA3G2YgHM7BdQ/kfOIzNtSbu329wBYGYPgcSQ9Qg1K6nabWMLgJlVgOc9OsmSX5RUjxZtB/gGjGRZ6HG+IengDoCs3ddqNUZHRxkZSedrNBosLy8zPj6extmJQicCZvYROBqn2tzcZGZmhna7TaVSSYRwzuv1OuVymWq1ysDAQBLEJ0nH3GQAYGYupa6kITvn8/PziRDdzicmJgKIjDEsqRUBTANTWYokiALOnau7kqYjgCfAlSwAN78dwv0Xhd1z55Gbp5KuRgBvAFdsvEY3hBO4cOd07mSLks5EAIkHMIkognDzBZw7WXAQI4BXwFmv7QPr6+tB2Pv6+jqSAhCvJZ2LAOaAaz4Aq6urwdvQ398f7NwNd18gEo8lXY8ALgG1LIBWqxU4Gxwc3BL2go/jsqRnEcAud8DTAJrNJgsLC5RKpdhnXgCiLOl3dyZ8C5yMg9jY2GBycjLztHdDTE2lppV3kk51MmGYDVMr4dLSEkNDQ5kZzkGsra0xNjaWFtCdtSCE+H/V0CcKWYfUcz65HwghXgDnPY3lXfZS0oVuUVJPmDszepB0SnAmQBiJe8BtD8M+S+5LuhO3MOu7wKtMZxAEZTdpjc+XkevB3CvqfnmGazzrkhppokyASGxme8KW7QhwKPw47bbtOqqvwOew0v30ofUGiDMWtnK41srHWe4zUNRoHt1fadUvME6FRS4AAAAASUVORK5CYII="},f217:function(e,t,i){var a=i("07ee");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("b800a6ba",a,!0,{sourceMap:!1,shadowMode:!1})},f62c:function(e,t,i){"use strict";var a=i("3ccc"),n=i.n(a);n.a}}]);