From 57e76b55709e8ea88a83ab6c3f665fd9ee7fd64c Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 03 七月 2024 14:23:48 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master --- src/view/notice.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/view/notice.vue b/src/view/notice.vue index c4beade..a7cc226 100644 --- a/src/view/notice.vue +++ b/src/view/notice.vue @@ -6,14 +6,15 @@ :direction="direction" :before-close="handleClose" style="height: 100vh;z-index: 9999999;" size="450px"> <div class="notice-content" v-loading="loading"> - <scroll-pagination @load="refresh" :finishLoding="finishLoding" :list="list"> + <el-button size="small" type="primary" @click="handleDropdownAll(1)" style="margin-bottom: 10px;margin-left: 330px;">鍏ㄩ儴宸茶</el-button> + <scroll-pagination @load="refresh" :finishLoding="finishLoding" :list="list" style="height: calc(100% - 50px);"> <div class="notice-content-item" v-for="(m,i) in list" :key="i" - :class="{readStyle:!m.viewStatus}" + :class="{readStyle:m.viewStatus}" @click="goNoticeDetail(m)"> - <img :src="`../../static/img/notice-${m.viewStatus?0:1}-${m.messageType}.svg`" alt="" style="margin-right: 6px;"> + <img :src="`../../static/img/notice-${m.viewStatus?1:0}-${m.messageType}.svg`" alt="" style="margin-right: 6px;"> <div class="notice-content-item-left"> <p>{{ m.theme }}</p> <p style="width: 100%;display: flex;align-items: center;justify-content: space-between;"> @@ -221,6 +222,7 @@ this.keyMap = {}; this.currentPage = 1; this.refresh(); + this.$emit('goNoticeDetail') }) } }, -- Gitblit v1.9.3