@jx3box/jx3box-common-ui 6.2.5 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "6.2.5",
3
+ "version": "6.2.6",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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(10px);
165
- color: #434343;
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);