From 67eb86025bb85f8cb6fdea17e371d284c988c6e8 Mon Sep 17 00:00:00 2001 From: xvv Date: Thu, 1 Aug 2024 13:44:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E8=A1=A5=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/.env.development | 6 +- ruoyi-ui/src/permission.js | 2 +- ruoyi-ui/src/router/index.js | 4 +- ruoyi-ui/src/views/home.vue | 25 +- ruoyi-ui/src/views/login.vue | 2 +- .../officialWebsite/Components/header.vue | 3 + .../src/views/officialWebsite/details.vue | 616 ++++++++++++++++++ ruoyi-ui/src/views/register.vue | 2 +- 8 files changed, 650 insertions(+), 10 deletions(-) create mode 100644 ruoyi-ui/src/views/officialWebsite/details.vue diff --git a/ruoyi-ui/.env.development b/ruoyi-ui/.env.development index 7b6972a..fb1c0d1 100644 --- a/ruoyi-ui/.env.development +++ b/ruoyi-ui/.env.development @@ -1,12 +1,12 @@ # 页面标题 -VUE_APP_TITLE = 后台管理系统 +VUE_APP_TITLE = 虚拟仿真实验教学中心 # 开发环境配置 ENV = 'development' # 若依管理系统/开发环境 -# VUE_APP_BASE_API = 'https://f382b38516.zicp.fun' -VUE_APP_BASE_API = 'http://localhost:8080' +VUE_APP_BASE_API = 'https://f382b38516.zicp.fun' + # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/ruoyi-ui/src/permission.js b/ruoyi-ui/src/permission.js index 8dccd36..fc69cf1 100644 --- a/ruoyi-ui/src/permission.js +++ b/ruoyi-ui/src/permission.js @@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request' NProgress.configure({ showSpinner: false }) -const whiteList = ['/login', '/register', '/gw', '/sb','/about','/platform','/teaching','/team','/committee','/competition','/contact' ] +const whiteList = ['/login', '/register', '/virtually', '/sb','/about','/platform','/teaching','/team','/committee','/competition','/contact' ] router.beforeEach((to, from, next) => { NProgress.start() diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 397b8a5..3fb2446 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -42,8 +42,8 @@ export const constantRoutes = [ ] }, { - path: '/gw', - name:'gw', + path: '/virtually', + name:'virtually', component: () => import('@/views/home'), hidden: true }, diff --git a/ruoyi-ui/src/views/home.vue b/ruoyi-ui/src/views/home.vue index c82ced0..3c367f4 100644 --- a/ruoyi-ui/src/views/home.vue +++ b/ruoyi-ui/src/views/home.vue @@ -1,7 +1,7 @@