feat:数字积分加枚举
This commit is contained in:
@@ -19,14 +19,14 @@
|
||||
<image src="https://static.tbmall.xin/static/new/icon_zy.png" class="icon-img"></image>
|
||||
<text class="text-20 text-zi">注:所有数据均截止到进入页面的时间,返回再进入页面数据会更新。</text>
|
||||
</view>
|
||||
<text class="text-32 text-zu1" style="margin-top:40rpx;font-weight: 500;">用户信息</text>
|
||||
<text class="text-32 text-gray" style="margin-top:40rpx;font-weight: 500;">用户信息</text>
|
||||
<view class="bottom-view">
|
||||
<view class="bottom-box" v-for="(item,index) in dataList" :key="index">
|
||||
<view class="bottom-top">
|
||||
<!-- <image src="/https://static.tbmall.xin/static/new/tab.png"></image> -->
|
||||
<image :src="item.userUrl"></image>
|
||||
<view class="bottom-top-right">
|
||||
<text class="text-32 text-zu1" style="font-weight: 500;">{{item.userName}}
|
||||
<text class="text-32 text-gray" style="font-weight: 500;">{{item.userName}}
|
||||
<text class="text-28 text-fu">({{item.gradeName}})</text>
|
||||
</text>
|
||||
<text class="text-26 text-fu1">ID:{{item.userId}}
|
||||
@@ -36,11 +36,11 @@
|
||||
</view>
|
||||
<view class="bottom-bottom-panel">
|
||||
<view class="bottom-bottom-box" style="border-right: 2rpx solid #F5F5F5;">
|
||||
<text class="text-36 text-bold text-zu1">{{item.teamPerformance.teamAmount}}</text>
|
||||
<text class="text-36 text-bold text-gray">{{item.teamPerformance.teamAmount}}</text>
|
||||
<text class="text-24 text-fu1">订单金额</text>
|
||||
</view>
|
||||
<view class="bottom-bottom-box">
|
||||
<text class="text-36 text-bold text-zu1">{{item.teamPerformance.teamCount}}</text>
|
||||
<text class="text-36 text-bold text-gray">{{item.teamPerformance.teamCount}}</text>
|
||||
<text class="text-24 text-fu1">团队人数</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,6 +30,11 @@
|
||||
}}</view>
|
||||
</view>
|
||||
|
||||
<view class="bottom_item" v-if="item.categoty == 'vcoin'">
|
||||
<view class="bottom_item_amount">{{ item.bonusAmount || 0 }}</view>
|
||||
<view class="bottom_item_title">分红余额</view>
|
||||
</view>
|
||||
|
||||
<view class="bottom_item" @click.stop="onTip(vIndex)">
|
||||
<view class="bottom_item_lock">{{ item.lockAmount || 0 }}</view>
|
||||
<view class="bottom_item_title">{{ item.categoty === "raffle" ? "不可用次数" : "不可用余额" }}
|
||||
@@ -151,7 +156,7 @@ export default {
|
||||
"&curId=" +
|
||||
item.curId +
|
||||
"&preId=" +
|
||||
item.preId,
|
||||
item.preId + "&bonusId=" + item.bonusId,
|
||||
});
|
||||
},
|
||||
// 查询余额
|
||||
|
||||
@@ -31,15 +31,15 @@
|
||||
<view class="icon-top-view" v-if="form.category == 'expend' || form.category == 'balance'">
|
||||
<view class="top-view">
|
||||
<view class="top-left-view">
|
||||
<text class="text-36 text-zu1 text-bold">{{headerData[source[0].key]}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[0].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[0].name}}</text>
|
||||
<text class="text-36 text-zu1 text-bold" style="margin-top:40rpx">{{headerData[source[2].key]}}</text>
|
||||
<text class="text-36 text-gray text-bold" style="margin-top:40rpx">{{headerData[source[2].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[2].name}}</text>
|
||||
</view>
|
||||
<view class="top-left-view" style="border-width: 0;">
|
||||
<text class="text-36 text-zu1 text-bold">{{headerData[source[1].key]}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[1].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[1].name}}</text>
|
||||
<text class="text-36 text-zu1 text-bold" style="margin-top:40rpx">{{headerData[source[3].key]}}</text>
|
||||
<text class="text-36 text-gray text-bold" style="margin-top:40rpx">{{headerData[source[3].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[3].name}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -47,11 +47,11 @@
|
||||
<view class="icon-top-view" style="height:178rpx;min-height:178rpx;margin-top:24rpx" v-if="form.category == 'vcoin'">
|
||||
<view class="top-view">
|
||||
<view class="top-left-view">
|
||||
<text class="text-36 text-zu1 text-bold">{{headerData[source[0].key]}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[0].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[0].name}}</text>
|
||||
</view>
|
||||
<view class="top-left-view" style="border-width: 0;">
|
||||
<text class="text-36 text-zu1 text-bold">{{headerData[source[1].key]}}</text>
|
||||
<text class="text-36 text-gray text-bold">{{headerData[source[1].key]}}</text>
|
||||
<text class="text-24 text-fu1">{{source[1].name}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -109,9 +109,7 @@ export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
infoList: [
|
||||
|
||||
],
|
||||
infoList: [],
|
||||
source: [],
|
||||
headerData: {},
|
||||
selInfo: "cur",
|
||||
@@ -125,6 +123,7 @@ export default {
|
||||
lockId: 0,
|
||||
curId: 0,
|
||||
preId: 0,
|
||||
bonusId: 0,
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
@@ -135,6 +134,7 @@ export default {
|
||||
const lockId = option.lockId;
|
||||
const curId = option.curId;
|
||||
const preId = option.preId;
|
||||
const bonusId = option.bonusId;
|
||||
|
||||
|
||||
// 分红金额 balance
|
||||
@@ -186,6 +186,10 @@ export default {
|
||||
name: "锁定账户",
|
||||
key: "lockAmount"
|
||||
},
|
||||
{
|
||||
name: "分红",
|
||||
key: "bonusAmount"
|
||||
},
|
||||
|
||||
// {
|
||||
// name: "预存款账户",
|
||||
@@ -297,6 +301,9 @@ export default {
|
||||
if (preId && preId !== 'null') {
|
||||
this.preId = preId;
|
||||
}
|
||||
if (bonusId && bonusId !== 'null') {
|
||||
this.bonusId = bonusId;
|
||||
}
|
||||
|
||||
|
||||
// this.onGetAcctFlowList();
|
||||
@@ -370,9 +377,6 @@ export default {
|
||||
|
||||
|
||||
selectInfo(item = null) {
|
||||
// if(item == null){
|
||||
// item.key = 'cur'
|
||||
// }
|
||||
this.orderList = [];
|
||||
this.form.page = 1;
|
||||
this.selInfo = item.key;
|
||||
@@ -387,6 +391,9 @@ export default {
|
||||
if (item.key === "pre") {
|
||||
id = this.preId;
|
||||
}
|
||||
if (item.key === "bonusAmount") {
|
||||
id = this.bonusId;
|
||||
}
|
||||
|
||||
this.form.id = id;
|
||||
this.loadData();
|
||||
|
||||
Reference in New Issue
Block a user