部分页面适配

This commit is contained in:
2025-12-11 18:12:47 +08:00
parent 3c8176f84e
commit 60b4d2bef0
8 changed files with 28 additions and 10 deletions

View File

@@ -45,7 +45,9 @@
<view class="container-main">
<scroll-view scroll-y class="main-scroll" @scrolltolower="handleScrollToLower">
<view class="cards">
<!-- #ifdef H5 -->
<transition-group name="stagger" tag="view" :css="true">
<!-- #endif -->
<view
class="card press-button"
v-for="(item, index) in fairList"
@@ -95,7 +97,9 @@
<view class="recommend-card-line"></view>
<view class="card-footer">内容简介{{ item.zphjj }}</view>
</view>
<!-- #ifdef H5 -->
</transition-group>
<!-- #endif -->
</view>
<empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty>
</scroll-view>
@@ -336,6 +340,8 @@ function getNextDates({ startDate = '', count = 6 }) {
.container-header {
background: url('@/static/icon/background2.png') 0 0 no-repeat;
background-size: 100% 400rpx;
box-sizing: border-box;
padding-top: calc(var(--window-top) + var(--status-bar-height));
.header-top{
display: flex;
line-height: calc(88rpx - 14rpx);