@jx3box/jx3box-ui 2.0.11 → 2.0.15

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.
Files changed (145) hide show
  1. package/assets/css/bread/admin.less +1 -30
  2. package/assets/css/bread/breadcrumb.less +1 -38
  3. package/assets/css/bread/crumb.less +1 -6
  4. package/assets/css/comment/quick-reply.less +1 -11
  5. package/assets/css/common/footer.less +1 -23
  6. package/assets/css/common/left-sidebar.less +1 -28
  7. package/assets/css/common/main.less +1 -22
  8. package/assets/css/common/right-msg.less +7 -5
  9. package/assets/css/common/right-sidebar.less +1 -31
  10. package/assets/css/common/suspend-common.less +1 -51
  11. package/assets/css/filters/client-by.less +1 -6
  12. package/assets/css/header/box.less +1 -34
  13. package/assets/css/interact/like2.less +1 -4
  14. package/assets/css/interact/qrcode.less +1 -0
  15. package/assets/css/interact/share2.less +1 -17
  16. package/assets/css/mixin.less +1 -3
  17. package/assets/css/single/author.less +3 -22
  18. package/assets/css/single/cms-single.less +1 -16
  19. package/assets/css/single/thx.less +2 -51
  20. package/assets/css/tinymce/_.less +1 -6
  21. package/assets/css/tinymce/a.less +1 -5
  22. package/assets/css/tinymce/code.less +1 -22
  23. package/assets/css/tinymce/combo.less +1 -12
  24. package/assets/css/tinymce/fold.less +1 -12
  25. package/assets/css/tinymce/h.less +1 -10
  26. package/assets/css/tinymce/hr.less +1 -2
  27. package/assets/css/tinymce/img.less +1 -3
  28. package/assets/css/tinymce/imgpreview.less +1 -5
  29. package/assets/css/tinymce/latex.less +1 -6
  30. package/assets/css/tinymce/list.less +1 -12
  31. package/assets/css/tinymce/macro.less +1 -6
  32. package/assets/css/tinymce/nextpage.less +1 -14
  33. package/assets/css/tinymce/p.less +1 -2
  34. package/assets/css/tinymce/plugin.less +1 -0
  35. package/assets/css/tinymce/pz.less +1 -6
  36. package/assets/css/tinymce/qixue.less +1 -6
  37. package/assets/css/tinymce/quote.less +1 -2
  38. package/assets/css/tinymce/table.less +1 -12
  39. package/assets/css/tinymce/video.less +1 -18
  40. package/assets/css/var.less +1 -0
  41. package/assets/css/wiki/wiki-comments.less +1 -0
  42. package/assets/css/wiki/wiki-panel.less +1 -0
  43. package/assets/css/wiki/wiki-revisions.less +1 -0
  44. package/index.js +3 -1
  45. package/package.json +1 -1
  46. package/service/community.js +3 -3
  47. package/src/App.vue +14 -0
  48. package/src/Breadcrumb.vue +1 -0
  49. package/src/CommonFooter.vue +1 -0
  50. package/src/CommonHeader.vue +2 -0
  51. package/src/Footer.vue +1 -0
  52. package/src/LeftSideToggle.vue +1 -0
  53. package/src/LeftSidebar.vue +1 -0
  54. package/src/Main.vue +1 -0
  55. package/src/RightSideMsg.vue +1 -0
  56. package/src/RightSidebar.vue +1 -0
  57. package/src/SuspendCommon.vue +1 -0
  58. package/src/author/AuthorFans.vue +1 -0
  59. package/src/author/AuthorFollow.vue +1 -0
  60. package/src/author/AuthorGift.vue +1 -0
  61. package/src/author/AuthorHonor.vue +1 -0
  62. package/src/author/AuthorInfo.vue +1 -0
  63. package/src/author/AuthorLink.vue +1 -0
  64. package/src/author/AuthorMedals.vue +1 -0
  65. package/src/author/AuthorPosts.vue +1 -0
  66. package/src/author/AuthorRss.vue +1 -0
  67. package/src/author/AuthorTeams.vue +1 -0
  68. package/src/author/Avatar.vue +1 -0
  69. package/src/author/UserPop.vue +1 -0
  70. package/src/bread/Admin.vue +1 -0
  71. package/src/bread/AdminDrop.vue +1 -0
  72. package/src/bread/CommunityAdmin.vue +1 -0
  73. package/src/bread/Crumb.vue +1 -0
  74. package/src/bread/DesignTask.vue +1 -0
  75. package/src/bread/ListAdmin.vue +1 -0
  76. package/src/bread/MigrateCommunity.vue +1 -0
  77. package/src/bread/MoveToCommunityDialog.vue +1 -0
  78. package/src/comment/Avatar.vue +1 -0
  79. package/src/comment/CommentContent.vue +1 -0
  80. package/src/comment/CommentContentSimple.vue +1 -0
  81. package/src/comment/CommentInputForm.vue +1 -0
  82. package/src/comment/CommentWithReply.vue +1 -0
  83. package/src/comment/QuickReply.vue +1 -0
  84. package/src/comment/ReplyForReply.vue +1 -0
  85. package/src/comment/ReplyList.vue +1 -0
  86. package/src/filters/clientBy.vue +1 -0
  87. package/src/filters/markBy.vue +1 -0
  88. package/src/filters/menuBy.vue +1 -0
  89. package/src/filters/orderBy.vue +1 -0
  90. package/src/filters/tagBy.vue +1 -0
  91. package/src/filters/topicBy.vue +1 -0
  92. package/src/filters/versionBy.vue +1 -0
  93. package/src/filters/zlpBy.vue +1 -0
  94. package/src/footer/official.vue +1 -0
  95. package/src/header/alternate.vue +1 -0
  96. package/src/header/asset.vue +1 -0
  97. package/src/header/box.vue +2 -0
  98. package/src/header/box2.vue +1 -0
  99. package/src/header/client.vue +1 -0
  100. package/src/header/lang.vue +1 -0
  101. package/src/header/logo.vue +1 -0
  102. package/src/header/manage.vue +1 -0
  103. package/src/header/message.vue +1 -0
  104. package/src/header/nav.vue +1 -0
  105. package/src/header/search.vue +1 -0
  106. package/src/header/shop.vue +1 -0
  107. package/src/header/user.vue +1 -0
  108. package/src/header/userInfo.vue +1 -0
  109. package/src/header/vip.vue +1 -0
  110. package/src/interact/BoxcoinRecords.vue +1 -0
  111. package/src/interact/BoxcoinUser.vue +1 -0
  112. package/src/interact/Contributors.vue +1 -0
  113. package/src/interact/Fav.vue +1 -0
  114. package/src/interact/Homework.vue +1 -0
  115. package/src/interact/Like.vue +1 -0
  116. package/src/interact/QRcode.vue +4 -2
  117. package/src/interact/Rss.vue +1 -0
  118. package/src/interact/Share.vue +1 -0
  119. package/src/interact/WatchLater.vue +1 -0
  120. package/src/main.js +2 -0
  121. package/src/single/Author.vue +1 -0
  122. package/src/single/CmsSingle.vue +1 -0
  123. package/src/single/Collection.vue +1 -0
  124. package/src/single/Comment.vue +1 -0
  125. package/src/single/Creators.vue +1 -0
  126. package/src/single/PostCollection.vue +1 -0
  127. package/src/single/PostGuide.vue +1 -0
  128. package/src/single/PostHeader.vue +1 -0
  129. package/src/single/PostTopic.vue +1 -0
  130. package/src/single/PostVersion.vue +1 -0
  131. package/src/single/RightAffix.vue +1 -0
  132. package/src/single/SimpleThx.vue +1 -0
  133. package/src/single/Thx.vue +1 -0
  134. package/src/single/VersionDialog.vue +1 -0
  135. package/src/stories/components/StoryPropsTable.vue +1 -0
  136. package/src/stories/layout/StorybookShell.vue +1 -0
  137. package/src/stories/layout/SuspendCommonStage.vue +1 -0
  138. package/src/stories/single/AuthorStoryStage.vue +1 -0
  139. package/src/stories/single/CmsSingleStoryStage.vue +1 -0
  140. package/src/upload/UploadBanner.vue +159 -0
  141. package/src/wiki/GamePrice.vue +1 -0
  142. package/src/wiki/WikiComments.vue +3 -2
  143. package/src/wiki/WikiPanel.vue +1 -0
  144. package/src/wiki/WikiRevisions.vue +1 -0
  145. package/vue.config.js +9 -6
