更改描述

This commit is contained in:
2025-08-25 10:47:18 +08:00
parent 4c7eb07939
commit 6df5e252dc
4 changed files with 18 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
# 生产环境配置 # 生产环境配置
# VITE_API_BASE_URL=https://www.zrbjr.com/api VITE_API_BASE_URL=https://www.zrbjr.com/api
# VITE_UPLOAD_BASE_URL=https://www.zrbjr.com/api/upload VITE_UPLOAD_BASE_URL=https://www.zrbjr.com/api/upload
VITE_API_BASE_URL=http://114.55.111.44:3001/api # VITE_API_BASE_URL=http://114.55.111.44:3001/api
VITE_UPLOAD_BASE_URL=http://114.55.111.44:3001/api/upload # VITE_UPLOAD_BASE_URL=http://114.55.111.44:3001/api/upload

View File

@@ -107,7 +107,7 @@
<div class="allocation-info"> <div class="allocation-info">
<div class="allocation-header"> <div class="allocation-header">
<span class="order-id">订单 #{{ allocation.matching_order_id }}</span> <span class="order-id">订单 #{{ allocation.matching_order_id }}</span>
<span class="cycle">{{ allocation.cycle_number }}</span> <!-- <span class="cycle">{{ allocation.cycle_number }}</span> -->
</div> </div>
<div class="allocation-details"> <div class="allocation-details">
<p>转账给: <strong>{{ allocation.to_user_real_name }}</strong></p> <p>转账给: <strong>{{ allocation.to_user_real_name }}</strong></p>
@@ -195,7 +195,7 @@
> >
<div class="timeline-content"> <div class="timeline-content">
<div class="timeline-header"> <div class="timeline-header">
<span class="cycle">{{ allocation.cycle_number }}</span> <!-- <span class="cycle">{{ allocation.cycle_number }}</span> -->
<span :class="['status', allocation.status]">{{ getStatusText(allocation.status) }}</span> <span :class="['status', allocation.status]">{{ getStatusText(allocation.status) }}</span>
</div> </div>
<p>{{ allocation.from_user_real_name }} {{ allocation.to_user_real_name }}</p> <p>{{ allocation.from_user_real_name }} {{ allocation.to_user_real_name }}</p>
@@ -629,7 +629,8 @@ export default {
completed: '已完成', completed: '已完成',
cancelled: '已取消', cancelled: '已取消',
confirmed: '已确认', confirmed: '已确认',
failed: '匹配失败' failed: '匹配失败',
received: '已收款',
} }
return statusMap[status] || status return statusMap[status] || status
}, },
@@ -638,7 +639,8 @@ export default {
const actionMap = { const actionMap = {
join: '加入', join: '加入',
confirm: '确认', confirm: '确认',
complete: '完成' complete: '完成',
confirm: '确认收款',
} }
return actionMap[action] || action return actionMap[action] || action
}, },

View File

@@ -62,7 +62,7 @@
<div class="balance-section"> <div class="balance-section">
<div class="balance-card"> <div class="balance-card">
<div class="balance-item"> <div class="balance-item">
<span class="balance-label">我的余额</span> <span class="balance-label">我的融豆</span>
<div class="balance-content"> <div class="balance-content">
<img src="/imgs/profile/融豆.png" alt="融豆" class="bean-image"> <img src="/imgs/profile/融豆.png" alt="融豆" class="bean-image">
<div class="balance-value">{{ Math.abs(accountInfo.balance) }}</div> <div class="balance-value">{{ Math.abs(accountInfo.balance) }}</div>

View File

@@ -32,10 +32,10 @@
<span class="to-user">{{ allocation.to_user_real_name || allocation.to_real_name }}</span> <span class="to-user">{{ allocation.to_user_real_name || allocation.to_real_name }}</span>
<span class="amount">¥{{ allocation.amount }}</span> <span class="amount">¥{{ allocation.amount }}</span>
<el-tag <el-tag
:type="getOrderStatusType(allocation.order_status)" :type="getOrderStatusType(allocation.status)"
size="small" size="small"
> >
{{ getOrderStatusText(allocation.order_status) }} {{ getOrderStatusText(allocation.status) }}
</el-tag> </el-tag>
</div> </div>
<div class="transfer-details"> <div class="transfer-details">
@@ -482,7 +482,8 @@ const getOrderStatusType = (status) => {
'completed': 'success', 'completed': 'success',
'failed': 'danger', 'failed': 'danger',
'cancelled': 'info', 'cancelled': 'info',
'rejected': 'warning' 'rejected': 'warning',
'pending': 'warning'
} }
return statusMap[status] || 'info' return statusMap[status] || 'info'
} }
@@ -493,7 +494,9 @@ const getOrderStatusText = (status) => {
'completed': '已完成', 'completed': '已完成',
'failed': '已失败', 'failed': '已失败',
'cancelled': '已取消', 'cancelled': '已取消',
'rejected': '已拒绝' 'rejected': '已拒绝',
'pending': '待处理',
'confirmed': '已确认'
} }
return statusMap[status] || '未知状态' return statusMap[status] || '未知状态'
} }