diff --git a/zhiyin-app/src/pages/interview/interview.vue b/zhiyin-app/src/pages/interview/interview.vue index d836cce..c581926 100644 --- a/zhiyin-app/src/pages/interview/interview.vue +++ b/zhiyin-app/src/pages/interview/interview.vue @@ -193,6 +193,8 @@ function initRecorder() { // #endif } +let timerSeconds = 0 +let timerInterval = null let MAX_QUESTIONS = 10 const progressPercent = computed(() => Math.min((answeredCount.value / MAX_QUESTIONS) * 100, 100)) const formatTime = computed(() => { diff --git a/zhiyin-app/src/pages/user/user.vue b/zhiyin-app/src/pages/user/user.vue index 6fe3539..6b22470 100644 --- a/zhiyin-app/src/pages/user/user.vue +++ b/zhiyin-app/src/pages/user/user.vue @@ -172,9 +172,12 @@ {{ tx.description }} {{ formatTime(tx.createdAt) }} - - {{ tx.amount > 0 ? '+' : '' }}{{ tx.amount }} - + + + {{ tx.amount > 0 ? '+' : '' }}{{ tx.amount }} + + 余额 {{ tx.balance }} + @@ -472,7 +475,9 @@ const doLogout = () => { .detail-item-left { display: flex; flex-direction: column; gap: 4rpx; flex: 1; min-width: 0; } .detail-item-desc { font-size: 26rpx; color: var(--color-text); font-weight: 500; } .detail-item-time { font-size: 20rpx; color: #9CA3AF; } -.detail-item-amount { font-size: 30rpx; font-weight: 700; flex-shrink: 0; margin-left: 16rpx; } +.detail-item-amount { font-size: 30rpx; font-weight: 700; } +.detail-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4rpx; flex-shrink: 0; margin-left: 16rpx; } +.detail-item-balance { font-size: 20rpx; color: #9CA3AF; font-weight: 400; } .amount-positive { color: #10B981; } .amount-negative { color: #EF4444; } .detail-pagination { display: flex; align-items: center; justify-content: center; gap: 24rpx; width: 100%; margin-top: 8rpx; }