fix(xinlong-shop-taro): 修复订单详情页配送方式判断逻辑

- 纠正了判断快递配送的条件,避免误判商家送货为快递配送
- 订单收货信息卡片显示不同配送方式对应的图标和门店名称
- 订单信息区新增配送方式字段,映射 DELIVERY_TYPE_MAP
- 规范了 deliveryType 的值范围及对应含义
- 修复时纠正了误改项目,将改动应用到商家端项目 xinlong-shop-taro
This commit is contained in:
2026-07-17 12:10:10 +08:00
parent bd814d00b0
commit 57be388a65
2 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
# 项目长期记忆
## 项目结构
### 关键项目路径
- **管理后台**`/Users/gxwebsoft/VUE/guilixu-admin`Vue3 + Ant Design Vue
- **用户端小程序**`/Users/gxwebsoft/VUE/guilixu-taro`Taro + React
- **商家端小程序**`/Users/gxwebsoft/VUE/xinlong-shop-taro`Taro + React
### ⚠️ 跨项目教训(重要)
- 商家端发货/门店/订单相关功能在 **xinlong-shop-taro**,不要改到 guilixu-taro
- 用户端订单详情等功能在 **guilixu-taro**
- 跨项目改动前,先用 grep/glob 在多个候选项目里确认"哪个项目有该功能源码",再动手
- 已发生两次误改 guilixu-taro 的教训useClerk 全局上下文、订单详情 deliveryType 修复)
## 业务约定
### deliveryType 配送方式枚举
- `0` = 快递配送
- `1` = 无需发货 / 自提
- `2` = 商家送货
来源:管理后台 `src/views/shop/shopOrder/components/deliveryModal.vue`