@jx3box/jx3box-common-ui 5.5.29 → 5.6.0
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/author.less
CHANGED
|
@@ -11,15 +11,16 @@
|
|
|
11
11
|
.size(68px);
|
|
12
12
|
}
|
|
13
13
|
.u-name {
|
|
14
|
-
.lh(
|
|
14
|
+
.lh(2.2);
|
|
15
15
|
.bold;
|
|
16
16
|
color: @darkblue;
|
|
17
17
|
&:hover {
|
|
18
18
|
color: #f39;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.nobreak;
|
|
21
21
|
}
|
|
22
22
|
.u-info{
|
|
23
|
+
.pr;top:-4px;
|
|
23
24
|
.h(68px);
|
|
24
25
|
display: flex;
|
|
25
26
|
flex-direction: column;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-common-ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"description": "JX3BOX UI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@jx3box/jx3box-comment-ui": "^1.6.8",
|
|
34
|
-
"@jx3box/jx3box-common": "^7.0
|
|
35
|
-
"@jx3box/jx3box-data": "^1.8.
|
|
34
|
+
"@jx3box/jx3box-common": "^7.1.0",
|
|
35
|
+
"@jx3box/jx3box-data": "^1.8.8",
|
|
36
36
|
"@jx3box/jx3box-editor": "^1.2.6",
|
|
37
37
|
"axios": "^0.26.1",
|
|
38
38
|
"dayjs": "^1.11.0",
|
package/src/Author.vue
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<Avatar class="u-avatar" :uid="uid" :url="data.user_avatar" :size="68" :frame="data.user_avatar_frame" />
|
|
5
5
|
<div class="u-info">
|
|
6
6
|
<a class="u-name" :href="authorLink(uid)">
|
|
7
|
-
<span>{{ data.display_name.slice(0,
|
|
7
|
+
<span>{{ data.display_name.slice(0, 8) }}</span>
|
|
8
8
|
<el-tooltip class="item" effect="dark" content="签约作者" placement="top" v-if="isSuperAuthor">
|
|
9
9
|
<a class="u-superauthor" href="/dashboard/#/cooperation" target="_blank">
|
|
10
10
|
<img :src="super_author_icon" alt="superauthor" />
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<li v-for="(item, i) in data" :key="i">
|
|
11
11
|
<a class="u-item" :href="url(item.ID, item.post_type)" target="_blank">
|
|
12
12
|
<span
|
|
13
|
-
><i class="u-icon el-icon-
|
|
13
|
+
><i class="u-icon el-icon-arrow-right"></i>
|
|
14
14
|
{{ item.post_title || item.post_type + "/无标题" }}</span
|
|
15
15
|
>
|
|
16
16
|
</a>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<slot name="single-append"></slot>
|
|
34
34
|
|
|
35
35
|
<!-- 打赏 -->
|
|
36
|
-
<Thx class="m-single-thx" :postId="id" :postType="post_type" :userId="author_id" :adminBoxcoinEnable="true" :userBoxcoinEnable="true" :authors="authors" />
|
|
36
|
+
<Thx class="m-single-thx" :postId="id" :postType="post_type" :postTitle="post_title" :userId="author_id" :adminBoxcoinEnable="true" :userBoxcoinEnable="true" :authors="authors" />
|
|
37
37
|
|
|
38
38
|
<!-- 评论 -->
|
|
39
39
|
<div class="m-single-comment">
|
|
@@ -88,8 +88,11 @@ export default {
|
|
|
88
88
|
post_type: function() {
|
|
89
89
|
return this.post?.post_type;
|
|
90
90
|
},
|
|
91
|
+
post_title : function (){
|
|
92
|
+
return this.post?.post_title
|
|
93
|
+
},
|
|
91
94
|
author_id : function (){
|
|
92
|
-
return this.post?.post_author
|
|
95
|
+
return this.post?.post_author
|
|
93
96
|
},
|
|
94
97
|
collection_id: function() {
|
|
95
98
|
return this.post?.post_collection;
|