@jx3box/jx3box-ui 2.0.22 → 2.0.24

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.0.22",
3
+ "version": "2.0.24",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,7 +13,6 @@
13
13
  "build:dev": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vue-cli-service build --mode development",
14
14
  "build:prod": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vue-cli-service build --mode production",
15
15
  "lint": "vue-cli-service lint",
16
- "header": "vue-cli-service build --target lib --name newheader src/Header.vue && cp public/index.html dist/newheader.html",
17
16
  "update": "npm --registry https://registry.npmjs.org install @jx3box/jx3box-common@latest @jx3box/jx3box-data@latest @jx3box/jx3box-emotion@latest @jx3box/jx3box-macro@latest @jx3box/jx3box-talent@latest"
18
17
  },
19
18
  "eslintConfig": {
@@ -78,7 +78,7 @@ export default {
78
78
  data: function () {
79
79
  return {
80
80
  isOpen: true,
81
- feedback: "/feedback?refer=" + encodeURIComponent(window.location.href),
81
+ feedback: "/dashboard/feedback?refer=" + encodeURIComponent(window.location.href),
82
82
  isNotAdmin: !User.isEditor(), // 非管理员都显示反馈链接
83
83
  isOverlay: false,
84
84
  isApp: isApp(),
@@ -15,13 +15,15 @@
15
15
  username || $jx3boxT("jx3boxUi.commentWithReply.defaultName", "人字榜800线无名小侠")
16
16
  }}</el-link>
17
17
  <span class="u-mark u-top" v-if="item.is_top"
18
- ><el-icon><Download></Download></el-icon>{{ $jx3boxT("jx3boxUi.commentWithReply.top", "置顶") }}</span
18
+ ><el-icon><Download></Download></el-icon
19
+ >{{ $jx3boxT("jx3boxUi.commentWithReply.top", "置顶") }}</span
19
20
  >
20
21
  <span class="u-mark u-star" v-if="item.is_star"
21
22
  ><el-icon><Star></Star></el-icon>{{ $jx3boxT("jx3boxUi.commentWithReply.star", "精华") }}</span
22
23
  >
23
24
  <span class="u-mark u-secret" v-if="item.is_secret"
24
- ><el-icon><Cherry></Cherry></el-icon>{{ $jx3boxT("jx3boxUi.commentWithReply.secret", "悄悄话") }}</span
25
+ ><el-icon><Cherry></Cherry></el-icon
26
+ >{{ $jx3boxT("jx3boxUi.commentWithReply.secret", "悄悄话") }}</span
25
27
  >
26
28
  </div>
27
29
  <CommentContent
@@ -273,6 +275,8 @@ export default {
273
275
  }
274
276
  .u-secret {
275
277
  background-color: #ff99cc;
278
+ display: inline-flex;
279
+ align-items: center;
276
280
  }
277
281
  }
278
282
  .c-comment-cmt__box {
@@ -52,7 +52,7 @@ export default {
52
52
  // 关闭弹窗
53
53
  closePop() {
54
54
  if (this.$refs.quickReply) {
55
- this.$refs.quickReply?.doClose() || this.$refs.quickReply?.hide();
55
+ this.$refs.quickReply?.hide();
56
56
  }
57
57
  },
58
58
  reply(item) {
@@ -30,7 +30,7 @@
30
30
  </a>
31
31
  <a
32
32
  class="text-gray-500 transition-colors hover:text-white"
33
- href="https://www.jx3box.com/feedback"
33
+ href="https://www.jx3box.com/dashboard/feedback"
34
34
  target="_blank"
35
35
  rel="noopener noreferrer"
36
36
  >