vue2-client 1.12.19 → 1.12.20

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.20",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -2,21 +2,7 @@
2
2
  <div>
3
3
  <div v-if="render" class="XCard">
4
4
  <template v-for="(card, itemIndex) in data">
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>-->
5
+ <a-card :key="'card' + itemIndex" class="data-card" @click="clickFooter(card, 'cardclick')">
20
6
  <div
21
7
  v-if="config && card[config.ribbon]"
22
8
  class="ribbon"
@@ -392,6 +378,10 @@ export default {
392
378
  margin: 2px;
393
379
  overflow: hidden;
394
380
 
381
+ &:hover {
382
+ cursor: pointer;
383
+ }
384
+
395
385
  ::v-deep .ant-card-body {
396
386
  padding: 15px !important; // 使用 !important 确保样式覆盖
397
387
  }
@@ -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'),