From 42ea8c6cba21c555e254ac41ce976d7c2f9366f6 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期日, 12 五月 2024 08:01:16 +0800
Subject: [PATCH] 各bug修复

---
 src/components/view/notice-detail.vue |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/src/components/view/notice-detail.vue b/src/components/view/notice-detail.vue
index c4661e0..0c67cb0 100644
--- a/src/components/view/notice-detail.vue
+++ b/src/components/view/notice-detail.vue
@@ -16,8 +16,8 @@
       </div>
     </div>
     <div class="info-box" v-if="noticeInfo.jumpPath">
-      <!-- <component class="notice-content" :is="noticeInfo.jumpPath" style="height: 500px;" >
-		  </component> -->
+      <component class="notice-content" :is="noticeInfo.jumpPath">
+		  </component>
     </div>
   </div>
 </template>
@@ -68,9 +68,8 @@
 
 <style scoped>
 .notice-detail-page{
-  height: calc(100vh - 120px);
-  overflow-y: auto;
-  padding-top: 16px;
+  height: calc(100% - 30px);
+  padding: 16px 0;
 }
 .notice-detail-head{
   background: #fff;
@@ -83,8 +82,10 @@
   width: 100%;
   box-sizing: border-box;
   padding: 8px 20px 20px;
-  background: rgba(148, 147, 147, 0.1);
-  border-radius: 8px;
+  background: rgba(0,0,0, 0.03);
+  box-shadow: 0 0 10px 10px #fff;
+  border-radius: 4px;
+  height: calc(100% - 192px - 22px);
 }
 .notice-detail-head-content div{
   border-radius: 8px;
@@ -95,4 +96,8 @@
   box-sizing: border-box;
   margin-top: 12px;
 }
+
+.notice-content{
+  height: 100%;
+}
 </style>

--
Gitblit v1.9.3