修复bug
This commit is contained in:
parent
97d663caf5
commit
8c6fe41016
@ -223,12 +223,13 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
res = await informationList({
|
let params = {
|
||||||
page: this.loadConfig.page,
|
page: this.loadConfig.page,
|
||||||
limit: this.loadConfig.limit,
|
limit: this.loadConfig.limit,
|
||||||
user_id: that.user_id,
|
user_id: that.user_id,
|
||||||
is_update: this.current
|
};
|
||||||
})
|
this.task_id > 0 ? params.is_update = this.current:null;
|
||||||
|
res = await informationList(params);
|
||||||
}
|
}
|
||||||
this.loadConfig.status = "loadmore"
|
this.loadConfig.status = "loadmore"
|
||||||
if (res.data.length < this.loadConfig.limit) {
|
if (res.data.length < this.loadConfig.limit) {
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<text style="margin-right: 20rpx;">账户总金额(元)</text><uni-icons @click="updateEye()"
|
<text style="margin-right: 20rpx;">账户总金额(元)</text><uni-icons @click="updateEye()"
|
||||||
:type="eyeType?'eye-filled':'eye-slash-filled'" color="#fff"></uni-icons>
|
:type="eyeType?'eye-filled':'eye-slash-filled'" color="#fff"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
<view class="price" v-show="eyeType">{{userInfo.user_money||0.00}}元</view>
|
<view class="price" v-show="eyeType">{{userInfo.day_money_count?userInfo.day_money_count.toFixed(2):'0.00'}}元</view>
|
||||||
<view class="price" v-show="!eyeType">****元</view>
|
<view class="price" v-show="!eyeType">****元</view>
|
||||||
<view class="bubble">
|
<view class="bubble">
|
||||||
<!-- <image src="../../static/img/contract/bubble.png"></image> -->
|
<!-- <image src="../../static/img/contract/bubble.png"></image> -->
|
||||||
@ -43,7 +43,7 @@
|
|||||||
<u-line direction="col" length="40%" color="#999999FF"></u-line>
|
<u-line direction="col" length="40%" color="#999999FF"></u-line>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view>收益金额(元)</view>
|
<view>收益金额(元)</view>
|
||||||
<view class="num" v-show="eyeType">{{userInfo.income||0.00}}</view>
|
<view class="num" v-show="eyeType">{{userInfo.deposit||0.00}}</view>
|
||||||
<view class="num" v-show="!eyeType">****</view>
|
<view class="num" v-show="!eyeType">****</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -201,10 +201,13 @@
|
|||||||
onShow() {
|
onShow() {
|
||||||
// console.log(this.userInfo);
|
// console.log(this.userInfo);
|
||||||
if (this.user_id == 0) {
|
if (this.user_id == 0) {
|
||||||
this.userInfo = this.$store.state.app.userInfo;
|
// this.userInfo = this.$store.state.app.userInfo;
|
||||||
|
userInfo().then((res)=>{
|
||||||
|
this.$store.commit('setUserInfo', res.data);
|
||||||
|
this.userInfo = res.data;
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.OtherUserInfo()
|
this.OtherUserInfo()
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -214,7 +217,6 @@
|
|||||||
},
|
},
|
||||||
onBackPress() {
|
onBackPress() {
|
||||||
this.loadBill()
|
this.loadBill()
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
navTo(url) {
|
navTo(url) {
|
||||||
@ -289,13 +291,13 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex: 1;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 10rpx 28rpx;
|
padding: 10rpx 28rpx;
|
||||||
|
|
||||||
.accont {
|
.accont {
|
||||||
// background-color: red;
|
// background-color: red;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 22vw;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
@ -309,6 +311,7 @@
|
|||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
margin: 0 17.5rpx;
|
margin: 0 17.5rpx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user