Browse Source

网页适配

y595705120 2 years ago
parent
commit
c1c99f1f96
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/containers/center/class/train/index.vue

+ 3 - 3
src/containers/center/class/train/index.vue

@@ -14,9 +14,9 @@
                 <i class="el-icon-check text-xl"></i>
               </el-tag>
             </div>
-            <div class="flex py-2 px-4  items-center justify-between">
-              <span>{{item.name}}</span>
-              <el-button type="text" @click="gotoPlay(item.courseId)">进入学习</el-button>
+            <div class="flex py-4 px-2 items-center justify-between">
+              <span style="width: 250px;overflow: hidden;">{{item.name}}</span>
+              <span style="color: #409EFF;width: 80px;" @click="gotoPlay(item.courseId)">进入学习</span>
             </div>
             <div class="py-2 px-6 text-sm flex">
               <div class="w-1/2 text-left">{{item.type}}</div>