|
|
@@ -45,8 +45,8 @@
|
|
|
<template #default>
|
|
|
<div class="draCon">
|
|
|
<div class="dratit">
|
|
|
- <div class="tit" :class="[drawertit == 0 ? 'tit2':'']" @click="drawertit = 0">文本</div>
|
|
|
<div class="tit" :class="[drawertit == 1 ? 'tit2':'']" @click="drawertit = 1">文件({{ inst.file && inst.file.length ? inst.file.length : 0 }})</div>
|
|
|
+ <div class="tit" :class="[drawertit == 0 ? 'tit2':'']" @click="drawertit = 0">文本</div>
|
|
|
</div>
|
|
|
<div class="draconL" v-if="drawertit == 0">
|
|
|
<div v-html="inst.content"></div>
|
|
|
@@ -97,7 +97,7 @@ const cid = ref('')
|
|
|
const dialogVisible = ref(false)
|
|
|
const Tips = ref('')
|
|
|
const drawer = ref(false)
|
|
|
-const drawertit = ref('0')
|
|
|
+const drawertit = ref('1')
|
|
|
const inst = ref('')
|
|
|
const pdfUrl = ref('')
|
|
|
const pageloading = ref(false)
|
|
|
@@ -165,7 +165,7 @@ const gotoPage = (val)=>{
|
|
|
dialogVisible.value = true
|
|
|
console.log('val',val);
|
|
|
inst.value = ''
|
|
|
- drawertit.value = '0'
|
|
|
+ drawertit.value = '1'
|
|
|
iframeRef1Url.value = val.link
|
|
|
cid.value = val.courselink
|
|
|
console.log('inst.value',inst.value);
|