2023-07-19 11:58:18 +08:00
|
|
|
<template>
|
|
|
|
<view class="">
|
|
|
|
<view class="finance_head">
|
|
|
|
<view class="top">
|
|
|
|
<view class="left">
|
2023-07-20 17:40:13 +08:00
|
|
|
<u--image :showLoading="true" :src="userInfo.avatar||''" width="44px" height="44px" shape="circle"></u--image>
|
|
|
|
<view class="name">{{userInfo.nickname}}</view>
|
|
|
|
<image src="../../static/img/contract/setting.png"></image>
|
2023-07-19 11:58:18 +08:00
|
|
|
</view>
|
|
|
|
<view class="right" @click="naviTo('/subpkg/topUp/topUp')">
|
|
|
|
账户充值
|
|
|
|
</view>
|
|
|
|
</view>
|
2023-07-20 16:32:30 +08:00
|
|
|
<view class="center">
|
2023-07-20 17:40:13 +08:00
|
|
|
<view class="title">
|
2023-07-20 16:32:30 +08:00
|
|
|
<text style="margin-right: 20rpx;">账户总金额(元)</text><uni-icons type="eye" color="#fff"></uni-icons>
|
|
|
|
</view>
|
2023-07-20 17:40:13 +08:00
|
|
|
<view class="price">1338.96</view>
|
|
|
|
<view class="bubble">
|
|
|
|
<!-- <image src="../../static/img/contract/bubble.png"></image> -->
|
|
|
|
<view class="text">可提现金额100.00元</view>
|
|
|
|
</view>
|
2023-07-20 16:32:30 +08:00
|
|
|
</view>
|
2023-07-19 11:58:18 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
2023-07-20 17:40:13 +08:00
|
|
|
userInfo:{}
|
2023-07-19 11:58:18 +08:00
|
|
|
}
|
|
|
|
},
|
2023-07-20 17:40:13 +08:00
|
|
|
onLoad() {
|
|
|
|
// console.log(this.userInfo);
|
|
|
|
this.userInfo = this.$store.state.app.userInfo;
|
|
|
|
uni.setNavigationBarColor({
|
|
|
|
frontColor: '#ffffff',
|
|
|
|
backgroundColor: '#3175f9'
|
|
|
|
})
|
|
|
|
},
|
2023-07-19 11:58:18 +08:00
|
|
|
onShow() {},
|
|
|
|
methods: {
|
|
|
|
naviTo(url) {
|
|
|
|
url ?
|
|
|
|
uni.navigateTo({
|
|
|
|
url: url
|
|
|
|
}) : Toast('暂未开放')
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onPullDownRefresh() {
|
|
|
|
uni.stopPullDownRefresh()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.finance_head{
|
|
|
|
background-color: #3274F9FF;
|
|
|
|
height: 500rpx;
|
|
|
|
.top{
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
color: #fff;
|
|
|
|
padding: 10rpx 28rpx;
|
|
|
|
.left{
|
|
|
|
display: flex;
|
2023-07-20 17:40:13 +08:00
|
|
|
align-items: center;
|
2023-07-19 11:58:18 +08:00
|
|
|
flex: 1;
|
|
|
|
font-size: 28rpx;
|
|
|
|
font-weight: 500;
|
|
|
|
color: #FFFFFF;
|
2023-07-20 17:40:13 +08:00
|
|
|
.name{
|
|
|
|
margin: 0 17.5rpx;
|
|
|
|
}
|
2023-07-19 11:58:18 +08:00
|
|
|
image{
|
2023-07-20 17:40:13 +08:00
|
|
|
width: 40rpx;
|
|
|
|
height: 40rpx;
|
2023-07-19 11:58:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.right{
|
|
|
|
font-size: 24.53rpx;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #FFFFFF;
|
|
|
|
}
|
|
|
|
}
|
2023-07-20 16:32:30 +08:00
|
|
|
.center{
|
|
|
|
color: #fff;
|
2023-07-20 17:40:13 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
.title{
|
|
|
|
font-size: 25rpx;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 39rpx;
|
|
|
|
}
|
|
|
|
.price{
|
|
|
|
font-size: 60rpx;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 39rpx;
|
|
|
|
margin-top: 28rpx;
|
|
|
|
margin-bottom: 14rpx;
|
|
|
|
}
|
|
|
|
.bubble{
|
|
|
|
padding: 20rpx 28rpx 10rpx 28rpx;
|
|
|
|
background-image: url('../../static/img/contract/bubble.png');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
.text{
|
|
|
|
}
|
|
|
|
}
|
2023-07-20 16:32:30 +08:00
|
|
|
}
|
2023-07-19 11:58:18 +08:00
|
|
|
}
|
|
|
|
</style>
|