@jx3box/jx3box-common-ui 8.2.7 → 8.2.9
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 +1 -1
- package/src/App.vue +2 -2
- package/src/author/AuthorHonor.vue +3 -7
- package/src/header/shop.vue +1 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
bread info
|
|
16
16
|
</Breadcrumb>
|
|
17
17
|
|
|
18
|
-
<LeftSidebar :open="true" :uid="
|
|
18
|
+
<LeftSidebar :open="true" :uid="8">
|
|
19
19
|
<LeftSideToggle :mobileOnly="true" />
|
|
20
|
-
<Author :author="author" :uid="
|
|
20
|
+
<Author :author="author" :uid="8" />
|
|
21
21
|
</LeftSidebar>
|
|
22
22
|
|
|
23
23
|
<Main :withoutLeft="false" :withoutRight="false">
|
|
@@ -25,16 +25,13 @@ export default {
|
|
|
25
25
|
},
|
|
26
26
|
computed: {
|
|
27
27
|
isJdt() {
|
|
28
|
-
return this.honor?.
|
|
28
|
+
return this.honor?.honor_info?.img?.toLowerCase()?.includes("jdt");
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
methods: {
|
|
32
32
|
imgUrl: function () {
|
|
33
|
-
let item = this.honor;
|
|
33
|
+
let item = this.honor?.honor_info;
|
|
34
34
|
if (!item) return;
|
|
35
|
-
if (item.isImgIndex) {
|
|
36
|
-
return __imgPath + `decoration/honor/${item.img}/${item.img}_${item.imgIndex}.${item.img_ext}`;
|
|
37
|
-
}
|
|
38
35
|
return __imgPath + `decoration/honor/${item.img}/${item.img}.${item.img_ext}`;
|
|
39
36
|
},
|
|
40
37
|
getHonor() {
|
|
@@ -67,7 +64,6 @@ export default {
|
|
|
67
64
|
let ranking = honorConfig.ranking;
|
|
68
65
|
let honorStr = honorConfig.year || "";
|
|
69
66
|
|
|
70
|
-
console.log(honorConfig, regPrefix)
|
|
71
67
|
if (!only) {
|
|
72
68
|
if (regPrefix) {
|
|
73
69
|
honorStr = honorStr + (data[regPrefix[0].slice(1, -1)] || "");
|
|
@@ -77,7 +73,7 @@ export default {
|
|
|
77
73
|
} else {
|
|
78
74
|
honorStr = prefix;
|
|
79
75
|
}
|
|
80
|
-
if (ranking
|
|
76
|
+
if (ranking?.length > 0) {
|
|
81
77
|
data.imgIndex = 0;
|
|
82
78
|
for (let i = 0; i < ranking.length; i++) {
|
|
83
79
|
if (
|