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