feat(fittingRoom):优化试衣间页面布局和功能

- 移除 uv-sticky 组件,调整页面结构
- 设置容器高度为100%,优化滚动区域高度计算
- 禁用试衣间页面下拉刷新功能-为 STabs 组件添加 overflow: hidden 样式- 更新 STabs 组件最后编辑时间戳
This commit is contained in:
liguigong
2025-10-11 10:57:57 +08:00
parent ee29c48b9b
commit 56b53cb6fd
3 changed files with 45 additions and 43 deletions
+1 -1
View File
@@ -63,7 +63,7 @@
"path": "pages/fittingRoom/index",
"style": {
"navigationBarTitleText": "试衣间",
"enablePullDownRefresh": true
"enablePullDownRefresh": false
},
"meta": {
"sync": true,
+2 -1
View File
@@ -2,7 +2,7 @@
* @Author: liguigong liguigong@shopline.com
* @Date: 2025-09-19 16:26:36
* @LastEditors: liguigong liguigong@shopline.com
* @LastEditTime: 2025-09-22 19:17:46
* @LastEditTime: 2025-10-11 10:51:04
* @FilePath: pages/fittingRoom/components/STabs.vue
* @Description: 这是默认设置,可以在设置工具File Description中进行配置
-->
@@ -51,6 +51,7 @@
height: 130rpx;
background: #000;
width: 100%;
overflow: hidden;
.tab-top {
margin: 18rpx 0 14rpx;
+6 -5
View File
@@ -1,6 +1,6 @@
<template>
<view class="container">
<uv-sticky :customNavHeight="0" :offset-top="0">
<!-- <uv-sticky :customNavHeight="0" :offset-top="0">-->
<view class="uni-margin-wrap">
<uni-swiper-dot
:current="fittingRoomStore.swiperCurrentIndex"
@@ -39,7 +39,7 @@
</view>
<s-tabs />
</uv-sticky>
<!-- </uv-sticky>-->
<scroll-view class="scroll" scroll-y="true">
<s-grid-clothes />
<view class="height1"></view>
@@ -135,6 +135,7 @@
<style lang="scss" scoped>
.container {
position: relative;
height: 100%;
}
.uni-margin-wrap {
width: 100%;
@@ -233,7 +234,7 @@
background: #171717;
}
}
//.scroll {
// overflow-y: scroll;
//}
.scroll {
height: calc(100% - 850rpx);
}
</style>