123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>职级说明-个人中心-创业帮</title>
- <meta name="keywords" content="职级说明-个人中心-创业帮">
- <meta name="description" content="职级说明-个人中心-创业帮">
- <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,shrink-to-fit=no,user-scalable=no" name="viewport" viewport="cover">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <meta content="telephone=no" name="format-detection">
- <meta content="email=no" name="format-detection">
- <meta name="apple-mobile-web-app-title" content="职级说明-个人中心-创业帮">
- <meta http-equiv="Cache-Control" content="no-siteapp">
- <link rel="stylesheet" href="./static/css/main.css">
- </head>
- <body class="finishrealname pt0 ovh" style="padding-top:0;">
- <div id="app" style="padding:none;" v-cloak>
- <van-nav-bar class="user_rank_explan_title user_finish_realname_title" left-arrow @click-left="goback" v-if="toptitleisshow">
- <template #left> <img src="./static/images/left.png" alt=""></template>
- </van-nav-bar>
- <div class="finishrealname_main">
- <div class="title c333 f24 b">实名认证</div>
- <div class="tips c999 f12" v-if="isrealauth">您已完成实名认证</div>
- <div class="tips c999 f12 unrealauth" v-else>提示:为保障创客权益及平台公正性,请补充身份证照片以及结算卡照片信息</div>
- <div class="cell">
- <div class="row df f14">
- <div class="item c999">姓名:</div>
- <div class="info c333">{{name}}</div>
- </div>
- <div class="row df f14">
- <div class="item c999">手机号:</div>
- <div class="info c333">{{phonenumber}}</div>
- </div>
- <div class="row df f14">
- <div class="item c999">身份证号:</div>
- <div class="info c333">{{IDcardnumber}}</div>
- </div>
- <div class="row df f14">
- <div class="item c999">结算卡号:</div>
- <div class="info c333">{{settlementnumber}}</div>
- </div>
- </div>
- </div>
- <div class="pt16 pl16 pr16 bc333">
- <van-button class="border_radius8" v-if="!isrealauth" type="primary" block color="#FFD500" @click="surebtn">开始上传</van-button>
- </div>
- <div class="careful abs f12 c999"> 注意:用户年龄必须18-60周岁</div>
- </div>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/appfunc.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script src="./static/js/publicfn.js"></script>
- <script>
- function OnStart(){
- app.getuserinfo();
- };
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- toptitleisshow:false,
- name:"",
- phonenumber:"",
- IDcardnumber:"",
- settlementnumber:"",
- isrealauth:true,
- };
- },
- created() {
- this.toptitleisshow = toptitleisshow;
- this.getuserinfo();
- },
- methods: {
- async getuserinfo(){
- //- 获取用户ID
- const Id = PublicLib.getCookieInfo('userId');
- const userinfo = await getRequest('api/v1/users/personalinfo?t='+Math.random(6),JSON.stringify({Id}));
- //- 是否实名认证完毕
- this.isrealauth = userinfo.data.AuthFlag;
- if(Id === '14'){
- this.isrealauth = false;
- };
- //- 实名认证四要素
- const res = await getRequest('api/v1/users/authinfo?t='+Math.random(6),JSON.stringify({Id}));
- this.name = res.data.RealName;
- this.phonenumber = hidemiddlenum(res.data.Mobile,3,4);
- this.IDcardnumber = hidemiddlenum(res.data.CertId,3,4);
- this.settlementnumber = hidemiddlenum(res.data.SettleBankCardNo,4,4);
- },
- backrank(){
- this.$refs.back.click();
- },
- surebtn(){
- PublicLib.Goto({Url:'user-realauth'});
- },
- goback(){
- PublicLib.GoBack({Level:1});
- }
- }
- });
- </script>
- </body>
- </html>
|