|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <Layout @instruct="handleInstruct" @switchCamera="switchCamera()" @takePhoto="takePhoto" >
|
|
|
+ <Layout ref="Layout" @instruct="handleInstruct" @switchCamera="switchCamera()" @takePhoto="takePhoto" >
|
|
|
<camera class="camera" mode="normal" :device-position="device" @error="error"
|
|
|
style="width: 100%; height: 100%;">
|
|
|
<cover-view class="cover-view">
|
|
@@ -63,6 +63,9 @@
|
|
|
// this.coverImage = '/static/images/portrait.jpg'
|
|
|
},
|
|
|
methods: {
|
|
|
+ initShow() {
|
|
|
+ this.$refs.Layout.initShow()
|
|
|
+ },
|
|
|
navTo() {
|
|
|
uni.navigateTo({
|
|
|
url: "/pages_user/tongue/ques"
|