浏览代码

修改说明文件

11wqe1 1 周之前
父节点
当前提交
3b3620ac66
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/components/main/opendetail.vue

+ 3 - 3
src/components/main/opendetail.vue

@@ -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);