@jx3box/jx3box-ui 2.2.2 → 2.2.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/SuspendCommon.vue
CHANGED
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
<!-- 样式分类(icon&more) -->
|
|
39
39
|
<div class="m-icon-box" v-if="btnConfig.showIcon && !btnConfig.showHome">
|
|
40
40
|
<div class="m-btn-box">
|
|
41
|
-
<!--
|
|
41
|
+
<!-- 搜索按钮-->
|
|
42
42
|
<div v-if="btnConfig.showSearch" class="u-icon-d" @click="search">
|
|
43
43
|
<img class="u-icon" src="../assets/img/suspend/search.svg" svg-inline />
|
|
44
44
|
</div>
|
|
45
|
-
<!--
|
|
45
|
+
<!-- 固定按钮-->
|
|
46
46
|
<div
|
|
47
47
|
v-if="btnConfig.showFixed"
|
|
48
48
|
class="u-icon-d"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
/>
|
|
57
57
|
<img class="u-icon active" src="../assets/img/suspend/pin_slash_24.svg" svg-inline v-else />
|
|
58
58
|
</div>
|
|
59
|
-
<!--
|
|
59
|
+
<!-- 收藏按钮-->
|
|
60
60
|
<div
|
|
61
61
|
v-if="btnConfig.showCollect"
|
|
62
62
|
class="u-icon-d"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
</div>
|
|
72
72
|
</div>
|
|
73
73
|
<div class="m-more" v-if="btnConfig.showMore" @click="setMore">
|
|
74
|
-
|
|
74
|
+
<img class="u-icon" src="../assets/img/suspend/more.svg" svg-inline />
|
|
75
75
|
{{ $jx3boxT("jx3boxUi.suspendCommon.more", "更多") }}
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|
package/src/bread/Admin.vue
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
:with-header="true"
|
|
9
9
|
v-if="hasRight"
|
|
10
10
|
:close-on-click-modal="true"
|
|
11
|
+
:size="drawerWidth"
|
|
11
12
|
>
|
|
12
13
|
<div class="c-admin-wrapper" ref="adminDrawer">
|
|
13
14
|
<!-- <template v-if="isAdmin"> -->
|
|
@@ -261,6 +262,9 @@ export default {
|
|
|
261
262
|
? Object.assign({}, marks, this.marksOptions)
|
|
262
263
|
: marks;
|
|
263
264
|
},
|
|
265
|
+
drawerWidth: function () {
|
|
266
|
+
return window.innerWidth > 768 ? "500px" : "100%";
|
|
267
|
+
},
|
|
264
268
|
},
|
|
265
269
|
methods: {
|
|
266
270
|
// 是否有权限
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
:modal="false"
|
|
9
9
|
:withHeader="false"
|
|
10
10
|
:close-on-click-modal="true"
|
|
11
|
+
:size="drawerWidth"
|
|
11
12
|
>
|
|
12
13
|
<div class="c-admin-wrapper c-community-wrapper">
|
|
13
14
|
<el-divider content-position="left">信息设置</el-divider>
|
|
@@ -230,6 +231,9 @@ export default {
|
|
|
230
231
|
showColors() {
|
|
231
232
|
return this.form.is_hight;
|
|
232
233
|
},
|
|
234
|
+
drawerWidth() {
|
|
235
|
+
return window.innerWidth > 768 ? "500px" : "100%";
|
|
236
|
+
},
|
|
233
237
|
},
|
|
234
238
|
watch: {
|
|
235
239
|
modelValue: async function (val) {
|
package/src/bread/ListAdmin.vue
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
:append-to-body="true"
|
|
17
17
|
:modal="false"
|
|
18
18
|
:withHeader="false"
|
|
19
|
+
:size="drawerWidth"
|
|
19
20
|
>
|
|
20
21
|
<div class="c-admin-wrapper" v-loading="loading">
|
|
21
22
|
<el-divider content-position="left">主题管理</el-divider>
|
|
@@ -66,6 +67,9 @@ export default {
|
|
|
66
67
|
hasRight() {
|
|
67
68
|
return User.isEditor();
|
|
68
69
|
},
|
|
70
|
+
drawerWidth() {
|
|
71
|
+
return window.innerWidth > 768 ? "500px" : "100%";
|
|
72
|
+
},
|
|
69
73
|
},
|
|
70
74
|
watch: {
|
|
71
75
|
show(val) {
|
package/src/footer/copyright.vue
CHANGED
package/src/footer/links.vue
CHANGED
|
@@ -32,21 +32,21 @@ export default {
|
|
|
32
32
|
data: function () {
|
|
33
33
|
return {
|
|
34
34
|
aboutLinks: [
|
|
35
|
-
{ key: "teamMembers", name: "团队成员", href: "
|
|
36
|
-
{ key: "joinUs", name: "加入我们", href: "
|
|
37
|
-
{ key: "devDocs", name: "开发文档", href: "
|
|
35
|
+
{ key: "teamMembers", name: "团队成员", href: "/about/" },
|
|
36
|
+
{ key: "joinUs", name: "加入我们", href: "/notice/21899" },
|
|
37
|
+
{ key: "devDocs", name: "开发文档", href: "/tool?subtype=4" },
|
|
38
38
|
{ key: "codeRepo", name: "代码仓库", href: "https://github.com/JX3BOX" },
|
|
39
39
|
],
|
|
40
40
|
legalLinks: [
|
|
41
|
-
{ key: "userAgreement", name: "用户协议", href: "
|
|
42
|
-
{ key: "creatorTreaty", name: "创作公约", href: "
|
|
43
|
-
{ key: "privacyPolicy", name: "隐私政策", href: "
|
|
44
|
-
{ key: "creatorIncentives", name: "创作激励", href: "
|
|
41
|
+
{ key: "userAgreement", name: "用户协议", href: "/about/license" },
|
|
42
|
+
{ key: "creatorTreaty", name: "创作公约", href: "/about/treaty" },
|
|
43
|
+
{ key: "privacyPolicy", name: "隐私政策", href: "/about/privacy" },
|
|
44
|
+
{ key: "creatorIncentives", name: "创作激励", href: "/about/incentives" },
|
|
45
45
|
],
|
|
46
46
|
extraLinks: [
|
|
47
|
-
{ key: "gameVersion", name: "游戏版本", href: "
|
|
48
|
-
{ key: "eventCenter", name: "活动中心", href: "
|
|
49
|
-
{ key: "siteMap", name: "全站地图", href: "
|
|
47
|
+
{ key: "gameVersion", name: "游戏版本", href: "/topic" },
|
|
48
|
+
{ key: "eventCenter", name: "活动中心", href: "/event" },
|
|
49
|
+
{ key: "siteMap", name: "全站地图", href: "/app/" },
|
|
50
50
|
],
|
|
51
51
|
};
|
|
52
52
|
},
|