Commit aaafc4c2 authored by April's avatar April

Merge branch 'master' of http://120.77.240.215:9701/limeimei/sim

parents 0b7390d2 f299acd6
Pipeline #1976 canceled with stages
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
}, },
created() { created() {
AppInterface.readIdCard();
}, },
methods: { methods: {
toBack() { toBack() {
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
</div> </div>
</div> </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> </div>
<button @click="toNext">下一步</button> <button @click="toNext">下一步</button>
...@@ -59,6 +59,10 @@ ...@@ -59,6 +59,10 @@
this.$router.push({ name: "success" }); this.$router.push({ name: "success" });
}, },
cardVerify(num) {
AppInterface.photoVerify(num);
},
yueJuCode() { AppInterface.yueJuCode() },
} }
} }
</script> </script>
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<div class="card_left"> <div class="card_left">
<div class="return_btn"><el-button v-show="this.type==0" @click="toBack">返回上一步</el-button></div> <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>
<div class="card_item"><span class="card_item_span">姓名:</span> <div class="card_item"><span class="card_item_span">姓名:</span>
<el-input v-model="vform.name"></el-input> <el-input v-model="vform.name"></el-input>
...@@ -76,6 +77,9 @@ ...@@ -76,6 +77,9 @@
this.$router.push({ name: "authentify", params: { title: '实名认证', } }); this.$router.push({ name: "authentify", params: { title: '实名认证', } });
}, },
openCamera() {
AppInterface.openCamera(1);
}
} }
} }
</script> </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