cfel-base-components 2.0.12 → 2.0.14
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/demo/src/index.jsx
CHANGED
package/package.json
CHANGED
|
@@ -77,7 +77,7 @@ body {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.app-list {
|
|
80
|
-
.app-list-
|
|
80
|
+
.app-list-currentlist {
|
|
81
81
|
font-size: 12px;
|
|
82
82
|
height: 32px;
|
|
83
83
|
line-height: 32px;
|
|
@@ -97,10 +97,27 @@ body {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.app-list-
|
|
100
|
+
.app-list-currentlist:hover {
|
|
101
101
|
background: rgba(0, 0, 0, 0.1);
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
.app-list-current {
|
|
104
|
+
font-size: 12px;
|
|
105
|
+
height: 32px;
|
|
106
|
+
line-height: 32px;
|
|
107
|
+
padding: 0 12px;
|
|
108
|
+
border-radius: 6px;
|
|
109
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
110
|
+
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
|
|
111
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
112
|
+
transition: all 0.3s;
|
|
113
|
+
color: rgba(0, 0, 0, 0.88);
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
display: flex;
|
|
116
|
+
img{
|
|
117
|
+
max-width: 32px;
|
|
118
|
+
margin-right: 4px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
104
121
|
}
|
|
105
122
|
}
|
|
106
123
|
|
|
@@ -33,7 +33,7 @@ export interface LiosLayoutlProps {
|
|
|
33
33
|
logoutUrl?: string,
|
|
34
34
|
switchTenantUrl?: string,
|
|
35
35
|
defaultOpenKeys?: string[],
|
|
36
|
-
productList?: any
|
|
36
|
+
productList?: any,
|
|
37
37
|
logoData?: {
|
|
38
38
|
type: string,
|
|
39
39
|
content: string
|
|
@@ -240,7 +240,7 @@ export default function LiosLayout(props: LiosLayoutlProps) {
|
|
|
240
240
|
{
|
|
241
241
|
productList ?
|
|
242
242
|
<Popover placement="bottom" content={<ProductListFunc />} arrow={false} trigger="click">
|
|
243
|
-
<div className="app-list-
|
|
243
|
+
<div className="app-list-currentlist">
|
|
244
244
|
{currentProduct?.logoUrl && <img src={currentProduct?.logoUrl || ""} alt="" />}
|
|
245
245
|
<div>
|
|
246
246
|
{currentProduct?.productName || "请选择应用"}
|