From b4db5d6f91ad2e3833a20c62800455a3f90d6d53 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 18 七月 2024 16:07:27 +0800 Subject: [PATCH] feat:通知弹窗增加阴影 --- src/layout/components/Navbar.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 6ce49db..cfb834a 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -5,7 +5,7 @@ <breadcrumb id="breadcrumb-container" class="breadcrumb-container" /> <div class="right-menu"> - <div> + <div v-if="notify.role === 3"> <el-badge :value="notify.total" class="item"> <el-button @click="notifyShow = true" class="share-button" icon="el-icon-bell" type="primary" circle></el-button> </el-badge> @@ -26,7 +26,8 @@ title="閫氱煡" :visible.sync="notifyShow" width="400px" - :modal="false" + :modal="true" + :modal-append-to-body="false" > <div class="notify-warp" v-if="notify.feedBack && notify.feedBack > 0"> {{notify.feedBack}}鏉�<el-link @click="jump('/exam/feedback/list')" class="core" type="primary">閿欓鍙嶉</el-link>绛夊緟鎮ㄧ殑澶勭悊锛� -- Gitblit v1.8.0