perf(uniapp): 小程序主包瘦身,迁移分包静态资源、清理冗余组件与全局样式

This commit is contained in:
pikachu1995@126.com
2026-10-20 18:46:39 +08:00
parent 755f574e8e
commit c15e954549
49 changed files with 282 additions and 2448 deletions

View File

@@ -9,7 +9,7 @@
@left-click="back"
></u-navbar>
<view class="header-wraper">
<image class="header-banner" mode="aspectFit" src="/static/seckill.png"></image>
<image class="header-banner" mode="aspectFit" src="/pages/promotion/static/seckill.png"></image>
</view>
<scroll-view scroll-x>
<view class="index-navs">
@@ -176,7 +176,7 @@ function clickNavigateTime(type: number) {
}
.header-wraper {
background: url('/static/bg.png') no-repeat center center;
background: url('/pages/promotion/static/bg.png') no-repeat center center;
background-size: cover;
height: 200rpx;
display: flex;