feat:数字积分加枚举

This commit is contained in:
2026-05-22 11:31:00 +08:00
parent 2a92567835
commit 5512e17b94
23 changed files with 1553 additions and 1497 deletions
@@ -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();