1
0
tangning 1 день назад
Родитель
Сommit
fd9c1dca75
2 измененных файлов с 6 добавлено и 1 удалено
  1. 1 1
      src/view/case/photos/index.vue
  2. 5 0
      src/view/case/photos/style.scss

+ 1 - 1
src/view/case/photos/index.vue

@@ -16,7 +16,7 @@
       />
     </div>
     <div class="header">
-      <div class="header-left">
+      <div class="header-left" :title="title">
         <el-icon
           title="返回"
           style="margin-right: 10px; cursor: pointer"

+ 5 - 0
src/view/case/photos/style.scss

@@ -16,6 +16,11 @@
       font-size: 32px;
       color: rgba(0,0,0,0.85);
       line-height: 32px;
+      max-width: 50%;
+        white-space: nowrap;    /* 不换行 */
+  overflow: hidden;       /* 超出隐藏 */
+  text-overflow: ellipsis;/* 显示 ... */
+
     }
     .header-main{
       font-size: 24px;