diff --git a/.env.dev b/.env.dev index bb552534..c9990cf5 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2023-11-16 13:49:36 + # @LastEditTime: 2023-11-16 14:07:34 # @LastEditors: DY # @Description: ### @@ -13,13 +13,13 @@ VUE_APP_TITLE = MES系统 # 芋道管理系统/开发环境 # VUE_APP_BASE_API = 'http://100.64.0.26:48082' -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' +VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.4.173:48080' # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.49:48080' # VUE_APP_BASE_API = 'http://192.168.1.8:48080' -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' -VUE_APP_BASE_API = 'http://192.168.1.56:48080' +# VUE_APP_BASE_API = 'http://192.168.4.159:48080' +# VUE_APP_BASE_API = 'http://192.168.1.56:48080' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/public/static/videos/login.webm b/public/static/videos/login.webm index 4ac1bdd2..43e188f6 100644 Binary files a/public/static/videos/login.webm and b/public/static/videos/login.webm differ diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 3180e79f..707d79e4 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -6,6 +6,7 @@ @import './btn.scss'; body { + // min-height: 1024px; height: 100%; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; diff --git a/src/assets/styles/login.scss b/src/assets/styles/login.scss index db9f3a47..55889fcb 100644 --- a/src/assets/styles/login.scss +++ b/src/assets/styles/login.scss @@ -114,40 +114,61 @@ $buttonHeight: $buttonH * 1px; } } .field { - // background: #ccc3; position: relative; - padding-top: 196px; + margin-top: 8%; flex: 1; display: flex; flex-direction: column; - // justify-content: center; align-items: center; + .pc-title { width: 100%; text-align: center; clear: both; position: relative; top: -36px; + height: 128px; - // h3.title { - // position: relative; - - // &::before { - // content: ''; - // background: url($cnbmLogo) 100% / 100% no-repeat; - // height: 48px; - // width: 48px; - // position: absolute; - // left: 0px; - // top: 4px; - // display: inline-block; - // } - // } + .title { + margin: 0; + margin-left: 32px; + font-weight: 400; + user-select: none; + color: #000; + font-size: 36px; + line-height: 54px; + letter-spacing: 2px; + } } + .mobile-title, .mobile-switch { display: none; } + + .form-cont { + // height: 560px; + flex: 1; + overflow: hidden; + } + + .footer { + user-select: none; + // 元素 + margin: 12px 0; + height: 16px; + line-height: 16px; + font-size: 12px; + color: #8c8c8c; + + a, + a:hover, + a:active { + color: inherit; + text-decoration: none; + } + } + .form { margin-top: 32px; box-sizing: border-box; @@ -283,24 +304,6 @@ $buttonHeight: $buttonH * 1px; line-height: 14px; } } - - .footer { - user-select: none; - // 元素 - height: 16px; - line-height: 16px; - font-size: 12px; - color: #8c8c8c; - // 定位 - position: absolute; - bottom: 30px; - a, - a:hover, - a:active { - color: inherit; - text-decoration: none; - } - } } // - - - - - PC 最小尺寸设置 diff --git a/src/permission.js b/src/permission.js index 7125eeaa..03b66576 100644 --- a/src/permission.js +++ b/src/permission.js @@ -9,7 +9,7 @@ import { isRelogin } from '@/utils/request' NProgress.configure({ showSpinner: false }) // 增加三方登陆 update by 芋艿 -const whiteList = ['/login', '/social-login', '/auth-redirect', '/bind', '/register', '/oauthLogin/gitee'] +const whiteList = ['/login', '/social-login', '/auth-redirect', '/bind', '/register', '/oauthLogin/gitee', '/AGVBoard', '/coldBoard', '/processingBoard'] router.beforeEach((to, from, next) => { NProgress.start() @@ -19,7 +19,12 @@ router.beforeEach((to, from, next) => { if (to.path === '/login') { next({ path: '/' }) NProgress.done() - } else { + } + // else if (to.path === '/AGVBoard') { + // next({ path: '/AGVBoard' }) + // NProgress.done() + // } + else { if (store.getters.roles.length === 0) { isRelogin.show = true // 获取字典数据 add by 芋艿 diff --git a/src/router/index.js b/src/router/index.js index b7ea83f8..40189532 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -91,7 +91,7 @@ export const constantRoutes = [ { path: '/AGVBoard', name: 'AGVBoard', - component: Layout, + // component: Layout, // route level code-splitting // this generates a separate chunk (about.[hash].js) for this route // which is lazy-loaded when the route is visited. diff --git a/src/views/OperationalOverview/AGVBoard.vue b/src/views/OperationalOverview/AGVBoard.vue index 5dfda096..ee4d8b81 100644 --- a/src/views/OperationalOverview/AGVBoard.vue +++ b/src/views/OperationalOverview/AGVBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2023-11-14 10:46:52 + * @LastEditTime: 2023-11-15 16:04:06 * @Description: -->