Commit f299acd6 authored by limeimei's avatar limeimei

1

parent 08752d4c
Pipeline #1975 canceled with stages
......@@ -54,6 +54,7 @@
},
created() {
AppInterface.readIdCard();
},
methods: {
toBack() {
......
......@@ -27,9 +27,9 @@
</div>
</div>
</div>
<div style="margin-top:70px;"><el-button type="primary">身份证</el-button>
<div style="margin-top:70px;"><el-button type="primary" @click="cardVerify(1)">身份证</el-button>
<el-button type="primary">粤居码</el-button>
<el-button type="primary" @click="yueJuCode()">粤居码</el-button>
</div>
<button @click="toNext">下一步</button>
......@@ -59,6 +59,10 @@
this.$router.push({ name: "success" });
},
cardVerify(num) {
AppInterface.photoVerify(num);
},
yueJuCode() { AppInterface.yueJuCode() },
}
}
</script>
......
......@@ -4,7 +4,8 @@
<div class="card_left">
<div class="return_btn"><el-button v-show="this.type==0" @click="toBack">返回上一步</el-button></div>
<div class="card_left_c"><img src="@/assets/visitor/camera.png" alt="" class="card_left_img">
<div class="card_left_c" @click="openCamera"><img src="@/assets/visitor/camera.png" alt=""
class="card_left_img">
</div>
<div class="card_item"><span class="card_item_span">姓名:</span>
<el-input v-model="vform.name"></el-input>
......@@ -76,6 +77,9 @@
this.$router.push({ name: "authentify", params: { title: '实名认证', } });
},
openCamera() {
AppInterface.openCamera(1);
}
}
}
</script>
......
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