滚动问题

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

@@ -113,7 +113,7 @@
@import '../../common/style/mixin.styl';
.home_content
position relative
_wh(100%, 100%)
_wh(100%, 100vh)
_bis(,'../../static/images/home_bg.jpg', 100%, 100%,bottom)
.header
height 60px

View File

@@ -175,7 +175,7 @@
<style lang="stylus" scoped>
@import '../../common/style/mixin.styl';
.login-bg
_wh(100%, 100%)
_wh(100%, 100vh)
_bis(#fff,'../../static/images/login_bg.jpg', 100%, 100%,bottom)
.logo-wraper
_wh(90%, auto)

View File

@@ -60,7 +60,7 @@
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked}" :disabled="disabled1" @tap="_allocationBillConfirm(e)">直接调拨</button>
</view>
</view>
<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>
@@ -255,6 +255,9 @@
}, 3000)
},
methods: {
handleInnerScroll(event) {
event.stopPropagation()
},
// 仓库下拉框
async _getWarehouseInfo () {
let res = await getWarehouseInfo()

View File

@@ -50,7 +50,7 @@
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked || !e.subStatus2}" :disabled="disabled1" @tap="_stIvtCheckdtlBasedOnFinance(e)">财务为准</button>
</view>
</view>
<view class="table-wrap table-wrap_1">
<view class="table-wrap table-wrap_1" :style="{height: e.subData.length >= 5 ? '230px' : (30 + 40 * e.subData.length) + 'px'}" @touchmove="handleInnerScroll">
<table class="grid-table">
<thead>
<tr>
@@ -145,6 +145,9 @@
}, 3000)
},
methods: {
handleInnerScroll(event) {
event.stopPropagation()
},
// 仓库下拉框
async _getWarehouseInfo () {
let res = await getWarehouseInfo()

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

View File

@@ -46,7 +46,7 @@
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked}" :disabled="disabled1" @tap="_stIvtMoveinvConfirmMove(e)">确认移库</button>
</view>
</view>
<view class="table-wrap table-wrap_1">
<view class="table-wrap table-wrap_1" :style="{height: e.subData.length >= 5 ? '230px' : (30 + 40 * e.subData.length) + 'px'}" @touchmove="handleInnerScroll">
<table class="grid-table">
<thead>
<tr>
@@ -142,6 +142,9 @@
}, 3000)
},
methods: {
handleInnerScroll(event) {
event.stopPropagation()
},
// 仓库下拉框
async _getWarehouseInfo () {
let res = await getWarehouseInfo()

View File

@@ -60,7 +60,7 @@
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked || !e.subStatus1}" :disabled="disabled1" @tap="_receiptBillConfirm(e)">确认收货</button>
</view>
</view>
<view class="table-wrap table-wrap_1">
<view class="table-wrap table-wrap_1" :style="{height: e.subData.length >= 5 ? '230px' : (30 + 40 * e.subData.length) + 'px'}" @touchmove="handleInnerScroll">
<table class="grid-table">
<thead>
<tr>
@@ -261,6 +261,9 @@
}, 3000)
},
methods: {
handleInnerScroll(event) {
event.stopPropagation()
},
// 组织信息下拉框
async _getOrganizationInfo () {
let res = await getOrganizationInfo()