滚动问题

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

@@ -1,11 +1,14 @@
/** 平板尺寸960*600 **/
page {
background-color: #0a2b57 !important;
height: 100% !important;
min-height: 100% !important;
}
uni-page-body {
background-color: #0a2b57 !important;
height: 100% !important;
min-height: 100% !important;
}
body, html {
min-height: 100% !important;
}
uni-button:after {
border: none;
@@ -27,9 +30,8 @@ uni-toast .uni-toast {
.content{
width: 100%;
height: 100%;
min-height: 100%;
background: top center / 100% 100% url(./static/images/page_bg.jpg) repeat-y;
/* background-color: #040d1e; */
}
.footer{
width: 100%;
@@ -124,7 +126,6 @@ uni-toast .uni-toast {
}
.grid-wrap{
width: calc(100% - 20px);
height: calc(100% - 112px);
margin: 0 auto;
padding: 4px 0 10px 0;
border: 1px solid #01c2f3;
@@ -134,15 +135,13 @@ uni-toast .uni-toast {
}
.zdrow-wrap {
width: 100%;
min-height: 520px;
padding: 0 10px;
height: calc(100% - 40px);
overflow-y: auto;
}
.table-wrap {
width: calc(100% - 30px);
margin: 0 auto;
padding: 0;
max-height: 348px;
overflow-y: auto;
}
.table-wrap_1 {

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()

View File

@@ -410,6 +410,71 @@ export const easOutInBillDetailPage = (djid, page, size) => {
"update_time": null,
"czsl": 0.00,
"status": false
},
{
"flid": "2",
"id": '3',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '4',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '5',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '6',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '7',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '8',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '9',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '10',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '11',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '12',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '13',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '14',
"djid": "btAAAAW8Wd5QCrde"
},
{
"flid": "2",
"id": '15',
"djid": "btAAAAW8Wd5QCrde"
}
],
"code": 1,