成功修改订单页面套餐金额 为 套餐金额/套餐小时 ,而不是固定的10元/小时

This commit is contained in:
8vd8
2025-04-25 17:10:15 +08:00
parent 9e10ea7f30
commit 1f264393b9
44 changed files with 5984 additions and 5872 deletions
+38 -38
View File
@@ -1,39 +1,39 @@
// 帮助中心文案配置
export const HELP_CONTENT = {
// FAQ列表
FAQ_LIST: [
{
question: '如何租借风扇?',
answer: '点击首页"扫码租借"按钮,使用微信扫描设备上的二维码,按提示完成支付即可使用。'
},
{
question: '收费标准是怎样的?',
answer: '使用费用为2元/小时,不足1小时按1小时计算。押金99元,归还后自动退还。'
},
{
question: '如何归还风扇?',
answer: '将风扇带到任意归还点,点击首页"扫码归还"按钮,扫描归还点二维码即可完成归还。'
},
{
question: '押金多久能退还?',
answer: '归还设备后押金将自动发起退款,预计0-7个工作日到账。'
},
{
question: '设备无法正常使用怎么办?',
answer: '您可以通过"我的-投诉与建议"提交故障反馈,或直接拨打客服电话处理。'
}
],
// 联系方式
CONTACT: {
TITLE: '联系客服',
PHONE: {
LABEL: '客服电话',
VALUE: '400-888-8888'
},
SERVICE_TIME: {
LABEL: '服务时间',
VALUE: '周一至周日 09:00-22:00'
}
}
// 帮助中心文案配置
export const HELP_CONTENT = {
// FAQ列表
FAQ_LIST: [
{
question: '如何租借风扇?',
answer: '点击首页"扫码租借"按钮,使用微信扫描设备上的二维码,按提示完成支付即可使用。'
},
{
question: '收费标准是怎样的?',
answer: '使用费用为2元/小时,不足1小时按1小时计算。押金99元,归还后自动退还。'
},
{
question: '如何归还风扇?',
answer: '将风扇带到任意归还点,点击首页"扫码归还"按钮,扫描归还点二维码即可完成归还。'
},
{
question: '押金多久能退还?',
answer: '归还设备后押金将自动发起退款,预计0-7个工作日到账。'
},
{
question: '设备无法正常使用怎么办?',
answer: '您可以通过"我的-投诉与建议"提交故障反馈,或直接拨打客服电话处理。'
}
],
// 联系方式
CONTACT: {
TITLE: '联系客服',
PHONE: {
LABEL: '客服电话',
VALUE: '400-888-8888'
},
SERVICE_TIME: {
LABEL: '服务时间',
VALUE: '周一至周日 09:00-22:00'
}
}
}
+54 -54
View File
@@ -1,55 +1,55 @@
/**
* 订单状态映射
*/
export const OrderStatusMap = {
waiting_for_payment: {
text: '待支付',
class: 'status-waiting'
},
payment_in_progress: {
text: '支付中',
class: 'status-progress'
},
payment_successful: {
text: '支付成功',
class: 'status-success'
},
in_used: {
text: '使用中',
class: 'status-using'
},
payment_failed: {
text: '支付失败',
class: 'status-failed'
},
order_cancelled: {
text: '已取消',
class: 'status-cancelled'
},
used_done: {
text: '已完成',
class: 'status-finished'
}
}
/**
* 订单状态分类
*/
export const OrderStatusTabs = [
{
text: '全部',
status: []
},
{
text: '待支付',
status: ['waiting_for_payment', 'payment_in_progress']
},
{
text: '使用中',
status: ['payment_successful', 'in_used']
},
{
text: '已完成',
status: ['used_done', 'payment_failed', 'order_cancelled']
}
/**
* 订单状态映射
*/
export const OrderStatusMap = {
waiting_for_payment: {
text: '待支付',
class: 'status-waiting'
},
payment_in_progress: {
text: '支付中',
class: 'status-progress'
},
payment_successful: {
text: '支付成功',
class: 'status-success'
},
in_used: {
text: '使用中',
class: 'status-using'
},
payment_failed: {
text: '支付失败',
class: 'status-failed'
},
order_cancelled: {
text: '已取消',
class: 'status-cancelled'
},
used_done: {
text: '已完成',
class: 'status-finished'
}
}
/**
* 订单状态分类
*/
export const OrderStatusTabs = [
{
text: '全部',
status: []
},
{
text: '待支付',
status: ['waiting_for_payment', 'payment_in_progress']
},
{
text: '使用中',
status: ['payment_successful', 'in_used']
},
{
text: '已完成',
status: ['used_done', 'payment_failed', 'order_cancelled']
}
]