电话咨询
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
</view>
|
||||
<view v-else class="page">
|
||||
<view class="container">
|
||||
<text class="title">设备预览</text>
|
||||
<text class="title">{{ pageTitle }}</text>
|
||||
<text class="subtitle">{{ modeLabel }},确认设备和显示名称后加入会议</text>
|
||||
|
||||
<view class="content">
|
||||
@@ -131,6 +131,8 @@ const initializing = ref(true)
|
||||
const autoJoinError = ref('')
|
||||
let autoJoinWatchdog = null
|
||||
|
||||
const isCloudLaw = computed(() => isCloudLawEmbed() && isCloudLawLawRole(cloudLawRole.value))
|
||||
const pageTitle = computed(() => isCloudLaw.value ? '用户视频咨询' : '设备预览')
|
||||
const modeLabel = computed(() => mode.value === 'create' ? '即将创建新会议' : `即将加入会议 ${joinCode.value}`)
|
||||
|
||||
const videoBox = ref(null)
|
||||
@@ -496,6 +498,11 @@ onLoad(async (query) => {
|
||||
joinCode.value = query?.code || ''
|
||||
cloudLawRole.value = query?.cloudLawRole || query?.cloud_law_role || ''
|
||||
cloudLawCallId.value = query?.callId || query?.call_id || ''
|
||||
if (isCloudLaw.value) {
|
||||
try {
|
||||
uni.setNavigationBarTitle({ title: '用户视频咨询' })
|
||||
} catch (e) {}
|
||||
}
|
||||
autoJoin.value = query?.autoJoin === '1' || query?.autoJoin === 'true' || query?.autoJoin === true
|
||||
// #ifdef H5
|
||||
if (String(cloudLawRole.value).toLowerCase() === 'law') {
|
||||
|
||||
Reference in New Issue
Block a user