@jx3box/jx3box-common-ui 5.1.1 → 5.1.5
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/package.json
CHANGED
package/service/author.js
CHANGED
package/src/author/UserPop.vue
CHANGED
package/src/header/user.vue
CHANGED
package/src/single/Creators.vue
CHANGED
|
@@ -18,10 +18,11 @@
|
|
|
18
18
|
:key="i"
|
|
19
19
|
:href="item.post_author_info.ID | authorLink"
|
|
20
20
|
target="_blank"
|
|
21
|
+
v-show="item.status"
|
|
21
22
|
>
|
|
22
23
|
<img class="u-avatar" :src="item.post_author_info.user_avatar | showAvatar" />
|
|
23
24
|
<span class="u-name">{{item.post_author_info.display_name}}</span>
|
|
24
|
-
<i class="u-label">{{item.label}}</i>
|
|
25
|
+
<i class="u-label">{{item.label | formatLabel}}</i>
|
|
25
26
|
</a>
|
|
26
27
|
</div>
|
|
27
28
|
<a class="w-creators-edit" :href="editLink" v-if="isCreator">
|
|
@@ -91,6 +92,9 @@ export default {
|
|
|
91
92
|
return showAvatar(val, 48);
|
|
92
93
|
},
|
|
93
94
|
authorLink,
|
|
95
|
+
formatLabel : function (str){
|
|
96
|
+
return str && str.slice(0,8)
|
|
97
|
+
}
|
|
94
98
|
},
|
|
95
99
|
created: function () {},
|
|
96
100
|
mounted: function () {},
|
|
@@ -114,7 +118,7 @@ export default {
|
|
|
114
118
|
.lt(0);
|
|
115
119
|
writing-mode: vertical-rl;
|
|
116
120
|
.fz(12px);
|
|
117
|
-
background:
|
|
121
|
+
background: @primary;
|
|
118
122
|
color: #fff;
|
|
119
123
|
.h(100%);
|
|
120
124
|
.x;
|
|
@@ -145,6 +149,7 @@ export default {
|
|
|
145
149
|
.bold;
|
|
146
150
|
.db;
|
|
147
151
|
color: @color;
|
|
152
|
+
margin-bottom: 2px;
|
|
148
153
|
}
|
|
149
154
|
&:hover {
|
|
150
155
|
.u-name {
|
|
@@ -152,7 +157,7 @@ export default {
|
|
|
152
157
|
}
|
|
153
158
|
}
|
|
154
159
|
.u-up {
|
|
155
|
-
.db;
|
|
160
|
+
// .db;
|
|
156
161
|
.fz(12px,1);
|
|
157
162
|
font-style: normal;
|
|
158
163
|
background-color: @pink;
|
|
@@ -162,7 +167,7 @@ export default {
|
|
|
162
167
|
.mt(5px);
|
|
163
168
|
}
|
|
164
169
|
.u-label {
|
|
165
|
-
.db;
|
|
170
|
+
// .db;
|
|
166
171
|
.fz(12px,1);
|
|
167
172
|
font-style: normal;
|
|
168
173
|
background-color: @color-link;
|