tangning 7 月之前
父節點
當前提交
65c94cfaa4
共有 1 個文件被更改,包括 10 次插入2 次删除
  1. 10 2
      src/view/vrmodel/index.vue

+ 10 - 2
src/view/vrmodel/index.vue

@@ -4,7 +4,7 @@
     <el-button class="w-full my-4" @click="handleAdd" style="margin-left: 0; margin-right: 0">添加场景</el-button>
     <div class="scene-list">
         <div class="scene-title flex justify-between content-center">
-          <span style="line-height: 32px title1">场景列表</span>
+          <span class="title1" style="line-height: 32px ">场景列表</span>
           <!-- <el-switch v-model="active" @change="handleActive" /> -->
         </div>
         <div class="list" v-if="active" style="min-height: 630px;">
@@ -13,7 +13,7 @@
             v-for="item,index in list"
             :key="index"
           >
-            <span>{{ item.name || '多元融合' }}</span>
+            <span class="anmc" :title="item.name">{{ item.name || '多元融合' }}</span>
             <div class="cursor-pointer" quaternary type="primary">
               <span class="mr-4" @click="handlegotoelT(item)">移除</span>
               <span @click="handlegotoEdit(item)">编辑</span>
@@ -95,3 +95,11 @@ async function handleAdd() {
 
 }
 </script>
+<style scoped>
+.anmc {
+  overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+    width: 190px;
+}
+</style>