@jx3box/jx3box-ui 2.0.2 → 2.0.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/README.md +101 -2
- package/assets/css/bread/admin.less +32 -0
- package/assets/css/bread/breadcrumb.less +38 -0
- package/assets/css/bread/crumb.less +6 -0
- package/assets/css/comment/quick-reply.less +12 -1
- package/assets/css/common/bottom.less +4 -0
- package/assets/css/common/footer.less +23 -0
- package/assets/css/common/left-sidebar.less +28 -0
- package/assets/css/common/main.less +21 -0
- package/assets/css/common/right-sidebar.less +31 -0
- package/assets/css/common/suspend-common.less +51 -0
- package/assets/css/editor/combo.less +51 -0
- package/assets/css/editor/resource.less +64 -0
- package/assets/css/editor/tinymce.less +20 -0
- package/assets/css/editor/upload.less +25 -0
- package/assets/css/filters/client-by.less +6 -0
- package/assets/css/header/box.less +34 -0
- package/assets/css/interact/like2.less +4 -0
- package/assets/css/interact/share2.less +17 -0
- package/assets/css/mixin.less +3 -0
- package/assets/css/module/author.less +41 -0
- package/assets/css/module/buff.less +10 -0
- package/assets/css/module/directory.less +22 -0
- package/assets/css/module/icon.less +4 -0
- package/assets/css/module/item.less +50 -0
- package/assets/css/module/item_simple.less +7 -0
- package/assets/css/module/jx3_element.less +2 -1
- package/assets/css/module/macro.less +17 -0
- package/assets/css/module/npc.less +46 -1
- package/assets/css/module/resource.less +13 -0
- package/assets/css/module/skill.less +9 -0
- package/assets/css/module/talent.less +71 -0
- package/assets/css/single/author.less +24 -10
- package/assets/css/single/cms-single.less +16 -0
- package/assets/css/single/thx.less +51 -0
- package/assets/css/tinymce/_.less +7 -1
- package/assets/css/tinymce/a.less +5 -0
- package/assets/css/tinymce/code.less +22 -0
- package/assets/css/tinymce/combo.less +12 -0
- package/assets/css/tinymce/fold.less +12 -0
- package/assets/css/tinymce/h.less +10 -0
- package/assets/css/tinymce/hr.less +2 -0
- package/assets/css/tinymce/img.less +3 -0
- package/assets/css/tinymce/imgpreview.less +6 -1
- package/assets/css/tinymce/latex.less +7 -1
- package/assets/css/tinymce/list.less +12 -0
- package/assets/css/tinymce/macro.less +7 -1
- package/assets/css/tinymce/nextpage.less +14 -0
- package/assets/css/tinymce/p.less +2 -0
- package/assets/css/tinymce/pz.less +6 -0
- package/assets/css/tinymce/qixue.less +6 -0
- package/assets/css/tinymce/quote.less +2 -0
- package/assets/css/tinymce/table.less +13 -1
- package/assets/css/tinymce/video.less +18 -0
- package/assets/img/author/rss.svg +1 -0
- package/assets/img/common/logo-v2.svg +14 -0
- package/i18n/messages/en-US.js +1 -0
- package/i18n/messages/vi.js +1 -0
- package/i18n/messages/zh-CN.js +1 -0
- package/i18n/messages/zh-TW.js +1 -0
- package/index.js +2 -0
- package/package.json +1 -1
- package/service/comment.js +56 -96
- package/src/App.vue +31 -31
- package/src/Breadcrumb.vue +16 -20
- package/src/Icon.vue +53 -0
- package/src/author/AuthorFans.vue +15 -5
- package/src/author/AuthorFollow.vue +1 -1
- package/src/author/AuthorGift.vue +9 -9
- package/src/author/AuthorHonor.vue +9 -8
- package/src/author/AuthorInfo.vue +10 -1
- package/src/author/AuthorLink.vue +8 -1
- package/src/author/AuthorPosts.vue +14 -8
- package/src/author/AuthorRss.vue +28 -34
- package/src/bread/Admin.vue +19 -6
- package/src/bread/Crumb.vue +7 -2
- package/src/bread/DesignTask.vue +44 -37
- package/src/comment/Avatar.vue +26 -8
- package/src/comment/CommentContent.vue +62 -17
- package/src/comment/CommentContentSimple.vue +54 -15
- package/src/comment/CommentWithReply.vue +22 -1
- package/src/comment/ReplyForReply.vue +14 -1
- package/src/comment/ReplyItem.vue +10 -1
- package/src/comment/ReplyList.vue +19 -1
- package/src/editor/BoxResource.vue +2 -2
- package/src/editor/Resource.vue +6 -6
- package/src/filters/clientBy.vue +14 -1
- package/src/filters/menuBy.vue +14 -1
- package/src/filters/orderBy.vue +1 -1
- package/src/filters/tagBy.vue +10 -1
- package/src/filters/versionBy.vue +6 -1
- package/src/filters/zlpBy.vue +6 -1
- package/src/footer/resource.vue +3 -1
- package/src/header/alternate.vue +2 -2
- package/src/header/asset.vue +13 -1
- package/src/header/box.vue +10 -5
- package/src/header/box2.vue +279 -247
- package/src/header/client.vue +6 -1
- package/src/header/lang.vue +1 -2
- package/src/header/logo.vue +3 -3
- package/src/header/manage.vue +0 -1
- package/src/header/nav.vue +1 -1
- package/src/header/userInfo.vue +18 -5
- package/src/interact/BoxcoinAdmin.vue +46 -5
- package/src/interact/BoxcoinRecords.vue +22 -1
- package/src/interact/BoxcoinUser.vue +49 -8
- package/src/interact/Contributors.vue +7 -11
- package/src/interact/Fav.vue +22 -1
- package/src/interact/Like.vue +10 -1
- package/src/interact/Share.vue +18 -1
- package/src/interact/WatchLater.vue +3 -3
- package/src/main.js +3 -1
- package/src/single/Author.vue +15 -10
- package/src/single/{cms-single.vue → CmsSingle.vue} +10 -1
- package/src/single/Collection.vue +10 -1
- package/src/single/Comment.vue +20 -3
- package/src/single/Creators.vue +10 -1
- package/src/single/PostDirectory.vue +1 -1
- package/src/single/PostHeader.vue +18 -1
- package/src/single/SimpleThx.vue +2 -2
- package/src/single/Thx.vue +45 -27
- package/assets/img/author/msg.svg +0 -55
- package/src/Bottom.vue +0 -23
- package/src/Box.vue +0 -149
- package/src/author/AuthorMsg.vue +0 -25
- package/src/bread/AdminButton.vue +0 -31
- package/src/header/bus.js +0 -9
- /package/docs/{README.md → i18n.md} +0 -0
package/src/editor/Resource.vue
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<div class="c-resource-content" v-loading="loading">
|
|
11
11
|
<div class="m-database-search">
|
|
12
12
|
<el-radio-group class="u-client" v-model="client" @change="search">
|
|
13
|
-
<el-radio-button
|
|
14
|
-
<el-radio-button
|
|
13
|
+
<el-radio-button value="std">剑三</el-radio-button>
|
|
14
|
+
<el-radio-button value="origin">缘起</el-radio-button>
|
|
15
15
|
</el-radio-group>
|
|
16
16
|
<el-input
|
|
17
17
|
class="u-input"
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
<div class="u-mode">
|
|
48
48
|
插入模式:
|
|
49
49
|
<el-radio-group v-model="buff_mode" size="small" @change="changeMode">
|
|
50
|
-
<el-radio-button
|
|
51
|
-
<el-radio-button
|
|
50
|
+
<el-radio-button value="simple">简版</el-radio-button>
|
|
51
|
+
<el-radio-button value="full">完整版</el-radio-button>
|
|
52
52
|
</el-radio-group>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
<div class="u-mode">
|
|
92
92
|
插入模式:
|
|
93
93
|
<el-radio-group v-model="skill_mode" size="small" @change="changeMode">
|
|
94
|
-
<el-radio-button
|
|
95
|
-
<el-radio-button
|
|
94
|
+
<el-radio-button value="simple">简版</el-radio-button>
|
|
95
|
+
<el-radio-button value="full">完整版</el-radio-button>
|
|
96
96
|
</el-radio-group>
|
|
97
97
|
</div>
|
|
98
98
|
</div>
|
package/src/filters/clientBy.vue
CHANGED
|
@@ -26,7 +26,20 @@ const clients = {
|
|
|
26
26
|
export default {
|
|
27
27
|
name: "clientBy",
|
|
28
28
|
emits: ["filter"],
|
|
29
|
-
props:
|
|
29
|
+
props: {
|
|
30
|
+
type: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: "",
|
|
33
|
+
},
|
|
34
|
+
clients: {
|
|
35
|
+
type: Object,
|
|
36
|
+
default: () => null,
|
|
37
|
+
},
|
|
38
|
+
showWujie: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: false,
|
|
41
|
+
},
|
|
42
|
+
},
|
|
30
43
|
data: function () {
|
|
31
44
|
return {
|
|
32
45
|
client: this.type || "",
|
package/src/filters/menuBy.vue
CHANGED
|
@@ -23,7 +23,20 @@
|
|
|
23
23
|
export default {
|
|
24
24
|
name: "menuBy",
|
|
25
25
|
emits: ["filter"],
|
|
26
|
-
props:
|
|
26
|
+
props: {
|
|
27
|
+
data: {
|
|
28
|
+
type: Object,
|
|
29
|
+
default: () => ({}),
|
|
30
|
+
},
|
|
31
|
+
type: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: "menu",
|
|
34
|
+
},
|
|
35
|
+
placeholder: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: "",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
27
40
|
data: function () {
|
|
28
41
|
return {
|
|
29
42
|
value: "",
|
package/src/filters/orderBy.vue
CHANGED
package/src/filters/tagBy.vue
CHANGED
|
@@ -43,7 +43,16 @@
|
|
|
43
43
|
export default {
|
|
44
44
|
name: "tagBy",
|
|
45
45
|
emits: ["filter"],
|
|
46
|
-
props:
|
|
46
|
+
props: {
|
|
47
|
+
data: {
|
|
48
|
+
type: Object,
|
|
49
|
+
default: () => ({}),
|
|
50
|
+
},
|
|
51
|
+
type: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: "tag",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
47
56
|
data: function () {
|
|
48
57
|
return {
|
|
49
58
|
visible: false,
|
package/src/filters/zlpBy.vue
CHANGED
|
@@ -29,7 +29,12 @@ import zlps from "@jx3box/jx3box-common/data/jx3_zlp.json";
|
|
|
29
29
|
export default {
|
|
30
30
|
name: "zlpBy",
|
|
31
31
|
emits: ["filter"],
|
|
32
|
-
props:
|
|
32
|
+
props: {
|
|
33
|
+
client: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: "",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
33
38
|
data: function () {
|
|
34
39
|
return {
|
|
35
40
|
value: "",
|
package/src/footer/resource.vue
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
:alt="$jx3boxT('jx3boxUi.footer.qqBot', 'QQ机器人')"
|
|
63
63
|
/>
|
|
64
64
|
</div>
|
|
65
|
-
<div>
|
|
65
|
+
<div @click="copyText('3889010020')" class="cursor-pointer">
|
|
66
66
|
<p class="font-bold uppercase tracking-wider text-gray-500" style="font-size: 10px">
|
|
67
67
|
{{ $jx3boxT("jx3boxUi.footer.qqBotService", "QQ 机器人服务") }}
|
|
68
68
|
</p>
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
</template>
|
|
83
83
|
|
|
84
84
|
<script>
|
|
85
|
+
import { copyText } from "../../utils";
|
|
85
86
|
import i18nMixin from "../../i18n/mixin";
|
|
86
87
|
export default {
|
|
87
88
|
name: "FooterResource",
|
|
@@ -127,6 +128,7 @@ export default {
|
|
|
127
128
|
computed: {},
|
|
128
129
|
watch: {},
|
|
129
130
|
methods: {
|
|
131
|
+
copyText,
|
|
130
132
|
getDownloadName(item) {
|
|
131
133
|
if (item?.key) {
|
|
132
134
|
const k = item.key === "harmonyNext" ? "harmonyNext" : item.key;
|
package/src/header/alternate.vue
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
</template>
|
|
43
43
|
|
|
44
44
|
<script>
|
|
45
|
-
import Bus from "
|
|
45
|
+
import Bus from "../../utils/bus";
|
|
46
46
|
import { showAvatar } from "@jx3box/jx3box-common/js/utils";
|
|
47
47
|
import dayjs from "dayjs";
|
|
48
48
|
import User from "@jx3box/jx3box-common/js/user";
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
75
75
|
},
|
|
76
76
|
},
|
|
77
77
|
mounted() {
|
|
78
|
-
Bus
|
|
78
|
+
Bus.on("showAlternate", () => {
|
|
79
79
|
this.visible = true;
|
|
80
80
|
});
|
|
81
81
|
this.init();
|
package/src/header/asset.vue
CHANGED
|
@@ -84,7 +84,19 @@ export default {
|
|
|
84
84
|
components: {
|
|
85
85
|
// coinIcon,
|
|
86
86
|
},
|
|
87
|
-
props:
|
|
87
|
+
props: {
|
|
88
|
+
asset: {
|
|
89
|
+
type: Object,
|
|
90
|
+
default: () => ({
|
|
91
|
+
experience: 0,
|
|
92
|
+
box_coin: 0,
|
|
93
|
+
points: 0,
|
|
94
|
+
ext_info: {
|
|
95
|
+
keycode: 0,
|
|
96
|
+
},
|
|
97
|
+
}),
|
|
98
|
+
},
|
|
99
|
+
},
|
|
88
100
|
data() {
|
|
89
101
|
return {
|
|
90
102
|
// VIP
|
package/src/header/box.vue
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<script>
|
|
31
31
|
import search from "./search.vue";
|
|
32
32
|
import _ from "lodash";
|
|
33
|
-
import Bus from "
|
|
33
|
+
import Bus from "../../utils/bus";
|
|
34
34
|
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
35
35
|
import i18nMixin from "../../i18n/mixin";
|
|
36
36
|
import box from "../../assets/data/box.json";
|
|
@@ -41,7 +41,12 @@ const { __imgPath, __cdn } = JX3BOX;
|
|
|
41
41
|
export default {
|
|
42
42
|
name: "Box",
|
|
43
43
|
mixins: [i18nMixin],
|
|
44
|
-
props:
|
|
44
|
+
props: {
|
|
45
|
+
overlayEnable: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: false,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
45
50
|
data: function () {
|
|
46
51
|
return {
|
|
47
52
|
status: false,
|
|
@@ -71,7 +76,7 @@ export default {
|
|
|
71
76
|
},
|
|
72
77
|
methods: {
|
|
73
78
|
closeBox: function () {
|
|
74
|
-
Bus
|
|
79
|
+
Bus.emit("toggleBox", false);
|
|
75
80
|
},
|
|
76
81
|
matchedClient: function (client) {
|
|
77
82
|
return client == "all" ? true : client == this.client;
|
|
@@ -121,7 +126,7 @@ export default {
|
|
|
121
126
|
this.loadMenu();
|
|
122
127
|
},
|
|
123
128
|
mounted: function () {
|
|
124
|
-
Bus
|
|
129
|
+
Bus.on("toggleBox", (status) => {
|
|
125
130
|
if (status == undefined) {
|
|
126
131
|
this.status = !this.status;
|
|
127
132
|
} else {
|
|
@@ -129,7 +134,7 @@ export default {
|
|
|
129
134
|
}
|
|
130
135
|
});
|
|
131
136
|
document.addEventListener("click", function () {
|
|
132
|
-
Bus
|
|
137
|
+
Bus.emit("toggleBox", false);
|
|
133
138
|
});
|
|
134
139
|
},
|
|
135
140
|
components: {
|