From efc3cf45547abbd95b2142fa9d978e5e012cb0e8 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 14 Nov 2022 17:29:57 +0800
Subject: [PATCH] 样式修改
---
src/config/website.js | 2 +-
src/lang/zh.js | 2 +-
public/index.html | 2 +-
public/icon.png | 0
src/page/index/logo.vue | 15 ++++++++++-----
5 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/public/icon.png b/public/icon.png
new file mode 100644
index 0000000..454efae
--- /dev/null
+++ b/public/icon.png
Binary files differ
diff --git a/public/index.html b/public/index.html
index 6f10c56..df39965 100644
--- a/public/index.html
+++ b/public/index.html
@@ -18,7 +18,7 @@
<link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/2.9.12/index.css">
<script src="<%= BASE_URL %>cdn/xlsx/FileSaver.min.js"></script>
<script src="<%= BASE_URL %>cdn/xlsx/xlsx.full.min.js"></script>
- <link rel="icon" href="<%= BASE_URL %>favicon.png">
+ <link rel="icon" href="<%= BASE_URL %>icon.png">
<title>Saber企业平台</title>
<style>
html,
diff --git a/src/config/website.js b/src/config/website.js
index 20f78db..a20fdfb 100644
--- a/src/config/website.js
+++ b/src/config/website.js
@@ -8,7 +8,7 @@
indexTitle: '上饶市警务平台后台管理',
clientId: 'saber', // 客户端id
clientSecret: 'saber_secret', // 客户端密钥
- tenantMode: true, // 是否开启租户模式
+ tenantMode: false, // 是否开启租户模式
tenantId: "000000", // 管理组租户编号
captchaMode: false, // 是否开启验证码模式
switchMode: false, // 是否开启部门切换模式
diff --git a/src/lang/zh.js b/src/lang/zh.js
index 4743faf..9aab7f1 100644
--- a/src/lang/zh.js
+++ b/src/lang/zh.js
@@ -1,5 +1,5 @@
export default {
- title: 'Saber企业管理平台',
+ title: '上饶市警务平台后台管理',
logoutTip: '退出系统, 是否继续?',
submitText: '确定',
cancelText: '取消',
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index de07ead..1056fe3 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -1,11 +1,11 @@
<template>
<div class="avue-logo">
<transition name="fade">
- <span v-if="keyCollapse"
+ <div v-if="keyCollapse"
class="avue-logo_subtitle"
key="0">
- {{website.logo}}
- </span>
+ <img src="/icon.png" style="width: 30px;">
+ </div>
</transition>
<transition-group name="fade">
<template v-if="!keyCollapse">
@@ -63,11 +63,16 @@
font-size: 20px;
}
&_subtitle {
- display: block;
+ display: flex;
+ height: 100%;
text-align: center;
font-size: 18px;
font-weight: bold;
color: #fff;
+
+ img{
+ margin: auto;
+ }
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3