Name Last Update
..
public Loading commit data...
src Loading commit data...
.env Loading commit data...
.env.production Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
babel.config.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
vue.config.js Loading commit data...

README.md

绿纤门店 PC 端(store-pc)

本目录 store-pc 为门店的 PC 端应用,供门店侧使用;与管理后台 antis-ncc-admin(运营/总部使用)为不同前端工程。

基于 Vue 2.6 + Element UI 的门店 PC 端应用。

技术栈

  • Vue 2.6
  • Vue Router 3
  • Vuex 3
  • Element UI 2.x
  • Axios

开发

# 安装依赖
npm install

# 启动开发服务(端口 3100)
npm run dev

构建

npm run build

构建产物输出到 dist/ 目录,部署路径为 /store

目录结构

store-pc/
├── public/
│   └── index.html
├── src/
│   ├── layout/          # 布局组件
│   ├── router/          # 路由
│   ├── store/           # Vuex
│   ├── styles/          # 全局样式
│   ├── utils/           # 工具函数
│   ├── views/           # 页面
│   │   ├── login/       # 登录
│   │   ├── dashboard/   # 工作台
│   │   ├── orders/      # 开单记录
│   │   └── members/     # 会员管理
│   ├── App.vue
│   └── main.js
├── package.json
└── vue.config.js

接口代理

开发环境下,/api 请求会代理到 http://localhost:2015(后端 API 地址)。可在 vue.config.js 中修改。

待对接

  • 登录接口
  • 开单列表接口
  • 会员列表接口