vue2-client 1.12.19 → 1.12.21

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.12.19",
3
+ "version": "1.12.21",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -3,20 +3,6 @@
3
3
  <div v-if="render" class="XCard">
4
4
  <template v-for="(card, itemIndex) in data">
5
5
  <a-card :key="'card' + itemIndex" class="data-card">
6
- <!-- 绑带 -->
7
- <!-- <div class="ribbon" v-for="column in tableColumns" v-if="column.dataIndex === item.key" :key="column.dataIndex">-->
8
- <!-- <template v-if="column.slotType === 'badge'">-->
9
- <!-- <x-badge-->
10
- <!-- :service-name="serviceName"-->
11
- <!-- :env="env"-->
12
- <!-- :dataCard="true"-->
13
- <!-- :badge-key="column.slotKeyMap"-->
14
- <!-- :value="card[item.key]" />-->
15
- <!-- </template>-->
16
- <!-- <template v-else>-->
17
- <!-- <slot :name="column.slots.customRender">{{ card[config.bandage] }}</slot>-->
18
- <!-- </template>-->
19
- <!-- </div>-->
20
6
  <div
21
7
  v-if="config && card[config.ribbon]"
22
8
  class="ribbon"
@@ -25,7 +11,7 @@
25
11
  </div>
26
12
  <!-- 自定义标题 -->
27
13
  <template #title>
28
- <div class="custom-title">
14
+ <div class="custom-title" @click="clickFooter(card, 'cardclick')">
29
15
  <a-tooltip placement="top">
30
16
  <template #title>{{ card[config.id] }}</template>
31
17
  <div class="title-id" v-if="card[config.id]">{{ card[config.id] }}</div>
@@ -477,6 +463,10 @@ export default {
477
463
  align-items: center;
478
464
  gap: 12px;
479
465
 
466
+ &:hover {
467
+ cursor: pointer;
468
+ }
469
+
480
470
  .title-id {
481
471
  flex-shrink: 0;
482
472
  width: 65px;
@@ -52,8 +52,8 @@ routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynami
52
52
  routerResource.example = {
53
53
  path: 'example',
54
54
  name: '示例主页面',
55
- component: () => import('@vue2-client/base-client/components/common/XCollapse/XCollapse.vue'),
56
- // component: () => import('@vue2-client/base-client/components/common/XDataCard/XDataCard.vue'),
55
+ // component: () => import('@vue2-client/base-client/components/common/XCollapse/XCollapse.vue'),
56
+ component: () => import('@vue2-client/base-client/components/common/XDataCard/XDataCard.vue'),
57
57
  // component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
58
58
  // component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
59
59
  // component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),