@jx3box/jx3box-common-ui 6.3.1 → 6.3.3
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 -5
- package/package.json +1 -1
- package/src/author/Avatar.vue +2 -2
package/assets/css/box.less
CHANGED
|
@@ -21,14 +21,10 @@
|
|
|
21
21
|
// }
|
|
22
22
|
|
|
23
23
|
ul {
|
|
24
|
-
margin: 0;
|
|
24
|
+
margin: 0 -20px 0 0;
|
|
25
25
|
padding: 10px 0 10px 20px;
|
|
26
26
|
list-style: none;
|
|
27
27
|
.clearfix;
|
|
28
|
-
&::after {
|
|
29
|
-
content: '';
|
|
30
|
-
flex: 1;
|
|
31
|
-
}
|
|
32
28
|
}
|
|
33
29
|
|
|
34
30
|
li {
|
|
@@ -133,11 +129,15 @@
|
|
|
133
129
|
@media screen and (max-width: @phone) {
|
|
134
130
|
.c-jx3box {
|
|
135
131
|
.u-list {
|
|
132
|
+
margin-right:0;
|
|
136
133
|
padding-right: 20px;
|
|
137
134
|
display: flex;
|
|
138
135
|
flex-wrap: wrap;
|
|
139
136
|
justify-content: space-between;
|
|
140
137
|
align-items: flex-start;
|
|
138
|
+
&::after {
|
|
139
|
+
flex: 1;
|
|
140
|
+
}
|
|
141
141
|
li {
|
|
142
142
|
// flex: 1;
|
|
143
143
|
// margin-right: 15px;
|
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
|
},
|