wuhongyu před 4 roky
rodič
revize
483bd2b71e
1 změnil soubory, kde provedl 16 přidání a 2 odebrání
  1. 16 2
      src/views/hall/direct.vue

+ 16 - 2
src/views/hall/direct.vue

@@ -121,7 +121,7 @@
                               <span class="inname"> {{ item.name }}</span>
                             </p>
                           </el-col>
-                          <el-col :span="4" class="name">
+                          <el-col :span="4" class="names">
                             <p>
                               <span>
                                 合作方式:
@@ -1313,13 +1313,27 @@ export default {
         line-height: 30px;
         p:first-child {
           font-size: 16px;
-          display: inline-block;
+          // display: inline-block;
           width: 700px;
+          display: block;
+          overflow: hidden;
+          white-space: nowrap;
+          text-overflow: ellipsis;
+        }
+      }
+      .names {
+        height: 30px;
+        line-height: 30px;
+        p:first-child {
+          font-size: 14px;
+          display: inline-block;
+          width: 300px;
           overflow: hidden;
           text-overflow: ellipsis;
           -o-text-overflow: ellipsis;
         }
       }
+
       .click {
         height: 30px;
         line-height: 30px;