diff --git a/.env.development b/.env.development index 302ecd1..55b869e 100644 --- a/.env.development +++ b/.env.development @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 公共服务平台 # 开发环境配置 ENV = 'development' -# 若依管理系统/开发环境 +# 公共服务平台/开发环境 VUE_APP_BASE_API = '/dev-api' # 路由懒加载 diff --git a/.env.production b/.env.production index b4893b0..7eac2ad 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 公共服务平台 # 生产环境配置 ENV = 'production' -# 若依管理系统/生产环境 +# 公共服务平台/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/.env.staging b/.env.staging index 209b64e..dcd089a 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 公共服务平台 BABEL_ENV = production @@ -8,5 +8,5 @@ NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 若依管理系统/测试环境 +# 公共服务平台/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/package.json b/package.json index ab3bdab..f0981b9 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "ruoyi", "version": "3.9.0", - "description": "若依管理系统", - "author": "若依", + "description": "公共服务平台", + "author": "bonus", "license": "MIT", "scripts": { "dev": "vue-cli-service serve", diff --git a/public/img/psp/productCenter/logo.png b/public/img/psp/productCenter/logo.png new file mode 100644 index 0000000..da6eb82 Binary files /dev/null and b/public/img/psp/productCenter/logo.png differ diff --git a/public/img/psp/productCenter/topbg.png b/public/img/psp/productCenter/topbg.png new file mode 100644 index 0000000..9fc183a Binary files /dev/null and b/public/img/psp/productCenter/topbg.png differ diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 5c31196..c9851fb 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -9,19 +9,19 @@ diff --git a/src/router/index.js b/src/router/index.js index bbfd237..7619b0f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -87,6 +87,29 @@ export const constantRoutes = [ meta: { title: '个人中心', icon: 'user' } } ] + }, + // 在路由配置中添加产品详情页面路由 + { + path: '/psp/productCenter', + component: Layout, + redirect: '/psp/productCenter/index', + name: 'ProductCenter', + meta: { title: '产品中心', icon: 'product' }, + children: [ + { + path: 'index', + name: 'ProductCenterIndex', + component: () => import('@/views/psp/productCenter/index'), + meta: { title: '产品中心', icon: 'product' } + }, + { + path: 'detail/:id(\\d+)', + name: 'ProductDetail', + component: () => import('@/views/psp/productCenter/product-detail'), + meta: { title: '产品详情', activeMenu: '/psp/productCenter/index' }, + hidden: true + } + ] } ] diff --git a/src/views/index.vue b/src/views/index.vue index f33d8b7..fce4797 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -2,9 +2,9 @@
-

若依后台管理框架

+

后台管理框架

- 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了若依管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 + 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了公共服务平台,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。

当前版本: v{{ version }} @@ -83,23 +83,23 @@

QQ群: 满937441 满887144332 满180251782 满104180207 满186866453 满201396349 - 满101456076 满101539465 满264312783 满167385320 - 满104748341 满160110482 满170801498 满108482800 - 满101046199 满136919097 满143961921 满174951577 + 满101456076 满101539465 满264312783 满167385320 + 满104748341 满160110482 满170801498 满108482800 + 满101046199 满136919097 满143961921 满174951577 满161281055 满138988063 满151450850 满224622315 满287842588 满187944233 满228578329 191164766

微信:/ *若依/ *

支付宝:/ *若依/ *

@@ -1026,7 +1026,7 @@
    -
  1. 若依前后端分离系统正式发布
  2. +
  3. 公共服务平台前后端分离系统正式发布
diff --git a/src/views/psp/productCenter/index.vue b/src/views/psp/productCenter/index.vue new file mode 100644 index 0000000..20b5dfe --- /dev/null +++ b/src/views/psp/productCenter/index.vue @@ -0,0 +1,512 @@ + + + + + diff --git a/src/views/psp/productCenter/product-detail.vue b/src/views/psp/productCenter/product-detail.vue new file mode 100644 index 0000000..f892bb9 --- /dev/null +++ b/src/views/psp/productCenter/product-detail.vue @@ -0,0 +1,1025 @@ + + + + + diff --git a/vue.config.js b/vue.config.js index 40e140d..8ae02a5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,9 +7,9 @@ function resolve(dir) { const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题 +const name = process.env.VUE_APP_TITLE || '公共服务平台' // 网页标题 -const baseUrl = 'http://localhost:8080' // 后端接口 +const baseUrl = 'http://localhost:58080' // 后端接口 const port = process.env.port || process.env.npm_config_port || 80 // 端口