@jx3box/jx3box-ui 2.3.22 → 2.3.23

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.
@@ -246,41 +246,42 @@
246
246
  flex-wrap: wrap;
247
247
  align-items: center;
248
248
  padding-bottom: 0;
249
- gap: 8px;
249
+ gap: 0;
250
250
 
251
251
  .el-button + .el-button {
252
- margin-left: 0;
252
+ margin-left: 20px;
253
253
  }
254
254
 
255
255
  .el-button {
256
- min-height: 28px;
257
- padding: 4px 10px;
258
- border-radius: 4px;
256
+ min-height: auto;
257
+ padding: 0;
258
+ border: 0;
259
+ border-radius: 0;
260
+ background: transparent;
261
+ color: @v4tip;
259
262
  font-size: 12px;
263
+ font-weight: normal;
260
264
 
261
265
  &:focus-visible {
262
266
  outline: 2px solid var(--jx3box-ui-wiki-panel-border-focus);
263
267
  outline-offset: 2px;
264
268
  }
265
- }
266
-
267
- .el-button--primary.is-plain {
268
- border-color: var(--jx3box-ui-wiki-panel-primary);
269
- color: var(--jx3box-ui-wiki-panel-primary);
270
- background: var(--jx3box-ui-wiki-panel-surface);
271
269
 
272
270
  &:hover,
273
271
  &:focus {
274
- border-color: var(--jx3box-ui-wiki-panel-primary-hover);
275
- color: var(--jx3box-ui-wiki-panel-primary-hover);
276
- background: var(--jx3box-ui-wiki-panel-primary-soft);
272
+ border: 0;
273
+ color: @pink;
274
+ background: transparent;
277
275
  }
278
276
  }
279
277
 
280
278
  .u-time {
279
+ display: inline-flex;
280
+ align-items: center;
281
281
  float: none;
282
- margin: 0 0 0 auto;
283
- color: var(--jx3box-ui-wiki-panel-subtle);
282
+ margin: 0 0 0 20px;
283
+ color: #c0c4cc;
284
+ line-height: 1;
284
285
  opacity: 1;
285
286
  white-space: nowrap;
286
287
  }
@@ -414,12 +415,6 @@
414
415
  height: auto;
415
416
  white-space: normal;
416
417
  }
417
-
418
- .m-reply {
419
- .el-button {
420
- min-height: 36px;
421
- }
422
- }
423
418
  }
424
419
  }
425
420
  }
