no message
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content top-view">
|
<view class="content top-view">
|
||||||
|
<TopSafe bgColor="rgba(0,0,0,0)"></TopSafe>
|
||||||
|
<Header bgColor="rgba(0,0,0,0)" color="#fff" title="数字积分兑换" style="min-height:88rpx;" />
|
||||||
<view class="top-panel">
|
<view class="top-panel">
|
||||||
<TopSafe bgColor="rgba(0,0,0,0)"></TopSafe>
|
|
||||||
<Header bgColor="rgba(0,0,0,0)" color="#fff" title="数字积分兑换" style="min-height:88rpx;" />
|
|
||||||
<text class="text-24 text-white" style="margin-top:24rpx">股东行权</text>
|
<text class="text-24 text-white" style="margin-top:24rpx">股东行权</text>
|
||||||
<text class="text-88 text-white text-bold" style="margin-top:24rpx">{{ curData ? curData.curAmount : 0 }}
|
<text class="text-88 text-white text-bold" style="margin-top:24rpx">{{ curData ? curData.curAmount : 0 }}
|
||||||
<text class="text-44 text-white">数字积分(TBC)</text>
|
<text class="text-44 text-white">数字积分(TBC)</text>
|
||||||
@@ -172,7 +172,7 @@ export default {
|
|||||||
width:100%;
|
width:100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height:calc(330rpx + 88rpx + var(--status-bar-height));
|
min-height:calc(330rpx + var(--status-bar-height));
|
||||||
padding: 0 32rpx;
|
padding: 0 32rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ import { getExchTransferRecord, getAcctBalance } from '@/api/finance.js'
|
|||||||
import { formatDate } from '@/utils/index.js';
|
import { formatDate } from '@/utils/index.js';
|
||||||
import { RWA_STATUS, getValue } from '@/utils/enumUtils.js';
|
import { RWA_STATUS, getValue } from '@/utils/enumUtils.js';
|
||||||
|
|
||||||
|
import func from '@/utils/func.js';
|
||||||
export default {
|
export default {
|
||||||
components: { Header },
|
components: { Header },
|
||||||
computed: {
|
computed: {
|
||||||
@@ -99,6 +100,11 @@ export default {
|
|||||||
// 模拟异步获取数据,实际应用中应该替换为你的数据获取逻辑,例如API调用
|
// 模拟异步获取数据,实际应用中应该替换为你的数据获取逻辑,例如API调用
|
||||||
const newData = await this.fetchData(this.form.page, this.form.pageSize);
|
const newData = await this.fetchData(this.form.page, this.form.pageSize);
|
||||||
this.logList = [...this.logList, ...newData]; // 将新数据添加到列表中
|
this.logList = [...this.logList, ...newData]; // 将新数据添加到列表中
|
||||||
|
this.logList.forEach(item=>{
|
||||||
|
if(item.name == 'WALLET'){
|
||||||
|
item.account = func.addressTurn(item.account,6)
|
||||||
|
}
|
||||||
|
})
|
||||||
this.form.page++; // 页码加1
|
this.form.page++; // 页码加1
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('加载数据失败:', error);
|
console.error('加载数据失败:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user