consumer模块完成度95%,优化安卓端界面和小程序测试2
This commit is contained in:
@@ -48,10 +48,13 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 主内容区域:改为普通 view,由页面整体滚动 -->
|
||||
<view
|
||||
<!-- 主内容区域:使用 scroll-view 支持安卓端滚动 -->
|
||||
<scroll-view
|
||||
v-else
|
||||
class="main-content"
|
||||
direction="vertical"
|
||||
:scroll-y="true"
|
||||
:show-scrollbar="false"
|
||||
>
|
||||
<!-- 初始状态(无搜索词) -->
|
||||
<view v-if="searchKeyword == '' && showResults == false">
|
||||
@@ -230,7 +233,7 @@
|
||||
|
||||
<!-- 底部安全区域 -->
|
||||
<view class="safe-area"></view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -1025,6 +1028,7 @@ const goBack = () => {
|
||||
flex: 1;
|
||||
padding: 12px;
|
||||
box-sizing: border-box;
|
||||
height: 0; /* 配合 flex: 1 实现自适应高度 */
|
||||
}
|
||||
|
||||
/* 模块通用头部 */
|
||||
|
||||
Reference in New Issue
Block a user