@jx3box/jx3box-common-ui 5.6.1 → 5.6.4
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/src/filters/clientBy.vue
CHANGED
|
@@ -17,13 +17,13 @@ export default {
|
|
|
17
17
|
clientThink: false,
|
|
18
18
|
clients: [
|
|
19
19
|
{
|
|
20
|
-
name: "
|
|
20
|
+
name: "重制",
|
|
21
21
|
client: "std",
|
|
22
22
|
from : 'origin.jx3box.com',
|
|
23
23
|
to : 'www.jx3box.com'
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
name: "
|
|
26
|
+
name: "缘起",
|
|
27
27
|
client: "origin",
|
|
28
28
|
to : 'origin.jx3box.com',
|
|
29
29
|
from : 'www.jx3box.com'
|
|
@@ -66,4 +66,4 @@ export default {
|
|
|
66
66
|
</script>
|
|
67
67
|
|
|
68
68
|
<style scoped lang="less">
|
|
69
|
-
</style>
|
|
69
|
+
</style>
|
|
@@ -69,11 +69,10 @@
|
|
|
69
69
|
</template>
|
|
70
70
|
|
|
71
71
|
<script>
|
|
72
|
-
import { __Root } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
72
|
+
import { __Root,__clients } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
73
73
|
import { showDate, showTime } from "@jx3box/jx3box-common/js/moment";
|
|
74
74
|
import { editLink, authorLink } from "@jx3box/jx3box-common/js/utils.js";
|
|
75
75
|
import User from "@jx3box/jx3box-common/js/user.js";
|
|
76
|
-
import client_map from "../../assets/data/clients.json";
|
|
77
76
|
export default {
|
|
78
77
|
name: "single-header",
|
|
79
78
|
props: ["post", "stat"],
|
|
@@ -94,7 +93,7 @@ export default {
|
|
|
94
93
|
return authorLink(this.post?.post_author);
|
|
95
94
|
},
|
|
96
95
|
author_name: function() {
|
|
97
|
-
return this.post?.
|
|
96
|
+
return this.post?.author_info?.display_name || "匿名";
|
|
98
97
|
},
|
|
99
98
|
post_date: function() {
|
|
100
99
|
return showDate(new Date(this.post?.post_date));
|
|
@@ -123,7 +122,7 @@ export default {
|
|
|
123
122
|
},
|
|
124
123
|
methods: {
|
|
125
124
|
showClientLabel: function(val) {
|
|
126
|
-
return
|
|
125
|
+
return __clients[val];
|
|
127
126
|
},
|
|
128
127
|
},
|
|
129
128
|
mounted: function() {},
|