vue2-client 1.15.130 → 1.15.132
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 +111 -111
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +178 -107
- package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +165 -165
- package/src/base-client/components/common/HIS/HTab/HTab.vue +194 -111
- package/src/base-client/components/his/XSimpleTable/XSimpleTable.vue +119 -119
- package/src/components/STable/index.js +2 -12
- package/src/router/async/router.map.js +130 -128
- package/vue.config.js +3 -3
package/package.json
CHANGED
@@ -1,111 +1,111 @@
|
|
1
|
-
{
|
2
|
-
"name": "vue2-client",
|
3
|
-
"version": "1.15.
|
4
|
-
"private": false,
|
5
|
-
"scripts": {
|
6
|
-
"serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
|
7
|
-
"serve:gaslink": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode gaslink",
|
8
|
-
"serve:revenue": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode revenue",
|
9
|
-
"serve:liuli": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode liuli",
|
10
|
-
"serve:scada": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode scada",
|
11
|
-
"serve:iot": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode iot",
|
12
|
-
"serve:his": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode his",
|
13
|
-
"serve:runtime": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode runtime",
|
14
|
-
"serve:message": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode message",
|
15
|
-
"serve:apply": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode apply",
|
16
|
-
"mac-serve": "vue-cli-service serve --no-eslint --mode his",
|
17
|
-
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
18
|
-
"test:unit": "vue-cli-service test:unit",
|
19
|
-
"lint": "vue-cli-service lint",
|
20
|
-
"build:preview": "vue-cli-service build --mode preview",
|
21
|
-
"lint:nofix": "vue-cli-service lint --no-fix",
|
22
|
-
"test": "jest"
|
23
|
-
},
|
24
|
-
"dependencies": {
|
25
|
-
"@afwenming123/vue-easy-tree": "^1.0.1",
|
26
|
-
"@afwenming123/vue-plugin-hiprint": "^0.0.70",
|
27
|
-
"@amap/amap-jsapi-loader": "^1.0.1",
|
28
|
-
"@antv/data-set": "^0.11.8",
|
29
|
-
"@antv/g2plot": "^2.4.31",
|
30
|
-
"@hufe921/canvas-editor": "^0.9.49",
|
31
|
-
"@microsoft/fetch-event-source": "^2.0.1",
|
32
|
-
"@vue/babel-preset-jsx": "^1.4.0",
|
33
|
-
"animate.css": "^4.1.1",
|
34
|
-
"ant-design-vue": "^1.7.8",
|
35
|
-
"axios": "^0.27.2",
|
36
|
-
"clipboard": "^2.0.11",
|
37
|
-
"core-js": "^3.33.0",
|
38
|
-
"crypto-js": "^4.1.1",
|
39
|
-
"date-fns": "^2.29.3",
|
40
|
-
"default-passive-events": "^2.0.0",
|
41
|
-
"dotenv": "^16.3.1",
|
42
|
-
"echarts": "^5.5.0",
|
43
|
-
"enquire.js": "^2.1.6",
|
44
|
-
"file-saver": "^2.0.5",
|
45
|
-
"highlight.js": "^11.7.0",
|
46
|
-
"html2canvas": "^1.4.1",
|
47
|
-
"js-base64": "^3.7.5",
|
48
|
-
"js-cookie": "^2.2.1",
|
49
|
-
"jsencrypt": "^3.3.2",
|
50
|
-
"jspdf": "^2.5.1",
|
51
|
-
"lodash.clonedeep": "^4.5.0",
|
52
|
-
"lodash.debounce": "^4",
|
53
|
-
"lodash.get": "^4.4.2",
|
54
|
-
"marked": "^4",
|
55
|
-
"mockjs": "^1.1.0",
|
56
|
-
"nprogress": "^0.2.0",
|
57
|
-
"qs": "^6.11.2",
|
58
|
-
"regenerator-runtime": "^0.14.0",
|
59
|
-
"videojs-contrib-hls": "^5.15.0",
|
60
|
-
"viser-vue": "^2.4.8",
|
61
|
-
"vue": "^2.7.14",
|
62
|
-
"vue-codemirror": "4.0.6",
|
63
|
-
"vue-color": "2.7.0",
|
64
|
-
"vue-draggable-resizable": "^2.3.0",
|
65
|
-
"vue-i18n": "^8.28.2",
|
66
|
-
"vue-json-viewer": "^2.2.22",
|
67
|
-
"vue-router": "^3.6.5",
|
68
|
-
"vue-video-player": "^5.0.2",
|
69
|
-
"vue-virtual-scroller": "^1.1.2",
|
70
|
-
"vuedraggable": "^2.24.3",
|
71
|
-
"vuex": "^3.6.2",
|
72
|
-
"xlsx": "0.18.5"
|
73
|
-
},
|
74
|
-
"devDependencies": {
|
75
|
-
"@ant-design/colors": "^7.0.0",
|
76
|
-
"@babel/core": "^7.22.20",
|
77
|
-
"@babel/eslint-parser": "^7.22.15",
|
78
|
-
"@babel/preset-env": "^7.22.20",
|
79
|
-
"@vue/cli-plugin-babel": "^5.0.8",
|
80
|
-
"@vue/cli-plugin-eslint": "^5.0.8",
|
81
|
-
"@vue/cli-service": "^5.0.8",
|
82
|
-
"@vue/eslint-config-standard": "^8.0.1",
|
83
|
-
"@vue/test-utils": "^1.3.6",
|
84
|
-
"babel-plugin-transform-remove-console": "^6.9.4",
|
85
|
-
"compression-webpack-plugin": "^10.0.0",
|
86
|
-
"css-minimizer-webpack-plugin": "^5.0.1",
|
87
|
-
"deepmerge": "^4.3.1",
|
88
|
-
"eslint": "^8.51.0",
|
89
|
-
"eslint-plugin-vue": "^9.17.0",
|
90
|
-
"fast-deep-equal": "^3.1.3",
|
91
|
-
"ignore-loader": "^0.1.2",
|
92
|
-
"jest": "^29.7.0",
|
93
|
-
"jest-environment-jsdom": "^29.7.0",
|
94
|
-
"jest-transform-stub": "^2.0.0",
|
95
|
-
"less-loader": "^6.2.0",
|
96
|
-
"script-loader": "^0.7.2",
|
97
|
-
"style-resources-loader": "^1.5.0",
|
98
|
-
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
99
|
-
"vue-jest": "^4.0.1",
|
100
|
-
"vue-template-compiler": "^2.7.14",
|
101
|
-
"webpack": "^5.88.2",
|
102
|
-
"webpack-theme-color-replacer": "^1.4.7",
|
103
|
-
"whatwg-fetch": "^3.6.19"
|
104
|
-
},
|
105
|
-
"browserslist": [
|
106
|
-
"> 1%",
|
107
|
-
"last 2 versions",
|
108
|
-
"not dead",
|
109
|
-
"not ie 11"
|
110
|
-
]
|
111
|
-
}
|
1
|
+
{
|
2
|
+
"name": "vue2-client",
|
3
|
+
"version": "1.15.132",
|
4
|
+
"private": false,
|
5
|
+
"scripts": {
|
6
|
+
"serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
|
7
|
+
"serve:gaslink": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode gaslink",
|
8
|
+
"serve:revenue": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode revenue",
|
9
|
+
"serve:liuli": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode liuli",
|
10
|
+
"serve:scada": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode scada",
|
11
|
+
"serve:iot": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode iot",
|
12
|
+
"serve:his": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode his",
|
13
|
+
"serve:runtime": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode runtime",
|
14
|
+
"serve:message": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode message",
|
15
|
+
"serve:apply": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode apply",
|
16
|
+
"mac-serve": "vue-cli-service serve --no-eslint --mode his",
|
17
|
+
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
18
|
+
"test:unit": "vue-cli-service test:unit",
|
19
|
+
"lint": "vue-cli-service lint",
|
20
|
+
"build:preview": "vue-cli-service build --mode preview",
|
21
|
+
"lint:nofix": "vue-cli-service lint --no-fix",
|
22
|
+
"test": "jest"
|
23
|
+
},
|
24
|
+
"dependencies": {
|
25
|
+
"@afwenming123/vue-easy-tree": "^1.0.1",
|
26
|
+
"@afwenming123/vue-plugin-hiprint": "^0.0.70",
|
27
|
+
"@amap/amap-jsapi-loader": "^1.0.1",
|
28
|
+
"@antv/data-set": "^0.11.8",
|
29
|
+
"@antv/g2plot": "^2.4.31",
|
30
|
+
"@hufe921/canvas-editor": "^0.9.49",
|
31
|
+
"@microsoft/fetch-event-source": "^2.0.1",
|
32
|
+
"@vue/babel-preset-jsx": "^1.4.0",
|
33
|
+
"animate.css": "^4.1.1",
|
34
|
+
"ant-design-vue": "^1.7.8",
|
35
|
+
"axios": "^0.27.2",
|
36
|
+
"clipboard": "^2.0.11",
|
37
|
+
"core-js": "^3.33.0",
|
38
|
+
"crypto-js": "^4.1.1",
|
39
|
+
"date-fns": "^2.29.3",
|
40
|
+
"default-passive-events": "^2.0.0",
|
41
|
+
"dotenv": "^16.3.1",
|
42
|
+
"echarts": "^5.5.0",
|
43
|
+
"enquire.js": "^2.1.6",
|
44
|
+
"file-saver": "^2.0.5",
|
45
|
+
"highlight.js": "^11.7.0",
|
46
|
+
"html2canvas": "^1.4.1",
|
47
|
+
"js-base64": "^3.7.5",
|
48
|
+
"js-cookie": "^2.2.1",
|
49
|
+
"jsencrypt": "^3.3.2",
|
50
|
+
"jspdf": "^2.5.1",
|
51
|
+
"lodash.clonedeep": "^4.5.0",
|
52
|
+
"lodash.debounce": "^4",
|
53
|
+
"lodash.get": "^4.4.2",
|
54
|
+
"marked": "^4",
|
55
|
+
"mockjs": "^1.1.0",
|
56
|
+
"nprogress": "^0.2.0",
|
57
|
+
"qs": "^6.11.2",
|
58
|
+
"regenerator-runtime": "^0.14.0",
|
59
|
+
"videojs-contrib-hls": "^5.15.0",
|
60
|
+
"viser-vue": "^2.4.8",
|
61
|
+
"vue": "^2.7.14",
|
62
|
+
"vue-codemirror": "4.0.6",
|
63
|
+
"vue-color": "2.7.0",
|
64
|
+
"vue-draggable-resizable": "^2.3.0",
|
65
|
+
"vue-i18n": "^8.28.2",
|
66
|
+
"vue-json-viewer": "^2.2.22",
|
67
|
+
"vue-router": "^3.6.5",
|
68
|
+
"vue-video-player": "^5.0.2",
|
69
|
+
"vue-virtual-scroller": "^1.1.2",
|
70
|
+
"vuedraggable": "^2.24.3",
|
71
|
+
"vuex": "^3.6.2",
|
72
|
+
"xlsx": "0.18.5"
|
73
|
+
},
|
74
|
+
"devDependencies": {
|
75
|
+
"@ant-design/colors": "^7.0.0",
|
76
|
+
"@babel/core": "^7.22.20",
|
77
|
+
"@babel/eslint-parser": "^7.22.15",
|
78
|
+
"@babel/preset-env": "^7.22.20",
|
79
|
+
"@vue/cli-plugin-babel": "^5.0.8",
|
80
|
+
"@vue/cli-plugin-eslint": "^5.0.8",
|
81
|
+
"@vue/cli-service": "^5.0.8",
|
82
|
+
"@vue/eslint-config-standard": "^8.0.1",
|
83
|
+
"@vue/test-utils": "^1.3.6",
|
84
|
+
"babel-plugin-transform-remove-console": "^6.9.4",
|
85
|
+
"compression-webpack-plugin": "^10.0.0",
|
86
|
+
"css-minimizer-webpack-plugin": "^5.0.1",
|
87
|
+
"deepmerge": "^4.3.1",
|
88
|
+
"eslint": "^8.51.0",
|
89
|
+
"eslint-plugin-vue": "^9.17.0",
|
90
|
+
"fast-deep-equal": "^3.1.3",
|
91
|
+
"ignore-loader": "^0.1.2",
|
92
|
+
"jest": "^29.7.0",
|
93
|
+
"jest-environment-jsdom": "^29.7.0",
|
94
|
+
"jest-transform-stub": "^2.0.0",
|
95
|
+
"less-loader": "^6.2.0",
|
96
|
+
"script-loader": "^0.7.2",
|
97
|
+
"style-resources-loader": "^1.5.0",
|
98
|
+
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
99
|
+
"vue-jest": "^4.0.1",
|
100
|
+
"vue-template-compiler": "^2.7.14",
|
101
|
+
"webpack": "^5.88.2",
|
102
|
+
"webpack-theme-color-replacer": "^1.4.7",
|
103
|
+
"whatwg-fetch": "^3.6.19"
|
104
|
+
},
|
105
|
+
"browserslist": [
|
106
|
+
"> 1%",
|
107
|
+
"last 2 versions",
|
108
|
+
"not dead",
|
109
|
+
"not ie 11"
|
110
|
+
]
|
111
|
+
}
|
@@ -1,107 +1,178 @@
|
|
1
|
-
<script setup lang="ts">
|
2
|
-
import XButtons from '@vue2-client/base-client/components/common/XButtons/XButtons.vue'
|
3
|
-
import { ref } from 'vue'
|
4
|
-
|
5
|
-
defineProps({
|
6
|
-
// HButtons特有的属性
|
7
|
-
buttonStyle: {
|
8
|
-
type: String,
|
9
|
-
default: 'button24'
|
10
|
-
}
|
11
|
-
})
|
12
|
-
|
13
|
-
// 内部 XButtons 实例引用
|
14
|
-
const xButtonsRef = ref()
|
15
|
-
|
16
|
-
// 暴露方法:获取内部 XButtons 实例
|
17
|
-
defineExpose({
|
18
|
-
getXButtonsInstance: function () { return xButtonsRef.value }
|
19
|
-
})
|
20
|
-
</script>
|
21
|
-
|
22
|
-
<template>
|
23
|
-
<div
|
24
|
-
class="h-buttons-wrapper"
|
25
|
-
:class="[
|
26
|
-
`h-buttons-${buttonStyle}`
|
27
|
-
]"
|
28
|
-
>
|
29
|
-
<x-buttons
|
30
|
-
ref="xButtonsRef"
|
31
|
-
v-bind="$attrs"
|
32
|
-
v-on="$listeners"
|
33
|
-
>
|
34
|
-
<template v-for="(_, name) in $slots" #[name]="slotData">
|
35
|
-
<slot :name="name" v-bind="slotData" />
|
36
|
-
</template>
|
37
|
-
</x-buttons>
|
38
|
-
</div>
|
39
|
-
</template>
|
40
|
-
|
41
|
-
<style scoped lang="less">
|
42
|
-
.h-buttons-wrapper {
|
43
|
-
// 基础样式
|
44
|
-
:deep(.ant-btn-group) {
|
45
|
-
.ant-btn {
|
46
|
-
border-radius: 6px;
|
47
|
-
background-color: #FFFFFF;
|
48
|
-
border: 1px solid #9499A0;
|
49
|
-
color: #313131;
|
50
|
-
font-weight: normal;
|
51
|
-
letter-spacing: 0em;
|
52
|
-
width: 110px;
|
53
|
-
font-size: 16px;
|
54
|
-
font-family: "Source Han Sans";
|
55
|
-
line-height: normal;
|
56
|
-
margin-right: 25px;
|
57
|
-
height: 32px;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
|
61
|
-
// button24样式
|
62
|
-
&.h-buttons-button24 {
|
63
|
-
:deep(.ant-btn-group) {
|
64
|
-
.ant-btn {
|
65
|
-
border: 1px solid #CDCDCD;
|
66
|
-
color: #5D5C5C;
|
67
|
-
font-weight: normal;
|
68
|
-
letter-spacing: 0em;
|
69
|
-
font-size: 16px;
|
70
|
-
line-height: normal;
|
71
|
-
margin-right: 25px;
|
72
|
-
border-radius: 6px;
|
73
|
-
background-color: #FFFFFF;
|
74
|
-
// 这个不合理
|
75
|
-
// top: -100px;
|
76
|
-
width: fit-content;
|
77
|
-
min-width: 110px;
|
78
|
-
font-family: "Source Han Sans";
|
79
|
-
height: 32px;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
// button23样式
|
85
|
-
&.h-buttons-button23 {
|
86
|
-
:deep(.ant-btn-group) {
|
87
|
-
.ant-btn {
|
88
|
-
border: none;
|
89
|
-
padding: 0 !important;
|
90
|
-
color: #FFFFFF;
|
91
|
-
font-weight: normal;
|
92
|
-
letter-spacing: 0em;
|
93
|
-
font-size: 16px;
|
94
|
-
line-height: normal;
|
95
|
-
border-radius: 50%;
|
96
|
-
background-color: #1890FF;
|
97
|
-
margin-left: 10px;
|
98
|
-
top: -88px;
|
99
|
-
width: 30px;
|
100
|
-
font-family: "Source Han Sans";
|
101
|
-
height: 30px;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
|
107
|
-
|
1
|
+
<script setup lang="ts">
|
2
|
+
import XButtons from '@vue2-client/base-client/components/common/XButtons/XButtons.vue'
|
3
|
+
import { ref } from 'vue'
|
4
|
+
|
5
|
+
defineProps({
|
6
|
+
// HButtons特有的属性
|
7
|
+
buttonStyle: {
|
8
|
+
type: String,
|
9
|
+
default: 'button24'
|
10
|
+
}
|
11
|
+
})
|
12
|
+
|
13
|
+
// 内部 XButtons 实例引用
|
14
|
+
const xButtonsRef = ref()
|
15
|
+
|
16
|
+
// 暴露方法:获取内部 XButtons 实例
|
17
|
+
defineExpose({
|
18
|
+
getXButtonsInstance: function () { return xButtonsRef.value }
|
19
|
+
})
|
20
|
+
</script>
|
21
|
+
|
22
|
+
<template>
|
23
|
+
<div
|
24
|
+
class="h-buttons-wrapper"
|
25
|
+
:class="[
|
26
|
+
`h-buttons-${buttonStyle}`
|
27
|
+
]"
|
28
|
+
>
|
29
|
+
<x-buttons
|
30
|
+
ref="xButtonsRef"
|
31
|
+
v-bind="$attrs"
|
32
|
+
v-on="$listeners"
|
33
|
+
>
|
34
|
+
<template v-for="(_, name) in $slots" #[name]="slotData">
|
35
|
+
<slot :name="name" v-bind="slotData" />
|
36
|
+
</template>
|
37
|
+
</x-buttons>
|
38
|
+
</div>
|
39
|
+
</template>
|
40
|
+
|
41
|
+
<style scoped lang="less">
|
42
|
+
.h-buttons-wrapper {
|
43
|
+
// 基础样式
|
44
|
+
:deep(.ant-btn-group) {
|
45
|
+
.ant-btn {
|
46
|
+
border-radius: 6px;
|
47
|
+
background-color: #FFFFFF;
|
48
|
+
border: 1px solid #9499A0;
|
49
|
+
color: #313131;
|
50
|
+
font-weight: normal;
|
51
|
+
letter-spacing: 0em;
|
52
|
+
width: 110px;
|
53
|
+
font-size: 16px;
|
54
|
+
font-family: "Source Han Sans";
|
55
|
+
line-height: normal;
|
56
|
+
margin-right: 25px;
|
57
|
+
height: 32px;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
// button24样式
|
62
|
+
&.h-buttons-button24 {
|
63
|
+
:deep(.ant-btn-group) {
|
64
|
+
.ant-btn {
|
65
|
+
border: 1px solid #CDCDCD;
|
66
|
+
color: #5D5C5C;
|
67
|
+
font-weight: normal;
|
68
|
+
letter-spacing: 0em;
|
69
|
+
font-size: 16px;
|
70
|
+
line-height: normal;
|
71
|
+
margin-right: 25px;
|
72
|
+
border-radius: 6px;
|
73
|
+
background-color: #FFFFFF;
|
74
|
+
// 这个不合理
|
75
|
+
// top: -100px;
|
76
|
+
width: fit-content;
|
77
|
+
min-width: 110px;
|
78
|
+
font-family: "Source Han Sans";
|
79
|
+
height: 32px;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
// button23样式
|
85
|
+
&.h-buttons-button23 {
|
86
|
+
:deep(.ant-btn-group) {
|
87
|
+
.ant-btn {
|
88
|
+
border: none;
|
89
|
+
padding: 0 !important;
|
90
|
+
color: #FFFFFF;
|
91
|
+
font-weight: normal;
|
92
|
+
letter-spacing: 0em;
|
93
|
+
font-size: 16px;
|
94
|
+
line-height: normal;
|
95
|
+
border-radius: 50%;
|
96
|
+
background-color: #1890FF;
|
97
|
+
margin-left: 10px;
|
98
|
+
top: -88px;
|
99
|
+
width: 30px;
|
100
|
+
font-family: "Source Han Sans";
|
101
|
+
height: 30px;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// +号样式
|
107
|
+
&.h-buttons-table-height-button23 {
|
108
|
+
:deep(.ant-btn-group) {
|
109
|
+
display: inline-flex;
|
110
|
+
align-items: center;
|
111
|
+
height: 100%;
|
112
|
+
|
113
|
+
.ant-btn {
|
114
|
+
display: inline-flex;
|
115
|
+
align-items: center;
|
116
|
+
justify-content: center;
|
117
|
+
border: none;
|
118
|
+
padding: 0 !important;
|
119
|
+
color: #FFFFFF;
|
120
|
+
font-weight: normal;
|
121
|
+
letter-spacing: 0em;
|
122
|
+
font-size: 16px;
|
123
|
+
line-height: normal;
|
124
|
+
border-radius: 50%;
|
125
|
+
background-color: #1890FF;
|
126
|
+
margin-left: 10px;
|
127
|
+
width: 30px;
|
128
|
+
font-family: "Source Han Sans";
|
129
|
+
height: 30px;
|
130
|
+
/* 自适应上移:按按钮自身高度百分比位移 */
|
131
|
+
transform: translateY(-100%);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
// 居中+悬停高亮的新样式
|
137
|
+
&.h-buttons-plus-center {
|
138
|
+
:deep(.ant-btn-group) {
|
139
|
+
display: flex;
|
140
|
+
align-items: center;
|
141
|
+
justify-content: center;
|
142
|
+
gap: 16px;
|
143
|
+
|
144
|
+
.ant-btn {
|
145
|
+
display: inline-flex;
|
146
|
+
align-items: center;
|
147
|
+
justify-content: center;
|
148
|
+
border: 1px solid #CDCDCD;
|
149
|
+
background-color: #FFFFFF;
|
150
|
+
color: #5D5C5C;
|
151
|
+
border-radius: 6px;
|
152
|
+
min-width: 110px;
|
153
|
+
height: 32px;
|
154
|
+
font-size: 16px;
|
155
|
+
font-family: "Source Han Sans";
|
156
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
|
157
|
+
|
158
|
+
&:hover {
|
159
|
+
background-color: #0057FE;
|
160
|
+
border-color: #0057FE;
|
161
|
+
color: #FFFFFF;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
// 水印图标与按钮容器布局调整
|
168
|
+
&.h-buttons-button-watermark-icon {
|
169
|
+
:deep(.watermark-icon) { transform: translate(-50%, -54%) !important; }
|
170
|
+
:deep(.x-button) { display: flex !important; }
|
171
|
+
:deep(.ant-btn-group) {
|
172
|
+
margin: 0 auto;
|
173
|
+
display: block;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
}
|
178
|
+
</style>
|