@yueglobal/ui 1.0.0 → 1.0.1
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/README.md +2 -4
- package/{dist/components → components}/svg-icon/declaration.svg +23 -23
- package/{dist/components → components}/svg-icon/expo.svg +23 -23
- package/{dist/components → components}/svg-icon/home.svg +13 -13
- package/{dist/components → components}/svg-icon/hwc.svg +20 -20
- package/{dist/components → components}/svg-icon/insurance.svg +14 -14
- package/{dist/components → components}/svg-icon/law.svg +23 -23
- package/{dist/components → components}/svg-icon/location.svg +9 -9
- package/{dist/components → components}/svg-icon/selection.svg +16 -16
- package/{dist/components → components}/svg-icon/single-window.svg +8 -8
- package/{dist/components → components}/svg-icon/taxation.svg +13 -13
- package/{dist/components → components}/svg-icon/trade-data.svg +18 -18
- package/{dist/components → components}/svg-icon/training.svg +17 -17
- package/package.json +9 -57
- package/{dist/yue-page-footer → yue-page-footer}/index.less +168 -168
- package/{dist/yue-page-header → yue-page-header}/breadcrumb/index.js +3 -1
- package/{dist/yue-page-header → yue-page-header}/first-menus/index.d.ts +6 -1
- package/{dist/yue-page-header → yue-page-header}/first-menus/index.js +30 -8
- package/{dist/yue-page-header → yue-page-header}/first-menus/index.less +94 -86
- package/{dist/yue-page-header → yue-page-header}/helper.d.ts +1 -0
- package/{dist/yue-page-header → yue-page-header}/helper.js +39 -35
- package/{dist/yue-page-header → yue-page-header}/index.js +46 -6
- package/{dist/yue-page-header → yue-page-header}/index.less +44 -43
- package/{dist/yue-page-header → yue-page-header}/right-content/index.less +35 -35
- package/yue-page-header/second-menus/index.d.ts +13 -0
- package/{dist/yue-page-header → yue-page-header}/second-menus/index.js +3 -37
- package/{dist/yue-page-header → yue-page-header}/second-menus/index.less +161 -161
- package/dist/yue-page-header/second-menus/index.d.ts +0 -8
- /package/{dist/assets → assets}/gw-logo.png +0 -0
- /package/{dist/assets → assets}/hs-logo.png +0 -0
- /package/{dist/assets → assets}/hs-wx.png +0 -0
- /package/{dist/assets → assets}/platform-logo.png +0 -0
- /package/{dist/assets → assets}/yldm-applet.png +0 -0
- /package/{dist/assets → assets}/ylqq-title.png +0 -0
- /package/{dist/assets → assets}/yxh-applet.png +0 -0
- /package/{dist/components → components}/svg-icon/index.d.ts +0 -0
- /package/{dist/components → components}/svg-icon/index.js +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/data/privacy-policy.d.ts +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/data/privacy-policy.js +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/data/terms-of-service.d.ts +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/data/terms-of-service.js +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/index.d.ts +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/index.js +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/info-modal/index.d.ts +0 -0
- /package/{dist/yue-page-footer → yue-page-footer}/info-modal/index.js +0 -0
- /package/{dist/yue-page-header → yue-page-header}/breadcrumb/index.d.ts +0 -0
- /package/{dist/yue-page-header → yue-page-header}/index.d.ts +0 -0
- /package/{dist/yue-page-header → yue-page-header}/right-content/index.d.ts +0 -0
- /package/{dist/yue-page-header → yue-page-header}/right-content/index.js +0 -0
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
.yue-page-header-second-menu {
|
|
2
|
-
height: 60px;
|
|
3
|
-
background: linear-gradient(90deg, #17f1a1, #1a4bff);
|
|
4
|
-
opacity: 1;
|
|
5
|
-
transition: opacity 0.2s ease-in-out;
|
|
6
|
-
|
|
7
|
-
&.hidden {
|
|
8
|
-
//opacity: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.wrapper {
|
|
12
|
-
margin: 0 auto;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
height: 100%;
|
|
15
|
-
color: #fff;
|
|
16
|
-
max-width:
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.left {
|
|
20
|
-
gap: 20px;
|
|
21
|
-
height: 100%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.module-info {
|
|
25
|
-
gap: 14px;
|
|
26
|
-
margin-right: 10px;
|
|
27
|
-
flex-shrink: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.module-icon {
|
|
31
|
-
font-size: 27px;
|
|
32
|
-
line-height: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.module-title {
|
|
36
|
-
font-size: 24px;
|
|
37
|
-
font-weight: bold;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.vr {
|
|
41
|
-
width: 1px;
|
|
42
|
-
height: 28px;
|
|
43
|
-
background-color: rgba(255, 255, 255, 85%);
|
|
44
|
-
flex-shrink: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.menus {
|
|
48
|
-
//max-width: 82%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
padding-block: 1px;
|
|
51
|
-
flex: 1 1 0%;
|
|
52
|
-
min-width: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.breadcrumb {
|
|
56
|
-
gap: 12px;
|
|
57
|
-
flex-shrink: 0;
|
|
58
|
-
|
|
59
|
-
a {
|
|
60
|
-
height: max-content;
|
|
61
|
-
color: #fff;
|
|
62
|
-
|
|
63
|
-
&:hover {
|
|
64
|
-
color: #fff;
|
|
65
|
-
background-color: transparent;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.yue-second-menu-bar {
|
|
72
|
-
&.ant-menu-root {
|
|
73
|
-
background-color: transparent;
|
|
74
|
-
font-size: 18px;
|
|
75
|
-
height: 100%;
|
|
76
|
-
border-bottom: none;
|
|
77
|
-
gap: 4px;
|
|
78
|
-
|
|
79
|
-
& > li {
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
justify-content: center;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.ant-menu-submenu-title {
|
|
86
|
-
height: 100%;
|
|
87
|
-
display: flex;
|
|
88
|
-
align-items: center;
|
|
89
|
-
justify-content: center;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.ant-menu-title-content {
|
|
93
|
-
height: 34px;
|
|
94
|
-
line-height: 32px;
|
|
95
|
-
border-radius: 16px;
|
|
96
|
-
padding-inline: 16px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.ant-menu-submenu-active,
|
|
100
|
-
.ant-menu-item-active {
|
|
101
|
-
.ant-menu-title-content {
|
|
102
|
-
background-color: rgba(255, 255, 255, 20%);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.ant-menu-submenu-selected,
|
|
107
|
-
.ant-menu-item-selected {
|
|
108
|
-
.ant-menu-title-content {
|
|
109
|
-
background-color: #fff;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&.ant-menu-submenu-popup {
|
|
115
|
-
left: 0 !important;
|
|
116
|
-
padding: 0;
|
|
117
|
-
font-size: 18px;
|
|
118
|
-
background-color: rgba(0, 0, 0, 45%);
|
|
119
|
-
border-radius: 0;
|
|
120
|
-
width: 100%;
|
|
121
|
-
|
|
122
|
-
.ant-menu-sub {
|
|
123
|
-
display: flex;
|
|
124
|
-
justify-content: center;
|
|
125
|
-
background-color: transparent;
|
|
126
|
-
border-radius: 0;
|
|
127
|
-
box-shadow: none;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.ant-menu-item {
|
|
131
|
-
width: max-content;
|
|
132
|
-
flex: unset;
|
|
133
|
-
color: #fff;
|
|
134
|
-
margin: 0;
|
|
135
|
-
border-radius: 0;
|
|
136
|
-
height: 60px;
|
|
137
|
-
line-height: 30px;
|
|
138
|
-
display: flex;
|
|
139
|
-
align-items: center;
|
|
140
|
-
padding-inline: 25px 18px;
|
|
141
|
-
flex-shrink: 0;
|
|
142
|
-
position: relative;
|
|
143
|
-
|
|
144
|
-
&::before {
|
|
145
|
-
content: '';
|
|
146
|
-
position: absolute;
|
|
147
|
-
left: 10px;
|
|
148
|
-
top: 50%;
|
|
149
|
-
transform: translateY(-50%);
|
|
150
|
-
width: 4px;
|
|
151
|
-
height: 4px;
|
|
152
|
-
border-radius: 50%;
|
|
153
|
-
background-color: rgba(255, 255, 255, 85%);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.ant-menu-item-selected {
|
|
158
|
-
background-color: rgba(0, 0, 0, 40%);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
1
|
+
.yue-page-header-second-menu {
|
|
2
|
+
height: 60px;
|
|
3
|
+
background: linear-gradient(90deg, #17f1a1, #1a4bff);
|
|
4
|
+
opacity: 1;
|
|
5
|
+
transition: opacity 0.2s ease-in-out;
|
|
6
|
+
|
|
7
|
+
&.hidden {
|
|
8
|
+
//opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.wrapper {
|
|
12
|
+
margin: 0 auto;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
height: 100%;
|
|
15
|
+
color: #fff;
|
|
16
|
+
max-width: 98%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.left {
|
|
20
|
+
gap: 20px;
|
|
21
|
+
height: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.module-info {
|
|
25
|
+
gap: 14px;
|
|
26
|
+
margin-right: 10px;
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.module-icon {
|
|
31
|
+
font-size: 27px;
|
|
32
|
+
line-height: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.module-title {
|
|
36
|
+
font-size: 24px;
|
|
37
|
+
font-weight: bold;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.vr {
|
|
41
|
+
width: 1px;
|
|
42
|
+
height: 28px;
|
|
43
|
+
background-color: rgba(255, 255, 255, 85%);
|
|
44
|
+
flex-shrink: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.menus {
|
|
48
|
+
//max-width: 82%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
padding-block: 1px;
|
|
51
|
+
flex: 1 1 0%;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.breadcrumb {
|
|
56
|
+
gap: 12px;
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
|
|
59
|
+
a {
|
|
60
|
+
height: max-content;
|
|
61
|
+
color: #fff;
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
color: #fff;
|
|
65
|
+
background-color: transparent;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.yue-second-menu-bar {
|
|
72
|
+
&.ant-menu-root {
|
|
73
|
+
background-color: transparent;
|
|
74
|
+
font-size: 18px;
|
|
75
|
+
height: 100%;
|
|
76
|
+
border-bottom: none;
|
|
77
|
+
gap: 4px;
|
|
78
|
+
|
|
79
|
+
& > li {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ant-menu-submenu-title {
|
|
86
|
+
height: 100%;
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ant-menu-title-content {
|
|
93
|
+
height: 34px;
|
|
94
|
+
line-height: 32px;
|
|
95
|
+
border-radius: 16px;
|
|
96
|
+
padding-inline: 16px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ant-menu-submenu-active,
|
|
100
|
+
.ant-menu-item-active {
|
|
101
|
+
.ant-menu-title-content {
|
|
102
|
+
background-color: rgba(255, 255, 255, 20%);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ant-menu-submenu-selected,
|
|
107
|
+
.ant-menu-item-selected {
|
|
108
|
+
.ant-menu-title-content {
|
|
109
|
+
background-color: #fff;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.ant-menu-submenu-popup {
|
|
115
|
+
left: 0 !important;
|
|
116
|
+
padding: 0;
|
|
117
|
+
font-size: 18px;
|
|
118
|
+
background-color: rgba(0, 0, 0, 45%);
|
|
119
|
+
border-radius: 0;
|
|
120
|
+
width: 100%;
|
|
121
|
+
|
|
122
|
+
.ant-menu-sub {
|
|
123
|
+
display: flex;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
background-color: transparent;
|
|
126
|
+
border-radius: 0;
|
|
127
|
+
box-shadow: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ant-menu-item {
|
|
131
|
+
width: max-content;
|
|
132
|
+
flex: unset;
|
|
133
|
+
color: #fff;
|
|
134
|
+
margin: 0;
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
height: 60px;
|
|
137
|
+
line-height: 30px;
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
padding-inline: 25px 18px;
|
|
141
|
+
flex-shrink: 0;
|
|
142
|
+
position: relative;
|
|
143
|
+
|
|
144
|
+
&::before {
|
|
145
|
+
content: '';
|
|
146
|
+
position: absolute;
|
|
147
|
+
left: 10px;
|
|
148
|
+
top: 50%;
|
|
149
|
+
transform: translateY(-50%);
|
|
150
|
+
width: 4px;
|
|
151
|
+
height: 4px;
|
|
152
|
+
border-radius: 50%;
|
|
153
|
+
background-color: rgba(255, 255, 255, 85%);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.ant-menu-item-selected {
|
|
158
|
+
background-color: rgba(0, 0, 0, 40%);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { YuePageHeaderProps } from '../index';
|
|
3
|
-
import './index.less';
|
|
4
|
-
interface Props extends Omit<YuePageHeaderProps, 'rightContent'> {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.NamedExoticComponent<Props>;
|
|
8
|
-
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|