@jx3box/jx3box-common-ui 6.2.4 → 6.2.6
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/index.js +0 -2
- package/package.json +1 -1
- package/src/author/AuthorFans.vue +7 -9
package/index.js
CHANGED
|
@@ -31,7 +31,6 @@ import zlpBy from "./src/filters/zlpBy.vue";
|
|
|
31
31
|
import Thx from './src/single/Thx.vue'
|
|
32
32
|
import WikiPanel from './src/wiki/WikiPanel.vue'
|
|
33
33
|
|
|
34
|
-
import Fans from './src/fans/fans.vue'
|
|
35
34
|
const components = {
|
|
36
35
|
Header,
|
|
37
36
|
Breadcrumb,
|
|
@@ -66,7 +65,6 @@ const components = {
|
|
|
66
65
|
zlpBy,
|
|
67
66
|
|
|
68
67
|
WikiPanel,
|
|
69
|
-
Fans
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
const install = function (Vue, Option) {
|
package/package.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
placement="top"
|
|
30
30
|
v-if="index < 5"
|
|
31
31
|
>
|
|
32
|
-
<el-avatar class="u-avatar" shape="circle" :size="30" :src="showAvatar(item.pay_user.avatar)"
|
|
32
|
+
<a class="u-fan" :href="authorLink(item.pay_user_id)"><el-avatar class="u-avatar" shape="circle" :size="30" :src="showAvatar(item.pay_user.avatar)"
|
|
33
33
|
><i class="el-icon-s-custom"></i
|
|
34
|
-
></el-avatar>
|
|
34
|
+
></el-avatar></a>
|
|
35
35
|
</el-tooltip>
|
|
36
36
|
</el-col>
|
|
37
37
|
<el-col :span="4" v-if="list.length > 5">
|
|
38
|
-
<el-avatar class="u-avatar" shape="circle" :size="30">
|
|
38
|
+
<el-avatar class="u-avatar u-more" shape="circle" :size="30">
|
|
39
39
|
<span class="f-avatar-num" v-if="list.length > 99">···</span>
|
|
40
40
|
<span class="f-avatar-num" v-else>+{{ list.length - 5 }}</span>
|
|
41
41
|
</el-avatar>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
<script>
|
|
50
50
|
import { getFansList } from "../../service/author";
|
|
51
|
-
import { showAvatar } from "@jx3box/jx3box-common/js/utils";
|
|
51
|
+
import { showAvatar,authorLink } from "@jx3box/jx3box-common/js/utils";
|
|
52
52
|
export default {
|
|
53
53
|
name: "AuthorFans",
|
|
54
54
|
props: {
|
|
@@ -71,6 +71,7 @@ export default {
|
|
|
71
71
|
});
|
|
72
72
|
},
|
|
73
73
|
showAvatar,
|
|
74
|
+
authorLink,
|
|
74
75
|
},
|
|
75
76
|
watch: {
|
|
76
77
|
uid: {
|
|
@@ -161,14 +162,11 @@ export default {
|
|
|
161
162
|
.mt(10px);
|
|
162
163
|
height: 30px;
|
|
163
164
|
.f-avatar-num {
|
|
164
|
-
.fz(
|
|
165
|
-
color: #
|
|
165
|
+
.fz(12px);
|
|
166
|
+
color: #888;
|
|
166
167
|
font-weight: 700;
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
|
-
.u-avatar {
|
|
170
|
-
background-color: #d9d9d9;
|
|
171
|
-
}
|
|
172
170
|
.f-bottom {
|
|
173
171
|
.mt(10px);
|
|
174
172
|
.fz(12px, 14px);
|