diff --git a/schoolNewsWeb/src/views/user/resource-center/HotResourceView.vue b/schoolNewsWeb/src/views/user/resource-center/HotResourceView.vue
index eeb3b3c..f2f616e 100644
--- a/schoolNewsWeb/src/views/user/resource-center/HotResourceView.vue
+++ b/schoolNewsWeb/src/views/user/resource-center/HotResourceView.vue
@@ -74,7 +74,7 @@
-
@@ -554,7 +554,8 @@ function goBack() {
.article-cover {
position: relative;
width: 100%;
- height: 45%;
+ height: 160px;
+ flex-shrink: 0;
overflow: hidden;
background: #F3F4F6;
@@ -578,29 +579,29 @@ function goBack() {
font-size: 48px;
color: #9CA3AF;
}
- }
- .cover-overlay {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
- display: flex;
- align-items: flex-end;
- justify-content: center;
- padding: 20px;
- opacity: 0;
- transition: opacity 0.3s;
+ .cover-overlay {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
+ display: flex;
+ align-items: flex-end;
+ justify-content: center;
+ padding: 20px;
+ opacity: 0;
+ transition: opacity 0.3s;
- .view-button {
- padding: 8px 20px;
- background: #E7000B;
- color: #FFFFFF;
- border-radius: 20px;
- font-size: 14px;
- font-weight: 500;
+ .view-button {
+ padding: 8px 20px;
+ background: #E7000B;
+ color: #FFFFFF;
+ border-radius: 20px;
+ font-size: 14px;
+ font-weight: 500;
+ }
}
}