vue2-client 1.12.20 → 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
|
@@ -2,7 +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"
|
|
5
|
+
<a-card :key="'card' + itemIndex" class="data-card">
|
|
6
6
|
<div
|
|
7
7
|
v-if="config && card[config.ribbon]"
|
|
8
8
|
class="ribbon"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</div>
|
|
12
12
|
<!-- 自定义标题 -->
|
|
13
13
|
<template #title>
|
|
14
|
-
<div class="custom-title">
|
|
14
|
+
<div class="custom-title" @click="clickFooter(card, 'cardclick')">
|
|
15
15
|
<a-tooltip placement="top">
|
|
16
16
|
<template #title>{{ card[config.id] }}</template>
|
|
17
17
|
<div class="title-id" v-if="card[config.id]">{{ card[config.id] }}</div>
|
|
@@ -378,10 +378,6 @@ export default {
|
|
|
378
378
|
margin: 2px;
|
|
379
379
|
overflow: hidden;
|
|
380
380
|
|
|
381
|
-
&:hover {
|
|
382
|
-
cursor: pointer;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
381
|
::v-deep .ant-card-body {
|
|
386
382
|
padding: 15px !important; // 使用 !important 确保样式覆盖
|
|
387
383
|
}
|
|
@@ -467,6 +463,10 @@ export default {
|
|
|
467
463
|
align-items: center;
|
|
468
464
|
gap: 12px;
|
|
469
465
|
|
|
466
|
+
&:hover {
|
|
467
|
+
cursor: pointer;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
470
|
.title-id {
|
|
471
471
|
flex-shrink: 0;
|
|
472
472
|
width: 65px;
|