diff --git a/god-ui/public/images/denglu.png b/god-ui/public/images/denglu.png new file mode 100644 index 00000000..fb6da415 Binary files /dev/null and b/god-ui/public/images/denglu.png differ diff --git a/god-ui/public/images/weitu.png b/god-ui/public/images/weitu.png new file mode 100644 index 00000000..b75380be Binary files /dev/null and b/god-ui/public/images/weitu.png differ diff --git a/god-ui/src/views/login.vue b/god-ui/src/views/login.vue index eb431743..78d91bbb 100644 --- a/god-ui/src/views/login.vue +++ b/god-ui/src/views/login.vue @@ -290,10 +290,10 @@ export default { break; case '9407': document.title = '工业视觉平台' - loginDom.style.backgroundImage = 'url(/images/jiqi1.png)' + loginDom.style.backgroundImage = 'url(/images/denglu.png)' this.redirect = '/index' const dom31 = document.querySelector('.login-form') - dom31.style.marginLeft = '-34vw' + dom31.style.marginLeft = '64vw' break; default: document.title = '' diff --git a/god-ui/vue.config.js b/god-ui/vue.config.js index 2d7a326b..a9962c9d 100644 --- a/god-ui/vue.config.js +++ b/god-ui/vue.config.js @@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin') const name = process.env.VUE_APP_TITLE || '' // 网页标题 -const port = process.env.port || process.env.npm_config_port || 80 // 端口 +const port = process.env.port || process.env.npm_config_port || 80// 端口 // vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions