Commit 5b893edd authored by limeimei's avatar limeimei

2

parent bf66fcab
Pipeline #1984 canceled with stages
...@@ -11,7 +11,7 @@ ...@@ -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"> <img src="" class="auth_img">
<div class="auth_right"> <div class="auth_right">
<div>姓名:<span style="color: #666666;">{{info.name}}</span></div> <div>姓名:<span style="color: #666666;">{{info.name}}</span></div>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</div> </div>
</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>
</div> </div>
...@@ -55,14 +55,16 @@ ...@@ -55,14 +55,16 @@
}, },
created() { created() {
this.type = this.$route.params.type;
// alert(this.type)
var info = this.$route.params.info; var info = this.$route.params.info;
if (info) { if (info) {
info = JSON.parse(info); info = JSON.parse(info);
this.info = info; this.info = info;
} }
this.type = this.$route.params.type;
// alert(this.type)
}, },
methods: { methods: {
toBack() { toBack() {
...@@ -87,7 +89,7 @@ ...@@ -87,7 +89,7 @@
.reserved { .reserved {
width: 100%; width: 100%;
/* height: 650px; */ height: 670px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
var res = AppInterface.readIdCard(); var res = AppInterface.readIdCard();
if (res) { if (res) {
alert(res) // alert(res)
res = JSON.parse(res); res = JSON.parse(res);
if (res.error == 0) { if (res.error == 0) {
if (res.data.nation) { if (res.data.nation) {
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<div class="reserved"> <div class="reserved">
<div class="card_content"> <div class="card_content">
<div class="card_top"> <div class="card_top">
<div><el-button @click="toBack">返回上一步</el-button> <!-- <div><el-button @click="toBack">返回上一步</el-button>
</div> </div> -->
</div> </div>
<div class="card_body"> <div class="card_body">
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
this.$router.go(-1); this.$router.go(-1);
}, },
takephoto() { takephoto() {
return // return
var res = AppInterface.captureAvatar(); var res = AppInterface.captureAvatar();
if (res) { if (res) {
res = JSON.parse(res); res = JSON.parse(res);
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
if (this.$route.params.vform) if (this.$route.params.vform)
this.vform = this.$route.params.vform this.vform = this.$route.params.vform
alert(this.vform) // alert(this.vform)
return return
this.type = this.$route.params.type 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