mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 19:06:46 +08:00
我的u币时间
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</view>
|
||||
<view class="top-content">
|
||||
<view>{{uinfo.uCurrency}}</view>
|
||||
统计时间:2022.11.4
|
||||
统计时间:{{formatDate(new Date()).split(' ')[0]}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="ub-list" v-for="(day, index) in uCoinRecord" :key="index">
|
||||
@@ -32,6 +32,7 @@
|
||||
<script>
|
||||
import { mapGetters } from 'vuex';
|
||||
import apiStat from '@/api/phase2/stat.js';
|
||||
import {formatDate} from '../../utils/tools.js'
|
||||
export default {
|
||||
computed: {
|
||||
...mapGetters(['userInfo']),
|
||||
@@ -41,6 +42,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
formatDate,
|
||||
uCoinRecord: [],
|
||||
uinfo: {
|
||||
uCurrency: 0, // 用户累计U币
|
||||
|
||||
Reference in New Issue
Block a user