cfel-base-components 2.5.71 → 2.5.73
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
|
@@ -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-cloud"
|
|
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-cloud"
|
|
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"
|