lsc 1 năm trước cách đây
mục cha
commit
e82357351b
2 tập tin đã thay đổi với 9 bổ sung9 xóa
  1. 1 1
      src/components/pages/Grid.vue
  2. 8 8
      src/components/pages/addCourse.vue

+ 1 - 1
src/components/pages/Grid.vue

@@ -1576,7 +1576,7 @@ export default {
   font-size: 14px;
 }
 .RContent div:nth-child(2) {
-  font-family: "微软雅黑";
+  /* font-family: "微软雅黑"; */
   font-size: 15px;
 }
 

+ 8 - 8
src/components/pages/addCourse.vue

@@ -212,7 +212,7 @@
                             :key="index"
                           >
                             <span
-                              v-show="
+                              v-if="
                                 CourseTypeJson[item.id].length > 0 &&
                                 (oid == '69893dca-1d47-11ed-8c78-005056b86db5'
                                   ? pTypeCheck.indexOf(item.id) != -1
@@ -222,7 +222,7 @@
                             >
                             <el-checkbox-group
                               v-model="courseTypeId"
-                              v-show="
+                              v-if="
                                 CourseTypeJson[item.id].length > 0 &&
                                 (oid == '69893dca-1d47-11ed-8c78-005056b86db5'
                                   ? pTypeCheck.indexOf(item.id) != -1
@@ -273,7 +273,7 @@
                             class="cover_p"
                             v-else
                           />
-                          <div v-show="cover.length == 0">点击添加封面</div>
+                          <div v-if="cover.length == 0">点击添加封面</div>
                           <div class="cover_mask">
                             <img
                               src="../../assets/icon/new/cover_update.png"
@@ -303,7 +303,7 @@
                       (gradeId = ''),
                       getClass()
                       ">添加班级</button>
-                    <div v-show="checkboxList2.length" class="wb_j_box_p_box">
+                    <div v-if="checkboxList2.length" class="wb_j_box_p_box">
                       <span :class="{ tcMember: getClassC(tc) }" v-for="(tc, tcIndex) in checkboxList2" :key="tcIndex">{{
                         getClassC(tc) }}</span>
                     </div> -->
@@ -336,12 +336,12 @@
                   </div>
                   <div class="wb_j_box_content">
                     <!-- <button class="c_pub_button_add pub_btn_add_img" @click="openMember">添加协同成员</button>
-                    <div v-show="checkboxList3.length" class="wb_j_box_p_box" @click="checkBoolean = !checkBoolean">
+                    <div v-if="checkboxList3.length" class="wb_j_box_p_box" @click="checkBoolean = !checkBoolean">
                       <span :class="{ tcMember: getMan2(tc) }" v-for="(tc, tcIndex) in checkboxList3.length > 6 &&
                         checkBoolean
                         ? checkboxList3
                         : checkboxList3.slice(0, 6)" :key="tcIndex">{{ getMan2(tc) }}</span><span class="tcMember"
-                        v-show="checkboxList3.length > 6 && !checkBoolean">更多...</span>
+                        v-if="checkboxList3.length > 6 && !checkBoolean">更多...</span>
                     </div> -->
                     <div class="wb_j_box_btn" @click="openMember">
                       <div class="wb_j_box_title">协同人员</div>
@@ -401,7 +401,7 @@
                         <button
                           class="c_pub_button_delete pub_btn_delete_img"
                           @click="deleteEva()"
-                          v-show="evalua"
+                          v-if="evalua"
                         >
                           清除
                         </button>
@@ -476,7 +476,7 @@
                           <Mind
                             :showBar="false"
                             :mindData="data"
-                            v-show="typeMode == 1"
+                            v-if="typeMode == 1"
                           ></Mind>
                           <Sunburst
                             :Josn="eJson"