@@ -0,0 +1,15 @@
1
+ <svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">
2
+ <g>
3
+ <path d="M100.19,76.21c4.08,23.87,20.66,31.15,23.4,32s14.95-10.75,9.6-29.54-19.51-32.2-22.42-47.84C110.41,31.36,96.16,52.63,100.19,76.21Z" style="fill: #f5bd1e"/>
4
+ <path d="M51.67,184.7c9.39.42,19.9-13.63,19-25.48C69.82,149,61,146.34,55.22,134.33s-4.47-25.52-1.17-37.12h0c-6.23,7.08-27,32.33-20.89,60.47C35,166.37,41.33,184.24,51.67,184.7Z" style="fill: #f5bd1e"/>
5
+ <path d="M89,144.7c5.21-4.3,11.41-11,12.44-19.85,1.25-10.73-5.9-17.32-11.25-30.81-3.26-8.21-6.4-20.35-5.29-37-1.07,1.09-26,27.31-16.68,58.77C72.94,131.75,84.12,141.09,89,144.7Z" style="fill: #f5bd1e"/>
6
+ <path d="M110,30.78v0l0,0Z" style="fill: #f5bd1e"/>
7
+ <path d="M170,57.67q2.89-16.33,4.14-30.28-18.73,9.45-26,23.47t.08,29.1Q167.06,74,170,57.67Z" style="fill: #f5bd1e"/>
8
+ <path d="M96.7,174.63A36.16,36.16,0,0,0,76.56,184a34.66,34.66,0,0,0-7.78,11.29s10.77,10.35,38.75,9.43c28.07-.76,58.34-33.91,58.34-33.91-23.73,11.72-39,10.93-48.72,7.63C112.38,176.87,105.86,173.62,96.7,174.63Z" style="fill: #f5bd1e"/>
9
+ <path d="M119.41,127.23l-.07.11.09-.11Z" style="fill: #f5bd1e"/>
10
+ <path d="M214.57,74.9a47.86,47.86,0,0,1-17.72,12c-11.91,4.49-19.2,1.27-31.62,5.18a53.83,53.83,0,0,0-20.82,12.59h0s-.2.37-7.58,18.68l.25.13c.87.43,4.07,1.79,10.13,1.89a63.11,63.11,0,0,0,27.25-5.69C198.49,108.7,213.24,77.76,214.57,74.9Z" style="fill: #f5bd1e"/>
11
+ <path d="M101.59,159.12s3.35,12.93,30,7.87,50.15-21.23,60.23-39.65c-19.69,13.43-35.2,15.7-46,15.12-11.29-.61-21.52-4.57-31.64,1.16C107.31,147.53,103.62,154.18,101.59,159.12Z" style="fill: #f5bd1e"/>
12
+ <polygon points="68.77 195.35 68.78 195.33 68.78 195.33 68.77 195.35" style="fill: #f5bd1e"/>
13
+ <path d="M136.83,102.78c-1.62,2-23.81,29.57-56.15,63.19C66,181.3,45.78,210.31,46.44,216.67s9.13-5.16,13.19-12.24,26.14-37.19,33.94-45.07C105.79,146.9,123.55,123.21,136.83,102.78Z" style="fill: #f5bd1e"/>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">
2
+ <g>
3
+ <path d="M207.54,99.86a19.69,19.69,0,0,1-4.1,5.91l-.22.26c-.4.52-.75.93-1,1.18a15,15,0,0,1-1.36,1.54l-.85.85a17,17,0,0,1-3,2.42l-.46.28a18.12,18.12,0,0,1-1.8,1,25.49,25.49,0,0,1-3.51,1.43,17,17,0,0,1-5.23.82h-2.47v.14a16.49,16.49,0,0,1-.15,2.23v.12A23.51,23.51,0,0,1,183,121c-.08.37-.16.74-.26,1.11a18,18,0,0,1-1.41,3.87,20.75,20.75,0,0,1-6.75,7.84,23.48,23.48,0,0,1-5.84,3,13.87,13.87,0,0,0-1.81.84l-.24.12c-.63.33-1.29.71-2,1.15.37.85.71,1.74,1,2.74l.06.19c.15.42.29.89.41,1.37a36.12,36.12,0,0,1,.77,4.43l0,.22a16.44,16.44,0,0,1,.13,2.1v1.48a23.44,23.44,0,0,1-.21,3.38,21.53,21.53,0,0,1-.52,3.06c-.35,1.66-.79,3.15-1.15,4.35a43.61,43.61,0,0,1-1.74,4.94l-.92,2.14q-.2.45-.42.9c-.71,1.41-1.44,2.74-2.31,4.2l-.28.45c-1,1.6-2.21,3.42-3.63,5.3a75.31,75.31,0,0,1-5.77,6.85l-.38.39-2.53,2.53c-.28.28-.56.54-.85.8a23.8,23.8,0,0,1-2,1.83l-1,.81c-1.36,1.11-2.89,2.35-4.73,3.62l-.21.14c-1.51,1-2.92,1.79-4,2.36a33.74,33.74,0,0,1-4,2,26.91,26.91,0,0,1-2.68,1.05,21.68,21.68,0,0,1-2.72.94c-.87.28-1.73.53-2.55.75C141.21,206,158,201,173.62,188.89l3.95-3.06-2.43,4.36c-.27.48-.54.93-.8,1.39l-.18.3a10.08,10.08,0,0,0,1.22-.84,80.12,80.12,0,0,0,24.1-27,63.17,63.17,0,0,0,7.92-28.21A51.18,51.18,0,0,0,204,115.69c-.53-1.5-1.06-3-1.59-4.34l-.7-1.84,1.91.48a2.64,2.64,0,0,1,1.32.69,35.25,35.25,0,0,1,5,6.41,74,74,0,0,0-2.19-16.44C207.68,100.39,207.61,100.13,207.54,99.86Z" style="fill: #7d86fb"/>
4
+ <path d="M216.39,49.93a.79.79,0,0,1-.12-.23,3,3,0,0,0-.24-.47l-.63-.95c-.44-.52-.9-1.1-1.37-1.67L212.7,45l-.92-1c-.62-.7-1.25-1.43-1.86-2s-1.13-1.13-1.73-1.63c-1.17-1.06-2.43-2.11-3.65-3.13l-2-1.64a1.93,1.93,0,0,0-.24-.17,3.52,3.52,0,0,1-.38-.25l-.13-.08h0l-.19-.11a1.07,1.07,0,0,1-.59-.21h-.34l-.21.11h-.1l-.14.12-.22.19,0,0a1.27,1.27,0,0,1-.21.29l-.15.29a1.18,1.18,0,0,1-.2.41.89.89,0,0,0-.06.3l0,.2a9.2,9.2,0,0,1-.48,1.77,21.6,21.6,0,0,1-6.16,9.56c-3.28,3-6.63,6.2-10.57,10.14-.57.57-1.14,1.14-1.73,1.71-1.14,1.11-2.32,2.27-3.43,3.45l-6,6v.6h-.75a1.18,1.18,0,0,1-.48.1h-.63a1.08,1.08,0,0,1-.62-.18,1.05,1.05,0,0,1-.49-.36,1.57,1.57,0,0,1-.28-.31l-.61-.61c-.4-.45-.78-.83-1.16-1.21s-.82-.83-1.21-1.27c-1-1-2-2-2.93-3a16.25,16.25,0,0,1-1.58,2.86c-.27.41-.55.78-.8,1.11s-.36.5-.57.75a19.22,19.22,0,0,1-4,6,16.41,16.41,0,0,1-1.93,1.67V79a2.28,2.28,0,0,1-1.28,2.43,7.14,7.14,0,0,1-2.17.18h-1.91a17.33,17.33,0,0,1-3.72,5.53,17.64,17.64,0,0,1-8.34,4.66l-.08.07c-.08.06-.34.33-.59.58l-.08.08a31.81,31.81,0,0,1-2.87,2.51,19.2,19.2,0,0,1-1.66,1.18c-.38.25-.89.59-1.53,1-.42.27-.85.53-1.23.74s-.83.52-1.08.71l-2,1.53-1.76,1.51-2,2c-.1.11-.2.21-.29.32-.25.33-.76,1-.91,1.25l-.48.79c-.33.55-.7,1.17-.84,1.47s-.33.68-.51,1l-.21.62c-.08.26-.22.73-.42,1.29a8.94,8.94,0,0,0-.27,3.6l0,.12c0,.26.07.54.09.7s.09.38.13.62a18.57,18.57,0,0,0,4.35,8.54l.07.08c.23.27.51.62.64.76l.24.24a12.82,12.82,0,0,0,5.68,3.55l.8.17.63.12c.4,0,.79,0,1.19.08l1-.07.58-.12.1,0,.89-.26c.5-.23.92-.4,1.24-.54l.16-.06.44-.21.79-.34.19-.08a18,18,0,0,1,1.75-.9,15.94,15.94,0,0,1,3-1.09,16.71,16.71,0,0,1,4.58-.63h.53a17.88,17.88,0,0,1,3.49.35,16.82,16.82,0,0,1,2.66.69,50.17,50.17,0,0,1,6.39-4,31.24,31.24,0,0,1,4.36-2,5.77,5.77,0,0,0,1.43-.7,3,3,0,0,0,1.07-1.23s0-.08,0-.14l.1-.4c.05-.23.06-.5.09-.78s.05-.61.09-.94v-7a2.31,2.31,0,0,1,.17-1,2.49,2.49,0,0,1,1-1.45l.95-.46a1,1,0,0,0,.46-.22l.13-.15a1,1,0,0,0,.19-.3,2.73,2.73,0,0,0,.14-.88v-5a1.16,1.16,0,0,1,.23-.73,1.17,1.17,0,0,1,.51-.5,1.19,1.19,0,0,1,.47-.19l.13-.13H185.5v-.21h.84l.11,0a1,1,0,0,1,.21-.1l.22-.22H187l.07,0,.15-.09.24-.24h.12l.59-.59c.15-.2.31-.39.47-.57l.44-.53.19-.25a14.51,14.51,0,0,1,1.17-1.34l.31-.32a1.77,1.77,0,0,0,.48-.65l-.12-.2-.32-.38a2.37,2.37,0,0,0-.25-.29c-1.36-1.31-2.74-2.67-4.12-4s-2.74-2.69-4.11-4l-.33-.33a1.6,1.6,0,0,1-.47-.7,2.31,2.31,0,0,1-.26-1,2.42,2.42,0,0,1,.31-1.08,3.65,3.65,0,0,1,.72-.9l.22-.23c8-8.1,16.14-16.45,24-24.52l.12-.12a7,7,0,0,1,1.06-.84,3.15,3.15,0,0,1,.27-.19l.32-.23a2.65,2.65,0,0,1,.88-.31,1.77,1.77,0,0,0,.28-.11l.18-.07c.39-.11.78-.19,1.17-.28s.7-.15,1.05-.25A19.57,19.57,0,0,0,214,51.8l.44-.14a1.68,1.68,0,0,1,.28-.13l.05-.05.23-.08a2,2,0,0,0,.6-.31l.26-.16a1.33,1.33,0,0,0,.33-.24,1.9,1.9,0,0,0,.26-.34l0-.07Z" style="fill: #7d86fb"/>
5
+ <polygon points="52.88 184.38 52.88 184.38 52.88 184.38 52.88 184.38" style="fill: #7d86fb"/>
6
+ <path d="M52.08,185l-.27-.25c-.27-.23-.54-.46-.8-.71-1.15-1.09-2.34-2.25-3.67-3.6a45.26,45.26,0,0,0-1.61,4.64l-.25.6c-.07.18-.13.32-.19.49-.27,1-.47,2.07-.7,3.44-.61,4.62-1,8.28-1.15,11.84-.06.7-.08,1.35-.11,2s0,1.35-.11,2v1.19l.1.17.22.08h1.72a17.92,17.92,0,0,0,2.12-.19l1.06-.12,1-.12a19,19,0,0,1,2.37-.21,23.21,23.21,0,0,0,2.52-.09c.45-.06.92-.09,1.39-.12s.86,0,1.26-.1c1.75-.22,3.66-.56,5.12-.83l2.82-.63,1-.3,1-.31c.28-.11.55-.19.83-.27a6.59,6.59,0,0,0,.71-.24c1-.41,2-.83,2.9-1.24a9.58,9.58,0,0,0,1.4-.69c.86-.46,1.74-1,2.7-1.54a81.68,81.68,0,0,1-11.67-6c-1.77-1.08-3.23-2.14-4.51-3.07h0l-.82-.59A51.75,51.75,0,0,1,54.38,187l-.77-.65c-.58-.48-1.06-.92-1.42-1.24Z" style="fill: #7d86fb"/>
7
+ <path d="M120.19,186.15a4.55,4.55,0,0,0,.94-.32l.36-.15a13.42,13.42,0,0,0,1.83-.71l.1,0a16,16,0,0,0,2.28-1.09c1-.54,1.88-1.05,2.8-1.66,1.25-.86,2.37-1.77,3.57-2.74l1.12-.91c.24-.19.44-.4.66-.61s.5-.5.78-.73l2.5-2.5a54,54,0,0,0,4.44-5.27c1-1.36,2-2.84,2.91-4.27.65-1.07,1.16-2,1.66-3l.93-2.16a25.7,25.7,0,0,0,1-3c.32-1.07.63-2.07.83-3.08a5.32,5.32,0,0,0,.19-1.18l0-.24a5.81,5.81,0,0,0,.07-1.13l0-1.59a18,18,0,0,0-.37-2.29l-.08-.24a10.71,10.71,0,0,0-1.06-2.43l-.36-.68a4.45,4.45,0,0,0-.33-.52l-.1-.16a1.53,1.53,0,0,0-.23-.26l-.47-.46-.23-.06-.1,0h-.31a1,1,0,0,1-.31.1l-.16.06h0a16,16,0,0,1-2.16,1.07l-.62.26c-.29.15-.63.3-1,.44s-.54.22-.8.35a2.38,2.38,0,0,1-.36.18l-.06,0-2.28.8-.32.06a6.67,6.67,0,0,0-.8.19c-.31.08-.62.16-1,.22a1.77,1.77,0,0,1-.53.13l-2,.32h-.42a7,7,0,0,0-.81.05c-.32,0-.64.05-1,.05h-.32a13.54,13.54,0,0,1-2-.1h-.45a8.6,8.6,0,0,1-1.71-.22,2.05,2.05,0,0,1-.44-.08l-.11,0h-.13c-.34-.06-.7-.14-1.07-.23s-.64-.15-.94-.2a30.64,30.64,0,0,1-14.54-8.66c-.53-.53-1.08-1.19-1.6-1.82a36.39,36.39,0,0,1-8.29-16.79,22,22,0,0,1-.4-2.45l0-.25a26.75,26.75,0,0,1,1.1-11.45,7.78,7.78,0,0,0,.26-.77,7.54,7.54,0,0,1,.29-.88,14.78,14.78,0,0,1,1.33-3.08,29.56,29.56,0,0,1,1.57-2.89l-.24-.3a9.17,9.17,0,0,1,.92-.84,1.91,1.91,0,0,1,.14-.21c.55-.86,1.19-1.71,1.81-2.54.44-.59.92-1.12,1.38-1.63.23-.25.46-.5.67-.75l2.27-2.28,2.2-1.93.23-.39.26,0,.1,0,2.4-1.8c.87-.66,1.74-1.2,2.59-1.73.15-.1.31-.18.45-.26a1.93,1.93,0,0,0,.24-.14l.26-.19a9.33,9.33,0,0,0,1-.6,6.39,6.39,0,0,1,.58-.38,16.75,16.75,0,0,0,1.34-1.16A25.23,25.23,0,0,1,124,78.14a9,9,0,0,1,1-.78,6.25,6.25,0,0,0,.54-.4l.18-.11a3.35,3.35,0,0,0,.44-.29,7.38,7.38,0,0,1,.72-.46,21.14,21.14,0,0,1,2.8-1.25h-.05a2.56,2.56,0,0,0-.35-.09,2.54,2.54,0,0,1-.72-.22l-.12-.07a8.2,8.2,0,0,0-3.71-.94,10.57,10.57,0,0,1-3.06-.61A2.77,2.77,0,0,1,120,69.42a5.47,5.47,0,0,1,1.37-2.82c.21-.29.43-.59.64-.91l.17-.25.26-.12c.38-.17.8-.32,1.24-.47l.64-.23a6.15,6.15,0,0,0,1.7-.88l.15-.11.17-.05c.76-.22,1.52-.42,2.26-.6l.74-.18,1.08-.27,2.08-1.5c.83-.56,1.6-1.14,2.33-1.74a22,22,0,0,0,1.93-1.93,39.59,39.59,0,0,0,3.52-6.65c.33-.82.63-1.6.88-2.36,1.58-4,1.5-8.13,1.41-12.46,0-1,0-1.9,0-2.87a13.69,13.69,0,0,1-3.87,7.75,15,15,0,0,1-2.6,1.76,43,43,0,0,1-10.41,2.89c-4.35.81-8.46,1.58-12.33,4-.62.39-1.25.75-1.89,1.11l-1.1.62c-5.28,3-10.74,6-14.4,12.25l-.11.15c-.45.52-.88,1.06-1.29,1.61S93.71,66.36,93.3,67h0L91.56,66l1.16-1.82q.56-.85,1.11-1.68C97,54.89,102.76,48.65,107,44.73c.49-.5,1-1,1.53-1.59a18.52,18.52,0,0,0,4.61-7.45c.11-.61.21-1.29.31-1.95s.09-1.56.09-2.53v-.43l-.07.1a35.12,35.12,0,0,1-7.63,7.41,53.67,53.67,0,0,1-5.4,3.34l-.63.35a34.63,34.63,0,0,1-3.16,1.6l-1.81.88c-.6.29-1.2.57-1.83.89-.34.17-.67.31-1,.45s-.59.25-.89.39c-1.25.5-2.35,1-3.52,1.58l-1.16.55c-2.13,1.12-4.37,2.29-6.56,3.65-1.14.72-2.2,1.47-3.23,2.19l-2.82,2.19a46.2,46.2,0,0,0-4.64,4.33c-.38.39-.74.77-1.1,1.16s-.77.82-1.15,1.2-.65.77-1,1.19-.71.86-1.08,1.29l-.07.07v.11l-.81.81h-.15a1.18,1.18,0,0,1-.48.1H63l-.22-.1a2.26,2.26,0,0,1-.91-.75,1.34,1.34,0,0,1-.28-.71,1.54,1.54,0,0,1-.09-.3,5.31,5.31,0,0,1-.12-.6,3.17,3.17,0,0,0-.06-.35l-.05-.16v-.16s0,0,0-.07,0-.24-.07-.39a37.26,37.26,0,0,0-2.62-6.85A6.45,6.45,0,0,1,58,55l-.46-.74c-.19-.3-.38-.6-.54-.87a5.11,5.11,0,0,0-.59-.75l-.13-.16a3.4,3.4,0,0,0-.3-.39c-.12-.14-.24-.28-.34-.42h-.22a1.94,1.94,0,0,1,0,.33v1.08a59.57,59.57,0,0,1-.21,7.6l-.32,3.7c-.09,1.15-.27,2.2-.46,3.31l-.08.47c-.11.55-.18,1.06-.26,1.57s-.16,1.1-.27,1.64a57.5,57.5,0,0,1-1.28,5.74,14.21,14.21,0,0,1-.55,2c-.1.29-.17.59-.25.88s-.17.68-.28,1a60.32,60.32,0,0,1-2.89,7.17c-.41.93-.84,1.88-1.15,2.7l0,.1a7,7,0,0,0-.45,1.16l0,.12a68.07,68.07,0,0,0-2.4,7.61c-.41,1.64-.73,3.44-1,5.17a65.31,65.31,0,0,0-.73,8c-.11,2.48-.21,5-.11,7.43a43.29,43.29,0,0,0,.82,7.29,1.83,1.83,0,0,1-.22,1.76,1.11,1.11,0,0,1-.49.47,1.43,1.43,0,0,1-.81.22,1.18,1.18,0,0,1-.6-.14l-.2-.07h-.75v-.77l-.48-.26L39,128.5l-.49-.25a10.15,10.15,0,0,0-1.18-.54l-1.54-.61-.22-.07h0l-.19-.08a6.56,6.56,0,0,0-1.2-.35l-.36,0-.65-.15-.61-.14a1.42,1.42,0,0,1-.59-.16,6.31,6.31,0,0,0-1.07-.15h-.32a7.55,7.55,0,0,1-.8-.06c-.2,0-.4,0-.58,0H27a4.4,4.4,0,0,0-.51,0l-.65.06,0,0-2.09.4a.38.38,0,0,1-.11,0l.22.08.18.07a25.49,25.49,0,0,1,2.86,1.88c.42.31.81.6,1.29.89l.09.06a8.85,8.85,0,0,1,.69.58l.58.48A35.83,35.83,0,0,1,33.12,134a82,82,0,0,1,6.2,7.48c1,1.39,2,2.77,2.8,4.1,3.08,4.55,5.8,8.32,8.52,11.79h.22l.31.43c.17.26.37.5.56.74a11.81,11.81,0,0,1,.74,1c.65.82,1.41,1.73,2.29,2.74s1.76,2,2.68,2.95c1.9,2,3.88,4,5.89,5.88l.89.79c.28.25.56.51.86.76l.9.76a35.32,35.32,0,0,0,2.83,2.25l1,.73c1.13.82,2.19,1.59,3.38,2.3a64.91,64.91,0,0,0,14.19,6.68c.87.29,1.76.55,2.65.81,1.52.43,2.87.78,4.13,1.07.43.12.83.2,1.25.28l1.09.22a3.4,3.4,0,0,1,.65.09l.5.11,0,.09a4.64,4.64,0,0,1,1.11.14,5.14,5.14,0,0,1,.55.06,5.5,5.5,0,0,1,1.4.15,5.09,5.09,0,0,1,1.13.1h2.42a17.63,17.63,0,0,0,2.31-.1h.65c.4,0,.78,0,1.15-.05s.84-.06,1.29-.06l.17,0c1.09-.1,2.21-.2,3.24-.39,1.37-.21,2.75-.52,4.08-.83.81-.18,1.77-.46,2.87-.82Z" style="fill: #7d86fb"/>
8
+ </g>
9
+ </svg>
@@ -420,6 +420,8 @@ export default {
420
420
  title: "Admin Panel",
421
421
  status: "Status",
422
422
  refreshCache: "Refresh Cache",
423
+ refreshCacheSuccess: "Cache refreshed",
424
+ refreshCacheFailed: "Failed to refresh cache",
423
425
  visible: "Visibility",
424
426
  mark: "Recommended Badges",
425
427
  highlight: "Highlight & Pin",
@@ -413,6 +413,8 @@ export default {
413
413
  title: "Bảng quản trị",
414
414
  status: "Trạng thái",
415
415
  refreshCache: "Làm mới bộ nhớ đệm",
416
+ refreshCacheSuccess: "Đã làm mới bộ nhớ đệm",
417
+ refreshCacheFailed: "Không thể làm mới bộ nhớ đệm",
416
418
  visible: "Hiển thị",
417
419
  mark: "Nhãn đề xuất",
418
420
  highlight: "Nổi bật & ghim",
@@ -534,6 +534,8 @@ export default {
534
534
  title: "管理面板",
535
535
  status: "状态变更",
536
536
  refreshCache: "刷新缓存",
537
+ refreshCacheSuccess: "缓存刷新成功",
538
+ refreshCacheFailed: "缓存刷新失败",
537
539
  visible: "可见性变更",
538
540
  mark: "推荐角标",
539
541
  highlight: "高亮置顶",
@@ -413,6 +413,8 @@ export default {
413
413
  title: "管理面板",
414
414
  status: "狀態變更",
415
415
  refreshCache: "刷新快取",
416
+ refreshCacheSuccess: "快取刷新成功",
417
+ refreshCacheFailed: "快取刷新失敗",
416
418
  visible: "可見性變更",
417
419
  mark: "推薦角標",
418
420
  highlight: "高亮置頂",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.3.22",
3
+ "version": "2.3.23",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/service/admin.js CHANGED
@@ -12,9 +12,17 @@ function postSetting(data) {
12
12
  return $cms().put(`/api/cms/manage/post/${data.ID}`, data);
13
13
  }
14
14
 
15
+ function refreshPostCache(id) {
16
+ return $cms().get(`/api/cms/post/${id}`, {
17
+ params: {
18
+ __no_cache: 1,
19
+ },
20
+ });
21
+ }
22
+
15
23
  // 管理员发送私信
16
24
  function sendMessage(data) {
17
25
  return $cms().post(`/api/cms/manage/message`, data);
18
26
  }
19
27
 
20
- export { getSetting, postSetting, sendMessage };
28
+ export { getSetting, postSetting, refreshPostCache, sendMessage };
@@ -19,7 +19,12 @@
19
19
  option
20
20
  }}</el-radio-button>
21
21
  </el-radio-group>
22
- <el-button type="primary" class="u-refresh-btn" @click="onRefreshCache">{{
22
+ <el-button
23
+ type="primary"
24
+ class="u-refresh-btn"
25
+ :loading="refreshingCache"
26
+ @click="onRefreshCache"
27
+ >{{
23
28
  $jx3boxT("jx3boxUi.admin.refreshCache", "刷新缓存")
24
29
  }}</el-button>
25
30
  </div>
@@ -127,7 +132,7 @@ import Bus from "../../utils/bus";
127
132
  import * as utilModule from "@jx3box/jx3box-common/js/utils";
128
133
  const { getRewrite } = utilModule;
129
134
  import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
130
- import { getSetting, postSetting } from "../../service/admin";
135
+ import { getSetting, postSetting, refreshPostCache } from "../../service/admin";
131
136
  import User from "@jx3box/jx3box-common/js/user";
132
137
  import CMS_MARKS from "@jx3box/jx3box-common/data/mark.json";
133
138
  import { getTopicBucket } from "../../service/cms";
@@ -184,6 +189,7 @@ export default {
184
189
  // 数据
185
190
  pulled: false,
186
191
  pushing: false,
192
+ refreshingCache: false,
187
193
 
188
194
  // 权限
189
195
  hasRight: false,
@@ -376,11 +382,23 @@ export default {
376
382
  this.tags = data;
377
383
  });
378
384
  },
379
- onRefreshCache() {
380
- emitter.emit("refreshCache", {
381
- type: this.post_type,
382
- id: this.pid,
383
- });
385
+ async onRefreshCache() {
386
+ if (!this.pid || this.refreshingCache) return;
387
+
388
+ this.refreshingCache = true;
389
+ try {
390
+ await refreshPostCache(this.pid);
391
+ emitter.emit("refreshCache", {
392
+ type: this.post_type,
393
+ id: this.pid,
394
+ });
395
+ this.$message.success(this.$jx3boxT("jx3boxUi.admin.refreshCacheSuccess", "缓存刷新成功"));
396
+ } catch (err) {
397
+ this.$message.error(this.$jx3boxT("jx3boxUi.admin.refreshCacheFailed", "缓存刷新失败"));
398
+ console.error(err);
399
+ } finally {
400
+ this.refreshingCache = false;
401
+ }
384
402
  },
385
403
  },
386
404
  watch: {
@@ -439,6 +439,12 @@ export default {
439
439
  display: flex;
440
440
  justify-content: space-between;
441
441
 
442
+ .u-toolbar-left {
443
+ display: flex;
444
+ flex-wrap: wrap;
445
+ align-items: center;
446
+ }
447
+
442
448
  .u-toolbar-right {
443
449
  padding-right: 5px;
444
450
  }
@@ -451,8 +457,11 @@ export default {
451
457
  }
452
458
  }
453
459
  .u-date {
460
+ display: inline-flex;
461
+ align-items: center;
454
462
  color: #c0c4cc;
455
463
  margin-left: 20px;
464
+ line-height: 1;
456
465
  i {
457
466
  margin-right: 5px;
458
467
  }
@@ -67,9 +67,7 @@ export default {
67
67
  return editLink(this.postType, this.postId);
68
68
  },
69
69
  creators: function ({ other_authors }) {
70
- return other_authors.map((item) => {
71
- return item.author_id;
72
- });
70
+ return (other_authors || []).filter((item) => item.status).map((item) => item.author_id);
73
71
  },
74
72
  userId: function () {
75
73
  return ~~User.getInfo().uid;
@@ -90,7 +88,7 @@ export default {
90
88
  loadData: function () {
91
89
  getPostAuthors(this.id).then((res) => {
92
90
  this.super_author = res.data?.data.super_author;
93
- this.other_authors = res.data?.data.other_authors;
91
+ this.other_authors = (res.data?.data.other_authors || []).filter((item) => item.status);
94
92
 
95
93
  const super_author = {
96
94
  user_id: this.super_author.ID,