Browse Source

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table into beta

SanHQin 1 day ago
parent
commit
87aeb74273
1 changed files with 9 additions and 3 deletions
  1. 9 3
      src/components/pptEasyClass/index.vue

+ 9 - 3
src/components/pptEasyClass/index.vue

@@ -16,9 +16,11 @@
           </div>
         </div>
         <div class="pec_h_center">
-          <div class="pec_h_l_title">
-            <span>{{ courseDetail.title }}</span>
-          </div>
+          <el-tooltip effect="dark" :content="courseDetail.title" placement="bottom">
+            <div class="pec_h_l_title">
+              <span>{{ courseDetail.title }}</span>
+            </div>
+          </el-tooltip>
           <div class="free-browse-switch" v-if="courseDetail.userid == userid">
             <el-switch
               v-model="freeBrowse"
@@ -349,6 +351,10 @@ export default {
   font-weight: bold;
   font-size: 20px;
   color: #0e1e33;
+  overflow: hidden;
+  white-space: nowrap;
+  max-width: 500px;
+  text-overflow: ellipsis;
 }
 
 .pec_h_right {