|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="flex-common-css page-box task-bg">
|
|
|
- <Nav title="" :back="false" :is_fixed="true" :justify="'left'" :color="'#fff'">
|
|
|
+ <Nav title=" " :back="false" :is_fixed="true" :justify="'left'" :color="'#fff'">
|
|
|
<view class="p-20">
|
|
|
<IndexPersonal ref="memberObj" @setMemberData="setMemberData"></IndexPersonal>
|
|
|
<IndexColumn ref="columnObj"></IndexColumn>
|
|
|
@@ -9,10 +9,10 @@
|
|
|
<!-- <EnScroll ref="scroll" :navHeight="100" is_tabHeight @onRefresh="onRefresh"
|
|
|
@onScrollBottom="onScrollBottom">
|
|
|
</EnScroll> -->
|
|
|
- <view class="common-view-css flex-direction">
|
|
|
- <LoanItem :task-list="list" @onCalculate="onCalculate"></LoanItem>
|
|
|
+ <view class="common-view-css common-view-box flex-direction" ref="commonView" id="commonView">
|
|
|
+ <LoanItem :task-list="list" @onCalculate="onCalculate" :commonHeight='commonHeight'></LoanItem>
|
|
|
</view>
|
|
|
- <Tab :tab-index="0"></Tab>
|
|
|
+ <Tab class="tabView" :tab-index="0"></Tab>
|
|
|
<uni-popup ref="popup" type="bottom" @touchmove.stop.prevent="moveHandle">
|
|
|
<view class="page-env-160 sys-background-fff r-20">
|
|
|
<view class="row-justify-sb center p-lr30 p-t30">
|
|
|
@@ -105,7 +105,8 @@
|
|
|
id: 0,
|
|
|
new_rate: '',
|
|
|
client_id: '',
|
|
|
- }
|
|
|
+ },
|
|
|
+ commonHeight: ''
|
|
|
}
|
|
|
},
|
|
|
watch: {},
|
|
|
@@ -113,8 +114,25 @@
|
|
|
this.getList()
|
|
|
},
|
|
|
onLoad() {},
|
|
|
- mounted() {},
|
|
|
+ mounted() {
|
|
|
+ this.commonViewHeight()
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ commonViewHeight() {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ let tabView = ''
|
|
|
+ uni.createSelectorQuery().select('.tabView').boundingClientRect(data => {
|
|
|
+ // this.commonHeight = data.height;
|
|
|
+ tabView = data.height
|
|
|
+ }).exec()
|
|
|
+ uni.createSelectorQuery().select('.common-view-box').boundingClientRect(data => {
|
|
|
+ console.log(data.height,tabView,'1111111');
|
|
|
+ this.commonHeight = data.height - tabView;
|
|
|
+ console.log(this.commonHeight,'1111111');
|
|
|
+ }).exec()
|
|
|
+
|
|
|
+ });
|
|
|
+ },
|
|
|
// setMemberData(memberData) {
|
|
|
// this.memberData = memberData
|
|
|
// this.$refs.columnObj.updateMemberData()
|