rayyy-vue-table-components 2.0.28 → 2.0.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.
package/package.json
CHANGED
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
.sub-title {
|
|
27
27
|
@apply pb-2 font-bold text-base;
|
|
28
28
|
}
|
|
29
|
+
.sub-title_border {
|
|
30
|
+
@apply border-b mb-4 border-b-text-border/10 border-solid;
|
|
31
|
+
@apply border-t-0 border-x-0;
|
|
32
|
+
}
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
|
|
@@ -34,6 +38,11 @@
|
|
|
34
38
|
@apply flex items-center justify-end;
|
|
35
39
|
}
|
|
36
40
|
}
|
|
41
|
+
.normal-header {
|
|
42
|
+
.el-dialog__header {
|
|
43
|
+
@apply border-b-text-border/10;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
37
46
|
|
|
38
47
|
// 警告對話框樣式
|
|
39
48
|
.waring-dialog {
|
|
@@ -3,6 +3,7 @@ import { computed } from 'vue'
|
|
|
3
3
|
import { useI18n } from 'vue-i18n'
|
|
4
4
|
import { useWindowSize } from '@vueuse/core'
|
|
5
5
|
import BaseBtn from './BaseBtn.vue'
|
|
6
|
+
import _ from 'lodash'
|
|
6
7
|
|
|
7
8
|
const { t } = useI18n()
|
|
8
9
|
|
|
@@ -57,7 +58,11 @@ const handleSubmit = () => {
|
|
|
57
58
|
:close-on-click-modal="false"
|
|
58
59
|
center
|
|
59
60
|
class="rounded-md base-dialog"
|
|
60
|
-
:class="{
|
|
61
|
+
:class="{
|
|
62
|
+
'waring-dialog': props.isWaring,
|
|
63
|
+
'upload-result-dialog': props.isPrimary,
|
|
64
|
+
'normal-header': !props.isPrimary && !props.isWaring,
|
|
65
|
+
}"
|
|
61
66
|
align-center
|
|
62
67
|
destroy-on-close
|
|
63
68
|
append-to-body
|
|
@@ -76,7 +81,7 @@ const handleSubmit = () => {
|
|
|
76
81
|
<div
|
|
77
82
|
class="sub-title"
|
|
78
83
|
:class="{
|
|
79
|
-
'
|
|
84
|
+
'sub-title_border': !_.isEmpty(subTitle),
|
|
80
85
|
}"
|
|
81
86
|
>
|
|
82
87
|
{{ subTitle }}
|