cfel-base-components 2.5.70 → 2.5.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -604,7 +604,7 @@ body {
|
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
-
.layout-side-
|
|
607
|
+
.layout-side-mask1-cloud {
|
|
608
608
|
background: white;
|
|
609
609
|
position: absolute;
|
|
610
610
|
top: 0;
|
|
@@ -615,7 +615,7 @@ body {
|
|
|
615
615
|
z-index: 9;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
-
.layout-side-
|
|
618
|
+
.layout-side-mask2-cloud {
|
|
619
619
|
background: linear-gradient( 227deg, #F0FBF3 0%, #E5F6FA 100%);
|
|
620
620
|
position: absolute;
|
|
621
621
|
top: 0;
|
|
@@ -240,9 +240,32 @@ export default function LiosLayout(props: LiosLayoutlProps) {
|
|
|
240
240
|
{collapsed && <img className={`logo-sub`} src={subLogoUrl} />}
|
|
241
241
|
{/* {collapsed && <img className={`logo-base sub-logo`} src={logo || subLogoUrl} />} */}
|
|
242
242
|
</div>
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
{!collapsed && (
|
|
244
|
+
<div
|
|
245
|
+
className="trigger"
|
|
246
|
+
onClick={() => {
|
|
247
|
+
setCollapsed(true)
|
|
248
|
+
}}
|
|
249
|
+
>
|
|
250
|
+
<Arrow collapsed={true} type={type} />
|
|
251
|
+
</div>
|
|
252
|
+
)}
|
|
245
253
|
</div>
|
|
254
|
+
|
|
255
|
+
{collapsed && (
|
|
256
|
+
<div style={{ width: '100%', display: 'flex', justifyContent: 'center' }}>
|
|
257
|
+
<div
|
|
258
|
+
className="close-trigger"
|
|
259
|
+
onClick={() => {
|
|
260
|
+
localStorage.setItem('layout_collapsed', 'false')
|
|
261
|
+
setCollapsed(false)
|
|
262
|
+
}}
|
|
263
|
+
>
|
|
264
|
+
<Arrow collapsed={false} type={type} />
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
)}
|
|
268
|
+
|
|
246
269
|
{!collapsed && <div style={{ height: 24 }}></div>}
|
|
247
270
|
|
|
248
271
|
<div style={{ width: '100%', padding: '0 16px' }}>
|
|
@@ -627,7 +650,7 @@ function Search({ menuList, collapsed, type, umiHistory, setSelectKey, findKeyPa
|
|
|
627
650
|
<div className="search-container">
|
|
628
651
|
<div className="search-cloud">
|
|
629
652
|
<div className="search-bg-mask">
|
|
630
|
-
<img src="https://cfel-front.oss-cn-hangzhou.aliyuncs.com/logo/base-component/menu-search-bg
|
|
653
|
+
<img src="https://cfel-front.oss-cn-hangzhou.aliyuncs.com/logo/base-component/menu-search-bg.png" />
|
|
631
654
|
</div>
|
|
632
655
|
<input
|
|
633
656
|
autoComplete="off"
|