@jx3box/jx3box-common-ui 8.5.3 → 8.5.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 +1 -1
- package/src/App.vue +45 -36
- package/src/bread/MoveToCommunityDialog.vue +1 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
>
|
|
14
14
|
<img slot="logo" svg-inline src="../assets/img/jx3.svg" />
|
|
15
15
|
bread info
|
|
16
|
+
<template #op-prepend>
|
|
17
|
+
<AdminDrop :post="post" :user-id="8" :showMove="true"/>
|
|
18
|
+
</template>
|
|
16
19
|
</Breadcrumb>
|
|
17
20
|
|
|
18
21
|
<LeftSidebar :open="true" :uid="8">
|
|
@@ -20,34 +23,24 @@
|
|
|
20
23
|
<Author :author="author" :uid="8" />
|
|
21
24
|
</LeftSidebar>
|
|
22
25
|
|
|
23
|
-
<Main :withoutLeft="false" :withoutRight="false">
|
|
26
|
+
<Main :withoutLeft="false" :withoutRight="false" style="padding:20px;">
|
|
24
27
|
<el-tabs v-model="tab" type="card">
|
|
25
|
-
|
|
26
|
-
<el-radio-group v-model="post_id">
|
|
27
|
-
<el-radio label="41346">临时测试</el-radio>
|
|
28
|
-
<el-radio label="35605">Markdown</el-radio>
|
|
29
|
-
<el-radio label="32035">仅小册</el-radio>
|
|
30
|
-
<el-radio label="30017">仅联合创作者</el-radio>
|
|
31
|
-
<el-radio label="30582">小册和联合创作者</el-radio>
|
|
32
|
-
<el-radio label="31129">无小册和联合创作者</el-radio>
|
|
33
|
-
</el-radio-group>
|
|
34
|
-
<singlebox :post="post" @extendUpdate="updateExtend" />
|
|
35
|
-
</el-tab-pane>
|
|
28
|
+
|
|
36
29
|
<el-tab-pane label="通用组件" name="widget">
|
|
37
|
-
<PostHeader :post="post" />
|
|
38
|
-
<Creators :postId="30432" style="margin-bottom: 10px" />
|
|
39
|
-
<Collection :id="59" :defaultVisible="true" />
|
|
30
|
+
<!-- <PostHeader :post="post" /> -->
|
|
31
|
+
<!-- <Creators :postId="30432" style="margin-bottom: 10px" /> -->
|
|
32
|
+
<!-- <Collection :id="59" :defaultVisible="true" /> -->
|
|
40
33
|
<UserPop title="添加用户" v-model="visible" @confirm="addUser" />
|
|
41
34
|
<el-button @click="visible = true">用户POP</el-button>
|
|
42
35
|
<!-- :postId="23865" -->
|
|
43
|
-
<Thx
|
|
36
|
+
<!-- <Thx
|
|
44
37
|
postType="bps"
|
|
45
38
|
postTitle="bbs23865的标题"
|
|
46
39
|
:userId="8"
|
|
47
40
|
:adminBoxcoinEnable="true"
|
|
48
41
|
:userBoxcoinEnable="true"
|
|
49
42
|
:postId="73440"
|
|
50
|
-
/>
|
|
43
|
+
/> -->
|
|
51
44
|
<hr />
|
|
52
45
|
<Like mode="heart" :count="100" :showCount="true" />
|
|
53
46
|
<Down :count="100" :showCount="true" />
|
|
@@ -76,8 +69,21 @@
|
|
|
76
69
|
v-model="upload"
|
|
77
70
|
info="非必选。首页海报尺寸1100*300(推荐2200*600支持高分屏),最大20M。"
|
|
78
71
|
></uploadImage>
|
|
79
|
-
<AuthorMedal :author-id="8"></AuthorMedal>
|
|
72
|
+
<!-- <AuthorMedal :author-id="8"></AuthorMedal> -->
|
|
73
|
+
</el-tab-pane>
|
|
74
|
+
|
|
75
|
+
<el-tab-pane label="CMS作品" name="post">
|
|
76
|
+
<el-radio-group v-model="post_id">
|
|
77
|
+
<el-radio label="41346">临时测试</el-radio>
|
|
78
|
+
<el-radio label="35605">Markdown</el-radio>
|
|
79
|
+
<el-radio label="32035">仅小册</el-radio>
|
|
80
|
+
<el-radio label="30017">仅联合创作者</el-radio>
|
|
81
|
+
<el-radio label="30582">小册和联合创作者</el-radio>
|
|
82
|
+
<el-radio label="31129">无小册和联合创作者</el-radio>
|
|
83
|
+
</el-radio-group>
|
|
84
|
+
<singlebox :post="post" @extendUpdate="updateExtend" />
|
|
80
85
|
</el-tab-pane>
|
|
86
|
+
|
|
81
87
|
<el-tab-pane label="百科组件" name="wiki">
|
|
82
88
|
<WikiPanel :wiki-post="wikiPost">
|
|
83
89
|
<template slot="head-title">
|
|
@@ -103,8 +109,9 @@
|
|
|
103
109
|
<WikiComments type="achievement" source-id="456" />
|
|
104
110
|
<hr />
|
|
105
111
|
</el-tab-pane>
|
|
112
|
+
|
|
106
113
|
<el-tab-pane label="头像" name="avatar">
|
|
107
|
-
<el-radio-group v-model="avatar_size">
|
|
114
|
+
<el-radio-group v-model="avatar_size" style="margin-bottom:10px;">
|
|
108
115
|
<el-radio label="xxs">xxs-36/48</el-radio>
|
|
109
116
|
<el-radio label="xs">xs-48/68</el-radio>
|
|
110
117
|
<el-radio label="s">s-68/88</el-radio>
|
|
@@ -115,7 +122,7 @@
|
|
|
115
122
|
<div style="padding: 60px; background-color: #e3e3e3">
|
|
116
123
|
<Avatar
|
|
117
124
|
:id="8"
|
|
118
|
-
url="https://
|
|
125
|
+
url="https://cdn.jx3box.com/upload/avatar/2022/3/2/8_9860765.png"
|
|
119
126
|
:size="avatar_size"
|
|
120
127
|
frame="moon_1"
|
|
121
128
|
/>
|
|
@@ -123,9 +130,9 @@
|
|
|
123
130
|
</el-tab-pane>
|
|
124
131
|
</el-tabs>
|
|
125
132
|
|
|
126
|
-
<RightSidebar :showToggle="false">
|
|
127
|
-
<PostTopic></PostTopic>
|
|
133
|
+
<RightSidebar :showToggle="false" style="padding:15px;">
|
|
128
134
|
<RightSideMsg>Hello</RightSideMsg>
|
|
135
|
+
<PostTopic></PostTopic>
|
|
129
136
|
<div id="directory"></div>
|
|
130
137
|
<PostCollection :id="59" />
|
|
131
138
|
</RightSidebar>
|
|
@@ -139,6 +146,7 @@
|
|
|
139
146
|
<script>
|
|
140
147
|
import Header from "./Header.vue";
|
|
141
148
|
import Breadcrumb from "./Breadcrumb.vue";
|
|
149
|
+
import AdminDrop from "./bread/AdminDrop.vue";
|
|
142
150
|
|
|
143
151
|
import LeftSidebar from "./LeftSidebar.vue";
|
|
144
152
|
import LeftSideToggle from "./LeftSideToggle.vue";
|
|
@@ -156,12 +164,11 @@ import Bottom from "./Bottom.vue";
|
|
|
156
164
|
|
|
157
165
|
// import cmsList from "./list/cms-list.vue";
|
|
158
166
|
import singlebox from "./single/cms-single.vue";
|
|
159
|
-
import PostHeader from "./single/PostHeader.vue";
|
|
160
167
|
import PostCollection from "./single/PostCollection.vue";
|
|
161
|
-
|
|
162
|
-
import Thx from "./single/Thx.vue";
|
|
163
|
-
import Collection from "./single/Collection.vue";
|
|
164
|
-
import Creators from "./single/Creators.vue";
|
|
168
|
+
//import PostHeader from "./single/PostHeader.vue";
|
|
169
|
+
// import Thx from "./single/Thx.vue";
|
|
170
|
+
//import Collection from "./single/Collection.vue";
|
|
171
|
+
//import Creators from "./single/Creators.vue";
|
|
165
172
|
import PostGuide from "./single/PostGuide.vue";
|
|
166
173
|
|
|
167
174
|
import Mark from "./interact/Mark.vue";
|
|
@@ -182,7 +189,7 @@ import zlpBy from "./filters/zlpBy.vue";
|
|
|
182
189
|
import topicBy from "./filters/topicBy.vue";
|
|
183
190
|
|
|
184
191
|
import uploadImage from "./upload/upload_banner.vue";
|
|
185
|
-
import AuthorMedal from "./medal/medal.vue";
|
|
192
|
+
// import AuthorMedal from "./medal/medal.vue";
|
|
186
193
|
|
|
187
194
|
import WikiPanel from "./wiki/WikiPanel.vue";
|
|
188
195
|
import WikiRevisions from "./wiki/WikiRevisions.vue";
|
|
@@ -197,6 +204,8 @@ export default {
|
|
|
197
204
|
components: {
|
|
198
205
|
Header,
|
|
199
206
|
Breadcrumb,
|
|
207
|
+
AdminDrop,
|
|
208
|
+
|
|
200
209
|
LeftSidebar,
|
|
201
210
|
LeftSideToggle,
|
|
202
211
|
Main,
|
|
@@ -206,13 +215,13 @@ export default {
|
|
|
206
215
|
|
|
207
216
|
// cmsList,
|
|
208
217
|
singlebox,
|
|
209
|
-
PostHeader,
|
|
218
|
+
// PostHeader,
|
|
210
219
|
PostCollection,
|
|
211
220
|
PostTopic,
|
|
212
221
|
|
|
213
|
-
Thx,
|
|
214
|
-
Collection,
|
|
215
|
-
Creators,
|
|
222
|
+
// Thx,
|
|
223
|
+
// Collection,
|
|
224
|
+
// Creators,
|
|
216
225
|
|
|
217
226
|
RightSideMsg,
|
|
218
227
|
Author,
|
|
@@ -237,7 +246,7 @@ export default {
|
|
|
237
246
|
topicBy,
|
|
238
247
|
|
|
239
248
|
uploadImage,
|
|
240
|
-
AuthorMedal,
|
|
249
|
+
// AuthorMedal,
|
|
241
250
|
|
|
242
251
|
WikiPanel,
|
|
243
252
|
WikiRevisions,
|
|
@@ -248,10 +257,10 @@ export default {
|
|
|
248
257
|
},
|
|
249
258
|
data: function () {
|
|
250
259
|
return {
|
|
251
|
-
tab: "
|
|
260
|
+
tab: "widget",
|
|
252
261
|
|
|
253
|
-
post:
|
|
254
|
-
post_id: "
|
|
262
|
+
post: {},
|
|
263
|
+
post_id: "65668",
|
|
255
264
|
|
|
256
265
|
author: "",
|
|
257
266
|
wikiPost: null,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
>
|
|
10
10
|
<el-form :model="form" ref="form" :rules="rules" :label-position="isPhone ? 'top' : 'left'" label-width="80px">
|
|
11
11
|
<el-form-item label="分类" prop="category">
|
|
12
|
-
<el-select v-model="form.category" placeholder="
|
|
12
|
+
<el-select v-model="form.category" placeholder="请选择帖子分类" style="width: 100%" filterable>
|
|
13
13
|
<el-option
|
|
14
14
|
v-for="item in categoryList"
|
|
15
15
|
:key="item.id"
|