feat: 更新 Vite 配置,优化资源管理和背景图像处理

This commit is contained in:
zhongyidian committed 2025-09-14 20:44:41 +08:00
1 parent 66842e9d58
commit 02ddfd0c07
11 files changed
+202 -11

No files matched your search

+2 -3
View File
@@ -8,7 +8,7 @@
<!-- 导学小龙UI区域 -->
<div class="guide-ui absolute left-16 top-1/2 transform -translate-y-1/2">
<!-- 主UI面板 -->
<div class="guide-panel">
<div class="guide-panel" :style="{ backgroundImage: getBackgroundImage('components/box') }">
<!-- 标题区域 -->
<ImgButton
@@ -60,7 +60,7 @@
</template>
<script setup lang="ts">
import { getStaticImage, IMAGE_PATHS } from '@/utils'
import { getStaticImage, getBackgroundImage, IMAGE_PATHS } from '@/utils'
import { ImgButton } from '@/components/Button'
interface Props {
@@ -119,7 +119,6 @@ const handleContinue = () => {
width: 1547px;
height: 279px;
padding: 75px 30px 30px 120px;
background-image: url('../../assets/images/components/box.png');
background-color: rgba(0, 0, 0, 0); /* 背景完全透明 */
}