@opendesign-plus/components 0.0.1-rc.98 → 0.0.1-rc.99
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/dist/components/summit/types.d.ts +20 -7
- package/dist/components/summit/utils.d.ts +11 -1
- package/dist/components.cjs.js +26 -26
- package/dist/components.css +2 -2
- package/dist/components.es.js +4280 -4258
- package/dist/treeshaking/_virtual/icon-email.mjs +8 -9
- package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
- package/dist/treeshaking/components/anchor-bar/OAnchorBar.css +32 -32
- package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.mjs +1 -1
- package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
- package/dist/treeshaking/components/summit/OSummitLive.css +38 -22
- package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +37 -10
- package/dist/treeshaking/components/summit/OSummitSchedule.css +33 -33
- package/dist/treeshaking/components/summit/OSummitSchedule.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/OSummitSchedule.vue2.mjs +7 -13
- package/dist/treeshaking/components/summit/components/OSummitTabs.css +31 -30
- package/dist/treeshaking/components/summit/components/OSummitTabs.vue.mjs +1 -1
- package/dist/treeshaking/components/summit/types.d.ts +20 -7
- package/dist/treeshaking/components/summit/utils.d.ts +11 -1
- package/dist/treeshaking/components/summit/utils.mjs +30 -0
- package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.css +109 -109
- package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +4 -3
- package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
- package/dist/treeshaking/components/user-center/rolesMap.mjs +2 -10
- package/package.json +2 -2
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-c12d3f54] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-c12d3f54] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.info-title[data-v-
|
|
9
|
+
.info-title[data-v-c12d3f54] {
|
|
10
10
|
border-bottom: 1px solid var(--o-color-control4);
|
|
11
11
|
}
|
|
12
12
|
@media (max-width: 840px) {
|
|
13
|
-
.info-title[data-v-
|
|
13
|
+
.info-title[data-v-c12d3f54] {
|
|
14
14
|
border-bottom: none;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
.title[data-v-
|
|
17
|
+
.title[data-v-c12d3f54] {
|
|
18
18
|
font-size: 24px;
|
|
19
19
|
line-height: 32px;
|
|
20
20
|
}
|
|
21
21
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
22
|
-
.title[data-v-
|
|
22
|
+
.title[data-v-c12d3f54] {
|
|
23
23
|
font-size: 20px;
|
|
24
24
|
line-height: 28px;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
28
|
-
.title[data-v-
|
|
28
|
+
.title[data-v-c12d3f54] {
|
|
29
29
|
font-size: 18px;
|
|
30
30
|
line-height: 26px;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
34
|
-
.title[data-v-
|
|
34
|
+
.title[data-v-c12d3f54] {
|
|
35
35
|
font-size: 18px;
|
|
36
36
|
line-height: 26px;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
@media (max-width: 600px) {
|
|
40
|
-
.title[data-v-
|
|
40
|
+
.title[data-v-c12d3f54] {
|
|
41
41
|
font-size: 16px;
|
|
42
42
|
line-height: 24px;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
.title[data-v-
|
|
45
|
+
.title[data-v-c12d3f54] {
|
|
46
46
|
color: var(--o-color-info1);
|
|
47
47
|
padding-bottom: var(--o-gap-3);
|
|
48
48
|
font-weight: 600;
|
|
49
49
|
}
|
|
50
|
-
.title-desc[data-v-
|
|
50
|
+
.title-desc[data-v-c12d3f54] {
|
|
51
51
|
font-size: 14px;
|
|
52
52
|
line-height: 28px;
|
|
53
53
|
color: var(--o-color-info2);
|
|
54
54
|
margin-bottom: var(--o-gap-5);
|
|
55
55
|
}
|
|
56
56
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
57
|
-
.title-desc[data-v-
|
|
57
|
+
.title-desc[data-v-c12d3f54] {
|
|
58
58
|
line-height: 26px;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
@media (max-width: 1200px) {
|
|
62
|
-
.title-desc[data-v-
|
|
62
|
+
.title-desc[data-v-c12d3f54] {
|
|
63
63
|
line-height: 24px;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
.common-item[data-v-
|
|
66
|
+
.common-item[data-v-c12d3f54] {
|
|
67
67
|
display: flex;
|
|
68
68
|
align-items: center;
|
|
69
69
|
margin-top: var(--o-gap-5);
|
|
@@ -72,101 +72,101 @@
|
|
|
72
72
|
line-height: 24px;
|
|
73
73
|
}
|
|
74
74
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
75
|
-
.common-item[data-v-
|
|
75
|
+
.common-item[data-v-c12d3f54] {
|
|
76
76
|
font-size: 14px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
81
|
-
.common-item[data-v-
|
|
81
|
+
.common-item[data-v-c12d3f54] {
|
|
82
82
|
font-size: 14px;
|
|
83
83
|
line-height: 22px;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
87
|
-
.common-item[data-v-
|
|
87
|
+
.common-item[data-v-c12d3f54] {
|
|
88
88
|
font-size: 14px;
|
|
89
89
|
line-height: 22px;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
@media (max-width: 600px) {
|
|
93
|
-
.common-item[data-v-
|
|
93
|
+
.common-item[data-v-c12d3f54] {
|
|
94
94
|
font-size: 12px;
|
|
95
95
|
line-height: 18px;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
.common-item[data-v-
|
|
98
|
+
.common-item[data-v-c12d3f54] .o_input-input {
|
|
99
99
|
font-size: 16px;
|
|
100
100
|
line-height: 24px;
|
|
101
101
|
}
|
|
102
102
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
103
|
-
.common-item[data-v-
|
|
103
|
+
.common-item[data-v-c12d3f54] .o_input-input {
|
|
104
104
|
font-size: 14px;
|
|
105
105
|
line-height: 22px;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
109
|
-
.common-item[data-v-
|
|
109
|
+
.common-item[data-v-c12d3f54] .o_input-input {
|
|
110
110
|
font-size: 14px;
|
|
111
111
|
line-height: 22px;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
115
|
-
.common-item[data-v-
|
|
115
|
+
.common-item[data-v-c12d3f54] .o_input-input {
|
|
116
116
|
font-size: 14px;
|
|
117
117
|
line-height: 22px;
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
@media (max-width: 600px) {
|
|
121
|
-
.common-item[data-v-
|
|
121
|
+
.common-item[data-v-c12d3f54] .o_input-input {
|
|
122
122
|
font-size: 12px;
|
|
123
123
|
line-height: 18px;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
.common-item[data-v-
|
|
126
|
+
.common-item[data-v-c12d3f54] .o_input-input {
|
|
127
127
|
color: var(--o-color-info2);
|
|
128
128
|
}
|
|
129
|
-
.common-item[data-v-
|
|
129
|
+
.common-item[data-v-c12d3f54] {
|
|
130
130
|
/* 用户信息值 */
|
|
131
131
|
}
|
|
132
|
-
.common-item .text[data-v-
|
|
133
|
-
.common-item .username[data-v-
|
|
134
|
-
.common-item .common-value[data-v-
|
|
135
|
-
.common-item .org-name[data-v-
|
|
132
|
+
.common-item .text[data-v-c12d3f54],
|
|
133
|
+
.common-item .username[data-v-c12d3f54],
|
|
134
|
+
.common-item .common-value[data-v-c12d3f54],
|
|
135
|
+
.common-item .org-name[data-v-c12d3f54] {
|
|
136
136
|
color: var(--o-color-info2);
|
|
137
137
|
}
|
|
138
|
-
.common-item[data-v-
|
|
138
|
+
.common-item[data-v-c12d3f54] {
|
|
139
139
|
/* 行内 label 由自定义 div 承担,隐藏 OFormItem 自带 label */
|
|
140
140
|
}
|
|
141
|
-
.common-item[data-v-
|
|
141
|
+
.common-item[data-v-c12d3f54] .o-form-item-label {
|
|
142
142
|
display: none;
|
|
143
143
|
}
|
|
144
|
-
.common-item[data-v-
|
|
144
|
+
.common-item[data-v-c12d3f54] {
|
|
145
145
|
/* 隐藏的 label 节点仍在 DOM 中,OpenDesign 的
|
|
146
146
|
`.o-form-item-label + .o-form-item-main { margin-left: var(--form-label-main-gap) }`
|
|
147
147
|
依旧命中,需以同级相邻选择器提高特异性覆盖为 0 */
|
|
148
148
|
}
|
|
149
|
-
.common-item[data-v-
|
|
150
|
-
.common-item[data-v-
|
|
149
|
+
.common-item[data-v-c12d3f54] .o-form-item-label + .o-form-item-main,
|
|
150
|
+
.common-item[data-v-c12d3f54] .o-form-item-main {
|
|
151
151
|
margin-left: 0;
|
|
152
152
|
flex: 1;
|
|
153
153
|
}
|
|
154
|
-
.common-item .sig-info[data-v-
|
|
154
|
+
.common-item .sig-info[data-v-c12d3f54] {
|
|
155
155
|
display: flex;
|
|
156
156
|
align-items: center;
|
|
157
157
|
}
|
|
158
|
-
.common-item .common-label[data-v-
|
|
158
|
+
.common-item .common-label[data-v-c12d3f54] {
|
|
159
159
|
width: 96px;
|
|
160
160
|
min-width: 96px;
|
|
161
161
|
margin-right: var(--o-r-gap-8);
|
|
162
162
|
color: var(--o-color-info2);
|
|
163
163
|
}
|
|
164
164
|
@media (max-width: 840px) {
|
|
165
|
-
.common-item .common-label[data-v-
|
|
165
|
+
.common-item .common-label[data-v-c12d3f54] {
|
|
166
166
|
color: var(--o-color-info1);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
.common-item .common-label-en[data-v-
|
|
169
|
+
.common-item .common-label-en[data-v-c12d3f54] {
|
|
170
170
|
width: 150px;
|
|
171
171
|
min-width: 150px;
|
|
172
172
|
margin-right: var(--o-r-gap-8);
|
|
@@ -174,60 +174,60 @@
|
|
|
174
174
|
line-height: 24px;
|
|
175
175
|
}
|
|
176
176
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
177
|
-
.common-item .common-label-en[data-v-
|
|
177
|
+
.common-item .common-label-en[data-v-c12d3f54] {
|
|
178
178
|
font-size: 14px;
|
|
179
179
|
line-height: 22px;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
183
|
-
.common-item .common-label-en[data-v-
|
|
183
|
+
.common-item .common-label-en[data-v-c12d3f54] {
|
|
184
184
|
font-size: 14px;
|
|
185
185
|
line-height: 22px;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
189
|
-
.common-item .common-label-en[data-v-
|
|
189
|
+
.common-item .common-label-en[data-v-c12d3f54] {
|
|
190
190
|
font-size: 14px;
|
|
191
191
|
line-height: 22px;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
@media (max-width: 600px) {
|
|
195
|
-
.common-item .common-label-en[data-v-
|
|
195
|
+
.common-item .common-label-en[data-v-c12d3f54] {
|
|
196
196
|
font-size: 12px;
|
|
197
197
|
line-height: 18px;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
.common-item[data-v-
|
|
200
|
+
.common-item[data-v-c12d3f54] .o_box-main {
|
|
201
201
|
width: 480px;
|
|
202
202
|
height: 40px;
|
|
203
203
|
border-radius: 4px;
|
|
204
204
|
}
|
|
205
205
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
206
|
-
.common-item[data-v-
|
|
206
|
+
.common-item[data-v-c12d3f54] .o_box-main {
|
|
207
207
|
width: 360px;
|
|
208
208
|
height: 36px;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
@media (max-width: 1200px) {
|
|
212
|
-
.common-item[data-v-
|
|
212
|
+
.common-item[data-v-c12d3f54] .o_box-main {
|
|
213
213
|
width: 320px;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
-
.common-item .username[data-v-
|
|
217
|
-
.common-item .common-value[data-v-
|
|
216
|
+
.common-item .username[data-v-c12d3f54],
|
|
217
|
+
.common-item .common-value[data-v-c12d3f54] {
|
|
218
218
|
padding-left: 16px;
|
|
219
219
|
}
|
|
220
|
-
.common-item[data-v-
|
|
220
|
+
.common-item[data-v-c12d3f54]:not(:first-child) {
|
|
221
221
|
height: 40px;
|
|
222
222
|
line-height: 40px;
|
|
223
223
|
}
|
|
224
|
-
.common-item[data-v-
|
|
224
|
+
.common-item[data-v-c12d3f54]:not(:first-child) .o-input.o_box-medium {
|
|
225
225
|
height: 100%;
|
|
226
226
|
}
|
|
227
|
-
.user-avatar[data-v-
|
|
227
|
+
.user-avatar[data-v-c12d3f54] {
|
|
228
228
|
--form-item-align: center;
|
|
229
229
|
}
|
|
230
|
-
.user-avatar .avatar[data-v-
|
|
230
|
+
.user-avatar .avatar[data-v-c12d3f54] {
|
|
231
231
|
width: auto;
|
|
232
232
|
height: auto;
|
|
233
233
|
position: relative;
|
|
@@ -235,11 +235,11 @@
|
|
|
235
235
|
flex-shrink: 0;
|
|
236
236
|
}
|
|
237
237
|
@media (hover: hover) {
|
|
238
|
-
.user-avatar .avatar:hover .avatar-img-mask[data-v-
|
|
238
|
+
.user-avatar .avatar:hover .avatar-img-mask[data-v-c12d3f54] {
|
|
239
239
|
display: flex;
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
.user-avatar .avatar .avatar-img-mask[data-v-
|
|
242
|
+
.user-avatar .avatar .avatar-img-mask[data-v-c12d3f54] {
|
|
243
243
|
cursor: pointer;
|
|
244
244
|
position: absolute;
|
|
245
245
|
background-color: var(--o-color-info4);
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
font-size: 24px;
|
|
255
255
|
cursor: pointer;
|
|
256
256
|
}
|
|
257
|
-
.aside-userinfo[data-v-
|
|
257
|
+
.aside-userinfo[data-v-c12d3f54] {
|
|
258
258
|
display: flex;
|
|
259
259
|
flex-direction: column;
|
|
260
260
|
align-items: center;
|
|
@@ -265,13 +265,13 @@
|
|
|
265
265
|
min-width: 0;
|
|
266
266
|
overflow: hidden;
|
|
267
267
|
}
|
|
268
|
-
.aside-userinfo .o-form-layout-h[data-v-
|
|
268
|
+
.aside-userinfo .o-form-layout-h[data-v-c12d3f54] {
|
|
269
269
|
width: 100%;
|
|
270
270
|
}
|
|
271
|
-
.aside-userinfo .user-avatar[data-v-
|
|
271
|
+
.aside-userinfo .user-avatar[data-v-c12d3f54] {
|
|
272
272
|
margin-right: 0;
|
|
273
273
|
}
|
|
274
|
-
.aside-item[data-v-
|
|
274
|
+
.aside-item[data-v-c12d3f54] {
|
|
275
275
|
margin-top: 0;
|
|
276
276
|
display: flex;
|
|
277
277
|
flex-direction: column;
|
|
@@ -282,35 +282,35 @@
|
|
|
282
282
|
width: 100%;
|
|
283
283
|
min-width: 0;
|
|
284
284
|
}
|
|
285
|
-
.aside-item .username[data-v-
|
|
285
|
+
.aside-item .username[data-v-c12d3f54] {
|
|
286
286
|
font-size: 24px;
|
|
287
287
|
line-height: 32px;
|
|
288
288
|
}
|
|
289
289
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
290
|
-
.aside-item .username[data-v-
|
|
290
|
+
.aside-item .username[data-v-c12d3f54] {
|
|
291
291
|
font-size: 20px;
|
|
292
292
|
line-height: 28px;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
296
|
-
.aside-item .username[data-v-
|
|
296
|
+
.aside-item .username[data-v-c12d3f54] {
|
|
297
297
|
font-size: 18px;
|
|
298
298
|
line-height: 26px;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
302
|
-
.aside-item .username[data-v-
|
|
302
|
+
.aside-item .username[data-v-c12d3f54] {
|
|
303
303
|
font-size: 18px;
|
|
304
304
|
line-height: 26px;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
@media (max-width: 600px) {
|
|
308
|
-
.aside-item .username[data-v-
|
|
308
|
+
.aside-item .username[data-v-c12d3f54] {
|
|
309
309
|
font-size: 16px;
|
|
310
310
|
line-height: 24px;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
.aside-item .username[data-v-
|
|
313
|
+
.aside-item .username[data-v-c12d3f54] {
|
|
314
314
|
font-weight: 600;
|
|
315
315
|
height: 26px;
|
|
316
316
|
line-height: 26px;
|
|
@@ -321,13 +321,13 @@
|
|
|
321
321
|
white-space: nowrap;
|
|
322
322
|
padding-left: 0;
|
|
323
323
|
}
|
|
324
|
-
.aside-item[data-v-
|
|
324
|
+
.aside-item[data-v-c12d3f54] {
|
|
325
325
|
/* 侧边栏简要信息:昵称 · 公司
|
|
326
326
|
两个文本各占 (100% - 8px(点) - --user-center-padding-value-2) / 2 的固定宽度,
|
|
327
327
|
昵称左对齐(从第一个字显示,省略号紧贴 ·),公司紧贴 · 向右展开(尾部省略),
|
|
328
328
|
超出各自宽度即显示省略号 */
|
|
329
329
|
}
|
|
330
|
-
.aside-item .brief-info[data-v-
|
|
330
|
+
.aside-item .brief-info[data-v-c12d3f54] {
|
|
331
331
|
display: flex;
|
|
332
332
|
align-items: center;
|
|
333
333
|
justify-content: center;
|
|
@@ -338,8 +338,8 @@
|
|
|
338
338
|
width: 100%;
|
|
339
339
|
min-width: 0;
|
|
340
340
|
}
|
|
341
|
-
.aside-item .brief-info .brief-nickname[data-v-
|
|
342
|
-
.aside-item .brief-info .brief-company[data-v-
|
|
341
|
+
.aside-item .brief-info .brief-nickname[data-v-c12d3f54],
|
|
342
|
+
.aside-item .brief-info .brief-company[data-v-c12d3f54] {
|
|
343
343
|
flex: 0 1 auto;
|
|
344
344
|
/* 上限:(100% - 8px(点) - --user-center-padding-value-2) / 2;
|
|
345
345
|
内容不超过上限时按内容自然显示(不出现省略号),超出才截断为 ... */
|
|
@@ -351,63 +351,63 @@
|
|
|
351
351
|
/* 覆盖 .aside-item 的 text-align: center,保证从首个字符开始显示 */
|
|
352
352
|
text-align: left;
|
|
353
353
|
}
|
|
354
|
-
.aside-item .brief-info .brief-dot[data-v-
|
|
354
|
+
.aside-item .brief-info .brief-dot[data-v-c12d3f54] {
|
|
355
355
|
flex-shrink: 0;
|
|
356
356
|
width: 8px;
|
|
357
357
|
text-align: center;
|
|
358
358
|
}
|
|
359
359
|
@media (max-width: 840px) {
|
|
360
|
-
.aside-item .brief-info[data-v-
|
|
360
|
+
.aside-item .brief-info[data-v-c12d3f54] {
|
|
361
361
|
margin-bottom: 16px;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
.btn[data-v-
|
|
364
|
+
.btn[data-v-c12d3f54] {
|
|
365
365
|
margin-top: 24px;
|
|
366
366
|
}
|
|
367
|
-
.btn[data-v-
|
|
367
|
+
.btn[data-v-c12d3f54] .o-btn-large {
|
|
368
368
|
font-size: 16px;
|
|
369
369
|
line-height: 24px;
|
|
370
370
|
}
|
|
371
371
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
372
|
-
.btn[data-v-
|
|
372
|
+
.btn[data-v-c12d3f54] .o-btn-large {
|
|
373
373
|
font-size: 14px;
|
|
374
374
|
line-height: 22px;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
378
|
-
.btn[data-v-
|
|
378
|
+
.btn[data-v-c12d3f54] .o-btn-large {
|
|
379
379
|
font-size: 14px;
|
|
380
380
|
line-height: 22px;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
384
|
-
.btn[data-v-
|
|
384
|
+
.btn[data-v-c12d3f54] .o-btn-large {
|
|
385
385
|
font-size: 14px;
|
|
386
386
|
line-height: 22px;
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
@media (max-width: 600px) {
|
|
390
|
-
.btn[data-v-
|
|
390
|
+
.btn[data-v-c12d3f54] .o-btn-large {
|
|
391
391
|
font-size: 12px;
|
|
392
392
|
line-height: 18px;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
.btn[data-v-
|
|
395
|
+
.btn[data-v-c12d3f54] .o-btn-large {
|
|
396
396
|
border-radius: 20px;
|
|
397
397
|
}
|
|
398
|
-
.btn[data-v-
|
|
398
|
+
.btn[data-v-c12d3f54] .o-btn {
|
|
399
399
|
min-width: 112px;
|
|
400
400
|
width: 112px;
|
|
401
401
|
height: 40px;
|
|
402
402
|
}
|
|
403
|
-
.org-input[data-v-
|
|
403
|
+
.org-input[data-v-c12d3f54] .o-form-item-label {
|
|
404
404
|
display: none;
|
|
405
405
|
}
|
|
406
|
-
.org-input[data-v-
|
|
407
|
-
.org-input[data-v-
|
|
406
|
+
.org-input[data-v-c12d3f54] .o-form-item-label + .o-form-item-main,
|
|
407
|
+
.org-input[data-v-c12d3f54] .o-form-item-main {
|
|
408
408
|
margin-left: 0;
|
|
409
409
|
}
|
|
410
|
-
.userinfo-pad[data-v-
|
|
410
|
+
.userinfo-pad[data-v-c12d3f54] {
|
|
411
411
|
flex-direction: column;
|
|
412
412
|
justify-content: center;
|
|
413
413
|
background-color: var(--o-color-fill2);
|
|
@@ -415,101 +415,101 @@
|
|
|
415
415
|
padding-top: 16px;
|
|
416
416
|
border-radius: 8px;
|
|
417
417
|
}
|
|
418
|
-
.userinfo-pad .common-item[data-v-
|
|
418
|
+
.userinfo-pad .common-item[data-v-c12d3f54] {
|
|
419
419
|
justify-content: center !important;
|
|
420
420
|
border-bottom: none !important;
|
|
421
421
|
}
|
|
422
|
-
.userinfo-pad .common-item .username[data-v-
|
|
422
|
+
.userinfo-pad .common-item .username[data-v-c12d3f54] {
|
|
423
423
|
margin-right: 0 !important;
|
|
424
424
|
}
|
|
425
|
-
.userinfo-pad .common-item .avatar[data-v-
|
|
425
|
+
.userinfo-pad .common-item .avatar[data-v-c12d3f54] {
|
|
426
426
|
margin-right: 0 !important;
|
|
427
427
|
padding-top: 16px !important;
|
|
428
428
|
}
|
|
429
|
-
.userinfo-pad .common-item .avatar .img-avatar[data-v-
|
|
429
|
+
.userinfo-pad .common-item .avatar .img-avatar[data-v-c12d3f54] {
|
|
430
430
|
margin-right: 0 !important;
|
|
431
431
|
}
|
|
432
|
-
.userinfo-pad .aside-item .username[data-v-
|
|
432
|
+
.userinfo-pad .aside-item .username[data-v-c12d3f54] {
|
|
433
433
|
padding-left: 0;
|
|
434
434
|
}
|
|
435
|
-
.input-org[data-v-
|
|
435
|
+
.input-org[data-v-c12d3f54] {
|
|
436
436
|
display: flex;
|
|
437
437
|
margin-right: 16px;
|
|
438
438
|
align-items: center;
|
|
439
439
|
min-width: 0;
|
|
440
440
|
}
|
|
441
|
-
.input-org .org-name[data-v-
|
|
441
|
+
.input-org .org-name[data-v-c12d3f54] {
|
|
442
442
|
margin-right: 8px;
|
|
443
443
|
}
|
|
444
|
-
.userinfo-settings-pad[data-v-
|
|
444
|
+
.userinfo-settings-pad[data-v-c12d3f54] {
|
|
445
445
|
background-color: var(--o-color-fill2);
|
|
446
446
|
border-radius: 4px;
|
|
447
447
|
border-bottom: none;
|
|
448
448
|
padding: 0 16px;
|
|
449
449
|
}
|
|
450
|
-
.userinfo-settings-pad .common-item[data-v-
|
|
450
|
+
.userinfo-settings-pad .common-item[data-v-c12d3f54] {
|
|
451
451
|
margin-top: 0;
|
|
452
452
|
border-bottom: 1px solid var(--o-color-control4);
|
|
453
453
|
height: 52px;
|
|
454
454
|
justify-content: space-between;
|
|
455
455
|
/* 标签固定不收缩,值列单行溢出省略 */
|
|
456
456
|
}
|
|
457
|
-
.userinfo-settings-pad .common-item .common-label[data-v-
|
|
458
|
-
.userinfo-settings-pad .common-item .common-label-en[data-v-
|
|
457
|
+
.userinfo-settings-pad .common-item .common-label[data-v-c12d3f54],
|
|
458
|
+
.userinfo-settings-pad .common-item .common-label-en[data-v-c12d3f54] {
|
|
459
459
|
flex-shrink: 0;
|
|
460
460
|
}
|
|
461
|
-
.userinfo-settings-pad .common-item .text[data-v-
|
|
462
|
-
.userinfo-settings-pad .common-item .username[data-v-
|
|
463
|
-
.userinfo-settings-pad .common-item .common-value[data-v-
|
|
464
|
-
.userinfo-settings-pad .common-item .org-name[data-v-
|
|
461
|
+
.userinfo-settings-pad .common-item .text[data-v-c12d3f54],
|
|
462
|
+
.userinfo-settings-pad .common-item .username[data-v-c12d3f54],
|
|
463
|
+
.userinfo-settings-pad .common-item .common-value[data-v-c12d3f54],
|
|
464
|
+
.userinfo-settings-pad .common-item .org-name[data-v-c12d3f54] {
|
|
465
465
|
min-width: 0;
|
|
466
466
|
overflow: hidden;
|
|
467
467
|
text-overflow: ellipsis;
|
|
468
468
|
white-space: nowrap;
|
|
469
469
|
}
|
|
470
|
-
.userinfo-settings-pad .common-item .common-value[data-v-
|
|
470
|
+
.userinfo-settings-pad .common-item .common-value[data-v-c12d3f54] {
|
|
471
471
|
color: var(--o-color-info2);
|
|
472
472
|
}
|
|
473
|
-
.userinfo-settings-pad .common-item .username[data-v-
|
|
473
|
+
.userinfo-settings-pad .common-item .username[data-v-c12d3f54] {
|
|
474
474
|
color: var(--o-color-info2);
|
|
475
475
|
}
|
|
476
|
-
.userinfo-settings-pad .common-item .org-name[data-v-
|
|
476
|
+
.userinfo-settings-pad .common-item .org-name[data-v-c12d3f54] {
|
|
477
477
|
color: var(--o-color-info2);
|
|
478
478
|
}
|
|
479
|
-
.userinfo-settings-pad .common-item[data-v-
|
|
479
|
+
.userinfo-settings-pad .common-item[data-v-c12d3f54] {
|
|
480
480
|
/* 值区域与用户名一致:靠右对齐、同一右缩进 */
|
|
481
481
|
}
|
|
482
|
-
.userinfo-settings-pad .common-item .org-input[data-v-
|
|
482
|
+
.userinfo-settings-pad .common-item .org-input[data-v-c12d3f54] {
|
|
483
483
|
flex: 1;
|
|
484
484
|
min-width: 0;
|
|
485
485
|
display: flex;
|
|
486
486
|
align-items: center;
|
|
487
487
|
justify-content: flex-end;
|
|
488
488
|
}
|
|
489
|
-
.userinfo-settings-pad .common-item .org-input .input-org[data-v-
|
|
489
|
+
.userinfo-settings-pad .common-item .org-input .input-org[data-v-c12d3f54] {
|
|
490
490
|
min-width: 0;
|
|
491
491
|
}
|
|
492
|
-
.userinfo-settings-pad .common-item .avatar[data-v-
|
|
492
|
+
.userinfo-settings-pad .common-item .avatar[data-v-c12d3f54] {
|
|
493
493
|
display: flex;
|
|
494
494
|
justify-content: center;
|
|
495
495
|
}
|
|
496
|
-
.userinfo-settings-pad .common-item .avatar .img-avatar[data-v-
|
|
496
|
+
.userinfo-settings-pad .common-item .avatar .img-avatar[data-v-c12d3f54] {
|
|
497
497
|
margin-right: 8px;
|
|
498
498
|
}
|
|
499
|
-
.userinfo-settings-pad .common-item[data-v-
|
|
499
|
+
.userinfo-settings-pad .common-item[data-v-c12d3f54]:last-child {
|
|
500
500
|
border-bottom: none;
|
|
501
501
|
}
|
|
502
|
-
.userinfo-settings-pad .input-org[data-v-
|
|
502
|
+
.userinfo-settings-pad .input-org[data-v-c12d3f54] {
|
|
503
503
|
margin-right: 0;
|
|
504
504
|
}
|
|
505
|
-
.title-pad[data-v-
|
|
505
|
+
.title-pad[data-v-c12d3f54] {
|
|
506
506
|
border-bottom: none;
|
|
507
507
|
}
|
|
508
|
-
.label-role[data-v-
|
|
508
|
+
.label-role[data-v-c12d3f54] {
|
|
509
509
|
display: flex;
|
|
510
510
|
align-items: center;
|
|
511
511
|
}
|
|
512
|
-
.label-role .o-icon[data-v-
|
|
512
|
+
.label-role .o-icon[data-v-c12d3f54] {
|
|
513
513
|
--icon-size: 16px;
|
|
514
514
|
margin-left: 8px;
|
|
515
515
|
cursor: pointer;
|
|
@@ -3,7 +3,7 @@ import './OUserInfo.css';
|
|
|
3
3
|
import './OUserInfo2.css';
|
|
4
4
|
import './OUserInfo3.css';
|
|
5
5
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
6
|
-
const _OUserInfo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
6
|
+
const _OUserInfo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c12d3f54"]]);
|
|
7
7
|
export {
|
|
8
8
|
_OUserInfo as default
|
|
9
9
|
};
|
|
@@ -132,6 +132,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
132
132
|
const orgPlaceholderText = computed(() => props.orgPlaceholder || t("common.INPUT_ORG"));
|
|
133
133
|
const rolesMapConfig = computed(() => props.rolesMap ?? rolesMap);
|
|
134
134
|
const rolesListConfig = computed(() => Array.from(rolesMapConfig.value.values()));
|
|
135
|
+
const displayRoles = computed(() => props.rolesList.filter((item) => rolesMapConfig.value.has(item)));
|
|
135
136
|
const orgName = ref("");
|
|
136
137
|
const orgNameInitial = ref("");
|
|
137
138
|
const isEditOrgDialogVisible = ref(false);
|
|
@@ -460,10 +461,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
460
461
|
])
|
|
461
462
|
], 2),
|
|
462
463
|
createElementVNode("div", _hoisted_26, [
|
|
463
|
-
|
|
464
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
464
|
+
displayRoles.value.length ? (openBlock(), createElementBlock("div", _hoisted_27, [
|
|
465
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(displayRoles.value, (item, i) => {
|
|
465
466
|
var _a;
|
|
466
|
-
return openBlock(), createElementBlock("span", { key: item }, toDisplayString((_a = rolesMapConfig.value.get(item)) == null ? void 0 : _a.name) + toDisplayString(i !==
|
|
467
|
+
return openBlock(), createElementBlock("span", { key: item }, toDisplayString((_a = rolesMapConfig.value.get(item)) == null ? void 0 : _a.name) + toDisplayString(i !== displayRoles.value.length - 1 ? "、" : ""), 1);
|
|
467
468
|
}), 128))
|
|
468
469
|
])) : (openBlock(), createElementBlock("div", _hoisted_28, toDisplayString(unref(t)("common.EMPTY_ROLES")), 1))
|
|
469
470
|
])
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-c12d3f54] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-c12d3f54] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* stylelint-disable */
|
|
11
|
-
:root.dark .edit-icon[data-v-
|
|
11
|
+
:root.dark .edit-icon[data-v-c12d3f54] {
|
|
12
12
|
background-image: url("data:image/svg+xml,%3csvg%20width='24.000000'%20height='24.000000'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20id='icon编辑'%20width='24.000000'%20height='24.000000'%20fill='%23FFFFFF'%20fill-opacity='0'/%3e%3crect%20id='矩形'%20width='24.000000'%20height='24.000000'%20fill='%23D8D8D8'%20fill-opacity='0'/%3e%3crect%20id='矩形'%20x='0.500000'%20y='0.500000'%20width='23.000000'%20height='23.000000'%20stroke='%23979797'%20stroke-opacity='0'%20stroke-width='1.000000'/%3e%3cpath%20id='形状结合'%20d='M4.59998%2011.7781L12.6576%203.72058C13.5167%202.86133%2014.9097%202.86133%2015.7688%203.72058L17.887%205.83875C18.7462%206.69788%2018.7462%208.09082%2017.887%208.94995L9.82947%2017.0076C9.43311%2017.4038%208.90051%2017.634%208.34033%2017.6509L4.88171%2017.7556C4.32971%2017.7723%203.86865%2017.3384%203.85193%2016.7863L3.85144%2016.7561L3.95667%2013.2672C3.97351%2012.707%204.20374%2012.1744%204.59998%2011.7781ZM14.7806%204.71106L16.8988%206.82922C17.2113%207.14172%2017.2113%207.64819%2016.8988%207.96069L8.84131%2016.0182L8.74915%2016.0973C8.61926%2016.1927%208.46277%2016.2472%208.2998%2016.2522L5.26538%2016.3438L5.35779%2013.3102C5.36389%2013.1064%205.44763%2012.9127%205.59167%2012.7687L13.6493%204.71106C13.9617%204.39868%2014.4683%204.39868%2014.7806%204.71106ZM20.0437%2016.3577C20.4303%2016.3577%2020.7437%2016.6711%2020.7437%2017.0577C20.7437%2017.4121%2020.4803%2017.705%2020.1387%2017.7513L20.0437%2017.7577L13.5736%2017.7577C13.1869%2017.7577%2012.8735%2017.4443%2012.8735%2017.0577C12.8735%2016.7034%2013.1368%2016.4104%2013.4785%2016.3641L13.5736%2016.3577L20.0437%2016.3577ZM20.0504%2019.5237C20.437%2019.5237%2020.7505%2019.8372%2020.7505%2020.2238C20.7505%2020.5781%2020.4871%2020.871%2020.1454%2020.9174L20.0504%2020.9237L4.53552%2020.9237C4.14893%2020.9237%203.83557%2020.6104%203.83557%2020.2238C3.83557%2019.8694%204.09888%2019.5764%204.44055%2019.5302L4.53552%2019.5237L20.0504%2019.5237Z'%20clip-rule='evenodd'%20fill='%23ffffff'%20fill-opacity='0.800000'%20fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
13
13
|
}
|
|
14
|
-
:root.dark .edit-icon[data-v-
|
|
14
|
+
:root.dark .edit-icon[data-v-c12d3f54]:hover {
|
|
15
15
|
background-image: url("data:image/svg+xml,%3csvg%20width='24.000000'%20height='24.000000'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20id='icon编辑'%20width='24.000000'%20height='24.000000'%20fill='%23FFFFFF'%20fill-opacity='0'/%3e%3crect%20id='矩形'%20width='24.000000'%20height='24.000000'%20fill='%23D8D8D8'%20fill-opacity='0'/%3e%3crect%20id='矩形'%20x='0.500000'%20y='0.500000'%20width='23.000000'%20height='23.000000'%20stroke='%23979797'%20stroke-opacity='0'%20stroke-width='1.000000'/%3e%3cpath%20id='形状结合'%20d='M4.59998%2011.7781L12.6576%203.72058C13.5167%202.86133%2014.9097%202.86133%2015.7688%203.72058L17.887%205.83875C18.7462%206.69788%2018.7462%208.09082%2017.887%208.94995L9.82947%2017.0076C9.43311%2017.4038%208.90051%2017.634%208.34033%2017.6509L4.88171%2017.7556C4.32971%2017.7723%203.86865%2017.3384%203.85193%2016.7863L3.85144%2016.7561L3.95667%2013.2672C3.97351%2012.707%204.20374%2012.1744%204.59998%2011.7781ZM14.7806%204.71106L16.8988%206.82922C17.2113%207.14172%2017.2113%207.64819%2016.8988%207.96069L8.84131%2016.0182L8.74915%2016.0973C8.61926%2016.1927%208.46277%2016.2472%208.2998%2016.2522L5.26538%2016.3438L5.35779%2013.3102C5.36389%2013.1064%205.44763%2012.9127%205.59167%2012.7687L13.6493%204.71106C13.9617%204.39868%2014.4683%204.39868%2014.7806%204.71106ZM20.0437%2016.3577C20.4303%2016.3577%2020.7437%2016.6711%2020.7437%2017.0577C20.7437%2017.4121%2020.4803%2017.705%2020.1387%2017.7513L20.0437%2017.7577L13.5736%2017.7577C13.1869%2017.7577%2012.8735%2017.4443%2012.8735%2017.0577C12.8735%2016.7034%2013.1368%2016.4104%2013.4785%2016.3641L13.5736%2016.3577L20.0437%2016.3577ZM20.0504%2019.5237C20.437%2019.5237%2020.7505%2019.8372%2020.7505%2020.2238C20.7505%2020.5781%2020.4871%2020.871%2020.1454%2020.9174L20.0504%2020.9237L4.53552%2020.9237C4.14893%2020.9237%203.83557%2020.6104%203.83557%2020.2238C3.83557%2019.8694%204.09888%2019.5764%204.44055%2019.5302L4.53552%2019.5237L20.0504%2019.5237Z'%20clip-rule='evenodd'%20fill='%235C87FF'%20fill-opacity='0.800000'%20fill-rule='evenodd'/%3e%3c/svg%3e");
|
|
16
16
|
}
|