pages-dailishang-apply-updateinfo.2a4ae276.js 41 KB

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