diff --git a/frontend/pages/square/components/HotCategoryBlock.vue b/frontend/pages/square/components/HotCategoryBlock.vue index 34926e7..96d3101 100644 --- a/frontend/pages/square/components/HotCategoryBlock.vue +++ b/frontend/pages/square/components/HotCategoryBlock.vue @@ -475,6 +475,7 @@ onUnmounted(() => { width: 100%; height: 104rpx; box-sizing: border-box; + position: relative; } .card-image-wrap { @@ -523,7 +524,8 @@ onUnmounted(() => { content: ""; position: absolute; inset: 0; - background: url("/static/dashboard/bj.png") center / cover no-repeat; + background: url("/static/square/galaxy/TOP4.png") center no-repeat; + background-size: 100% 100%; opacity: 0.8; // ⬅ 调这个数控制图片透明度(0=完全透明,1=完全不透明) pointer-events: none; z-index: 0; @@ -537,7 +539,8 @@ onUnmounted(() => { content: ""; position: absolute; inset: 0; - background: url("/static/dashboard/bj.png") center / cover no-repeat; + background: url("/static/square/galaxy/TOP4.png") center no-repeat; + background-size: 100% 100%; opacity: 0.8; // ⬅ 调这个数控制图片透明度(0=完全透明,1=完全不透明) pointer-events: none; z-index: 0; @@ -552,8 +555,9 @@ onUnmounted(() => { content: ""; position: absolute; inset: 0; - background: url("/static/square/top/bj.png") center / cover no-repeat; - opacity: 0.26; + background: url("/static/square/galaxy/TOP6.png") center no-repeat; + background-size: 100% 100%; + opacity: 0.8; } } diff --git a/frontend/static/square/galaxy/TOP4.png b/frontend/static/square/galaxy/TOP4.png new file mode 100644 index 0000000..8f84200 Binary files /dev/null and b/frontend/static/square/galaxy/TOP4.png differ diff --git a/frontend/static/square/galaxy/TOP6.png b/frontend/static/square/galaxy/TOP6.png new file mode 100644 index 0000000..da4f176 Binary files /dev/null and b/frontend/static/square/galaxy/TOP6.png differ