@@ -1,18 +1,14 @@
1
+ /* assets/css/tinymce/imgpreview.less */
1
2
  .hevue-imgpreview-wrap {
2
- /* assets/css/tinymce/imgpreview.less */
3
3
  .he-img-wrap {
4
- /* assets/css/tinymce/imgpreview.less */
5
4
  background: rgba(0,0,0,0.8);
6
5
  }
7
6
  .arrow, .he-close-icon {
8
- /* assets/css/tinymce/imgpreview.less */
9
7
  display: block!important;
10
8
  text-align: center!important;
11
9
  }
12
10
  .he-close-icon {
13
- /* assets/css/tinymce/imgpreview.less */
14
11
  &:hover {
15
- /* assets/css/tinymce/imgpreview.less */
16
12
  transform: scale(1.2);
17
13
  }
18
14
  }
@@ -1,12 +1,10 @@
1
+ /* assets/css/tinymce/latex.less */
1
2
  // 编辑器内样式
2
3
  .c-article-tinymce{
3
- /* assets/css/tinymce/latex.less */
4
4
  .w-latex{
5
- /* assets/css/tinymce/latex.less */
6
5
  .pr;
7
6
  font-family: Georgia, 'Times New Roman', Times, serif;
8
7
  &:after{
9
- /* assets/css/tinymce/latex.less */
10
8
  content : 'JX3BOX·Katex';
11
9
  position: absolute;right:0;top:-30px;
12
10
  background-color:@bg-black;
@@ -22,9 +20,7 @@
22
20
  }
23
21
  }
24
22
  .c-article-editor {
25
- /* assets/css/tinymce/latex.less */
26
23
  .e-latex-area{
27
- /* assets/css/tinymce/latex.less */
28
24
  min-height:24px;
29
25
  border-radius:4px;
30
26
  padding:10px;
@@ -36,7 +32,6 @@
36
32
  font-family: Georgia, 'Times New Roman', Times, serif;
37
33
  .pr;
38
34
  &:after{
39
- /* assets/css/tinymce/latex.less */
40
35
  content : 'Latex';
41
36
  position: absolute;right:10px;top:10px;
42
37
  background-color:darken(#c8e1ff,20%);
@@ -1,27 +1,22 @@
1
+ /* assets/css/tinymce/list.less */
1
2
  /* 列表 */
2
3
  .c-article-tinymce{
3
- /* assets/css/tinymce/list.less */
4
4
  ul,
5
5
  ol {
6
- /* assets/css/tinymce/list.less */
7
6
  margin: 20px 0;
8
7
  }
9
8
  ul,
10
9
  ol {
11
- /* assets/css/tinymce/list.less */
12
10
  padding-left: 40px;
13
11
  }
14
12
 
15
13
  /* 旧版checklist,无创建逻辑,仅作留存显示 */
16
14
  .e-checklist {
17
- /* assets/css/tinymce/list.less */
18
15
  div {
19
- /* assets/css/tinymce/list.less */
20
16
  position: relative;
21
17
  padding-left: 1.4em;
22
18
  }
23
19
  div:before {
24
- /* assets/css/tinymce/list.less */
25
20
  display: block;
26
21
  position: absolute;
27
22
  left: 0;
@@ -36,24 +31,20 @@
36
31
  background-position: 0 0;
37
32
  }
38
33
  div.on:before {
39
- /* assets/css/tinymce/list.less */
40
34
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
41
35
  }
42
36
  }
43
37
 
44
38
  // 新版checklist
45
39
  .tox-checklist > li{
46
- /* assets/css/tinymce/list.less */
47
40
  line-height: 2.2;
48
41
  margin:0 !important;
49
42
  }
50
43
  .tox-checklist > li:not(.tox-checklist--hidden) {
51
- /* assets/css/tinymce/list.less */
52
44
  list-style: none;
53
45
  margin: 0.25em 0;
54
46
  }
55
47
  .tox-checklist > li:not(.tox-checklist--hidden)::before {
56
- /* assets/css/tinymce/list.less */
57
48
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
58
49
  background-size: 100%;
59
50
  content: "";
@@ -66,11 +57,9 @@
66
57
  }
67
58
  .tox-checklist
68
59
  li:not(.tox-checklist--hidden).tox-checklist--checked::before {
69
- /* assets/css/tinymce/list.less */
70
60
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
71
61
  }
72
62
  [dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before {
73
- /* assets/css/tinymce/list.less */
74
63
  margin-left: 0;
75
64
  margin-right: -1.5em;
76
65
  }
@@ -1,11 +1,9 @@
1
+ /* assets/css/tinymce/macro.less */
1
2
  // 编辑器外样式
2
3
  .c-article-tinymce{
3
- /* assets/css/tinymce/macro.less */
4
4
  .e-jx3macro-area{
5
- /* assets/css/tinymce/macro.less */
6
5
  .pr;
7
6
  &:after{
8
- /* assets/css/tinymce/macro.less */
9
7
  content : 'JX3BOX·MACRO';
10
8
  position: absolute;right:0;top:-30px;
11
9
  background-color:@bg-black;
@@ -21,9 +19,7 @@
21
19
  }
22
20
  // tinymce编辑器
23
21
  .c-article-editor {
24
- /* assets/css/tinymce/macro.less */
25
22
  .e-jx3macro-area{
26
- /* assets/css/tinymce/macro.less */
27
23
  min-height:24px;
28
24
  border-radius:4px;
29
25
  padding:10px;
@@ -34,7 +30,6 @@
34
30
  color:darken(#c8e1ff,20%);
35
31
  .pr;
36
32
  &:after{
37
- /* assets/css/tinymce/macro.less */
38
33
  content : 'JX3BOX·MACRO';
39
34
  position: absolute;right:10px;top:10px;
40
35
  background-color:darken(#c8e1ff,20%);
@@ -1,7 +1,6 @@
1
+ /* assets/css/tinymce/nextpage.less */
1
2
  .c-article-editor {
2
- /* assets/css/tinymce/nextpage.less */
3
3
  .mce-pagebreak {
4
- /* assets/css/tinymce/nextpage.less */
5
4
  padding: 0;
6
5
  outline: none;
7
6
  border: none;
@@ -11,28 +10,23 @@
11
10
  }
12
11
  }
13
12
  .c-article-chunk {
14
- /* assets/css/tinymce/nextpage.less */
15
13
  display: none;
16
14
  &.on {
17
- /* assets/css/tinymce/nextpage.less */
18
15
  display: block;
19
16
  }
20
17
  }
21
18
  .c-article-all {
22
- /* assets/css/tinymce/nextpage.less */
23
19
  width: 100%;
24
20
  margin: 10px auto !important;
25
21
  display: block !important;
26
22
  }
27
23
  .c-article-pages {
28
- /* assets/css/tinymce/nextpage.less */
29
24
  margin: 10px;
30
25
  max-width: 100%;
31
26
  overflow-x: auto;
32
27
  text-align: center;
33
28
 
34
29
  .el-pager{
35
- /* assets/css/tinymce/nextpage.less */
36
30
  margin:0;
37
31
  padding:0;
38
32
  }
@@ -40,16 +34,12 @@
40
34
 
41
35
  // 打印分页
42
36
  .c-article {
43
- /* assets/css/tinymce/nextpage.less */
44
37
  .e-print-pagebreak {
45
- /* assets/css/tinymce/nextpage.less */
46
38
  .none;
47
39
  }
48
40
  }
49
41
  .c-article-editor {
50
- /* assets/css/tinymce/nextpage.less */
51
42
  .e-print-pagebreak {
52
- /* assets/css/tinymce/nextpage.less */
53
43
  .db;
54
44
  border: none;
55
45
  border-bottom: 1px dotted #7ddcf9;
@@ -68,11 +58,8 @@
68
58
  }
69
59
  }
70
60
  @media print {
71
- /* assets/css/tinymce/nextpage.less */
72
61
  .c-article {
73
- /* assets/css/tinymce/nextpage.less */
74
62
  .e-print-pagebreak {
75
- /* assets/css/tinymce/nextpage.less */
76
63
  page-break-after: always;
77
64
  }
78
65
  }
@@ -1,9 +1,8 @@
1
+ /* assets/css/tinymce/p.less */
1
2
  // 段落
2
3
  .c-article-tinymce {
3
- /* assets/css/tinymce/p.less */
4
4
  p,
5
5
  div {
6
- /* assets/css/tinymce/p.less */
7
6
  margin: 0;
8
7
  line-height: 2.2;
9
8
  }
@@ -1,3 +1,4 @@
1
+ /* assets/css/tinymce/plugin.less */
1
2
  // .pswp__bg{
2
3
  // background: rgba(0, 0, 0, 0.8) ;
3
4
  // }
@@ -1,6 +1,6 @@
1
+ /* assets/css/tinymce/pz.less */
1
2
  // 编辑器内
2
3
  .e-pz-iframe{
3
- /* assets/css/tinymce/pz.less */
4
4
  min-height: 24px;
5
5
  border-radius: 4px;
6
6
  font-size: 14px;
@@ -16,7 +16,6 @@
16
16
 
17
17
  .pr;
18
18
  &:after {
19
- /* assets/css/tinymce/pz.less */
20
19
  content: "JX3BOX·配装方案";
21
20
  position: absolute;
22
21
  .lt(8px);
@@ -29,17 +28,13 @@
29
28
  }
30
29
  // 渲染模式隐藏
31
30
  .c-article-tinymce{
32
- /* assets/css/tinymce/pz.less */
33
31
  .e-pz-iframe{
34
- /* assets/css/tinymce/pz.less */
35
32
  display: none;
36
33
  }
37
34
  }
38
35
  // tinymce编辑器内展示
39
36
  .c-article-editor{
40
- /* assets/css/tinymce/pz.less */
41
37
  .e-pz-iframe{
42
- /* assets/css/tinymce/pz.less */
43
38
  display: block;
44
39
  }
45
40
  }
@@ -1,6 +1,6 @@
1
+ /* assets/css/tinymce/qixue.less */
1
2
  // 编辑器内
2
3
  .e-jx3qixue-area ,.e-jx3talent2-area{
3
- /* assets/css/tinymce/qixue.less */
4
4
  min-height: 24px;
5
5
  border-radius: 4px;
6
6
  font-size: 14px;
@@ -16,7 +16,6 @@
16
16
 
17
17
  .pr;
18
18
  &:after {
19
- /* assets/css/tinymce/qixue.less */
20
19
  content: "JX3BOX·TALENT";
21
20
  position: absolute;
22
21
  .rt(8px);
@@ -29,17 +28,13 @@
29
28
  }
30
29
  // 渲染模式隐藏
31
30
  .c-article{
32
- /* assets/css/tinymce/qixue.less */
33
31
  .e-jx3qixue-area,.e-jx3talent2-area{
34
- /* assets/css/tinymce/qixue.less */
35
32
  display: none;
36
33
  }
37
34
  }
38
35
  // tinymce编辑器内展示
39
36
  .c-article-editor{
40
- /* assets/css/tinymce/qixue.less */
41
37
  .e-jx3qixue-area,.e-jx3talent2-area{
42
- /* assets/css/tinymce/qixue.less */
43
38
  display: block;
44
39
  }
45
40
  }
@@ -1,8 +1,7 @@
1
+ /* assets/css/tinymce/quote.less */
1
2
  /* 引用 */
2
3
  .c-article-tinymce{
3
- /* assets/css/tinymce/quote.less */
4
4
  blockquote {
5
- /* assets/css/tinymce/quote.less */
6
5
  border: 1px dashed #e1e4e8;
7
6
  border-radius: 4px;
8
7
  padding: 10px;
@@ -1,8 +1,7 @@
1
+ /* assets/css/tinymce/table.less */
1
2
  /* 表格 */
2
3
  .c-article-tinymce {
3
- /* assets/css/tinymce/table.less */
4
4
  table {
5
- /* assets/css/tinymce/table.less */
6
5
  border-collapse: collapse;
7
6
  width: 100%;
8
7
  height:auto;
@@ -16,11 +15,9 @@
16
15
 
17
16
  td,
18
17
  th {
19
- /* assets/css/tinymce/table.less */
20
18
  padding: 6px 10px;
21
19
  }
22
20
  td {
23
- /* assets/css/tinymce/table.less */
24
21
  border: 1px solid #eee;
25
22
  }
26
23
  // th {
@@ -28,11 +25,9 @@
28
25
  // // font-weight: 600;
29
26
  // }
30
27
  tr:nth-child(2n + 1) {
31
- /* assets/css/tinymce/table.less */
32
28
  background-color: #fafbfc;
33
29
  }
34
30
  tr:first-child {
35
- /* assets/css/tinymce/table.less */
36
31
  // background-color: #f1f8ff;
37
32
  background-color: #fafbfc;
38
33
  font-weight: 600;
@@ -45,17 +40,13 @@
45
40
  }
46
41
 
47
42
  @media screen and (max-width: @phone) {
48
- /* assets/css/tinymce/table.less */
49
43
  .c-article-tinymce{
50
- /* assets/css/tinymce/table.less */
51
44
  table {
52
- /* assets/css/tinymce/table.less */
53
45
  display: block;
54
46
  width: 100% !important;
55
47
  height: auto !important;
56
48
 
57
49
  th,td{
58
- /* assets/css/tinymce/table.less */
59
50
  white-space: nowrap;
60
51
  }
61
52
  }
@@ -63,9 +54,7 @@
63
54
  }
64
55
 
65
56
  @media print{
66
- /* assets/css/tinymce/table.less */
67
57
  table{
68
- /* assets/css/tinymce/table.less */
69
58
  page-break-inside: avoid !important;
70
59
  }
71
60
  }
@@ -1,7 +1,6 @@
1
+ /* assets/css/tinymce/video.less */
1
2
  .c-article-tinymce {
2
- /* assets/css/tinymce/video.less */
3
3
  video {
4
- /* assets/css/tinymce/video.less */
5
4
  background-color: #333;
6
5
  width: 100%;
7
6
  height: 800px;
@@ -10,10 +9,8 @@
10
9
  }
11
10
  }
12
11
  .c-article-videox {
13
- /* assets/css/tinymce/video.less */
14
12
  iframe,
15
13
  iframe[allowfullscreen="allowfullscreen"] {
16
- /* assets/css/tinymce/video.less */
17
14
  width: 100%;
18
15
  height: 800px;
19
16
  border: 1px solid #eee;
@@ -21,58 +18,44 @@
21
18
  }
22
19
  }
23
20
  .w-player-bilibili {
24
- /* assets/css/tinymce/video.less */
25
21
  width: 100%;
26
22
  height: 800px;
27
23
  border: 1px solid #eee;
28
24
  box-sizing: border-box;
29
25
  }
30
26
  @media screen and (max-width:@ipad){
31
- /* assets/css/tinymce/video.less */
32
27
  .w-player-bilibili{
33
- /* assets/css/tinymce/video.less */
34
28
  height: 600px;
35
29
  }
36
30
  }
37
31
  @media screen and (max-width:@ipad-y){
38
- /* assets/css/tinymce/video.less */
39
32
  .w-player-bilibili{
40
- /* assets/css/tinymce/video.less */
41
33
  height: 500px;
42
34
  }
43
35
  }
44
36
  @media screen and (max-width:@phone){
45
- /* assets/css/tinymce/video.less */
46
37
  .w-player-bilibili{
47
- /* assets/css/tinymce/video.less */
48
38
  height: 240px;
49
39
  }
50
40
  }
51
41
  @media screen and (max-width:@ip5){
52
- /* assets/css/tinymce/video.less */
53
42
  .w-player-bilibili{
54
- /* assets/css/tinymce/video.less */
55
43
  height: 180px;
56
44
  }
57
45
  }
58
46
  .c-article-editor {
59
- /* assets/css/tinymce/video.less */
60
47
  video,
61
48
  iframe {
62
- /* assets/css/tinymce/video.less */
63
49
  cursor: default;
64
50
  }
65
51
  iframe {
66
- /* assets/css/tinymce/video.less */
67
52
  width: auto;
68
53
  height: auto;
69
54
  }
70
55
  }
71
56
  @media screen and (max-width: @ipad) {
72
- /* assets/css/tinymce/video.less */
73
57
  .c-article video,
74
58
  .c-article-videox iframe {
75
- /* assets/css/tinymce/video.less */
76
59
  height: auto;
77
60
  min-height: 200px;
78
61
  }
@@ -1 +1,2 @@
1
+ /* assets/css/var.less */
1
2
  // ⚠️请勿删除
@@ -1,3 +1,4 @@
1
+ /* assets/css/wiki/wiki-comments.less */
1
2
  .c-wiki-comments {
2
3
  .u-empty {
3
4
  padding: 5px 0;
@@ -1,3 +1,4 @@
1
+ /* assets/css/wiki/wiki-panel.less */
1
2
  .c-wiki-panel {
2
3
  .db;
3
4
  .mb(15px);
@@ -1,3 +1,4 @@
1
+ /* assets/css/wiki/wiki-revisions.less */
1
2
  .c-wiki-revisions {
2
3
  .u-empty {
3
4
  padding: 5px 0;
package/index.js CHANGED
@@ -10,6 +10,7 @@ import Breadcrumb from "./src/Breadcrumb.vue";
10
10
  import LeftSidebar from "./src/LeftSidebar.vue";
11
11
  import RightSidebar from "./src/RightSidebar.vue";
12
12
  import LeftSideToggle from "./src/LeftSideToggle.vue";
13
+ import RightSideMsg from "./src/RightSideMsg.vue";
13
14
 
14
15
  // 列表页
15
16
  import markBy from "./src/filters/markBy.vue";
@@ -51,6 +52,7 @@ const components = {
51
52
  LeftSidebar,
52
53
  RightSidebar,
53
54
  LeftSideToggle,
55
+ RightSideMsg,
54
56
 
55
57
  tagBy,
56
58
  orderBy,
@@ -68,7 +70,7 @@ const components = {
68
70
  UserPop,
69
71
  SuspendCommon,
70
72
  AdminDrop,
71
- }
73
+ };
72
74
 
73
75
  const install = function (app) {
74
76
  Object.keys(components).forEach((key) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.0.11",
3
+ "version": "2.0.15",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -34,10 +34,10 @@ export const manageTopic = (id, action, value) => {
34
34
 
35
35
  export const manageTopicAll = (id, data) => {
36
36
  return $next().put(`${API_PREFIX}/community/discussion/manage/topic/item/${id}/opt`, data);
37
- }
37
+ };
38
38
 
39
39
  export const getTopicDetails = (id) => {
40
- return $next().get(`${API_PREFIX}/community/discussion/manage/topic/item/${id}`);
40
+ return $next({ mute: true }).get(`${API_PREFIX}/community/discussion/manage/topic/item/${id}`);
41
41
  };
42
42
 
43
43
  // 菜单
@@ -52,7 +52,7 @@ export function getCommunityTags() {
52
52
  // 获取原帖子
53
53
  export const getOriginalPost = (id) => {
54
54
  return $cms().get(`/api/cms/manage/post/by-community/${id}`);
55
- }
55
+ };
56
56
 
57
57
  // 迁移帖子
58
58
  export const migrateCommunityPost = (data) => {
package/src/App.vue CHANGED
@@ -35,6 +35,11 @@
35
35
  <LeftSideToggle :mobileOnly="false" />
36
36
  <LeftSideToggle :mobileOnly="true" />
37
37
  </div>
38
+
39
+ <h1 class="m-title">上传组件</h1>
40
+ <div class="m-block">
41
+ <UploadBanner v-model="uploadBanner" />
42
+ </div>
38
43
  </el-tab-pane>
39
44
  <el-tab-pane label="文章列表" name="list">
40
45
  <h1 class="m-title">筛选</h1>
@@ -146,6 +151,12 @@
146
151
  </el-tabs>
147
152
  <el-divider></el-divider>
148
153
  <RightSidebar :show-toggle="true" style="padding: 15px">
154
+ <RightSideMsg>
155
+ <em>综合交流群</em> :
156
+ <strong class="u-link" title="点击复制">
157
+ <a>100473604</a>
158
+ </strong>
159
+ </RightSideMsg>
149
160
  <PostTopic type="bps" :id="48857"></PostTopic>
150
161
  <div id="directory"></div>
151
162
  <PostVersion :post="post"></PostVersion>
@@ -172,6 +183,7 @@ import Homework from "./interact/Homework.vue";
172
183
  import PostVersion from "./single/PostVersion.vue";
173
184
  import PostCollection from "./single/PostCollection.vue";
174
185
  import QRcode from "./interact/QRcode.vue";
186
+ import UploadBanner from "./upload/UploadBanner.vue";
175
187
 
176
188
  import GamePrice from "./wiki/GamePrice.vue";
177
189
  import WikiComments from "./wiki/WikiComments.vue";
@@ -191,6 +203,7 @@ export default {
191
203
  PostVersion,
192
204
  PostCollection,
193
205
  QRcode,
206
+ UploadBanner,
194
207
 
195
208
  GamePrice,
196
209
  WikiComments,
@@ -328,6 +341,7 @@ export default {
328
341
  };
329
342
  </script>
330
343
  <style lang="less">
344
+ /* src/App.vue */
331
345
  .m-title {
332
346
  margin: 20px 0 10px;
333
347
  font-size: 16px;
@@ -146,5 +146,6 @@ export default {
146
146
  </script>
147
147
 
148
148
  <style lang="less">
149
+ /* src/Breadcrumb.vue */
149
150
  @import "../assets/css/bread/breadcrumb.less";
150
151
  </style>
@@ -43,6 +43,7 @@ export default {
43
43
  </script>
44
44
 
45
45
  <style lang="less">
46
+ /* src/CommonFooter.vue */
46
47
  body::after {
47
48
  bottom: 0;
48
49
  background: #111827;
@@ -214,6 +214,7 @@ export default {
214
214
  </script>
215
215
 
216
216
  <style lang="less">
217
+ /* src/CommonHeader.vue */
217
218
  .c-header {
218
219
  position: fixed;
219
220
  left: 0;
@@ -222,6 +223,7 @@ export default {
222
223
 
223
224
  width: 100%;
224
225
  height: @header-height;
226
+ box-sizing: border-box;
225
227
 
226
228
  background-color: @header-bg;
227
229
  color: #fff;
package/src/Footer.vue CHANGED
@@ -49,5 +49,6 @@ export default {
49
49
  </script>
50
50
 
51
51
  <style lang="less">
52
+ /* src/Footer.vue */
52
53
  @import "../assets/css/common/footer.less";
53
54
  </style>
@@ -46,6 +46,7 @@ export default {
46
46
  </script>
47
47
 
48
48
  <style lang="less">
49
+ /* src/LeftSideToggle.vue */
49
50
  .c-side-toggle {
50
51
  .pointer;
51
52
  .size(20px, 28px);
@@ -126,6 +126,7 @@ export default {
126
126
  </script>
127
127
 
128
128
  <style lang="less">
129
+ /* src/LeftSidebar.vue */
129
130
  @import "../assets/css/common/left-sidebar.less";
130
131
  // 虚拟装扮主题
131
132
  .m-theme {
package/src/Main.vue CHANGED
@@ -52,5 +52,6 @@ export default {
52
52
  </script>
53
53
 
54
54
  <style lang="less">
55
+ /* src/Main.vue */
55
56
  @import "../assets/css/common/main.less";
56
57
  </style>
@@ -20,5 +20,6 @@ export default {
20
20
  </script>
21
21
 
22
22
  <style lang="less">
23
+ /* src/RightSideMsg.vue */
23
24
  @import "../assets/css/common/right-msg.less";
24
25
  </style>
@@ -66,5 +66,6 @@ export default {
66
66
  </script>
67
67
 
68
68
  <style lang="less">
69
+ /* src/RightSidebar.vue */
69
70
  @import "../assets/css/common/right-sidebar.less";
70
71
  </style>
@@ -715,5 +715,6 @@ export default {
715
715
  </script>
716
716
 
717
717
  <style lang="less">
718
+ /* src/SuspendCommon.vue */
718
719
  @import "../assets/css/common/suspend-common.less";
719
720
  </style>