Commit 886c043d authored by 杨思琦's avatar 杨思琦

fix: 中国水务样式修改

parent 6a0663b0
Pipeline #94340 passed with stages
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
"@wisdom-map/arcgismap":"^2.0.94", "@wisdom-map/arcgismap":"^2.0.94",
"@wisdom-map/basemap":"^2.0.8", "@wisdom-map/basemap":"^2.0.8",
"@wisdom-map/util":"1.2.9", "@wisdom-map/util":"1.2.9",
"@wisdom-utils/components": "0.1.373", "@wisdom-utils/components": "0.1.375",
"@wisdom-utils/runtime": "0.0.51", "@wisdom-utils/runtime": "0.0.51",
"@wisdom-utils/utils": "0.1.411", "@wisdom-utils/utils": "0.1.411",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
......
...@@ -797,13 +797,7 @@ const Layout = props => { ...@@ -797,13 +797,7 @@ const Layout = props => {
{dom} {dom}
</a> </a>
)} )}
menuSuffixRender={() => siderWidth={ props.global?.variableTheme?.navTheme === 'chinaWater' ? 160 : 140 }
props.global?.variableTheme?.navTheme === 'chinaWater' ? (
<img src={require('../assets/basic/chinaWater.png')} style={{ width: '100%' }} alt="" />
) : (
<></>
)
}
> >
<div id="micro-container" className="subapp-container"> <div id="micro-container" className="subapp-container">
{props.children} {props.children}
......
...@@ -691,9 +691,9 @@ class Login { ...@@ -691,9 +691,9 @@ class Login {
if (config.CloudStyle === '否') { if (config.CloudStyle === '否') {
if (config.navTheme === 'chinaWater') { if (config.navTheme === 'chinaWater') {
self.globalConfig.variableTheme = { self.globalConfig.variableTheme = {
primaryColor: '#009C73', primaryColor: '#009A3E',
navTheme: config.navTheme, navTheme: config.navTheme,
headerPrimaryColor: 'linear-gradient(0deg, #048373 0%, #24AE9D 100%)', headerPrimaryColor: '#009A3E',
}; };
} else { } else {
self.globalConfig.variableTheme = { self.globalConfig.variableTheme = {
......
...@@ -691,9 +691,9 @@ class Login { ...@@ -691,9 +691,9 @@ class Login {
if (config.CloudStyle === '否') { if (config.CloudStyle === '否') {
if (config.navTheme === 'chinaWater') { if (config.navTheme === 'chinaWater') {
self.globalConfig.variableTheme = { self.globalConfig.variableTheme = {
primaryColor: '#009C73', primaryColor: '#009A3E',
navTheme: config.navTheme, navTheme: config.navTheme,
headerPrimaryColor: 'linear-gradient(0deg, #048373 0%, #24AE9D 100%)', headerPrimaryColor: '#009A3E',
}; };
} else { } else {
self.globalConfig.variableTheme = { self.globalConfig.variableTheme = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment