fix: 更新API端点路径和单次洗车支付流程

- 将多个API端点从相对路径更新为完整URL
- 修改单次洗车配置和支付流程接口路径
- 更新listDetail页面时间字段显示为created_at
- 调整index页面单次洗车选项的显示和支付逻辑
- 添加单次洗车弹窗的样式定义
This commit is contained in:
2025-12-19 19:02:28 +08:00
parent d098203c87
commit b80b33c81f
13 changed files with 106 additions and 30 deletions

View File

@@ -171,4 +171,55 @@
.washing .l {
flex: 1;
}
}
/* 单次消费弹窗 */
.one-time-modal {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
}
.one-time-inner {
width: 84%;
background: #fff;
border-radius: 16rpx;
padding: 24rpx 24rpx 16rpx;
box-shadow: 0 10rpx 30rpx rgba(0,0,0,.2);
}
.one-time-title {
font-size: 32rpx;
font-weight: 600;
color: #333;
text-align: center;
}
.one-time-tip {
font-size: 24rpx;
color: #999;
text-align: center;
margin-top: 8rpx;
}
.one-time-list {
margin-top: 20rpx;
}
.one-time-item {
border: 1px solid #eee;
border-radius: 12rpx;
padding: 20rpx;
margin-bottom: 16rpx;
}
.one-time-cancel {
margin-top: 8rpx;
background-color: #06a2b3;
color: #fff;
text-align: center;
line-height: 80rpx;
height: 80rpx;
border-radius: 12rpx;
}