@jx3box/jx3box-common-ui 6.3.0 → 6.3.2
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/assets/css/box.less +5 -1
- package/assets/css/header.less +15 -9
- package/package.json +1 -1
- package/src/author/Avatar.vue +2 -2
package/assets/css/box.less
CHANGED
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
padding: 10px 0 10px 20px;
|
|
26
26
|
list-style: none;
|
|
27
27
|
.clearfix;
|
|
28
|
+
&::after {
|
|
29
|
+
content: '';
|
|
30
|
+
flex: 1;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
li {
|
|
@@ -136,7 +140,7 @@
|
|
|
136
140
|
align-items: flex-start;
|
|
137
141
|
li {
|
|
138
142
|
// flex: 1;
|
|
139
|
-
margin-right: 15px;
|
|
143
|
+
// margin-right: 15px;
|
|
140
144
|
margin-bottom: 15px;
|
|
141
145
|
&:nth-child(4n) {
|
|
142
146
|
.mr(0) !important;
|
package/assets/css/header.less
CHANGED
|
@@ -280,6 +280,7 @@ body {
|
|
|
280
280
|
.u-avatar {
|
|
281
281
|
width: 24px;
|
|
282
282
|
height: 24px;
|
|
283
|
+
border-radius: 50%;
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
.u-menu {
|
|
@@ -434,16 +435,21 @@ body {
|
|
|
434
435
|
border: 1px solid #ccc;
|
|
435
436
|
padding: 10px;
|
|
436
437
|
|
|
438
|
+
|
|
437
439
|
ul {
|
|
438
440
|
padding: 0;
|
|
439
441
|
margin: 0;
|
|
440
442
|
list-style: none;
|
|
441
443
|
*zoom: 1;
|
|
442
|
-
|
|
443
|
-
content:
|
|
444
|
-
|
|
445
|
-
clear: both;
|
|
444
|
+
&::after {
|
|
445
|
+
content: '';
|
|
446
|
+
flex: 1;
|
|
446
447
|
}
|
|
448
|
+
// &:after {
|
|
449
|
+
// content: "";
|
|
450
|
+
// display: table;
|
|
451
|
+
// clear: both;
|
|
452
|
+
// }
|
|
447
453
|
}
|
|
448
454
|
|
|
449
455
|
// overflow-y:auto;
|
|
@@ -466,11 +472,11 @@ body {
|
|
|
466
472
|
margin-bottom: 5px;
|
|
467
473
|
padding-bottom: 10px;
|
|
468
474
|
*zoom: 1;
|
|
469
|
-
&:after {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
}
|
|
475
|
+
// &:after {
|
|
476
|
+
// content: "";
|
|
477
|
+
// display: table;
|
|
478
|
+
// clear: both;
|
|
479
|
+
// }
|
|
474
480
|
border-bottom: 1px solid #eee;
|
|
475
481
|
|
|
476
482
|
&.isdone {
|
package/package.json
CHANGED
package/src/author/Avatar.vue
CHANGED
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
name: "Avatar",
|
|
16
16
|
props: {
|
|
17
17
|
uid: {
|
|
18
|
-
type: Number,
|
|
18
|
+
type: [Number, String],
|
|
19
19
|
default: 0,
|
|
20
20
|
},
|
|
21
21
|
url: {
|
|
@@ -27,7 +27,7 @@ export default {
|
|
|
27
27
|
default: "",
|
|
28
28
|
},
|
|
29
29
|
size : {
|
|
30
|
-
type : Number,
|
|
30
|
+
type : [Number, String],
|
|
31
31
|
default : 88
|
|
32
32
|
}
|
|
33
33
|
},
|