@jx3box/jx3box-common-ui 9.1.0 → 9.1.2
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
|
@@ -25,6 +25,14 @@ export default {
|
|
|
25
25
|
type: String,
|
|
26
26
|
default: "",
|
|
27
27
|
},
|
|
28
|
+
authorId: {
|
|
29
|
+
type: Number,
|
|
30
|
+
default: 0,
|
|
31
|
+
},
|
|
32
|
+
banner: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "",
|
|
35
|
+
},
|
|
28
36
|
},
|
|
29
37
|
data: function () {
|
|
30
38
|
return {
|
|
@@ -47,6 +55,8 @@ export default {
|
|
|
47
55
|
category: this.category,
|
|
48
56
|
link: location.href,
|
|
49
57
|
title: this.title,
|
|
58
|
+
author_id: this.authorId,
|
|
59
|
+
banner: this.banner,
|
|
50
60
|
}
|
|
51
61
|
}
|
|
52
62
|
},
|
package/src/single/PostTopic.vue
CHANGED
|
@@ -47,7 +47,7 @@ export default {
|
|
|
47
47
|
},
|
|
48
48
|
topicImage() {
|
|
49
49
|
const img = this.postBanner || this.topicInfo?.img;
|
|
50
|
-
if (img?.indexOf(".gif") > -1) {
|
|
50
|
+
if (img?.indexOf(".gif") > -1 || img?.indexOf(".webp") > -1) {
|
|
51
51
|
return img;
|
|
52
52
|
}
|
|
53
53
|
return getThumbnail(img, [260 * 2, 78 * 2]);
|
package/src/single/Thx.vue
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
:category="category"
|
|
53
53
|
@updateRecord="updateRecord"
|
|
54
54
|
/>
|
|
55
|
-
<watch-later :category="postType" :title="postTitle"></watch-later>
|
|
55
|
+
<watch-later :category="postType" :title="postTitle" :author-id="authorId" :banner="banner"></watch-later>
|
|
56
56
|
<Share :postId="postId" :postType="postType" :client="client" />
|
|
57
57
|
</div>
|
|
58
58
|
<div class="w-thx-records">
|
|
@@ -140,6 +140,14 @@ export default {
|
|
|
140
140
|
type: Boolean,
|
|
141
141
|
default: false,
|
|
142
142
|
},
|
|
143
|
+
authorId: {
|
|
144
|
+
type: Number,
|
|
145
|
+
default: 0,
|
|
146
|
+
},
|
|
147
|
+
banner: {
|
|
148
|
+
type: String,
|
|
149
|
+
default: "",
|
|
150
|
+
},
|
|
143
151
|
},
|
|
144
152
|
components: {
|
|
145
153
|
Like,
|