wui-components-v2 1.2.29 → 1.2.31

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.
@@ -282,7 +282,16 @@ console.log(props.buttons, '33333')
282
282
  @close="closeExportPopup"
283
283
  >
284
284
  <view class="export-popup bg-white dark:bg-[var(--wot-dark-background)]">
285
- <view class="export-popup__header text-black dark:text-[var(--wot-dark-color)]">导出</view>
285
+ <view class="export-popup__header">
286
+ <text class="text-black dark:text-[var(--wot-dark-color)]">导出</text>
287
+ <wd-icon
288
+ v-if="exportStatus !== 'running'"
289
+ name="close"
290
+ size="20px"
291
+ class="export-popup__close"
292
+ @click="closeExportPopup"
293
+ />
294
+ </view>
286
295
 
287
296
  <!-- 单选范围 -->
288
297
  <wd-radio-group
@@ -364,10 +373,16 @@ console.log(props.buttons, '33333')
364
373
  border-radius: 12px;
365
374
  }
366
375
  .export-popup__header {
376
+ display: flex;
377
+ align-items: center;
378
+ justify-content: space-between;
367
379
  font-size: 18px;
368
380
  font-weight: 600;
369
381
  margin-bottom: 20px;
370
382
  }
383
+ .export-popup__close {
384
+ color: #999;
385
+ }
371
386
  .export-popup__group {
372
387
  display: flex;
373
388
  justify-content: space-between;
@@ -515,9 +515,6 @@ console.log(props, 'props')
515
515
  :primary-criterion="config.primaryCriterion"
516
516
  @submit="submitSearch"
517
517
  />
518
- <view>
519
- <listTopButtons :buttons="config.buttons" :source-id="sourceId" :page-title="pageTitle" />
520
- </view>
521
518
  <slot name="top" />
522
519
  </template>
523
520
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wui-components-v2",
3
- "version": "1.2.29",
3
+ "version": "1.2.31",
4
4
  "description": "wui 组件库",
5
5
  "author": "wgxshh",
6
6
  "license": "MIT",