feat(order): 迁移和完善配送方式功能,支持全链路入库与展示

- 迁移配送方式选择功能从 orderConfirm 页至 user/ticket/use 页面
- orderConfirm 页面移除配送方式相关状态、UI与校验,取消配送费计算
- user/ticket/use 页面新增配送方式UI组件,支持配送费计算、楼层选择弹窗和提交校验
- 新增录入deliveryMethod、deliveryFloor、deliveryFee字段至订单模型与后端数据库
- 骑手端订单列表新增配送方式、楼层、配送费的详细展示
- 更新环境配置接口地址到正式API,修正测试及开发环境
- 用户页底部组件UI优化,新增版权icon并重构结构样式
- 使用配送方式字段校验下单逻辑,支持编辑模式配送信息回显与费用显示
- 移除orderConfirm中配送方式相关样式和组件,实现代码回滚清理
This commit is contained in:
2026-04-12 21:57:50 +08:00
parent e0418df018
commit 54404aa48f
11 changed files with 467 additions and 387 deletions

View File

@@ -8,22 +8,22 @@ const CURRENT_ENV = 'production'
export const ENV_CONFIG = {
// 开发环境
development: {
API_BASE_URL: 'https://glt-dev-api.websoft.top/api',
SERVER_API_URL: 'https://glt-dev-server.websoft.top/api',
API_BASE_URL: 'https://glt-api.websoft.top/api',
SERVER_API_URL: 'https://glt-server.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},
// 测试环境
test: {
API_BASE_URL: 'https://glt-dev-api.websoft.top/api',
SERVER_API_URL: 'https://glt-dev-server.websoft.top/api',
API_BASE_URL: 'https://glt-api.websoft.top/api',
SERVER_API_URL: 'https://glt-server.websoft.top/api',
APP_NAME: '测试环境',
DEBUG: 'true',
},
// 生产环境
production: {
API_BASE_URL: 'https://glt-dev-api.websoft.top/api',
SERVER_API_URL: 'https://glt-dev-server.websoft.top/api',
API_BASE_URL: 'https://glt-api.websoft.top/api',
SERVER_API_URL: 'https://glt-server.websoft.top/api',
APP_NAME: '桂乐淘',
DEBUG: 'false',
},