Browse Source

页面刷新

main
niefei 1 month ago
parent
commit
1e8bb472cd
  1. 2
      pages/account/ledger.vue
  2. 55
      pages/account/transactionRecord.vue
  3. 218
      pages/home/index.vue
  4. 108
      pages/mine/wallet/index.vue

2
pages/account/ledger.vue

@ -57,7 +57,7 @@
<view v-for="(item, index) in recordList" :key="index" class="record-item" @tap="viewDetail(item)"> <view v-for="(item, index) in recordList" :key="index" class="record-item" @tap="viewDetail(item)">
<view class="record-header"> <view class="record-header">
<!-- <text class="record-id">{{ item.senderName }}</text> --> <!-- <text class="record-id">{{ item.senderName }}</text> -->
<text class="record-id">{{ item.billCode.split("@")[0] }}</text> <text class="record-id">{{ item.billCode }}</text>
<view class="record-amount"> <view class="record-amount">
<text class="amount-value" :style="{ color: getColor(item.changeBalance) }"> <text class="amount-value" :style="{ color: getColor(item.changeBalance) }">
{{item.changeBalance>0?'+':''}}{{ item.changeBalance }} (KIP) {{item.changeBalance>0?'+':''}}{{ item.changeBalance }} (KIP)

55
pages/account/transactionRecord.vue

