多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 页面说明 主要目录结构及说明: ``` ├── public # 静态资源 │ ├── favicon.ico # favicon图标 │ └── index.html # html 模板 ├── src # 源代码 │ ├── api # 所有请求 │ │ └──account.js # 有关登录的接口 │ │ └──agent.js # 有关分销的接口 │ │ └──app.js # 有关应用(小程序、公众号)的接口 │ │ └──cms.js # 有关内容(文章管理、分类)的接口 │ │ └──common.js # 表格删除、获取消息提醒的接口 │ │ └──finance.js # 有关财务的接口 │ │ └──index.js # 有关首页的接口 │ │ └──marketing.js # 有关营销的接口 │ │ └──order.js # 有关订单的接口 │ │ └──product.js # 有关商品的接口 │ │ └──setting.js # 有关设置的接口 │ │ └──system.js # 有关维护(开发配置、安全维护)的接口 │ │ └──systemAdmin.js # 有关管理员的接口(设置--管理权限--管理员列表) │ │ └──systemMenus.js # 有关权限规则的接口(设置--管理权限--权限规则) │ │ └──uploadPictures.js # 有关上传图片附件的接口 │ │ └──user.js # 有关会员的接口 │ ├── assets # 图片、svg 等静态资源 │ ├── components # 公共组件 │ │ └──cards # 统计 │ │ └──copyright # 页面footer的底部声明 │ │ └──customerInfo # 选择用户 │ │ └──echarts # 统计图 │ │ └──freightTemplate # 运费模板 │ │ └──from # 生成表单 │ │ └──goodsList # 商品列表 │ │ └──iconFrom # 导航添加图标 │ │ └──link # a连接 │ │ └──mde # 多文本框 │ │ └──modelSure # 确认模态框 │ │ └──newsCategory # 图文管理页 │ │ └──publicSearchFrom # 头部搜索(没用到) │ │ └──quill # 编辑器(没用到) │ │ └──referrerInfo # 推荐人信息 │ │ └──searchFrom # 订单页的搜索 │ │ └──sendCoupons # 发送优惠券 │ │ └──systemStore # 添加提货点 │ │ └──ueditorFrom # 编辑器组件(供参考,没用到,主要用安装组件--vue-ueditor-wrap) │ │ └──uploadPictures # 上传图片 │ │ └──uploadVideo # 上传视频(用于商品编辑器里面) │ ├── i18n # 多语言 │ ├── layouts # 布局 │ │ └──header-breadcrumb # 头部面包屑样式 │ │ └──header-collapse # 头部控制折叠面板的图标 │ │ └──header-fullscreen # 头部控制是否全屏的图标 │ │ └──header-i18n # 头部控制多语言 │ │ └──header-log # 头部控制日志异常图标 │ │ └──header-logo # 头部logo │ │ └──header-notice # 头部提示消息 │ │ └──header-reload # 头部控制刷新的图标 │ │ └──header-search # 头部搜索 │ │ └──header-setting # 设置页面风格 │ │ └──header-user # 我的(个人中心、退出登录) │ │ └──menu-head # │ │ └──menu-side # 侧边导航栏 │ │ └──tabs # 头部的横向导航标签 │ │ └──mixins # 用于横向滚动获取title的一个js │ ├── libs # 公共方法 │ ├── menu # 菜单配置 │ ├── mixins # 通用混合 │ ├── mock # 数据模拟 │ ├── pages # 所有页面 │ │ └──account # 有关登录页 │ │ └──login # 登录 │ │ └──register # 注册 │ │ └──agent # 分销 │ │ └──agentManage # 分销员管理 │ │ └──app # 应用 │ │ └──routine # 小程序模板消息 │ │ └──wechat # 公众号 │ │ └──menus # 微信菜单 │ │ └──newsCategory # 图文管理 │ │ └──save # 图文添加 │ │ └──reply # 自动回复 │ │ └──follow # 微信关注回复/无效关键词回复 │ │ └──keyword # 关键字回复 │ │ └──user # 用户 │ │ └──tag # 用户标签 │ │ └──user # 微信用户 │ │ └──message # 用户行为记录 │ │ └──cms # 内容 │ │ └──addArticle # 添加文章/编辑文章 │ │ └──article # 文章管理 │ │ └──articleCategory # 文章分类 │ │ └──finance # 财务 │ │ └──commission # 佣金记录 │ │ └──financialRecords # 财务记录 │ │ └──bill # 资金记录 │ │ └──recharge # 充值记录 │ │ └──userExtract # 提现申请 │ │ └──index # 主页 │ │ └──marketing # 营销 │ │ └──storeBargain # 砍价商品 │ │ └──storeCombination # 拼团管理 │ │ └──combinaList # 拼团列表 │ │ └──create # 添加拼团商品 │ │ └──index # 拼团商品 │ │ └──storeCoupon # 优惠券制作 │ │ └──storeCouponIssue # 优惠券列表 │ │ └──storeCouponUser # 会员领取记录 │ │ └──storeSeckill # 秒杀管理 │ │ └──index # 秒杀商品 │ │ └──create # 添加秒杀商品 │ │ └──userPoint # 积分日志 │ │ └──notify # 短信设置 │ │ └──smsConfig # 短信账户 │ │ └──smsPay # 短信购买 │ │ └──smsTemplateApply # 短信模板 │ │ └──order # 订单管理 │ │ └──product # 商品 │ │ └──productAdd # 添加商品 │ │ └──productAttr # 商品规格 │ │ └──productClassify # 商品分类 │ │ └──productList # 商品管理 │ │ └──productReply # 商品评论管理 │ │ └──setting # 设置 │ │ └──cityDada # 城市数据 │ │ └──clerkList # 核销员管理 │ │ └──freight # 物流公司 │ │ └──setSystem # 系统设置 │ │ └──shippingTemplates # 运费模板 │ │ └──storeList # 提货点列表 │ │ └──storeService # 客服管理 │ │ └──systemAdmin # 管理员列表 │ │ └──systemMenus # 权限规则 │ │ └──systemRole # 身份管理 │ │ └──systemStore # 门店设置 │ │ └──user # 个人中心 │ │ └──verifyOrder # 核销订单 │ │ └──system # 维护 │ │ └──auth # 商业授权 │ │ └──clear # 刷新缓存 │ │ └──configTab # 配置 │ │ └──index # 配置分类 │ │ └──list # 配置列表 │ │ └──error # 错误页 │ │ └──403 # 403 │ │ └──404 # 404 │ │ └──500 # 500 │ │ └──group # 组合数据 │ │ └──maintain │ │ └──systemCleardata # 清除数据 │ │ └──systemDatabackup # 数据备份 │ │ └──systemFile # 文件校验 │ │ └──opendir # 文件管理 │ │ └──systemLog # 系统日志 │ │ └──user # 会员 │ │ └──group # 会员分组 │ │ └──label # 会员标签 │ │ └──level # 会员等级 │ │ └──list # 会员管理 │ ├── plugins # 插件 │ ├── router # 路由配置 │ │ └──modules # 页面路由模块 │ │ └──agent.js # 有关分销 │ │ └──app.js # 有关应用(小程序、公众号) │ │ └──cms.js # 有关内容(文章管理、文章分类) │ │ └──echarts.js # 有关统计 │ │ └──finance.js # 有关财务 │ │ └──index.js # 有关主页 │ │ └──marketing.js # 有关营销 │ │ └──order.js # 有关订单 │ │ └──product.js # 有关商品 │ │ └──setting.js # 有关设置 │ │ └──system.js # 有关维护 │ │ └──user.js # 有关会员 │ │ └──index.js # 路由的导出以及拦截处理 │ │ └──routes.js # 路由的汇总 │ ├── store # Vuex 状态管理 │ ├── utils # js工具 │ │ └──authLapse.js # 授权提示框 │ │ └──modalForm.js # 表单模态框 │ │ └──videoCloud.js # 上传云储存视频(七牛、腾讯、阿里) │ │ └──validate.js # 将时间戳转化成时间; │ │ └──public.js # 询问模态框; │ ├── styles # 样式管理 │ ├── setting.env.js # 开发配置文件 │ ├── setting.js # 业务配置文件 │ ├── main.js # 入口文件 加载组件 初始化等 │ └── App.vue # 入口页面 ├── tests # 测试管理 ├── alias.config.js # 别名,仅用于配置 WebStorm 识别别名,无实际用处 ├── babel.config.js # babel 配置 ├── jest.config.js # jest 配置 ├── package.json # package.json └── vue.config.js # Vue CLI 3 配置 ``` ### 调试 ```sh npm run serve ``` ### 打包 ```sh npm run build ``` ### 配置说明 `src/setting.js` ```sh VUE_APP_API_URL#接口地址,例如 http://www.abc.com/api VUE_APP_WS_URL #长连接服务地址,例如 ws://www.abc.com:20003 ``` ### 放置目录 请把打包好的页面文件上传到public/admin目录中 ### 页面路径文档 | | | | | | | --- | --- | --- | --- | --- | |  页面        |   页面地址   |  路径 |  带参路径例子  |  参数解释  | | 主页     |   @/pages/index/index |   /admin/home    |     |      | | 分销员管理  |  @/pages/agent/agentManage |  /admin/agent/agent_manage/index   |     |   | | 微信菜单     | @/pages/app/wechat/menus/index|   /admin/app/wechat/setting/menus/index    |  |   | | 微信模板消息     | @/pages/app/routine/routineTemplate/index |   /admin/app/wechat/setting/template/index    |     |      | | 微信用户     | @/pages/app/wechat/user/user  |   /admin/app/wechat/wechat_user/user/index   |     |      | | 用户标签    | @/pages/app/wechat/user/tag   |   /admin/app/wechat/wechat_user/user/tag   |   |  | |用户分组  | @/pages/app/wechat/user/tag | /admin/app/wechat/wechat_user/user/group    |     |     | | 用户行为记录  | @/pages/app/wechat/user/message | /admin/app/wechat/wechat_user/user/message   | |  | | 图文管理| @/pages/app/wechat/newsCategory/index | /admin/app/wechat/news_category/index | |  | | 图文添加 |@/pages/app/wechat/newsCategory/save | /admin/app/wechat/news_category/save/:id? |/admin/app/wechat/news_category/save/0|id:0添加;非0编辑(图文id)| |微信关注回复|@/pages/app/wechat/reply/follow| /admin/app/wechat/reply/follow/subscribe||| | 关键字回复|@/pages/app/wechat/reply/keyword|/admin/app/wechat/reply/keyword||| |关键字添加|@/pages/app/wechat/reply/follow|/admin/app/wechat/reply/keyword/save/:id?|/admin/app/wechat/reply/keyword/save/0|id:0添加;非0编辑(关键字id)| | 无效关键词回复 |@/pages/app/wechat/reply/follow|/admin/app/wechat/reply/index/default|  |  | |小程序模板消息|@/pages/app/routine/routineTemplate/index|/admin/app/routine/routine_template/index|  |  | |文章管理|@/pages/cms/article/index|/admin/cms/article/index|  |  | | 文章分类|@/pages/cms/articleCategory/index|/admin/cms/article_category/index|      |  | | 文章添加|@/pages/cms/addArticle/index|/admin/cms/article/add_article/:id?|/admin/cms/article/add_article/2|id:没有id为添加;有id为编辑(文章id)| | 提现申请|@/pages/finance/userExtract/index|/admin/finance/user_extract/index|  |  | | 充值记录|@/pages/finance/financialRecords/recharge|/admin/finance/user_recharge/index||| |资金记录|@/pages/finance/financialRecords/bill |/admin/finance/finance/bill ||| |佣金记录|@/pages/finance/commission/index|/admin/finance/finance/commission|      |  | |拼团商品|@/pages/marketing/storeCombination/index|/admin/marketing/store_combination/index|     |  | |拼团列表|@/pages/marketing/storeCombination/combinaList|/admin/marketing/store_combination/combina_list|  |  | |添加拼团|@/pages/marketing/storeCombination/create|/admin/marketing/store_combination/create/:id?|/admin/marketing/store_combination/create/2|id:没有id为添加;有id为编辑(拼团id)| |优惠券制作|@/pages/marketing/storeCoupon/index|/admin/marketing/store_coupon/index||| |优惠券列表|@/pages/marketing/storeCouponIssue/index|/admin/marketing/store_coupon_issue/index| | | |会员领取记录|@/pages/marketing/storeCouponUser/index|/admin/marketing/store_coupon_user/index||| |砍价商品|@/pages/marketing/storeBargain/index|/admin/marketing/store_bargain/index|  |  | |添加砍价|@/pages/marketing/storeBargain/create|/admin/marketing/store_bargain/create/:id?|/admin/marketing/store_bargain/create/0|id:0添加;非0编辑(砍价id)| |秒杀商品|@/pages/marketing/storeSeckill/index|/admin/marketing/store_seckill/index||| |秒杀配置|@/pages/system/group/list|/admin/marketing/store_seckill_data/index/49||| |添加秒杀| @/pages/marketing/storeSeckill/create | /admin/marketing/store_seckill/create/:id? | /admin/marketing/store_seckill/create/19 | id:没有id为添加;有id为编辑(秒杀id) | | | 积分配置  | @/pages/setting/setSystem/index |/admin/marketing/integral/system_config/3/11 | |  | | 积分日志  | @/pages/marketing/userPoint/index  | /admin/marketing/user_point/index | | | | 订单管理  | @/pages/order/orderList/index | /admin/order/list | | | | 商品管理  | @/pages/product/productList | /admin/product/product_list |  |  | | 商品分类  | @/pages/product/productClassify | /admin/product/product_classify | | | | 商品添加  | @/pages/product/productAdd |/admin/product/add_product/:id? | /admin/product/add_product/84| id:没有id为添加;有id为编辑(商品id)| | 商品评论  | @/pages/product/productReply |/admin/product/product_reply/:id?|/admin/product/product_reply/84 | id:没有id为商品评论页;有id为查看评论(商品id) | | 属性规则  | @/pages/product/productAttr | /admin/product/product_attr | | | | 身份管理  | @/pages/setting/systemRole/index | /admin/setting/system_role/index | | | | 管理员管理 | @/pages/setting/systemAdmin/index | /admin/setting/system_admin/index | | | | 权限规则 | @/pages/setting/systemMenus/index | /admin/setting/system_menus/index | | | | 系统设置 | @/pages/setting/setSystem/index | /admin/setting/system_config | | | | 分销设置 | @/pages/setting/setSystem/index | /admin/setting/system_config_retail/3/9 | | | | 短信账户 | @/pages/notify/smsConfig/index | /admin/setting/sms/sms_config/index | | | | 短信模板 | @/pages/notify/smsTemplateApply/index | /admin/setting/sms/sms_template_apply/index | | | | 短信购买 | @/pages/notify/smsPay/index | /admin/setting/sms/sms_pay/index | | | | 公共短信模板 | @/pages/notify/smsTemplateApply/index |  /admin/setting/sms/sms_template_apply/commons | | | | 首页导航按钮 | @/pages/system/group/list |/admin/setting/system_group_data/index/47| | | | 首页幻灯片 | @/pages/system/group/list |/admin/setting/system_group_data/slide/48| | | | 签到天数配置 | @/pages/system/group/list | /admin/setting/system_group_data/sign/55 | | | | 订单详情动态图 | @/pages/system/group/list |/admin/setting/system_group_data/order/53| | | | 个人中心菜单 | @/pages/system/group/list | /admin/setting/system_group_data/user/54 | | | | 首页滚动新闻 | @/pages/system/group/list | /admin/setting/system_group_data/new/50 | | | | 热门榜单推荐 | @/pages/system/group/list | /admin/setting/system_group_data/hot/57 | | | | 首发新品推荐 | @/pages/system/group/list | /admin/setting/system_group_data/new_product/58 | | | | 促销单品推荐 | @/pages/system/group/list| /admin/setting/system_group_data/promotion/59 | | | 个人中心分销海报 | @/pages/system/group/list | /admin/setting/system_group_data/poster/60 | | | | 精品推荐 | @/pages/system/group/list | /admin/setting/system_group_data/best/52 | | | | 首页活动区域图片 | @/pages/system/group/list | /admin/setting/system_group_data/activity/51 | | | | 首页配置 | @/pages/system/group/list | /admin/setting/system_group_data/system/61 | | | | 首页超值爆款 | @/pages/system/group/list | /admin/setting/system_group_data/hot_money/64 | | | | 门店设置 | @/pages/setting/systemStore/index | /admin/setting/merchant/system_store/index | | | | 物流公司 | @/pages/setting/freight/index | /admin/setting/freight/express/index | | | | 客服管理 | @/pages/setting/storeService/index |/admin/setting/store_service/index| | | | 城市数据 | @/pages/setting/cityDada/index |/admin/setting/freight/city/list| | | | 运费模板 | @/pages/setting/shippingTemplates/index |/admin/setting/freight/shipping_templates/list| | | | 提货点列表 | @/pages/setting/storeList/index |/admin/setting/merchant/system_store/list| | | | 核销员管理 | @/pages/setting/clerkList/index |/admin/setting/merchant/system_store_staff/index| | | | 核销订单 | @/pages/setting/verifyOrder/index |/admin/setting/merchant/system_verify_order/index| | | | 刷新缓存 | @/pages/system/clear/index |/admin/system/maintain/clear/index| | | | 在线更新 | @/pages/system/systemUpgradeclient/index |/admin/system/system_upgradeclient/index| | | | 系统日志 | @/pages/system/maintain/systemLog/index |/admin/system/maintain/system_log/index| | | | 文件校验 | @/pages/system/maintain/systemFile/index |/admin/system/maintain/system_file/index| | | | 清除数据 | @/pages/system/maintain/systemCleardata/index |/admin/system/maintain/system_cleardata/index| | | | 数据备份 | @/pages/system/maintain/systemDatabackup/index |/admin/system/maintain/system_databackup/index| | | | 文件管理 | @/pages/system/maintain/systemFile/opendir |/admin/system/maintain/system_file/opendir| | | | 配置分类 | @/pages/system/configTab/index |/admin/system/config/system_config_tab/index| | | | 配置列表 | @/pages/system/configTab/list |/admin/system/config/system_config_tab/list/:id?| /admin/system/config/system_config_tab/list/22 | id:配置id | | 组合数据 | @/pages/system/group/index |/admin/system/config/system_group/index| | | | 组合数据列表 | @/pages/system/group/list |/admin/system/config/system_group/list/:id?| /admin/system/config/system_group/list/37 | id:组合数据id | | 商业授权 | @/pages/system/auth/index |/admin/system/maintain/auth| |  | | 会员管理 | @/pages/user/list/index |/admin/user/list| |  | | 会员等级 | @/pages/user/level/index |/admin/user/level| |  | | 会员分组 | @/pages/user/group/index |/admin/user/group| |  | | 会员标签 | @/pages/user/label/index |/admin/user/label| |  | | 登录 | @/pages/account/login |/admin/login| |  | | 前端日志| @/pages/system/log |/admin/system/log| |  | | 个人中心| @/pages/setting/user/index |/admin/system/user| |  | | 上传图片| @/components/uploadPictures/widgetImg |/admin/widget.images/index.html| |  | | 上传图标| @/components/iconFrom/index |/admin/widget.widgets/icon.html| |  | | 选择商品| @/components/goodsList/index |/admin/store.StoreProduct/index.html| |  | | 选择用户| @/components/customerInfo/index |/admin/system.User/list.html| |  | | 上传视频| @/components/uploadVideo/index |/admin/widget.video/index.html| |  | | 403 | @/pages/system/error/403 | /admin/403 |  | | 500 | @/pages/system/error/500 | /admin/500 |  | | 404 | @/pages/system/error/404 | /admin/* |  |