【update】整体调整
This commit is contained in:
+29
-2
@@ -110,13 +110,40 @@ export default {
|
|||||||
const { href } = this.$router.resolve(params)
|
const { href } = this.$router.resolve(params)
|
||||||
window.open(href, '_blank')
|
window.open(href, '_blank')
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
#app {
|
#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 {
|
.watermark {
|
||||||
|
|||||||
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 |
@@ -7,7 +7,7 @@
|
|||||||
<!-- <img v-else src="~@/assets/logo.png" alt="logo">-->
|
<!-- <img v-else src="~@/assets/logo.png" alt="logo">-->
|
||||||
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: 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 src="~@/assets/image/analysisLogo.png" alt="logo">-->
|
||||||
<img v-else src="../../assets/image/logoFold.png" />
|
<img v-else src="../../assets/image/logoFold.png" />
|
||||||
</router-link>
|
</router-link>
|
||||||
@@ -41,7 +41,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
/*缩小首页布 局顶部的高度*/
|
/*缩小首页布 局顶部的高度*/
|
||||||
@height: 59px;
|
@height: 100px;
|
||||||
|
|
||||||
.sider {
|
.sider {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
@@ -56,7 +56,7 @@ export default {
|
|||||||
box-shadow: 1px 0px 0 0 #e8e8e8 !important;
|
box-shadow: 1px 0px 0 0 #e8e8e8 !important;
|
||||||
transition: background 300ms;
|
transition: background 300ms;
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
padding: 0 24px 0 0;
|
padding: 0;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color: @primary-color !important;
|
color: @primary-color !important;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ const updateColorWeak = colorWeak => {
|
|||||||
const updatePageHeight = () => {
|
const updatePageHeight = () => {
|
||||||
const isEmbedded = store.getters.isEmbedded
|
const isEmbedded = store.getters.isEmbedded
|
||||||
const obj = {
|
const obj = {
|
||||||
'primary-color': '#D52C26',
|
'primary-color': '#0064FA',
|
||||||
'user-info-height': isEmbedded ? '0px' : '59px', // 用户信息的高度
|
'user-info-height': isEmbedded ? '0px' : '59px', // 用户信息的高度
|
||||||
'breadcrumb-height': isEmbedded ? '0px' : '12px' // 面包屑的高度(2023-12-06,面包屑挪到用户信息那一栏了,现在12px是margin的数值)
|
'breadcrumb-height': isEmbedded ? '0px' : '12px' // 面包屑的高度(2023-12-06,面包屑挪到用户信息那一栏了,现在12px是margin的数值)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
primaryColor: '#D52C26', // primary color of ant design
|
primaryColor: '#0064FA', // primary color of ant design
|
||||||
navTheme: 'light', // theme for nav menu
|
navTheme: 'light', // theme for nav menu
|
||||||
layout: 'sidemenu', // nav menu position: sidemenu or topmenu
|
layout: 'sidemenu', // nav menu position: sidemenu or topmenu
|
||||||
contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu
|
contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu
|
||||||
|
|||||||
+2
-2
@@ -65,8 +65,8 @@ module.exports = {
|
|||||||
less: {
|
less: {
|
||||||
modifyVars: {
|
modifyVars: {
|
||||||
/* less 变量覆盖,用于自定义 ant design 主题 */
|
/* less 变量覆盖,用于自定义 ant design 主题 */
|
||||||
'primary-color': '#D52C26',
|
'primary-color': '#0064FA',
|
||||||
'link-color': '#D52C26',
|
'link-color': '#0064FA',
|
||||||
'border-radius-base': '4px'
|
'border-radius-base': '4px'
|
||||||
},
|
},
|
||||||
javascriptEnabled: true
|
javascriptEnabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user