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