Commit 5b893edd authored by limeimei's avatar limeimei

2

parent bf66fcab
Pipeline #1984 canceled with stages
......@@ -11,7 +11,7 @@
<div class="auth_center" v-if="type=2">
<div class="auth_center" v-if="this.type===2">
<img src="" class="auth_img">
<div class="auth_right">
<div>姓名:<span style="color: #666666;">{{info.name}}</span></div>
......@@ -32,7 +32,7 @@
</div>
</div>
<div style="margin-top: 50px;"><el-button type="primary" @click="toNext">下一步</el-button>
<div style="margin-top: 30px;"><el-button type="primary" @click="toNext">下一步</el-button>
</div>
</div>
......@@ -55,14 +55,16 @@
},
created() {
this.type = this.$route.params.type;
// alert(this.type)
var info = this.$route.params.info;
if (info) {
info = JSON.parse(info);
this.info = info;
}
this.type = this.$route.params.type;
// alert(this.type)
},
methods: {
toBack() {
......@@ -87,7 +89,7 @@
.reserved {
width: 100%;
/* height: 650px; */
height: 670px;
box-sizing: border-box;
......
......@@ -66,7 +66,7 @@
var res = AppInterface.readIdCard();
if (res) {
alert(res)
// alert(res)
res = JSON.parse(res);
if (res.error == 0) {
if (res.data.nation) {
......
......@@ -2,8 +2,8 @@
<div class="reserved">
<div class="card_content">
<div class="card_top">
<div><el-button @click="toBack">返回上一步</el-button>
</div>
<!-- <div><el-button @click="toBack">返回上一步</el-button>
</div> -->
</div>
<div class="card_body">
......
......@@ -42,7 +42,7 @@
this.$router.go(-1);
},
takephoto() {
return
// return
var res = AppInterface.captureAvatar();
if (res) {
res = JSON.parse(res);
......
......@@ -33,7 +33,7 @@
if (this.$route.params.vform)
this.vform = this.$route.params.vform
alert(this.vform)
// alert(this.vform)
return
this.type = this.$route.params.type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment