@jx3box/jx3box-common 8.7.0 → 8.7.2
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/css/element.css +9 -0
- package/js/wiki.js +7 -1
- package/js/wiki_v2.js +7 -1
- package/package.json +1 -1
package/css/element.css
CHANGED
|
@@ -13193,3 +13193,12 @@
|
|
|
13193
13193
|
.el-drawer-fade-leave-active {
|
|
13194
13194
|
animation: el-drawer-fade-in 225ms cubic-bezier(0, 0, 0.2, 1) 0s reverse;
|
|
13195
13195
|
}
|
|
13196
|
+
.el-drawer__wrapper {
|
|
13197
|
+
position: fixed;
|
|
13198
|
+
top: 0;
|
|
13199
|
+
right: 0;
|
|
13200
|
+
bottom: 0;
|
|
13201
|
+
left: 0;
|
|
13202
|
+
overflow: hidden;
|
|
13203
|
+
margin: 0
|
|
13204
|
+
}
|
package/js/wiki.js
CHANGED
|
@@ -155,7 +155,13 @@ const wikiComment = {
|
|
|
155
155
|
return $helper().get(`/api/my/wiki/comments`, {
|
|
156
156
|
params
|
|
157
157
|
})
|
|
158
|
-
}
|
|
158
|
+
},
|
|
159
|
+
star(comment_id, data) {
|
|
160
|
+
return $cms().put(`/api/cms/manage/wiki/comment/${comment_id}/star`, data)
|
|
161
|
+
},
|
|
162
|
+
top(comment_id, data) {
|
|
163
|
+
return $cms().put(`/api/cms/manage/wiki/comment/${comment_id}/top`, data)
|
|
164
|
+
},
|
|
159
165
|
}
|
|
160
166
|
|
|
161
167
|
export { wiki, wikiComment };
|
package/js/wiki_v2.js
CHANGED
|
@@ -159,5 +159,11 @@ export const wikiComment = {
|
|
|
159
159
|
return $cms().get(`/api/cms/wiki/comment/mine`, {
|
|
160
160
|
params
|
|
161
161
|
})
|
|
162
|
-
}
|
|
162
|
+
},
|
|
163
|
+
star(comment_id, data) {
|
|
164
|
+
return $cms().put(`/api/cms/manage/wiki/comment/${comment_id}/star`, data)
|
|
165
|
+
},
|
|
166
|
+
top(comment_id, data) {
|
|
167
|
+
return $cms().put(`/api/cms/manage/wiki/comment/${comment_id}/top`, data)
|
|
168
|
+
},
|
|
163
169
|
}
|