|
@@ -58,6 +58,9 @@
|
|
<view>
|
|
<view>
|
|
<cameraCommon ref="cameraCommonRef"></cameraCommon>
|
|
<cameraCommon ref="cameraCommonRef"></cameraCommon>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view>
|
|
|
|
+ <shexiangtoushuoming ref="shexiangtoushuomingRef" :content="messageContent" title="注意" okBtn="知道了"></shexiangtoushuoming>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -67,6 +70,7 @@
|
|
import {getMineInfo} from '@/api/my.js'
|
|
import {getMineInfo} from '@/api/my.js'
|
|
import {onLoad,onShow} from '@dcloudio/uni-app';
|
|
import {onLoad,onShow} from '@dcloudio/uni-app';
|
|
import cameraCommon from "@/components/dialog/cameraCommon.vue";
|
|
import cameraCommon from "@/components/dialog/cameraCommon.vue";
|
|
|
|
+ import shexiangtoushuoming from "@/components/dialog/shexiangtoushuoming.vue";
|
|
let myInfoData = reactive({
|
|
let myInfoData = reactive({
|
|
userImg: '',
|
|
userImg: '',
|
|
realName: '',
|
|
realName: '',
|
|
@@ -79,6 +83,8 @@
|
|
|
|
|
|
});
|
|
});
|
|
const cameraCommonRef = ref(null)
|
|
const cameraCommonRef = ref(null)
|
|
|
|
+ const shexiangtoushuomingRef = ref(null)
|
|
|
|
+ const messageContent = ref('请在考试前使用摄像头测试功能,测试摄像头是否可以正常工作,在测试前请先确保摄像头设备可以正常使用.')
|
|
onLoad(() => {})
|
|
onLoad(() => {})
|
|
|
|
|
|
onShow(() => {getMyInit()})
|
|
onShow(() => {getMyInit()})
|
|
@@ -147,9 +153,7 @@
|
|
|
|
|
|
// 摄像头说明
|
|
// 摄像头说明
|
|
case 'sxtsm':
|
|
case 'sxtsm':
|
|
- uni.navigateTo({
|
|
|
|
- url:'/pages/admin/my/myInfo?from=my'
|
|
|
|
- })
|
|
|
|
|
|
+ shexiangtoushuomingRef.value.handleShow()
|
|
break;
|
|
break;
|
|
|
|
|
|
// 设置
|
|
// 设置
|