|
@@ -213,8 +213,8 @@ onMounted(() => {
|
|
|
<li class="flex notice-item" v-for="(item,index) in listState.list" :key="item.msg_id">
|
|
|
<el-image :src="item.img" :class="['avatar',item.is_read==0&&'avatar-dot']" fit="cover"></el-image>
|
|
|
<div class="notice-con" @click="handleGoDetail(item)">
|
|
|
- <p style="color:#666;margin:0;font-size:16px">{{item.content_first}}</p>
|
|
|
- <p style="color:#333;margin:0;font-size:18px">{{item.content_second}}</p>
|
|
|
+ <p class="multi-ellipsis" style="color:#666;margin:0;font-size:16px">{{item.content_first}}</p>
|
|
|
+ <p class="multi-ellipsis" style="color:#333;margin:0;font-size:18px">{{item.content_second}}</p>
|
|
|
<div style="color:#666;font-size:16px">{{formatTime(item.create_time)}}</div>
|
|
|
<span class="del-btn" @click.stop="handleDelNotice(item,index)">删除该通知</span>
|
|
|
</div>
|
|
@@ -268,6 +268,7 @@ onMounted(() => {
|
|
|
.notice-con{
|
|
|
flex: 1;
|
|
|
position: relative;
|
|
|
+ overflow: hidden;
|
|
|
.del-btn{
|
|
|
color: #F3A52F;
|
|
|
position: absolute;
|