|
@@ -8,17 +8,40 @@
|
|
</view>
|
|
</view>
|
|
<view class="content-bg"><image src="../../static/img/tg-bg.png" mode=""></image></view>
|
|
<view class="content-bg"><image src="../../static/img/tg-bg.png" mode=""></image></view>
|
|
<view class="money-box">
|
|
<view class="money-box">
|
|
- <template v-if="type == 9">
|
|
|
|
|
|
+ <!-- <template v-if="type == 9">
|
|
<view class="money" v-if="pUser && pUser.recommend">{{ pUser.recommend.total|| 0 }}</view>
|
|
<view class="money" v-if="pUser && pUser.recommend">{{ pUser.recommend.total|| 0 }}</view>
|
|
<view class="money" v-else>0</view>
|
|
<view class="money" v-else>0</view>
|
|
</template>
|
|
</template>
|
|
<template v-if="type == 10">
|
|
<template v-if="type == 10">
|
|
<view class="money" v-if="pUser && pUser.pass_integral">{{ pUser.pass_integral.total|| 0 }}</view>
|
|
<view class="money" v-if="pUser && pUser.pass_integral">{{ pUser.pass_integral.total|| 0 }}</view>
|
|
<view class="money" v-else>0</view>
|
|
<view class="money" v-else>0</view>
|
|
- </template>
|
|
|
|
|
|
+ </template> -->
|
|
|
|
+ <view class="info-item">
|
|
|
|
+ <view class="info-font">待释放</view>
|
|
|
|
+ <template v-if="type == 9">
|
|
|
|
+ <view class="info-num" v-if="pUser && pUser.recommend">{{pUser.recommend.progress || '0'}}</view>
|
|
|
|
+ <view class="info-num" v-else>0</view>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-if="type == 10">
|
|
|
|
+ <view class="info-num" v-if="pUser && pUser.pass_integral">{{pUser.pass_integral.progress || '0'}}</view>
|
|
|
|
+ <view class="info-num" v-else>0</view>
|
|
|
|
+ </template>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="shu"></view>
|
|
|
|
+ <view class="info-item">
|
|
|
|
+ <view class="info-font">已释放</view>
|
|
|
|
+ <template v-if="type == 9">
|
|
|
|
+ <view class="info-num" v-if="pUser && pUser.recommend">{{pUser.recommend.use_recommend || '0'}}</view>
|
|
|
|
+ <view class="info-num" v-else >{{pUser.recommend.use_recommend || '0'}}</view>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-if="type == 10">
|
|
|
|
+ <view class="info-num" v-if="pUser && pUser.pass_integral">{{pUser.pass_integral.use_recommend || '0'}}</view>
|
|
|
|
+ <view class="info-num" v-else >{{pUser.pass_integral.use_recommend || '0'}}</view>
|
|
|
|
+ </template>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="info-box flex">
|
|
|
|
|
|
+ <!-- <view class="info-box flex">
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
<view class="info-font">待释放</view>
|
|
<view class="info-font">待释放</view>
|
|
<template v-if="type == 9">
|
|
<template v-if="type == 9">
|
|
@@ -42,7 +65,7 @@
|
|
<view class="info-num" v-else >{{pUser.pass_integral.use_recommend || '0'}}</view>
|
|
<view class="info-num" v-else >{{pUser.pass_integral.use_recommend || '0'}}</view>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
|
|
+ </view> -->
|
|
<view class="navbar">
|
|
<view class="navbar">
|
|
<view v-for="(item, index) in navList" :key="index" class="nav-item" :class="{ current: tabCurrentIndex === index }" @click="tabClick(index)">{{ item.text }}</view>
|
|
<view v-for="(item, index) in navList" :key="index" class="nav-item" :class="{ current: tabCurrentIndex === index }" @click="tabClick(index)">{{ item.text }}</view>
|
|
</view>
|
|
</view>
|
|
@@ -267,6 +290,7 @@ export default {
|
|
page {
|
|
page {
|
|
background: #f1f1f1;
|
|
background: #f1f1f1;
|
|
height: 100%;
|
|
height: 100%;
|
|
|
|
+ font-family: PingFang SC;
|
|
}
|
|
}
|
|
.status_bar {
|
|
.status_bar {
|
|
height: var(--status-bar-height);
|
|
height: var(--status-bar-height);
|
|
@@ -274,14 +298,14 @@ page {
|
|
}
|
|
}
|
|
.content-money {
|
|
.content-money {
|
|
position: relative;
|
|
position: relative;
|
|
- height: 480rpx;
|
|
|
|
|
|
+ height: 400rpx;
|
|
.content-bg {
|
|
.content-bg {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 0;
|
|
top: 0;
|
|
left: 0;
|
|
left: 0;
|
|
right: 0;
|
|
right: 0;
|
|
width: 750rpx;
|
|
width: 750rpx;
|
|
- height: 480rpx;
|
|
|
|
|
|
+ height: 100%;
|
|
image {
|
|
image {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
@@ -298,7 +322,6 @@ page {
|
|
top: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
font-size: 36rpx;
|
|
font-size: 36rpx;
|
|
- font-family: PingFang SC;
|
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #fffeff;
|
|
color: #fffeff;
|
|
height: 80rpx;
|
|
height: 80rpx;
|
|
@@ -342,14 +365,12 @@ page {
|
|
line-height: 1;
|
|
line-height: 1;
|
|
.info-font {
|
|
.info-font {
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
- font-family: PingFang SC;
|
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #999999;
|
|
color: #999999;
|
|
}
|
|
}
|
|
.info-num {
|
|
.info-num {
|
|
margin-top: 30rpx;
|
|
margin-top: 30rpx;
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
- font-family: PingFang SC;
|
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #181818;
|
|
color: #181818;
|
|
}
|
|
}
|
|
@@ -370,17 +391,25 @@ page {
|
|
text-align: center;
|
|
text-align: center;
|
|
/* #ifdef APP-PLUS */
|
|
/* #ifdef APP-PLUS */
|
|
height: 200rpx;
|
|
height: 200rpx;
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- justify-content: center;
|
|
|
|
|
|
+ // flex-direction: column;
|
|
|
|
+ // justify-content: center;
|
|
/* #endif */
|
|
/* #endif */
|
|
/* #ifdef MP-WEIXIN */
|
|
/* #ifdef MP-WEIXIN */
|
|
padding-top: 40rpx;
|
|
padding-top: 40rpx;
|
|
/* #endif */
|
|
/* #endif */
|
|
-
|
|
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-around;
|
|
|
|
+ .info-font {
|
|
|
|
+ font-size: 30rpx;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
|
|
+ .info-num {
|
|
|
|
+ margin-top: 30rpx;
|
|
|
|
+ font-size: 30rpx;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
.money {
|
|
.money {
|
|
font-size: 72rpx;
|
|
font-size: 72rpx;
|
|
- font-family: PingFang SC;
|
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
@@ -396,7 +425,6 @@ page {
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
padding: 0rpx 50rpx;
|
|
padding: 0rpx 50rpx;
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
- font-family: PingFang SC;
|
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
@@ -479,7 +507,6 @@ page {
|
|
background: linear-gradient(0deg, #2e58ff, #32c6ff);
|
|
background: linear-gradient(0deg, #2e58ff, #32c6ff);
|
|
border-radius: 44rpx;
|
|
border-radius: 44rpx;
|
|
font-size: 36rpx;
|
|
font-size: 36rpx;
|
|
- font-family: PingFang SC;
|
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
text-align: center;
|