|
@@ -2,48 +2,17 @@
|
|
|
<view class="flex-common-css page-box task-bg">
|
|
<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">
|
|
<view class="p-20">
|
|
|
- <IndexPersonal ref="memberObj" @setMemberData="setMemberData"></IndexPersonal>
|
|
|
|
|
|
|
+ <IndexPersonal ref="memberObj" ></IndexPersonal>
|
|
|
<IndexColumn ref="columnObj"></IndexColumn>
|
|
<IndexColumn ref="columnObj"></IndexColumn>
|
|
|
</view>
|
|
</view>
|
|
|
</Nav>
|
|
</Nav>
|
|
|
- <!-- <EnScroll ref="scroll" :navHeight="100" is_tabHeight @onRefresh="onRefresh"
|
|
|
|
|
- @onScrollBottom="onScrollBottom">
|
|
|
|
|
- </EnScroll> -->
|
|
|
|
|
|
|
+
|
|
|
<view class="common-view-css common-view-box flex-direction" ref="commonView" id="commonView">
|
|
<view class="common-view-css common-view-box flex-direction" ref="commonView" id="commonView">
|
|
|
- <LoanItem :task-list="list" @onCalculate="onCalculate" :commonHeight='commonHeight'></LoanItem>
|
|
|
|
|
|
|
+ <LoanItem @onCalculate="onCalculate" :commonHeight='commonHeight'></LoanItem>
|
|
|
</view>
|
|
</view>
|
|
|
<Tab class="tabView" :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">
|
|
|
|
|
- <view class="wh-25"></view>
|
|
|
|
|
- <text class="size-30 sys-weight-600">核算年利率</text>
|
|
|
|
|
- <image class="wh-25"
|
|
|
|
|
- src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task-details/close.png"
|
|
|
|
|
- mode="aspectFill" @click="onClose">
|
|
|
|
|
- </image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="p-30 size-28 m-b50">
|
|
|
|
|
- <view class="">
|
|
|
|
|
- <text>当前年利率</text><text
|
|
|
|
|
- class="sys-weight-600 color-FF730E m-l10">{{(loanItem.interest_rate*1).toFixed(2)}}%</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-justify-sb center r-10 sys-from-background-color p-30 m-t30">
|
|
|
|
|
- <input class="flex" type="text" placeholder="请输入新年利率" v-model="loanItem.new_rate" />
|
|
|
|
|
- <text class="text-color-12">%</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <EnButton text="确认核算" @onSubmit="setComputation"></EnButton>
|
|
|
|
|
- </view>
|
|
|
|
|
- </uni-popup>
|
|
|
|
|
- <!-- <EnButton :is_both="1" leftText="利率对比" rightText="完善贷后" @onLeftSubmit="onRateCompare" @onSubmit="onPerfectRate">-->
|
|
|
|
|
- <!-- </EnButton>-->
|
|
|
|
|
- <uni-popup background-color="#fff" ref="clientPopup" type="bottom" border-radius="10px"
|
|
|
|
|
- @touchmove.stop.prevent="moveHandle">
|
|
|
|
|
- <view>
|
|
|
|
|
- <client-type :client-id="loanItem.client_id" @endTaskSet="onClose"></client-type>
|
|
|
|
|
- </view>
|
|
|
|
|
- </uni-popup>
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</template>
|
|
</template>
|
|
@@ -130,7 +99,7 @@
|
|
|
this.commonHeight = data.height - tabView;
|
|
this.commonHeight = data.height - tabView;
|
|
|
console.log(this.commonHeight,'1111111');
|
|
console.log(this.commonHeight,'1111111');
|
|
|
}).exec()
|
|
}).exec()
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
// setMemberData(memberData) {
|
|
// setMemberData(memberData) {
|
|
@@ -150,7 +119,7 @@
|
|
|
this.startList()
|
|
this.startList()
|
|
|
},
|
|
},
|
|
|
getList() {
|
|
getList() {
|
|
|
- this.list = uni.getStorageSync('loanList')
|
|
|
|
|
|
|
+
|
|
|
console.log(this.list, '1111111111');
|
|
console.log(this.list, '1111111111');
|
|
|
// getLoanList(this.fromData).then((res) => {
|
|
// getLoanList(this.fromData).then((res) => {
|
|
|
// if (res.code === 1) {
|
|
// if (res.code === 1) {
|
|
@@ -243,4 +212,4 @@
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
// }
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|