From d975fc4756806f5b51f006c19c33571b9b8c0b3b Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 20 十二月 2024 09:30:19 +0800
Subject: [PATCH] 修改下单时要求值输入限制

---
 src/view/notice.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/view/notice.vue b/src/view/notice.vue
index 71a978f..f9bbe7d 100644
--- a/src/view/notice.vue
+++ b/src/view/notice.vue
@@ -16,7 +16,10 @@
         @click="goNoticeDetail(m)">
           <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="display: flex;justify-content: space-between;">
+              <span>{{ m.theme }}</span>
+              <i class="el-icon-delete" style="cursor: pointer;font-size: 16px;margin-right: 20px;" @click.stop="handleDel(m)"></i>
+            </p>
             <p style="width: 100%;display: flex;align-items: center;justify-content: space-between;">
               <span>鍙戦�佷汉锛歿{ m.createUser }}</span>
               <span>{{ m.createTime }}</span>
@@ -228,6 +231,7 @@
 
 >>>.el-drawer__header {
   color: #303133;
+  text-align: left;
 }
 >>>.el-drawer__body{
   height: calc(100vh - 82px);
@@ -286,4 +290,10 @@
 .readStyle .notice-content-item-left p:nth-child(2){
   color: #90CBCD;
 }
+.el-icon-delete{
+  display: none;
+}
+.notice-content-item:hover .el-icon-delete{
+  display: inline-block;
+}
 </style>

--
Gitblit v1.9.3