feat(fittingRoom):优化试衣间页面布局和功能
- 移除 uv-sticky 组件,调整页面结构 - 设置容器高度为100%,优化滚动区域高度计算 - 禁用试衣间页面下拉刷新功能-为 STabs 组件添加 overflow: hidden 样式- 更新 STabs 组件最后编辑时间戳
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@
|
||||
"path": "pages/fittingRoom/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "试衣间",
|
||||
"enablePullDownRefresh": true
|
||||
"enablePullDownRefresh": false
|
||||
},
|
||||
"meta": {
|
||||
"sync": true,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user