12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <!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="bgc-back nopb">
- <div id="app" v-cloak>
- <van-nav-bar class="user_rank_explan_title user_title_normal" left-arrow title="登录密码验证" v-if="toptitleisshow" @click-left="goback">
- <template #left> <img src="./static/images/left.png" alt=""></template>
- </van-nav-bar>
- <div class="verification_title f14 c666 tc">输入登录密码以验证您的身份</div>
- <div class="verification_input pt16 ml16 mr16">
- <input type="password" v-model="inputval">
- </div>
- <div class="pt16 pl16 pr16">
- <van-button class="border_radius8" type="primary" block :disabled="inputval !== '' ? false : true" color="#FF502A" @click="surebtn">确定</van-button>
- </div>
- </div>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script>
- // 通过 CDN 引入时不会自动注册 Lazyload 组件
- // 可以通过下面的方式手动注册
- Vue.use(vant.Lazyload);
-
- // 在 #app 标签下渲染一个按钮组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- toptitleisshow:false,
- inputval:''
- };
- },
- created(){
- this.toptitleisshow = toptitleisshow;
- },
- methods: {
- async surebtn(){
- const Id = PublicLib.getCookieInfo('userId');
- const res = await getRequest('/api/v1/users/checkloginpwd',JSON.stringify({Id,LoginPwd:this.inputval}));
- if(res.status !== '1'){
- this.inputval = '';
- return tips(res.info);
- };
- //- 跳转具体页面
- switch(PublicLib.getCookieInfo("settingto")
- //- PublicLib.getCookieInfo("setpaypwd");
- ){
- case 'changeCheckcard':
- PublicLib.Goto({Url:'user-changebank', Jump: 1});
- break;
- case 'forgetpaypwd':
- PublicLib.Goto({Url:'user-forgetpaypwd', Jump: 1});
- break;
- case 'changephone':
- PublicLib.Goto({Url:'user-changephone', Jump: 1});
- break;
- }
- },
- goback(){
- PublicLib.GoBack({Level:1});
- }
- }
- });
- </script>
- </body>
- </html>
|