diff --git a/.env.dev b/.env.dev index 1955b6b..10dc3f5 100644 --- a/.env.dev +++ b/.env.dev @@ -12,7 +12,7 @@ VITE_ROUTER_BASE=/ VITE_ROUTER_HISTORY=hash # api -VITE_API_BASIC='http://10.10.1.6:8040' +VITE_API_BASIC='http://10.10.1.39:8040' VITE_API_HTTP=/api/v1/ # storage VITE_STORAGE_NAMESPACE = gin-admin_local_ \ No newline at end of file diff --git a/config/useServer.js b/config/useServer.js index acb6a73..d1c01fe 100644 --- a/config/useServer.js +++ b/config/useServer.js @@ -3,7 +3,7 @@ export default () => ({ port: 8080, proxy: { '/api': { - target: 'http://101.42.232.163:8080/api', + target: 'http://10.10.1.39:8040/api', // target: 'http://127.0.0.1:8045/api', changeOrigin: true, rewrite: (path) => path.replace('/api', ''), diff --git a/src/assets/imgs/jianguan2.png b/src/assets/imgs/jianguan2.png new file mode 100644 index 0000000..aff6894 Binary files /dev/null and b/src/assets/imgs/jianguan2.png differ diff --git a/src/assets/imgs/jianguan3.png b/src/assets/imgs/jianguan3.png new file mode 100644 index 0000000..4a30b45 Binary files /dev/null and b/src/assets/imgs/jianguan3.png differ diff --git a/src/assets/imgs/plat-bg.png b/src/assets/imgs/plat-bg.png new file mode 100644 index 0000000..4d6ce0b Binary files /dev/null and b/src/assets/imgs/plat-bg.png differ diff --git a/src/assets/imgs/tel2.png b/src/assets/imgs/tel2.png new file mode 100644 index 0000000..dfd34ae Binary files /dev/null and b/src/assets/imgs/tel2.png differ diff --git a/src/assets/imgs/yunying.png b/src/assets/imgs/yunying.png index fe46b56..6beb0bb 100644 Binary files a/src/assets/imgs/yunying.png and b/src/assets/imgs/yunying.png differ diff --git a/src/components/StartBackground/index.vue b/src/components/StartBackground/index.vue new file mode 100644 index 0000000..6793776 --- /dev/null +++ b/src/components/StartBackground/index.vue @@ -0,0 +1,83 @@ + + + + + \ No newline at end of file diff --git a/src/router/config.js b/src/router/config.js index 246e880..eb88482 100644 --- a/src/router/config.js +++ b/src/router/config.js @@ -3,7 +3,7 @@ import * as layouts from '@/layouts' * 白名单 * @type {string[]} */ -export const whiteList = ['login', 'logout', '404', 'users','plateform'] +export const whiteList = ['login', 'logout', '404', 'users','plateform'] // no redirect whitelist /** * 未找到页面路由 @@ -41,18 +41,18 @@ export const constantRoutes = [ title: '登录', }, }, - { - path: '/plateform', - name: 'plateform', - component: () => import('@/views/login/platForm.vue'), - meta: { - title: '平台选择', - }, - }, ], }, { path: '/404', component: () => import('@/views/exception/404.vue'), }, + { + path: '/plateform', + name: 'plateform', + component: () => import('@/views/login/platForm.vue'), + meta: { + title: '平台选择', + }, + }, ] diff --git a/src/router/routes/index.js b/src/router/routes/index.js index 5877eb6..2ad09f0 100644 --- a/src/router/routes/index.js +++ b/src/router/routes/index.js @@ -1,25 +1,25 @@ import home from './home' -import form from './form' -import list from './list' -import profile from './profile' -import result from './result' -import exception from './exception' +// import form from './form' +// import list from './list' +// import profile from './profile' +// import result from './result' +// import exception from './exception' // import admin from './admin' import system from './system' -import link from './link' -import iframe from './iframe' -import other from './other' +// import link from './link' +// import iframe from './iframe' +// import other from './other' export default [ ...home, - ...form, - ...list, - ...profile, - ...result, - ...exception, + // ...form, + // ...list, + // ...profile, + // ...result, + // ...exception, // ...admin, ...system, - ...link, - ...iframe, - ...other, + // ...link, + // ...iframe, + // ...other, ] diff --git a/src/views/login/platForm.vue b/src/views/login/platForm.vue index 8f7df3a..ad92cd6 100644 --- a/src/views/login/platForm.vue +++ b/src/views/login/platForm.vue @@ -1,19 +1,77 @@