pages-real-name-auth-real-name-auth.d5b97c8f.js 25 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-real-name-auth-real-name-auth"],{"0287":function(t,e,i){"use strict";i("a9e3"),i("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("6257"),a={data:function(){return{tabType:0,front:"/static/imgs/shop/card_front.png",otherSide:"/static/imgs/shop/card_reverse.png",countDown:0,params:{phone:"",phone_code:"",idCard:"",name:"",card_name:"",card_no:"",store_id:""},isEdit:!1}},onLoad:function(t){t.authType&&(this.tabType=t.authType),this.params.store_id=uni.getStorageSync("store")},methods:{cutTab:function(t){this.tabType=t},getCode:function(){var t=this,e=this;return e.countDown?(uni.showModal({content:"验证码已发送,请稍后重试",showCancel:!1}),!1):e.params.phone?void(0,n.sendSms)({phone:e.params.phone,type:"card"}).then((function(e){if(200!=e.code)return t.isEdit=!0,uni.showModal({content:e.data||"获取验证码失败",showCancel:!1}),!1;200==e.code&&(uni.showModal({content:"验证码发送成功",showCancel:!1}),t.countDown=60,t.timer=setInterval((function(){t.countDown--,t.countDown||(t.countDown=0,clearInterval(t.timer))}),1e3))})).finally((function(){t.isEdit=!0})):(uni.showModal({content:"请输入手机号",showCancel:!1}),!1)},getPhoto:function(t){var e=this;uni.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:function(i){var n=i.tempFilePaths;uni.showLoading({title:"图片上传中..."}),uni.uploadFile({url:"http://api.woaidakele.cn/api/store/upload_cert_img",filePath:n[0],name:"img",formData:{type:0==t?1:2},header:{Authorization:"Bearer "+uni.getStorageSync("token")},success:function(i){var a=JSON.parse(i.data);if(450001==Number(a.code)||500==Number(a.status_code))return uni.showModal({content:a.message||"上传失败",showCancel:!1}),!1;0==t?(e.front=n[0],e.params.card_name=a.data.Name,e.params.card_no=a.data.IdNum):e.otherSide=n[0],uni.hideLoading()},fail:function(t){uni.showModal({content:"上传身份证照片失败,请重试",showCancel:!1})},complete:function(){uni.hideLoading()}})}})},subAuth:function(){var t=this.params,e=t.name,i=t.phone,a=t.phone_code,o=t.idCard,r=t.card_name,s=t.card_no,d=t.store_id;return e?11!=i.length?(uni.showModal({content:"手机号格式不正确",showCancel:!1}),!1):6!=a.length?(uni.showModal({content:"验证码格式不正确",showCancel:!1}),!1):18!=o.length?(uni.showModal({content:"身份证格式不正确",showCancel:!1}),!1):r?"/static/imgs/shop/card_reverse.png"==this.otherSide?(uni.showModal({content:"请上传身份证反面照片",showCancel:!1}),!1):void(0,n.storeAuth)({name:e,phone:i,phone_code:a,idCard:o,card_name:r,card_no:s,store_id:d}).then((function(t){200==t.code?uni.showModal({content:"认证成功",showCancel:!1,success:function(t){t.confirm&&uni.reLaunch({url:"../shop/shop"})}}):uni.showModal({content:t.data||"认证失败,请重新认证",showCancel:!1})})):(uni.showModal({content:"请上传身份证正面照片",showCancel:!1}),!1):(uni.showModal({content:"姓名格式不正确",showCancel:!1}),!1)}}};e.default=a},"29e5":function(t,e,i){"use strict";i.r(e);var n=i("de17"),a=i("a9d0");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("6fe6");var r,s=i("f0c5"),d=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"13f013d2",null,!1,n["a"],r);e["default"]=d.exports},"5af6":function(t,e,i){t.exports=i.p+"static/img/face.444a7743.png"},6257:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.pickUp=e.getLogs=e.addLogs=e.getLogsCode=e.getScanUser=e.getBuyUser=e.getUserInfo=e.loginTest=e.replyCommet=e.getComment=e.getStoreUser=e.replaceOrder=e.getOrderList=e.orderQuery=e.getOrderInfo=e.getAds=e.addAds=e.setDefault=e.getUserPhone=e.getAllAds=e.deleteAds=e.updateAds=e.getSku=e.shareGoods=e.getGoodsList=e.shareStore=e.uploadImg=e.editPhone=e.checkPhone=e.sendSms=e.editName=e.getStoreInfo=e.uploadCard=e.getAgree=e.agentInfo=e.storeAuth=void 0;var a=n(i("2ef8")),o=function(t){return a.default.post("/store/cert_store",t)};e.storeAuth=o;var r=function(t){return a.default.get("/store/get_agent_info",t)};e.agentInfo=r;var s=function(t){return a.default.post("/store/set_agree",t)};e.getAgree=s;var d=function(t){return a.default.post("/store/upload_cert_img",t)};e.uploadCard=d;var c=function(t){return a.default.get("/store/get_store_info",t)};e.getStoreInfo=c;var l=function(t){return a.default.post("/store/edit_store_info",t)};e.editName=l;var f=function(t){return a.default.get("/store/send_sms",t)};e.sendSms=f;var u=function(t){return a.default.post("/store/check_sms",t)};e.checkPhone=u;var b=function(t){return a.default.post("/store/edit_sms",t)};e.editPhone=b;var g=function(t){return a.default.get("/store/upload_store_img",t)};e.uploadImg=g;var w=function(t){return a.default.post("/store/share_store",t)};e.shareStore=w;var p=function(t){return a.default.get("/store_goods/get_goods_list",t)};e.getGoodsList=p;var v=function(t){return a.default.get("/store_goods/share_goods",t)};e.shareGoods=v;var h=function(t){return a.default.get("/store_goods/get_goods_taps",t)};e.getSku=h;var m=function(t){return a.default.post("/store/update_address",t)};e.updateAds=m;var x=function(t){return a.default.post("/store/destroy_address",t)};e.deleteAds=x;var k=function(t){return a.default.get("/store/get_all_address",t)};e.getAllAds=k;var _=function(t){return a.default.get("/store/get_user_info",t)};e.getUserPhone=_;var y=function(t){return a.default.post("/store/set_default_address",t)};e.setDefault=y;var C=function(t){return a.default.post("/store/add_address",t)};e.addAds=C;var z=function(t){return a.default.get("/store/get_address",t)};e.getAds=z;var j=function(t){return a.default.get("/store/get_order_info",t)};e.getOrderInfo=j;var S=function(t){return a.default.get("/store/get_order_no_info",t)};e.orderQuery=S;var A=function(t){return a.default.get("/store/get_order_list",t)};e.getOrderList=A;var M=function(t){return a.default.post("/store/submit_order_info",t)};e.replaceOrder=M;var T=function(t){return a.default.get("/store_goods/get_store_user",t)};e.getStoreUser=T;var I=function(t){return a.default.get("/store/get_comment",t)};e.getComment=I;var L=function(t){return a.default.post("/store/add_comment",t)};e.replyCommet=L;var P=function(t){return a.default.get("/set_login",t)};e.loginTest=P;var E=function(t){return a.default.get("/store/get_user_data_info",t)};e.getUserInfo=E;var U=function(t){return a.default.get("/store/get_more_buy",t)};e.getBuyUser=U;var D=function(t){return a.default.get("/store/get_more_scan",t)};e.getScanUser=D;var $=function(t){return a.default.get("/store/get_express_code",t)};e.getLogsCode=$;var O=function(t){return a.default.post("/store/add_order_express_no",t)};e.addLogs=O;var B=function(t){return a.default.get("/store/get_order_express",t)};e.getLogs=B;var N=function(t){return a.default.post("/store/one_self_take",t)};e.pickUp=N},"6fe6":function(t,e,i){"use strict";var n=i("7a45"),a=i.n(n);a.a},"7a45":function(t,e,i){var n=i("bea8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("50e7c0de",n,!0,{sourceMap:!1,shadowMode:!1})},a9d0:function(t,e,i){"use strict";i.r(e);var n=i("0287"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},bea8:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-13f013d2]{margin-top:%?10?%}.app-item uni-input[data-v-13f013d2], .app-item uni-picker[data-v-13f013d2], .app-item uni-textarea[data-v-13f013d2]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-13f013d2]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-13f013d2]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-13f013d2]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-13f013d2]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-13f013d2]{color:#fff;background:#f76454}.small-btn[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-13f013d2]{color:#999;border-color:#999}.login-btn[data-v-13f013d2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-13f013d2]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-13f013d2]{margin-right:%?20?%}.border-right[data-v-13f013d2]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-13f013d2]{margin-right:%?6?%}.position-center[data-v-13f013d2]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-13f013d2]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-13f013d2]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-13f013d2]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-13f013d2]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-13f013d2]{color:#f76454}.swiper-nav[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-13f013d2]{color:#f76454}.swiper-nav .moveBar[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-13f013d2]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-13f013d2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-13f013d2]{width:100%;height:100%}.article-header[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-13f013d2]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-13f013d2]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-13f013d2]{color:#f76454}.article-footer[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-13f013d2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-13f013d2]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-13f013d2]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-13f013d2]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\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/* 文章场景相关 */.auth_bg uni-image[data-v-13f013d2]{width:100%;height:%?190?%}.auth_detail[data-v-13f013d2]{margin-top:%?-50?%;position:relative;background:#fff;border-radius:%?24?% %?24?% %?24?% %?24?%}.auth_detail .auth_tab[data-v-13f013d2]{padding:%?20?% 0 %?20?% %?30?%}.auth_detail .auth_tab uni-view[data-v-13f013d2]{font-size:%?28?%;color:#999;margin-right:%?15?%}.auth_detail .auth_tab .active[data-v-13f013d2]{font-size:%?32?%;font-weight:700;color:#333}.auth_detail .auth_tab .active.active[data-v-13f013d2]::after{content:"";display:block;width:%?42?%;height:%?8?%;background:-webkit-linear-gradient(309deg,#f97c55,#f44545);background:linear-gradient(141deg,#f97c55,#f44545);opacity:1;border-radius:%?4?%;margin-left:40%;margin-top:%?5?%}.top[data-v-13f013d2]{margin-top:%?40?%}.top .title > uni-view[data-v-13f013d2]:first-child{font-size:%?56?%;font-weight:700}.top .title uni-text[data-v-13f013d2]{font-size:%?28?%}.top .auth_state[data-v-13f013d2]{margin-left:%?180?%;width:%?176?%;text-align:center;line-height:%?60?%;height:%?60?%;background:-webkit-linear-gradient(309deg,#f97c55,#f44545);background:linear-gradient(141deg,#f97c55,#f44545);opacity:1;border-radius:%?36?% 0 0 %?36?%}.top .auth_state uni-text[data-v-13f013d2]{color:#fff}.top .auth_state .iconfont[data-v-13f013d2]{font-size:%?35?%;margin-right:%?5?%}.auth_con[data-v-13f013d2]{width:%?690?%;margin:0 auto}.auth_con .auth_inp[data-v-13f013d2]{margin-top:%?44?%}.auth_con .auth_inp .label[data-v-13f013d2]{font-size:%?32?%;font-weight:700;margin-top:%?20?%}.auth_con .auth_inp .label uni-text[data-v-13f013d2]:last-child{color:red}.auth_con .auth_inp uni-input[data-v-13f013d2]{border-bottom:%?2?% solid #eee;height:%?76?%}.auth_con .auth_inp .place[data-v-13f013d2]{font-size:%?28?%;color:#999}.auth_con .auth_inp .sms_inp[data-v-13f013d2]{border-bottom:%?2?% solid #eee}.auth_con .auth_inp .sms_inp uni-input[data-v-13f013d2]{border-bottom:none;height:%?76?%}.auth_con .hint[data-v-13f013d2]{font-size:%?36?%;font-weight:700;margin:%?20?% 0 %?30?%}.auth_con .card[data-v-13f013d2]{width:%?690?%;height:%?420?%;margin-top:%?30?%}.auth_con .rule[data-v-13f013d2]{width:100%;height:%?140?%}.auth_con .sub_btn[data-v-13f013d2]{margin-bottom:%?70?%}.face_auth .title[data-v-13f013d2]{width:60%;padding-left:%?30?%}.face_auth .face_con[data-v-13f013d2]{padding:0 %?30?%}.face_auth .face_con .face[data-v-13f013d2]{margin:%?80?% 0 %?48?%;text-align:center}.face_auth .face_con .face uni-image[data-v-13f013d2]{width:%?259?%;height:%?247?%}.face_auth .face_con .face uni-view[data-v-13f013d2]{font-size:%?32?%;font-weight:700;margin-top:%?20?%}.face_auth .face_con .face_rule[data-v-13f013d2]{width:100%;height:%?184?%}.face_auth .face_con .notice[data-v-13f013d2]{text-align:center;color:#999;font-size:%?24?%;margin-top:%?30?%}.face_auth .face_con .sub_btn[data-v-13f013d2]{margin-top:%?60?%}',""]),t.exports=e},de17:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"auth"},[n("v-uni-view",{staticClass:"auth_bg"},[n("v-uni-image",{attrs:{src:"/static/imgs/shop/auth_bg2.png"}})],1),n("v-uni-view",{staticClass:"auth_detail"},[n("v-uni-view",{staticClass:"auth_tab flexS"},[n("v-uni-view",{class:0==t.tabType?"active":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cutTab(0)}}},[t._v("身份证认证")]),n("v-uni-view",{class:1==t.tabType?"active":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cutTab(1)}}},[t._v("人脸识别")])],1),0==t.tabType?n("v-uni-view",{staticClass:"id_auth"},[n("v-uni-view",{staticClass:"top flexE"},[n("v-uni-view",{staticClass:"title"},[n("v-uni-view",[t._v("实名认证")]),n("v-uni-view",[n("v-uni-text",[t._v("请使用")]),n("v-uni-text",{staticStyle:{color:"#EA4A41"}},[t._v("本人身份信息")]),n("v-uni-text",[t._v("进行认证")])],1)],1),n("v-uni-view",{staticClass:"auth_state"},[n("v-uni-text",{staticClass:"iconfont iconrenzhengshibai"}),n("v-uni-text",[t._v("未认证")])],1)],1),n("v-uni-view",{staticClass:"auth_con"},[n("v-uni-view",{staticClass:"auth_inp"},[n("v-uni-view",[n("v-uni-view",{staticClass:"label"},[n("v-uni-text",[t._v("姓名")]),n("v-uni-text",[t._v("*")])],1),n("v-uni-input",{attrs:{type:"text",placeholder:"请输入您的姓名","placeholder-class":"place"},model:{value:t.params.name,callback:function(e){t.$set(t.params,"name",e)},expression:"params.name"}})],1),n("v-uni-view",[n("v-uni-view",{staticClass:"label"},[n("v-uni-text",[t._v("身份证号")]),n("v-uni-text",[t._v("*")])],1),n("v-uni-input",{attrs:{type:"number",placeholder:"请输入您的身份证号",maxlength:"18","placeholder-class":"place"},model:{value:t.params.idCard,callback:function(e){t.$set(t.params,"idCard",e)},expression:"params.idCard"}})],1),n("v-uni-view",[n("v-uni-view",{staticClass:"label"},[n("v-uni-text",[t._v("手机号")]),n("v-uni-text",[t._v("*")])],1),n("v-uni-input",{attrs:{type:"text",placeholder:"请输入您的手机号",maxlength:"11","placeholder-class":"place",disabled:t.isEdit},model:{value:t.params.phone,callback:function(e){t.$set(t.params,"phone",e)},expression:"params.phone"}})],1),n("v-uni-view",[n("v-uni-view",{staticClass:"label"},[n("v-uni-text",[t._v("验证码")]),n("v-uni-text",[t._v("*")])],1),n("v-uni-view",{staticClass:"flexB sms_inp"},[n("v-uni-input",{attrs:{type:"number",placeholder:"请输入验证码",maxlength:"6","placeholder-class":"place"},model:{value:t.params.phone_code,callback:function(e){t.$set(t.params,"phone_code",e)},expression:"params.phone_code"}}),n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCode.apply(void 0,arguments)}}},[t._v(t._s(t.countDown?"重新获取("+t.countDown+"s)":"获取验证码"))])],1)],1)],1),n("v-uni-view",{staticClass:"hint"},[t._v("上传并提交您的证件照片")]),n("v-uni-view",[t._v("身份证照片")]),n("v-uni-image",{staticClass:"card",attrs:{src:t.front},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPhoto(0)}}}),n("v-uni-image",{staticClass:"card",attrs:{src:t.otherSide},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPhoto(1)}}}),n("v-uni-view",{staticStyle:{margin:"30rpx 0"}},[t._v("拍照要求")]),n("v-uni-image",{staticClass:"rule",attrs:{src:"/static/imgs/shop/card_rule.png"}}),n("v-uni-view",{staticStyle:{"font-size":"28rpx",color:"#999","text-align":"center",margin:"30rpx 0 60rpx"}},[t._v("照片信息清晰可见,完整无缺失,照片真实严禁经过PS处理")]),n("v-uni-view",{staticClass:"sub_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.subAuth.apply(void 0,arguments)}}},[t._v("提交审核")])],1)],1):t._e(),1==t.tabType?n("v-uni-view",{staticClass:"face_auth"},[n("v-uni-view",{staticClass:"top flexE"},[n("v-uni-view",{staticClass:"title"},[n("v-uni-view",[t._v("人脸验证")]),n("v-uni-view",{staticClass:"gray"},[t._v("人脸认证,保障您的资金安全")])],1),n("v-uni-view",{staticClass:"auth_state"},[n("v-uni-text",{staticClass:"iconfont iconrenzhengshibai"}),n("v-uni-text",[t._v("未识别")])],1)],1),n("v-uni-view",{staticClass:"face_con"},[n("v-uni-view",{staticClass:"face"},[n("v-uni-image",{attrs:{src:i("5af6")}}),n("v-uni-view",[t._v("请根据指示完成人脸识别")])],1),n("v-uni-view",{staticStyle:{"margin-bottom":"15rpx"}},[t._v("拍摄须知")]),n("v-uni-image",{staticClass:"face_rule",attrs:{src:"/static/imgs/shop/face_rule.png"}}),n("v-uni-view",{staticClass:"notice"},[t._v("照片信息清晰可见,完整无缺失,照片真实严禁经过PS处理")]),n("v-uni-view",{staticClass:"sub_btn"},[t._v("开始录入")]),n("v-uni-view",{staticClass:"notice",staticStyle:{"margin-bottom":"50rpx"}},[t._v("系统智能加密,实时保障你的信息安全")])],1)],1):t._e()],1)],1)},o=[]}}]);