【update】整体调整

This commit is contained in:
danshihao
2024-06-13 16:29:13 +08:00
parent ac2ca59f6f
commit 3421e5fbe0
7 changed files with 36 additions and 9 deletions
+29 -2
View File
@@ -110,13 +110,40 @@ export default {
const { href } = this.$router.resolve(params)
window.open(href, '_blank')
}
}
}
</script>
<style scoped lang="less">
#app {
height: 100%;
min-height: 100%;
height: fit-content;
background-image: url("~@assets/bg.png");
background-size: cover;
/deep/.sider.light {
background-color: transparent;
ul.ant-menu,
.ant-menu-submenu > .ant-menu {
background-color: transparent;
background-color: transparent;
}
}
/deep/ .ant-layout.layout {
&, &.sidemenu {
background-color: transparent;
}
.ant-layout-header, .header {
background-color: transparent;
}
}
/deep/ .ant-layout.layout,
/deep/ .ant-layout.layout .ant-layout-header,
/deep/ .ant-layout.layout .header,
/deep/ .ant-layout.sidemenu {
background-color: transparent;
}
}
.watermark {
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

+3 -3
View File
@@ -7,7 +7,7 @@
<!-- <img v-else src="~@/assets/logo.png" alt="logo">-->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<img v-if="showTitle" src='../../assets/image/logoExpand.png' alt="logo" />
<img v-if="showTitle" src='../../assets/logo.png' alt="logo" />
<!--<img src="~@/assets/image/analysisLogo.png" alt="logo">-->
<img v-else src="../../assets/image/logoFold.png" />
</router-link>
@@ -41,7 +41,7 @@ export default {
</script>
<style lang="less" scoped>
/*缩小首页布 局顶部的高度*/
@height: 59px;
@height: 100px;
.sider {
box-shadow: none !important;
@@ -56,7 +56,7 @@ export default {
box-shadow: 1px 0px 0 0 #e8e8e8 !important;
transition: background 300ms;
background-color: transparent !important;
padding: 0 24px 0 0;
padding: 0;
h1 {
color: @primary-color !important;
+1 -1
View File
@@ -102,7 +102,7 @@ const updateColorWeak = colorWeak => {
const updatePageHeight = () => {
const isEmbedded = store.getters.isEmbedded
const obj = {
'primary-color': '#D52C26',
'primary-color': '#0064FA',
'user-info-height': isEmbedded ? '0px' : '59px', // 用户信息的高度
'breadcrumb-height': isEmbedded ? '0px' : '12px' // 面包屑的高度(2023-12-06,面包屑挪到用户信息那一栏了,现在12px是margin的数值)
}
+1 -1
View File
@@ -14,7 +14,7 @@
*/
export default {
primaryColor: '#D52C26', // primary color of ant design
primaryColor: '#0064FA', // primary color of ant design
navTheme: 'light', // theme for nav menu
layout: 'sidemenu', // nav menu position: sidemenu or topmenu
contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu