@jx3box/jx3box-common-ui 8.0.8 → 8.0.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.
@@ -84,6 +84,7 @@
84
84
 
85
85
  .u-meta {
86
86
  .mr(15px);
87
+ .mt(5px);
87
88
 
88
89
  &:last-child {
89
90
  .mr(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "8.0.8",
3
+ "version": "8.0.9",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -30,10 +30,10 @@
30
30
  "last 2 versions"
31
31
  ],
32
32
  "dependencies": {
33
- "@jx3box/jx3box-comment-ui": "^1.7.16",
34
- "@jx3box/jx3box-common": "^8.0.3",
35
- "@jx3box/jx3box-data": "^3.5.3",
36
- "@jx3box/jx3box-editor": "^1.9.9",
33
+ "@jx3box/jx3box-comment-ui": "^1.8.1",
34
+ "@jx3box/jx3box-common": "^8.1.3",
35
+ "@jx3box/jx3box-data": "^3.5.6",
36
+ "@jx3box/jx3box-editor": "^2.0.9",
37
37
  "@jx3box/reporter": "^0.0.4",
38
38
  "axios": "^0.26.1",
39
39
  "dayjs": "^1.11.0",
@@ -78,9 +78,9 @@
78
78
  import _ from "lodash";
79
79
  import QRcode from "../interact/QRcode";
80
80
  import {
81
- getThumbnail,
82
81
  authorLink,
83
82
  ts2str,
83
+ showAvatar,
84
84
  } from "@jx3box/jx3box-common/js/utils";
85
85
  import { getStat } from "@jx3box/jx3box-common/js/stat";
86
86
  export default {
@@ -128,7 +128,7 @@ export default {
128
128
  author_url: authorLink,
129
129
  ts2str,
130
130
  thumbnail_url: function(val) {
131
- return getThumbnail(val, 72, true);
131
+ return showAvatar(val);
132
132
  },
133
133
  },
134
134
  components: {
@@ -40,7 +40,7 @@
40
40
 
41
41
  <script>
42
42
  import WikiPanel from "./WikiPanel";
43
- import { wiki } from "@jx3box/jx3box-common/js/wiki";
43
+ import { wiki } from "@jx3box/jx3box-common/js/wiki_v2";
44
44
  import { getLink, authorLink, ts2str } from "@jx3box/jx3box-common/js/utils";
45
45
  import { __Root, __OriginRoot } from "@jx3box/jx3box-common/data/jx3box.json";
46
46
 
@@ -49,7 +49,7 @@ export default {
49
49
  props: ["type", "sourceId", "isGame"],
50
50
  data: function () {
51
51
  return {
52
- versions: null,
52
+ versions: [],
53
53
  };
54
54
  },
55
55
  computed: {
@@ -94,10 +94,10 @@ export default {
94
94
  .then(
95
95
  (res) => {
96
96
  res = res.data;
97
- this.versions = res.code === 200 ? res.data.versions : false;
97
+ this.versions = res.data || [];
98
98
  },
99
99
  () => {
100
- this.versions = false;
100
+ this.versions = [];
101
101
  }
102
102
  );
103
103
  }