mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-11-13 12:28:50 +08:00
perf(uniapp): 小程序主包瘦身,迁移分包静态资源、清理冗余组件与全局样式
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</u-navbar>
|
||||
<!-- 顶部栏 -->
|
||||
<view class="header-wraper">
|
||||
<image class="header-banner" mode="aspectFit" src="/static/join-buy.png"></image>
|
||||
<image class="header-banner" mode="aspectFit" src="/pages/promotion/static/join-buy.png"></image>
|
||||
</view>
|
||||
<!-- 商品栏 -->
|
||||
<div class="swiper">
|
||||
@@ -156,7 +156,7 @@ function GET_AssembleGoods() {
|
||||
}
|
||||
|
||||
.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;
|
||||
|
||||
Reference in New Issue
Block a user