滚动问题

This commit is contained in:
蔡玲
2024-12-13 14:46:20 +08:00
parent 90376a9f47
commit 752f915caa
9 changed files with 94 additions and 20 deletions

View File

@@ -60,7 +60,7 @@
</view>
<!-- 二级表格start -->
<view v-if="e.subData.length > 0" class="zd-sec-wraper pd0">
<view class="table-wrap">
<view class="table-wrap" :style="{height: e.subData.length >= 5 ? '230px' : (30 + 40 * e.subData.length) + 'px'}" @touchmove="handleInnerScroll">
<table class="grid-table">
<thead>
<tr>
@@ -251,6 +251,9 @@
}
},
methods: {
handleInnerScroll(event) {
event.stopPropagation()
},
// 仓库下拉框
async _getWarehouseInfo () {
let res = await getWarehouseInfo()
@@ -584,11 +587,6 @@
<style lang="stylus" scoped>
@import '../../common/style/mixin.styl';
.pop-wraper
width 90%
left 5%
.pop-grid-wraper
width 100%
.mgr30
margin-right 30rpx
.select_wraper