@ -43,7 +43,7 @@
<view v-for="(item, index) in [...recordList]" :key="index" class="record-item" @tap="viewDetail(item)"> <view v-for="(item, index) in [...recordList]" :key="index" class="record-item" @tap="viewDetail(item)">
<view class="record-header"> <view class="record-header">
<!-- <text class="record-id">{{ item.senderName }}</text> --> <!-- <text class="record-id">{{ item.senderName }}</text> -->
<text class="record-id">{{ item.remark }}</text> <text class="record-id">{{ item.billCode }}</text>
<view class="record-amount"> <view class="record-amount">
<text class="amount-value" :style="{ color: getColor(item.changeBalance) }"> <text class="amount-value" :style="{ color: getColor(item.changeBalance) }">
{{item.changeBalance>0?'+':''}}{{ item.changeBalance }} (KIP) {{item.changeBalance>0?'+':''}}{{ item.changeBalance }} (KIP)
@ -51,7 +51,7 @@
</view> </view>
</view> </view>
<view class="record-content"> <view class="record-content">
<text class="record-time">{{ item.time }}</text> <text class="record-time">{{ item.timeFormat }}</text>
<uni-tag :inverted="true" :text="item.typeStr" /> <uni-tag :inverted="true" :text="item.typeStr" />
<!-- <uni-tag :inverted="true" :text="item.typeStr" :type="getStatusText(item.type)" /> --> <!-- <uni-tag :inverted="true" :text="item.typeStr" :type="getStatusText(item.type)" /> -->
</view> </view>
@ -65,19 +65,19 @@
</view> </view>
<!-- 加载状态 --> <!-- 加载状态 -->
<view v-if="isLoading && recordList.length > 0" class="loading-more"> <!-- <view v-if="isLoading && recordList.length > 0" class="loading-more">
<text>{{this.$languageData.settings.loading}}</text> <text>{{this.$languageData.settings.loading}}</text>
</view> </view> -->
</scroll-view> </scroll-view>
<loading ref="loading" :custom="false" :shadeClick="false" :type="1" /> <!-- <loading ref="loading" :custom="false" :shadeClick="false" :type="1" /> -->
</view> </view>
</template> </template>
<script> <script>
import { import {
getRecordList getTransRecord
} from '@/api/account/transactionRecord.js' } from '@/api/account/transactionRecord.js'
import { import {
getCurrentDate getCurrentDate
@ -87,14 +87,7 @@
return { return {
searchText: '', searchText: '',
selectedDate: '', selectedDate: '',
recordList: [{ recordList: [],
remark: 'salary',
changeBalance: 4106.32,
time: "2025/05/01",
typeStr: this.$languageData.settings.reci
},
{remark: 'McDonald\'s', changeBalance: -106.32, time: "2025/05/11", typeStr: this.$languageData.settings.pay},
],
isLoading: false, isLoading: false,
isRefreshing: false, isRefreshing: false,
page: 1, page: 1,
@ -106,7 +99,7 @@
phonenumber: '', phonenumber: '',
key: '', key: '',
key2: getCurrentDate(), //, key2: getCurrentDate(), //,
type: "1" type: ""
}, },
} }
}, },
@ -126,7 +119,6 @@
console.error("解析 JSON 失败:", error); console.error("解析 JSON 失败:", error);
} }
} }
this.selectRecordList();
}, },
methods: { methods: {
downloadEmptyFile() { downloadEmptyFile() {
@ -162,19 +154,29 @@
} }
}, },
selectRecordList() { selectRecordList() {
if (false) { getTransRecord(this.params).then(res => {
this.$nextTick(() => { this.recordList = res.data;
this.$refs.loading.open(); this.recordList.forEach(item => {
item.billCode = item.billCode.split("@")[0];
if (item.billCode == "BTR") {
item.billCode = this.$languageData.tmp.transferAccounts; //
} else if (item.billCode == "BPY") {
item.billCode = this.$languageData.tmp.proxyPayment; //
} else if (item.billCode == "BPT") {
item.billCode = this.$languageData.tmp.payment; //
} else if (item.billCode == "BRT") {
item.billCode = this.$languageData.tmp.receivePayment; //
} else if (item.billCode == "BWL") {
item.billCode = this.$languageData.tmp.withdrawal; //
} else if (item.billCode == "BRE") {
item.billCode = this.$languageData.tmp.recharge; //
} else {
item.billCode = this.$languageData.tmp.other; //
}
}) })
getRecordList(this.params).then(res => {
this.recordList = res.rows
setTimeout(() => {
this.$refs.loading.close();
}, 700)
}).catch(e => { }).catch(e => {
this.$refs.loading.close(); //this.$refs.loading.close();
}) })
}
}, },
mockrecordList() { mockrecordList() {
const statuses = ['success', 'pending', 'failed'] const statuses = ['success', 'pending', 'failed']
@ -244,6 +246,7 @@
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: this.$languageData.navBar.transactionRecord title: this.$languageData.navBar.transactionRecord
}); });
this.selectRecordList();
}, },
watch: { watch: {
languageData() { languageData() {

218
pages/home/index.vue

@ -142,17 +142,17 @@
</template> </template>
<script> <script>
import { import {
getAmount getAmount
} from '@/api/account/transactionRecord.js' } from '@/api/account/transactionRecord.js'
import scanTheCode from '@/components/scan/scanTheCode.vue' import scanTheCode from '@/components/scan/scanTheCode.vue'
import { import {
getToken getToken
} from '@/utils/auth' } from '@/utils/auth'
import { import {
showConfirm showConfirm
} from '@/utils/common' } from '@/utils/common'
export default { export default {
components: { components: {
scanTheCode scanTheCode
}, },
@ -187,12 +187,14 @@ export default {
}, },
{ {
icon: this.$store.state.user.userCate == '2' ? 'man-add' : 'more-dot-fill', icon: this.$store.state.user.userCate == '2' ? 'man-add' : 'more-dot-fill',
name: this.$store.state.user.userCate == '2' ? this.$languageData.home.proxyPayment : this.$languageData.home.tbc, name: this.$store.state.user.userCate == '2' ? this.$languageData.home.proxyPayment : this
.$languageData.home.tbc,
url: this.$store.state.user.userCate == '2' ? '/pages/functions/proxyPayment' : undefined url: this.$store.state.user.userCate == '2' ? '/pages/functions/proxyPayment' : undefined
}, },
{ {
icon: this.$store.state.user.userCate != '0' ? 'order' : 'more-dot-fill', icon: this.$store.state.user.userCate != '0' ? 'order' : 'more-dot-fill',
name: this.$store.state.user.userCate != '0' ? this.$languageData.home.businessData : this.$languageData.home.tbc, name: this.$store.state.user.userCate != '0' ? this.$languageData.home.businessData : this
.$languageData.home.tbc,
url: this.$store.state.user.userCate != '0' ? '/pages/mchManage/index' : undefined url: this.$store.state.user.userCate != '0' ? '/pages/mchManage/index' : undefined
}, },
{ {
@ -266,12 +268,14 @@ export default {
}, },
{ {
icon: this.$store.state.user.userCate == '2' ? 'man-add' : 'more-dot-fill', icon: this.$store.state.user.userCate == '2' ? 'man-add' : 'more-dot-fill',
name: this.$store.state.user.userCate == '2' ? this.$languageData.home.proxyPayment : this.$languageData.home.tbc, name: this.$store.state.user.userCate == '2' ? this.$languageData.home.proxyPayment : this
.$languageData.home.tbc,
url: this.$store.state.user.userCate == '2' ? '/pages/functions/proxyPayment' : undefined url: this.$store.state.user.userCate == '2' ? '/pages/functions/proxyPayment' : undefined
}, },
{ {
icon: this.$store.state.user.userCate != '0' ? 'order' : 'more-dot-fill', icon: this.$store.state.user.userCate != '0' ? 'order' : 'more-dot-fill',
name: this.$store.state.user.userCate != '0' ? this.$languageData.home.businessData : this.$languageData.home.tbc, name: this.$store.state.user.userCate != '0' ? this.$languageData.home.businessData : this
.$languageData.home.tbc,
url: this.$store.state.user.userCate != '0' ? '/pages/mchManage/index' : undefined url: this.$store.state.user.userCate != '0' ? '/pages/mchManage/index' : undefined
}, },
{ {
@ -303,17 +307,17 @@ export default {
this.languageData = this.$languageData; this.languageData = this.$languageData;
// TabBar // TabBar
this.setTabBarTabBar(this.languageData.tabbar); this.setTabBarTabBar(this.languageData.tabbar);
},
onShow() {
this.languageData = this.$languageData;
if (getToken()) { if (getToken()) {
this.user;
this.selectAmount(); this.selectAmount();
// this.delItem(); // this.delItem();
}else{ } else {
// //
this.funItem.splice(1,2) this.funItem.splice(1, 2)
} }
},
onShow() {
this.languageData = this.$languageData;
this.getScan(); this.getScan();
}, },
methods: { methods: {
@ -330,11 +334,15 @@ export default {
}) })
}, },
goAuth() { goAuth() {
if(this.$store.state.user.userCate == '1'){ if (this.$store.state.user.userCate == '1') {
uni.navigateTo({url:'/pages/mine/info/merchant/edit'}) uni.navigateTo({
}else if(this.$store.state.user.userCate == '2'){ url: '/pages/mine/info/merchant/edit'
uni.navigateTo({url:'/pages/mine/info/proxy/edit'}) })
}else{ } else if (this.$store.state.user.userCate == '2') {
uni.navigateTo({
url: '/pages/mine/info/proxy/edit'
})
} else {
this.$tab.navigateTo('/pages/mine/info/edit') this.$tab.navigateTo('/pages/mine/info/edit')
} }
}, },
@ -349,13 +357,13 @@ export default {
let userInfo = uni.getStorageSync("storage_data"); let userInfo = uni.getStorageSync("storage_data");
if (userInfo.vuex_userCate === '0') { if (userInfo.vuex_userCate === '0') {
//0 //0
this.funItem.splice(1,2) this.funItem.splice(1, 2)
}else if(userInfo.vuex_userCate === '1'){ } else if (userInfo.vuex_userCate === '1') {
//1 //1
this.funItem.splice(1,1) this.funItem.splice(1, 1)
} else if(userInfo.vuex_userCate === '2'){ } else if (userInfo.vuex_userCate === '2') {
//2 //2
this.funItem.splice(2,1) this.funItem.splice(2, 1)
} }
@ -458,41 +466,41 @@ export default {
return rs return rs
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
page { page {
height: 100%; height: 100%;
width: 100%; width: 100%;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
body { body {
overflow: hidden; overflow: hidden;
} }
.language-list { .language-list {
padding: 40rpx; padding: 40rpx;
border: 1rpx solid #ffffff; border: 1rpx solid #ffffff;
background-color: #fafafa; background-color: #fafafa;
} }
.account-title { .account-title {
display: flex; display: flex;
justify-content: center; justify-content: center;
font-size: 36rpx; font-size: 36rpx;
color: white; color: white;
position: relative; position: relative;
} }
.app-container { .app-container {
width: 100%; width: 100%;
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
} }
.nav-bar { .nav-bar {
height: 88rpx; height: 88rpx;
background-color: #ffffff; background-color: #ffffff;
display: flex; display: flex;
@ -500,29 +508,29 @@ body {
justify-content: space-between; justify-content: space-between;
padding: 0 32rpx; padding: 0 32rpx;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
} }
.text-lg { .text-lg {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
} }
.nav-right { .nav-right {
display: flex; display: flex;
align-items: center; align-items: center;
position: absolute; position: absolute;
right: 0; right: 0;
} }
.content-area { .content-area {
// padding: 32rpx 32rpx 70rpx; // padding: 32rpx 32rpx 70rpx;
padding: 32rpx 0; padding: 32rpx 0;
padding-top: 19rpx; padding-top: 19rpx;
} }
.account-card { .account-card {
background-image: url('/static/svgs/lines.svg'); background-image: url('/static/svgs/lines.svg');
background-size: cover; background-size: cover;
background-position: center; background-position: center;
@ -534,42 +542,42 @@ body {
min-height: 240rpx; min-height: 240rpx;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.account-info { .account-info {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
position: relative; position: relative;
} }
.balance-label { .balance-label {
font-size: 14px; font-size: 14px;
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
} }
.balance-amount { .balance-amount {
font-size: 23px; font-size: 23px;
color: #ffffff; color: #ffffff;
font-weight: 700; font-weight: 700;
margin-top: 12rpx; margin-top: 12rpx;
} }
.button-group { .button-group {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 16rpx; gap: 16rpx;
} }
.action-button { .action-button {
background-color: rgba(255, 255, 255, 0.2) !important; background-color: rgba(255, 255, 255, 0.2) !important;
border: none !important; border: none !important;
color: #ffffff !important; color: #ffffff !important;
font-size: 14px !important; font-size: 14px !important;
} }
.features-grid { .features-grid {
background: white; background: white;
padding: 10px; padding: 10px;
border-radius: 12px; border-radius: 12px;
@ -580,15 +588,15 @@ body {
// position: relative; // position: relative;
// top: -70rpx; // top: -70rpx;
top: 13rpx; top: 13rpx;
} }
.feature-item { .feature-item {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.feature-icon { .feature-icon {
width: 96rpx; width: 96rpx;
height: 96rpx; height: 96rpx;
background-color: rgba(171, 146, 231, 0.1); background-color: rgba(171, 146, 231, 0.1);
@ -598,9 +606,9 @@ body {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-bottom: 16rpx; margin-bottom: 16rpx;
} }
.feature-name { .feature-name {
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
text-align: center; text-align: center;
@ -608,9 +616,9 @@ body {
display: flex; display: flex;
align-items: center; align-items: center;
font-weight: 500; font-weight: 500;
} }
.promotion-banner { .promotion-banner {
background-color: rgba(255, 125, 0, 0.05); background-color: rgba(255, 125, 0, 0.05);
border: 1px solid rgba(255, 125, 0, 0.1); border: 1px solid rgba(255, 125, 0, 0.1);
border-radius: 16rpx; border-radius: 16rpx;
@ -618,53 +626,53 @@ body {
display: flex; display: flex;
align-items: center; align-items: center;
// margin-bottom: 48rpx; // margin-bottom: 48rpx;
} }
.promotion-text { .promotion-text {
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
margin-left: 24rpx; margin-left: 24rpx;
} }
.section-header { .section-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-bottom: 32rpx; margin-bottom: 32rpx;
} }
.section-title { .section-title {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
.view-all { .view-all {
font-size: 14px; font-size: 14px;
color: #999999; color: #999999;
} }
.transaction-list { .transaction-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 32rpx; gap: 32rpx;
} }
.transaction-item { .transaction-item {
background-color: #ffffff; background-color: #ffffff;
border-radius: 16rpx; border-radius: 16rpx;
padding: 32rpx; padding: 32rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.transaction-left { .transaction-left {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.transaction-icon { .transaction-icon {
width: 80rpx; width: 80rpx;
height: 80rpx; height: 80rpx;
background-color: #f5f5f5; background-color: #f5f5f5;
@ -673,58 +681,58 @@ body {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-right: 24rpx; margin-right: 24rpx;
} }
.transaction-info { .transaction-info {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.transaction-title { .transaction-title {
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
font-weight: 500; font-weight: 500;
} }
.transaction-time { .transaction-time {
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
margin-top: 8rpx; margin-top: 8rpx;
} }
.transaction-amount { .transaction-amount {
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
} }
.income { .income {
color: #00b578; color: #00b578;
} }
.expense { .expense {
color: #ff4d4f; color: #ff4d4f;
} }
.tab-text { .tab-text {
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
margin-top: 8rpx; margin-top: 8rpx;
} }
.active-text { .active-text {
color: #1B6EF3; color: #1B6EF3;
} }
.languageIcon { .languageIcon {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.c { .c {
display: flex; display: flex;
justify-content: left; justify-content: left;
align-items: center; align-items: center;
} }
</style> </style>

108
pages/mine/wallet/index.vue

@ -19,8 +19,8 @@
<view style="font-size: 29px;">{{accountId}}</view> <view style="font-size: 29px;">{{accountId}}</view>
<view class="balance-label" style="margin-top: 20px;"> <view class="balance-label" style="margin-top: 20px;">
<text>{{languageData.wallet.availableBalance}} (KIP)</text> <text>{{languageData.wallet.availableBalance}} (KIP)</text>
<uni-icons :type="showDetail ? 'eye-filled' : 'eye-slash-filled'" <uni-icons :type="showDetail ? 'eye-filled' : 'eye-slash-filled'" @click="showDetail = !showDetail"
@click="showDetail = !showDetail" size="20" color="#333333"></uni-icons> size="20" color="#333333"></uni-icons>
</view> </view>
<view style="">{{ showDetail ? formatNumber(userAmount) : '*****' }}</view> <view style="">{{ showDetail ? formatNumber(userAmount) : '*****' }}</view>
</view> </view>
@ -41,11 +41,11 @@
</view> </view>
<scroll-view class="message-list" scroll-y :refresher-triggered="triggered" @scrolltolower="onLoadMore"> <scroll-view class="message-list" scroll-y :refresher-triggered="triggered" @scrolltolower="onLoadMore">
<view class="list-main" v-for="(item, index) in recordList" :key="index"> <view class="list-main" v-for="(item, index) in recordList.splice(0,2)" :key="index">
<view class="transaction-item"> <view class="transaction-item">
<view class="transaction-info"> <view class="transaction-info">
<text class="transaction-type">{{ item.timeStr }}</text> <text class="transaction-type">{{ item.timeStr }}</text>
<text class="transaction-remark ellipsis-200">{{ item.remark }}</text> <text class="transaction-remark ellipsis-200">{{ item.billCode }}</text>
<text class="transaction-time">{{ item.time }}</text> <text class="transaction-time">{{ item.time }}</text>
</view> </view>
<view class="transaction-amount padding-right-xs"> <view class="transaction-amount padding-right-xs">
@ -69,51 +69,56 @@
</template> </template>
<script> <script>
import { getRecordList,getAmount } from '@/api/account/transactionRecord.js' import {
getTransRecord,
getAmount
} from '@/api/account/transactionRecord.js'
export default { export default {
data() { data() {
return { return {
accountId: '', accountId: '',
languageData:{}, languageData: {},
params:{ params: {
id:this.$store.state.user.userId, id: this.$store.state.user.userId,
userId:this.$store.state.user.userId, userId: this.$store.state.user.userId,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
phonenumber:'', phonenumber: '',
key:'', key: '',
type:'1', type: '1',
}, },
showDetail: false, showDetail: false,
triggered: false, triggered: false,
userAmount:5322200, userAmount: 5322200,
quota: 0, quota: 0,
recordList:[ recordList: [{
{
senderName: 'senderName1', senderName: 'senderName1',
senderAccount: '22540212', senderAccount: '22540212',
changeBalance: '250000', changeBalance: '250000',
time: '2025-01-22 21:05:33', time: '2025-01-22 21:05:33',
title:'', title: '',
remark:'', remark: '',
currentBalance:'' currentBalance: ''
}, },
{ {
senderName: 'senderName2', senderName: 'senderName2',
senderAccount: '22540212', senderAccount: '22540212',
changeBalance: '-250000', changeBalance: '-250000',
time: '2025-01-24 21:05:33', time: '2025-01-24 21:05:33',
title:'', title: '',
remark:'', remark: '',
currentBalance:'' currentBalance: ''
} }
] ]
} }
}, },
created() {
this.selectRecordList();
},
onLoad() { onLoad() {
//TODO //TODO
if(false) if (false)
this.loadRecordList(); this.loadRecordList();
this.selectAmount(); this.selectAmount();
this.languageData = this.$languageData; this.languageData = this.$languageData;
@ -122,24 +127,24 @@ export default {
}); });
}, },
methods: { methods: {
navigatoCashOut(){ navigatoCashOut() {
this.$tab.navigateTo('/pages/account/withdrawDeposit') this.$tab.navigateTo('/pages/account/withdrawDeposit')
}, },
navigatoTopUp(){ navigatoTopUp() {
this.$tab.navigateTo('/pages/account/topUp') this.$tab.navigateTo('/pages/account/topUp')
}, },
navigatoRecord(){ navigatoRecord() {
this.$tab.navigateTo('/pages/account/transactionRecord') this.$tab.navigateTo('/pages/account/transactionRecord')
}, },
loadRecordList(){ loadRecordList() {
getRecordList(this.params).then(res=>{ getRecordList(this.params).then(res => {
this.recordList = res.rows this.recordList = res.rows
}) })
}, },
selectAmount(){ selectAmount() {
getAmount(this.params.userId).then(res=>{ getAmount(this.params.userId).then(res => {
this.userAmount = res.data.accountAmount this.userAmount = res.data.accountAmount
this.accountId = res.data.accountId this.accountId = res.data.accountId
this.quota = res.data.walletLimit || 0 this.quota = res.data.walletLimit || 0
@ -150,8 +155,41 @@ export default {
this.params.pageSize = this.params.pageSize + 10 this.params.pageSize = this.params.pageSize + 10
this.loadRecordList(); this.loadRecordList();
}, },
selectRecordList() {
getTransRecord(this.params).then(res => {
this.recordList = res.data;
this.recordList.forEach(item => {
item.billCode = item.billCode.split("@")[0];
if (item.billCode == "BTR") {
item.billCode = this.$languageData.tmp.transferAccounts; //
} else if (item.billCode == "BPY") {
item.billCode = this.$languageData.tmp.proxyPayment; //
} else if (item.billCode == "BPT") {
item.billCode = this.$languageData.tmp.payment; //
} else if (item.billCode == "BRT") {
item.billCode = this.$languageData.tmp.receivePayment; //
} else if (item.billCode == "BWL") {
item.billCode = this.$languageData.tmp.withdrawal; //
} else if (item.billCode == "BRE") {
item.billCode = this.$languageData.tmp.recharge; //
} else {
item.billCode = this.$languageData.tmp.other; //
}
})
}).catch(e => {
//this.$refs.loading.close();
})
//this.$refs.loading.close();
//TODO
if (false) {
this.$nextTick(() => {
this.$refs.loading.open();
})
}
},
}
} }
}
</script> </script>
@ -159,10 +197,12 @@ export default {
page { page {
height: 100%; height: 100%;
} }
.amount2{
.amount2 {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
} }
.wallet-page { .wallet-page {
// min-height: 100%; // min-height: 100%;
// background: linear-gradient(180deg, #FEE1A8 0%, #f9f8f8 30%); // background: linear-gradient(180deg, #FEE1A8 0%, #f9f8f8 30%);
@ -172,8 +212,8 @@ export default {
// background-position: center; // background-position: center;
} }
.list-background{ .list-background {
background:rgba(248, 247, 246, 0); background: rgba(248, 247, 246, 0);
// min-height: 500px; // min-height: 500px;
} }

Loading…
Cancel
Save