Files
zsw-jx-store/README.md
2025-11-14 10:10:24 +08:00

353 lines
9.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 京西菜市商家版
- 开发:
张树伟
- 日期:
2022年12月05日
- 项目说明:
京西菜市商家版本兼容《微信小程序》《Android》《Ios》
- 技术栈Vue3/VueX/Ts/Vite/UniApp
- 【注意】请勿使用pinia
- node版本16.18.0
## 项目仓库名字
- jx-Applets-Android-Ios
## 微信小程序
- 分支名字:微信小程序
- https://e.coding.net/rosydev/jx-Applets-Android-Ios/zsw-jx-store.git
## 苹果安卓App
- 分支名字:苹果和微信
- https://e.coding.net/rosydev/jx-Applets-Android-Ios/zsw-jx-store.git
## 主分支master
- 微信小程序和苹果安卓App都是从主分支分出来的主分支受到保护不允许修改分支不允许合并
# 目录解构
- 【注意】由于是小程序与App公用这个书名文件可能有些文件没有
```
├── dist # 编译后的文件
├── nativeplugins # 原生插件
├── node_modules # 依赖文件
├── src # 项目文件
│ │
│ ├── api # api接口管理
│ │ │
│ │ ├── https # 分模块接口管理
│ │ │ ├── login.ts # 登录类接口
│ │ │ ├── merchant.ts # 商家管理类接口
│ │ │ ├── order.ts # 订单管理类接口
│ │ │ └── shopping.ts # 商品管理类接口
│ │ │
│ │ ├── config.ts # 环境配置文件
│ │ ├── index.ts # 接汇总导出文件
│ │ └── request.ts # 接口请求文件
│ │
│ ├── components # 组件
│ │ │
│ │ ├── dialog # 兼容安卓自定义弹窗
│ │ ├── globalAlert # 兼容安卓与IOS全局弹窗
│ │ ├── jx-empty # 空状态占位组件
│ │ ├── jx-icon # icon图标组件
│ │ ├── jx-input # 三段式input输入组件
│ │ ├── jx-ios-android # 安卓与ios渲染判断组件
│ │ ├── jx-loading # 数据加载loading组件
│ │ ├── jx-load-more # 上拉加载更多展示组件
│ │ ├── jx-login-empty # 未登录展示组件
│ │ ├── jx-price # 自动格式化价格组件
│ │ ├── jx-real-income # 京西菜市订单单价组件
│ │ ├── jx-real-income-jxgy # 京西果园订单单价组件
│ │ ├── jx-update # 软件更新组件
│ │ └── jx-upload-img # 七牛云图片上传组件
│ │
│ ├── composables # 公共hooks
│ │ │
│ │ ├── useGlobalFunc.ts # 全局公用 hooks
│ │ └── useOrderInfo.ts # 订单专用 hooks
│ │
│ ├── pages # tabbar页面
│ │ │
│ │ ├── goods-manager # 商品管理页面
│ │ ├── merchant # 商家中心页面
│ │ └── order-manager # 订单管理页面
│ │
│ ├── static # 静态文件
│ │ │
│ │ ├── agreement # 静态版权文件
│ │ ├── audio # 项目音频文件
│ │ ├── font # 项目图标文件
│ │ ├── image # 项目图片文件
│ │ ├── merchant-icon # 商家中心图标文件
│ │ └── style # 公共样式文件
│ │
│ ├── store # vuex状态管理
│ │ │
│ │ ├── useServeInfoStore # 项目服务类vuex模块
│ │ ├── useStoreInfoStore # 项目门店类vuex模块
│ │ └── index.ts # vuex 入口文件
│ │
│ ├── subPages # 分包页面
│ │ │
│ │ ├── agreement # 静态版权文件
│ │ ├── login # 登录相关类页面
│ │ ├── merchantChild # 商家中心类子页面
│ │ │ │
│ │ │ ├── activity # 活动信息页面
│ │ │ ├── backstageApp # 后天运行能力页面
│ │ │ ├── bill # 我的账单页面
│ │ │ ├── billDetaile # 账单详情页面
│ │ │ ├── businessLicense # 营业资质页面
│ │ │ ├── enterGroupChat # 进入群聊页面
│ │ │ ├── evaluateM # 评价管理页面
│ │ │ ├── helpCenter # 帮助中心页面
│ │ │ ├── message # 消息列表页面
│ │ │ ├── messageDetail # 消息详情页面
│ │ │ ├── modifyPrice # 调价包页面
│ │ │ ├── orderRealTime # 京西菜市营业数据页面
│ │ │ ├── orderRealTimeJxgy # 京西果园营业数据页面
│ │ │ ├── platformM # 已开通店铺店铺页面
│ │ │ ├── printerSetUp # 蓝牙打印机设置页面
│ │ │ ├── setUp # 设置页面
│ │ │ ├── storeScore # 门店评分页面
│ │ │ ├── storeScoreDetaile # 评分详情页面
│ │ │ ├── useInfo # 个人信息页面
│ │ │ ├── waitGoods # 待配商品页面
│ │ │ ├── accountBalance # 配送余额
│ │ │ └── waitGoodsDetaile # 商品详情页面
│ │ │
│ │ ├── orderChild # 订单类子页面
│ │ │ │
│ │ │ ├── afterSalesOrderDetail # 售后订单页面
│ │ │ ├── createAfterSales # 异常订单页面
│ │ │ ├── deliverManager # 配送管理页面
│ │ │ ├── getPhone # 联系平台页面
│ │ │ └── orderDetail # 订单详情页面
│ │ │
│ │ ├── shoppingChild # 商品管理类子页面
│ │ │ │
│ │ │ └── createGoods # 创建商品
│ │ │
│ │ └── switchStore # 切换门店
│ │
│ ├── utils # 工具
│ │ │
│ │ ├── bluetoothPrinter # 蓝牙打印机类工具
│ │ ├── android_ios.ts # 安卓插件类工具
│ │ ├── configCms.ts # 项目系统配置文件
│ │ ├── location.ts # 本地存储工具
│ │ ├── toast.ts # 公共请提示工具
│ │ └── tools.ts # 混合类处理工具
│ │
│ ├── androidPrivacy.json # 安卓打包文件
│ ├── App.ts # 根组件逻辑
│ ├── App.vue # 根组件页面
│ ├── apple-app-site-association # ios 关联域
│ ├── env.d.ts # type 授权文件
│ ├── main.ts # 入口文件
│ ├── manifest.json # 打包配置文件
│ ├── pages.json # 页面路径配置
│ └── uni.scss # 公共样式
├── package-lock.json # ***
├── package.json # 包管理文件
├── README.md # README
├── tsconfig.node.json # ts配置文件
└── vite.config.ts # vite 配置
```
# 路径管理
## 验证登录
路径:
/subPages/login/index
### 选择门店
路径:
/subPages/switchStore/switchStore
#### 商家中心
##### 帮助中心
路径:
/subPages/merchantChild/helpCenter/helpCenter
##### 营业数据
###### 京西菜市
路径:
/subPages/merchantChild/orderRealTime/orderRealTime
###### 京西果园
路径:
/subPages/merchantChild/orderRealTimeJxgy/orderRealTimeJxgy
##### 已开通店铺
路径:
/subPages/merchantChild/platformM/platformM
##### 调价包
路径:
/subPages/merchantChild/modifyPrice/modifyPrice
##### 我的账单
路径:
/subPages/merchantChild/bill/bill
##### 账单详情
路径:
/subPages/merchantChild/billDetaile/billDetaile
##### 评价管理
路径:
/subPages/merchantChild/evaluateM/evaluateM
##### 门店评分
路径:
/subPages/merchantChild/storeScore/storeScore
##### 评分详情
路径:
/subPages/merchantChild/storeScoreDetaile/storeScoreDetaile
##### 待配商品
路径:
/subPages/merchantChild/waitGoods/waitGoods
##### 商品详情
路径:
/subPages/merchantChild/waitGoodsDetaile/waitGoodsDetaile
##### 进入群聊
路径:
/subPages/merchantChild/enterGroupChat/enterGroupChat
##### 消息列表
路径:
/subPages/merchantChild/message/message
##### 最新消息
路径:
/subPages/merchantChild/messageDetail/messageDetail
##### 活动信息
路径:
/subPages/merchantChild/activity/activity
##### 设置
路径:
/subPages/merchantChild/setUp/setUp
##### 蓝牙打印机设置
路径:
/subPages/merchantChild/printerSetUp/printerSetUp
##### 营业资质
路径:
/subPages/merchantChild/businessLicense/businessLicense
##### 后台运行优化
路径:
/subPages/merchantChild/backstageApp/backstageApp
##### 个人信息
路径:
/subPages/merchantChild/useInfo/useInfo
##### 配送余额
路径:
/subPages/merchantChild/accountBalance/accountBalance
#### 消息
#### 商品管理
##### 创建商品
路径:
/subPages/shoppingChild/createGoods/createGoods
#### 订单管理
##### 联系平台
路劲:
/subPages/orderChild/getPhone/getPhone
##### 订单详情
路劲:
/subPages/orderChild/orderDetail/orderDetail
##### 配送管理
路劲:
/subPages/orderChild/deliverManager/deliverManager
##### 售后详情
路劲:
/subPages/orderChild/afterSalesOrderDetail/afterSalesOrderDetail
##### 创建售后订单
路劲:
/subPages/orderChild/createAfterSales/createAfterSales