bhd-components 0.9.17 → 0.9.18
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/dist/index.esm.es5.development.css +1165 -1127
- package/dist/index.esm.es5.development.js +108 -61
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1 -1
- package/dist/vendor.esm.es5.production.js +1 -1
- package/es2017/customerService/index.module.less +15 -4
- package/es2017/customerService/index2.module.less +14 -4
- package/es2017/icons/components/custom-screen-xuanzuan.d.ts +4 -0
- package/es2017/icons/components/custom-screen-xuanzuan.js +28 -0
- package/es2017/icons/components/custom-xuanzuan.js +16 -14
- package/es2017/icons/components/index.d.ts +1 -0
- package/es2017/icons/components/index.js +1 -0
- package/es2017/viewImage/index(/345/216/237).d.ts +31 -0
- package/es2017/viewImage/index(/345/216/237).js +384 -0
- package/es2017/viewImage/index.d.ts +1 -0
- package/es2017/viewImage/index.js +90 -45
- package/es2017/viewImage/index.module(/345/216/237).less +173 -0
- package/es2017/viewImage/index.module.less +29 -9
- package/esm/customerService/index.module.less +15 -4
- package/esm/customerService/index2.module.less +14 -4
- package/esm/icons/components/custom-screen-xuanzuan.d.ts +4 -0
- package/esm/icons/components/custom-screen-xuanzuan.js +30 -0
- package/esm/icons/components/custom-xuanzuan.js +16 -14
- package/esm/icons/components/index.d.ts +1 -0
- package/esm/icons/components/index.js +1 -0
- package/esm/viewImage/index(/345/216/237).d.ts +31 -0
- package/esm/viewImage/index(/345/216/237).js +480 -0
- package/esm/viewImage/index.d.ts +1 -0
- package/esm/viewImage/index.js +90 -45
- package/esm/viewImage/index.module(/345/216/237).less +173 -0
- package/esm/viewImage/index.module.less +29 -9
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import * as React from "react";
|
|
|
6
6
|
import { useRef, useImperativeHandle, forwardRef } from "react";
|
|
7
7
|
import styles from "./index.module.less";
|
|
8
8
|
import { Modal } from "antd";
|
|
9
|
-
import { LeftOutlined, RightOutlined, MinusOutlined, PlusOutlined, CustomClose,
|
|
9
|
+
import { LeftOutlined, RightOutlined, MinusOutlined, PlusOutlined, CustomClose, CustomScreenXuanZuan, CustomDownLoad } from "../icons";
|
|
10
10
|
import { getStyle } from "../utils/dom";
|
|
11
11
|
import { Loading } from "../images";
|
|
12
12
|
import BhdTipModal from "../bhdTipModal";
|
|
@@ -38,23 +38,58 @@ class ViewImage extends React.Component {
|
|
|
38
38
|
/*#__PURE__*/ _jsxs("div", {
|
|
39
39
|
className: styles.viewImgContent,
|
|
40
40
|
children: [
|
|
41
|
+
this.state.actionCloseFlag === 1 && /*#__PURE__*/ _jsx("div", {
|
|
42
|
+
className: `${styles.viewImgAction} ${styles.actionTop}`,
|
|
43
|
+
children: /*#__PURE__*/ _jsx("span", {
|
|
44
|
+
// id="actionClose"
|
|
45
|
+
// style={{right:`calc(-40px + (-12px * (1 / ${scaleValue / 100}) ))` ,transform: `scale(calc(1 / ${scaleValue / 100}),calc(1 / ${scaleValue / 100}))`,transformOrigin: `top left`}}
|
|
46
|
+
className: styles.viewImgActionClose,
|
|
47
|
+
title: "关闭",
|
|
48
|
+
onClick: this.close,
|
|
49
|
+
children: /*#__PURE__*/ _jsx(CustomClose, {})
|
|
50
|
+
})
|
|
51
|
+
}),
|
|
41
52
|
/*#__PURE__*/ _jsxs("div", {
|
|
42
53
|
className: styles.viewImgAction,
|
|
43
54
|
children: [
|
|
44
55
|
/*#__PURE__*/ _jsx("span", {
|
|
45
56
|
title: "旋转",
|
|
46
57
|
onClick: this.rotate,
|
|
47
|
-
children: /*#__PURE__*/ _jsx(
|
|
58
|
+
children: /*#__PURE__*/ _jsx(CustomScreenXuanZuan, {})
|
|
48
59
|
}),
|
|
49
60
|
download && !imgError && /*#__PURE__*/ _jsx("span", {
|
|
50
61
|
title: "下载",
|
|
51
62
|
onClick: this.downloadUrl,
|
|
52
63
|
children: /*#__PURE__*/ _jsx(CustomDownLoad, {})
|
|
53
64
|
}),
|
|
54
|
-
/*#__PURE__*/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
65
|
+
/*#__PURE__*/ _jsxs("div", {
|
|
66
|
+
className: styles.viewImgBodyScale,
|
|
67
|
+
children: [
|
|
68
|
+
/*#__PURE__*/ _jsx("span", {
|
|
69
|
+
className: styles.viewImgBodyScale_minu,
|
|
70
|
+
onClick: ()=>{
|
|
71
|
+
scaleValue = scaleValue - 10;
|
|
72
|
+
this.scaleChange(scaleValue);
|
|
73
|
+
},
|
|
74
|
+
children: /*#__PURE__*/ _jsx(MinusOutlined, {})
|
|
75
|
+
}),
|
|
76
|
+
/*#__PURE__*/ _jsxs("span", {
|
|
77
|
+
className: styles.viewImgBodyScale_value,
|
|
78
|
+
onClick: this.reset,
|
|
79
|
+
children: [
|
|
80
|
+
scaleValue,
|
|
81
|
+
"%"
|
|
82
|
+
]
|
|
83
|
+
}),
|
|
84
|
+
/*#__PURE__*/ _jsx("span", {
|
|
85
|
+
className: styles.viewImgBodyScale_add,
|
|
86
|
+
onClick: ()=>{
|
|
87
|
+
scaleValue = scaleValue + 10;
|
|
88
|
+
this.scaleChange(scaleValue);
|
|
89
|
+
},
|
|
90
|
+
children: /*#__PURE__*/ _jsx(PlusOutlined, {})
|
|
91
|
+
})
|
|
92
|
+
]
|
|
58
93
|
})
|
|
59
94
|
]
|
|
60
95
|
}),
|
|
@@ -69,20 +104,40 @@ class ViewImage extends React.Component {
|
|
|
69
104
|
color: "#FFFFFF"
|
|
70
105
|
},
|
|
71
106
|
children: imgSrc ? "图片加载错误" : "暂无内容"
|
|
72
|
-
}) : /*#__PURE__*/
|
|
73
|
-
src: imgSrc,
|
|
74
|
-
alt: "图片加载错误",
|
|
75
|
-
draggable: "false",
|
|
107
|
+
}) : /*#__PURE__*/ _jsxs("div", {
|
|
76
108
|
onMouseDown: this.moveImg,
|
|
77
109
|
style: {
|
|
78
|
-
transform: `scale(${scaleValue / 100},${scaleValue / 100})
|
|
110
|
+
transform: `scale(${scaleValue / 100},${scaleValue / 100})`,
|
|
79
111
|
left: imgLeft == "auto" ? "auto" : imgLeft + "px",
|
|
80
112
|
top: imgTop == "auto" ? "auto" : imgTop + "px"
|
|
81
113
|
},
|
|
82
114
|
className: styles.viewImgBody_pic,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
115
|
+
children: [
|
|
116
|
+
/*#__PURE__*/ _jsx("img", {
|
|
117
|
+
id: "viewImgBody_pic",
|
|
118
|
+
src: imgSrc,
|
|
119
|
+
alt: "图片加载错误",
|
|
120
|
+
draggable: "false",
|
|
121
|
+
style: {
|
|
122
|
+
transform: `rotate(${rotateValue}deg)`
|
|
123
|
+
},
|
|
124
|
+
onLoad: this.imgLoad,
|
|
125
|
+
onError: this.imgErr
|
|
126
|
+
}, "img"),
|
|
127
|
+
this.state.actionCloseFlag === 0 && /*#__PURE__*/ _jsx("span", {
|
|
128
|
+
id: "actionClose",
|
|
129
|
+
style: {
|
|
130
|
+
right: `calc(-40px + (-12px * (1 / ${scaleValue / 100}) ))`,
|
|
131
|
+
transform: `scale(calc(1 / ${scaleValue / 100}),calc(1 / ${scaleValue / 100}))`,
|
|
132
|
+
transformOrigin: `top left`
|
|
133
|
+
},
|
|
134
|
+
className: styles.viewImgActionClose,
|
|
135
|
+
title: "关闭",
|
|
136
|
+
onClick: this.close,
|
|
137
|
+
children: /*#__PURE__*/ _jsx(CustomClose, {})
|
|
138
|
+
})
|
|
139
|
+
]
|
|
140
|
+
}),
|
|
86
141
|
multiSelect && /*#__PURE__*/ _jsxs(_Fragment, {
|
|
87
142
|
children: [
|
|
88
143
|
this.state.curIndex !== 0 && /*#__PURE__*/ _jsx("div", {
|
|
@@ -98,35 +153,6 @@ class ViewImage extends React.Component {
|
|
|
98
153
|
]
|
|
99
154
|
})
|
|
100
155
|
]
|
|
101
|
-
}),
|
|
102
|
-
/*#__PURE__*/ _jsxs("div", {
|
|
103
|
-
className: styles.viewImgBodyScale,
|
|
104
|
-
children: [
|
|
105
|
-
/*#__PURE__*/ _jsx("span", {
|
|
106
|
-
className: styles.viewImgBodyScale_minu,
|
|
107
|
-
onClick: ()=>{
|
|
108
|
-
scaleValue = scaleValue - 10;
|
|
109
|
-
this.scaleChange(scaleValue);
|
|
110
|
-
},
|
|
111
|
-
children: /*#__PURE__*/ _jsx(MinusOutlined, {})
|
|
112
|
-
}),
|
|
113
|
-
/*#__PURE__*/ _jsxs("span", {
|
|
114
|
-
className: styles.viewImgBodyScale_value,
|
|
115
|
-
onClick: this.reset,
|
|
116
|
-
children: [
|
|
117
|
-
scaleValue,
|
|
118
|
-
"%"
|
|
119
|
-
]
|
|
120
|
-
}),
|
|
121
|
-
/*#__PURE__*/ _jsx("span", {
|
|
122
|
-
className: styles.viewImgBodyScale_add,
|
|
123
|
-
onClick: ()=>{
|
|
124
|
-
scaleValue = scaleValue + 10;
|
|
125
|
-
this.scaleChange(scaleValue);
|
|
126
|
-
},
|
|
127
|
-
children: /*#__PURE__*/ _jsx(PlusOutlined, {})
|
|
128
|
-
})
|
|
129
|
-
]
|
|
130
156
|
})
|
|
131
157
|
]
|
|
132
158
|
}),
|
|
@@ -150,7 +176,8 @@ class ViewImage extends React.Component {
|
|
|
150
176
|
loading: false,
|
|
151
177
|
curIndex: 0,
|
|
152
178
|
multiSelect: false,
|
|
153
|
-
imgError: false
|
|
179
|
+
imgError: false,
|
|
180
|
+
actionCloseFlag: 0 // 关闭按钮位置 0是跟随图片 1固定右上角
|
|
154
181
|
});
|
|
155
182
|
_define_property(this, "scaleChange", (value)=>{
|
|
156
183
|
let { maxScale, minScale } = this.state;
|
|
@@ -162,8 +189,24 @@ class ViewImage extends React.Component {
|
|
|
162
189
|
}
|
|
163
190
|
this.setState({
|
|
164
191
|
scaleValue: value
|
|
192
|
+
}, ()=>{
|
|
193
|
+
this.moveActionClose();
|
|
165
194
|
});
|
|
166
195
|
});
|
|
196
|
+
_define_property(this, "moveActionClose", ()=>{
|
|
197
|
+
setTimeout(()=>{
|
|
198
|
+
const rect = document.getElementById('viewImgBody_pic').getBoundingClientRect();
|
|
199
|
+
if (rect.top >= 0 && rect.top <= (window.innerHeight || document.documentElement.clientHeight) - 40 && rect.right <= (window.innerWidth || document.documentElement.clientWidth) - 52) {
|
|
200
|
+
this.setState({
|
|
201
|
+
actionCloseFlag: 0
|
|
202
|
+
});
|
|
203
|
+
} else {
|
|
204
|
+
this.setState({
|
|
205
|
+
actionCloseFlag: 1
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
}, 10);
|
|
209
|
+
});
|
|
167
210
|
_define_property(this, "moveImg", (ev)=>{
|
|
168
211
|
let { imgLeft, imgTop } = this.state;
|
|
169
212
|
ev.preventDefault();
|
|
@@ -181,7 +224,9 @@ class ViewImage extends React.Component {
|
|
|
181
224
|
this.setState({
|
|
182
225
|
imgLeft: ev.pageX - disx,
|
|
183
226
|
imgTop: ev.pageY - disy
|
|
184
|
-
}, ()=>{
|
|
227
|
+
}, ()=>{
|
|
228
|
+
this.moveActionClose();
|
|
229
|
+
});
|
|
185
230
|
};
|
|
186
231
|
const mouseUp = ()=>{
|
|
187
232
|
document.removeEventListener("mousemove", mouseMove);
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@import "../theme/variable.less";
|
|
2
|
+
.AppViewImage {
|
|
3
|
+
:global {
|
|
4
|
+
.bhd-modal {
|
|
5
|
+
width: 100% !important;
|
|
6
|
+
height: 100% !important;
|
|
7
|
+
min-height: 600px;
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
max-width: none;
|
|
12
|
+
.bhd-modal-content {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
background: transparent;
|
|
16
|
+
box-shadow: none;
|
|
17
|
+
border-radius: none;
|
|
18
|
+
.bhd-modal-body {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
padding: 0px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.viewImgBody {
|
|
29
|
+
display: flex;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
.viewImgContent {
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
position: relative;
|
|
36
|
+
.viewImgAction {
|
|
37
|
+
width: 100%;
|
|
38
|
+
display: flex;
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 40px;
|
|
41
|
+
justify-content: flex-end;
|
|
42
|
+
padding-right: 40px;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
z-index: 10;
|
|
45
|
+
& > span {
|
|
46
|
+
display: flex;
|
|
47
|
+
width: 40px;
|
|
48
|
+
height: 40px;
|
|
49
|
+
background: rgba(0, 0, 0, 0.45);
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
font-size: 16px;
|
|
53
|
+
color: #ffffff;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
border-radius: 8px;
|
|
56
|
+
margin-left: 24px;
|
|
57
|
+
&:first-child {
|
|
58
|
+
margin-left: 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.viewImgBody {
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 100%;
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
.viewImgBody_load {
|
|
69
|
+
width: 80px;
|
|
70
|
+
height: 80px;
|
|
71
|
+
}
|
|
72
|
+
.viewImgBody_pic {
|
|
73
|
+
max-width: 80%;
|
|
74
|
+
max-height: 80%;
|
|
75
|
+
cursor: move;
|
|
76
|
+
position: absolute;
|
|
77
|
+
user-select: none;
|
|
78
|
+
}
|
|
79
|
+
.viewImgBody_pre {
|
|
80
|
+
position: absolute;
|
|
81
|
+
width: 40px;
|
|
82
|
+
height: 40px;
|
|
83
|
+
border-left: 1px solid rgba(255, 255, 255, 0.25);
|
|
84
|
+
border-right: 1px solid rgba(255, 255, 255, 0.25);
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
background: rgba(0, 0, 0, 0.45);
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
color: #ffffff;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
user-select: none;
|
|
93
|
+
top: 50%;
|
|
94
|
+
transform: translateY(-50%);
|
|
95
|
+
left: 40px;
|
|
96
|
+
border-radius: 50%;
|
|
97
|
+
}
|
|
98
|
+
.viewImgBody_next {
|
|
99
|
+
position: absolute;
|
|
100
|
+
width: 40px;
|
|
101
|
+
height: 40px;
|
|
102
|
+
border-left: 1px solid rgba(255, 255, 255, 0.25);
|
|
103
|
+
border-right: 1px solid rgba(255, 255, 255, 0.25);
|
|
104
|
+
box-sizing: border-box;
|
|
105
|
+
background: rgba(0, 0, 0, 0.45);
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
color: #ffffff;
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
user-select: none;
|
|
112
|
+
top: 50%;
|
|
113
|
+
transform: translateY(-50%);
|
|
114
|
+
right: 40px;
|
|
115
|
+
border-radius: 50%;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
.viewImgBodyScale {
|
|
119
|
+
width: 100%;
|
|
120
|
+
padding-right: 40px;
|
|
121
|
+
box-sizing: border-box;
|
|
122
|
+
position: absolute;
|
|
123
|
+
bottom: 40px;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: flex-end;
|
|
127
|
+
user-select: none;
|
|
128
|
+
z-index: 10;
|
|
129
|
+
.viewImgBodyScale_minu,
|
|
130
|
+
.viewImgBodyScale_add {
|
|
131
|
+
width: 40px;
|
|
132
|
+
height: 40px;
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
font-size: 16px;
|
|
137
|
+
color: #ffffff;
|
|
138
|
+
background-color: rgba(0, 0, 0, 0.45);
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.viewImgBodyScale_minu {
|
|
143
|
+
border-radius: 4px 0 0 4px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.viewImgBodyScale_add {
|
|
147
|
+
border-radius: 0 4px 4px 0;
|
|
148
|
+
}
|
|
149
|
+
.viewImgBodyScale_value {
|
|
150
|
+
width: 80px;
|
|
151
|
+
height: 40px;
|
|
152
|
+
border-left: 1px solid rgba(255, 255, 255, 0.25);
|
|
153
|
+
border-right: 1px solid rgba(255, 255, 255, 0.25);
|
|
154
|
+
box-sizing: border-box;
|
|
155
|
+
background: rgba(0, 0, 0, 0.45);
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
justify-content: center;
|
|
159
|
+
color: #ffffff;
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
user-select: none;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
.viewImgInfo {
|
|
166
|
+
height: 100%;
|
|
167
|
+
flex-shrink: 0;
|
|
168
|
+
background: #ffffff;
|
|
169
|
+
position: relative;
|
|
170
|
+
z-index: 1001;
|
|
171
|
+
min-height: 600px;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -37,11 +37,16 @@
|
|
|
37
37
|
width: 100%;
|
|
38
38
|
display: flex;
|
|
39
39
|
position: absolute;
|
|
40
|
-
|
|
40
|
+
bottom: 40px;
|
|
41
41
|
justify-content: flex-end;
|
|
42
42
|
padding-right: 40px;
|
|
43
43
|
box-sizing: border-box;
|
|
44
44
|
z-index: 10;
|
|
45
|
+
gap: 24px;
|
|
46
|
+
&.actionTop{
|
|
47
|
+
top: 40px;
|
|
48
|
+
bottom: auto;
|
|
49
|
+
}
|
|
45
50
|
& > span {
|
|
46
51
|
display: flex;
|
|
47
52
|
width: 40px;
|
|
@@ -53,7 +58,6 @@
|
|
|
53
58
|
color: #ffffff;
|
|
54
59
|
cursor: pointer;
|
|
55
60
|
border-radius: 8px;
|
|
56
|
-
margin-left: 24px;
|
|
57
61
|
&:first-child {
|
|
58
62
|
margin-left: 0;
|
|
59
63
|
}
|
|
@@ -71,10 +75,29 @@
|
|
|
71
75
|
}
|
|
72
76
|
.viewImgBody_pic {
|
|
73
77
|
max-width: 80%;
|
|
74
|
-
max-height:
|
|
78
|
+
max-height: 80%;
|
|
75
79
|
cursor: move;
|
|
76
80
|
position: absolute;
|
|
77
81
|
user-select: none;
|
|
82
|
+
img{
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 100%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
.viewImgActionClose{
|
|
88
|
+
position: absolute;
|
|
89
|
+
top: 0;
|
|
90
|
+
right: -52px;
|
|
91
|
+
display: flex;
|
|
92
|
+
width: 40px;
|
|
93
|
+
height: 40px;
|
|
94
|
+
background: rgba(0, 0, 0, 0.45);
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
font-size: 16px;
|
|
98
|
+
color: #ffffff;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
border-radius: 8px;
|
|
78
101
|
}
|
|
79
102
|
.viewImgBody_pre {
|
|
80
103
|
position: absolute;
|
|
@@ -116,16 +139,13 @@
|
|
|
116
139
|
}
|
|
117
140
|
}
|
|
118
141
|
.viewImgBodyScale {
|
|
119
|
-
width: 100%;
|
|
120
|
-
padding-right: 40px;
|
|
121
142
|
box-sizing: border-box;
|
|
122
|
-
|
|
123
|
-
bottom: 40px;
|
|
124
|
-
display: flex;
|
|
143
|
+
display: inline-flex;
|
|
125
144
|
align-items: center;
|
|
126
|
-
justify-content:
|
|
145
|
+
justify-content: center;
|
|
127
146
|
user-select: none;
|
|
128
147
|
z-index: 10;
|
|
148
|
+
gap: 4px;
|
|
129
149
|
.viewImgBodyScale_minu,
|
|
130
150
|
.viewImgBodyScale_add {
|
|
131
151
|
width: 40px;
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
align-items: center;
|
|
61
61
|
background-color: #fff;
|
|
62
62
|
line-height: 1;
|
|
63
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
63
64
|
.user {
|
|
64
65
|
color: #000;
|
|
65
66
|
font-size: 16px;
|
|
@@ -396,6 +397,11 @@
|
|
|
396
397
|
color: @color-text-tertiary-Tr !important;
|
|
397
398
|
}
|
|
398
399
|
}
|
|
400
|
+
> li:last-of-type{
|
|
401
|
+
pre{
|
|
402
|
+
margin-bottom: 0;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
399
405
|
}
|
|
400
406
|
// li{
|
|
401
407
|
// margin-top:16px;
|
|
@@ -417,13 +423,17 @@
|
|
|
417
423
|
}
|
|
418
424
|
}
|
|
419
425
|
> h3,> h4{
|
|
420
|
-
padding-top:
|
|
426
|
+
padding-top: 8px;
|
|
421
427
|
padding-bottom: 4px;
|
|
422
428
|
}
|
|
423
429
|
> p + p{
|
|
424
430
|
padding-top: 4px;
|
|
425
431
|
padding-bottom: 4px;
|
|
426
432
|
}
|
|
433
|
+
|
|
434
|
+
> pre:last-of-type{
|
|
435
|
+
margin-bottom:0 ;
|
|
436
|
+
}
|
|
427
437
|
}
|
|
428
438
|
table {
|
|
429
439
|
width: 100%;
|
|
@@ -456,6 +466,7 @@
|
|
|
456
466
|
padding: 12px;
|
|
457
467
|
line-height: 1.5;
|
|
458
468
|
margin: 4px 0;
|
|
469
|
+
margin-bottom: 16px;
|
|
459
470
|
border-radius: 0 0 4px 4px;
|
|
460
471
|
}
|
|
461
472
|
// 最后一行操作按钮
|
|
@@ -1489,7 +1500,7 @@
|
|
|
1489
1500
|
right: 568px;
|
|
1490
1501
|
|
|
1491
1502
|
border-radius: 8px;
|
|
1492
|
-
background: rgba(255, 255, 255, 0.
|
|
1503
|
+
background: rgba(255, 255, 255, 0.85);
|
|
1493
1504
|
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
|
|
1494
1505
|
backdrop-filter: blur(7.5px);
|
|
1495
1506
|
width: 80px;
|
|
@@ -1506,7 +1517,7 @@
|
|
|
1506
1517
|
position: relative;
|
|
1507
1518
|
cursor: pointer;
|
|
1508
1519
|
&:hover {
|
|
1509
|
-
background-color:
|
|
1520
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
1510
1521
|
.delete {
|
|
1511
1522
|
display: block;
|
|
1512
1523
|
}
|
|
@@ -1551,7 +1562,7 @@
|
|
|
1551
1562
|
margin: 8px;
|
|
1552
1563
|
}
|
|
1553
1564
|
.top .shrink {
|
|
1554
|
-
border-bottom: 1px solid @color-border-secondary;
|
|
1565
|
+
// border-bottom: 1px solid @color-border-secondary;
|
|
1555
1566
|
border-radius: 0;
|
|
1556
1567
|
margin-bottom: 8px;
|
|
1557
1568
|
margin-top: 8px;
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
align-items: center;
|
|
58
58
|
background-color: #fff;
|
|
59
59
|
line-height: 1;
|
|
60
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
60
61
|
.user {
|
|
61
62
|
color: #000;
|
|
62
63
|
font-size: 16px;
|
|
@@ -392,6 +393,11 @@
|
|
|
392
393
|
color: @color-text-tertiary-Tr !important;
|
|
393
394
|
}
|
|
394
395
|
}
|
|
396
|
+
> li:last-of-type{
|
|
397
|
+
pre{
|
|
398
|
+
margin-bottom: 0;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
395
401
|
}
|
|
396
402
|
// li{
|
|
397
403
|
// margin-top:16px;
|
|
@@ -413,13 +419,16 @@
|
|
|
413
419
|
}
|
|
414
420
|
}
|
|
415
421
|
> h3,> h4{
|
|
416
|
-
padding-top:
|
|
422
|
+
padding-top: 8px;
|
|
417
423
|
padding-bottom: 4px;
|
|
418
424
|
}
|
|
419
425
|
> p + p{
|
|
420
426
|
padding-top: 4px;
|
|
421
427
|
padding-bottom: 4px;
|
|
422
428
|
}
|
|
429
|
+
> pre:last-of-type{
|
|
430
|
+
margin-bottom:0 ;
|
|
431
|
+
}
|
|
423
432
|
}
|
|
424
433
|
table {
|
|
425
434
|
width: 100%;
|
|
@@ -451,6 +460,7 @@
|
|
|
451
460
|
padding: 12px;
|
|
452
461
|
line-height: 1.5;
|
|
453
462
|
margin: 4px 0;
|
|
463
|
+
margin-bottom: 16px;
|
|
454
464
|
border-radius: 0 0 4px 4px;
|
|
455
465
|
}
|
|
456
466
|
// 最后一行操作按钮
|
|
@@ -1483,7 +1493,7 @@
|
|
|
1483
1493
|
right: 568px;
|
|
1484
1494
|
|
|
1485
1495
|
border-radius: 8px;
|
|
1486
|
-
background: rgba(255, 255, 255, 0.
|
|
1496
|
+
background: rgba(255, 255, 255, 0.85);
|
|
1487
1497
|
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
|
|
1488
1498
|
backdrop-filter: blur(7.5px);
|
|
1489
1499
|
width: 80px;
|
|
@@ -1500,7 +1510,7 @@
|
|
|
1500
1510
|
position: relative;
|
|
1501
1511
|
cursor: pointer;
|
|
1502
1512
|
&:hover {
|
|
1503
|
-
background-color:
|
|
1513
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
1504
1514
|
.delete {
|
|
1505
1515
|
display: block;
|
|
1506
1516
|
}
|
|
@@ -1545,7 +1555,7 @@
|
|
|
1545
1555
|
margin: 8px;
|
|
1546
1556
|
}
|
|
1547
1557
|
.top .shrink {
|
|
1548
|
-
border-bottom: 1px solid @color-border-secondary;
|
|
1558
|
+
// border-bottom: 1px solid @color-border-secondary;
|
|
1549
1559
|
border-radius: 0;
|
|
1550
1560
|
margin-bottom: 8px;
|
|
1551
1561
|
margin-top: 8px;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
|
2
|
+
import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@ice/jsx-runtime/jsx-runtime";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import Icon from "@ant-design/icons";
|
|
6
|
+
var CustomScreenXuanZuanSvg = function() {
|
|
7
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: "20",
|
|
10
|
+
height: "20",
|
|
11
|
+
viewBox: "0 0 20 20",
|
|
12
|
+
fill: "none",
|
|
13
|
+
children: [
|
|
14
|
+
/*#__PURE__*/ _jsx("path", {
|
|
15
|
+
d: "M7.82075 2.72072H11.7854L10.8078 1.74313C10.4141 1.34937 10.4141 0.697643 10.8078 0.303889C10.9995 0.114507 11.258 0.00830078 11.5275 0.00830078C11.7969 0.00830078 12.0554 0.114507 12.2471 0.303889L14.5146 2.57136C14.7046 2.76145 14.854 3.11447 14.854 3.38603C14.854 3.65758 14.7046 4.0106 14.5146 4.20069L12.2471 6.46816C12.0434 6.67183 11.7854 6.76687 11.5275 6.76687C11.2695 6.76687 11.0115 6.67183 10.8078 6.46816C10.4141 6.07441 10.4141 5.42268 10.8078 5.02893L11.0794 4.75737H7.80718C6.27784 4.76096 4.81217 5.37008 3.73076 6.45148C2.64936 7.53289 2.04024 8.99856 2.03665 10.5279C2.03665 11.0846 1.57501 11.5462 1.01833 11.5462C0.461642 11.5462 0 11.0846 0 10.5279C0.0135777 6.22377 3.50305 2.72072 7.82075 2.72072Z",
|
|
16
|
+
fill: "white"
|
|
17
|
+
}),
|
|
18
|
+
/*#__PURE__*/ _jsx("path", {
|
|
19
|
+
d: "M5.21389 7.81238H18.5743C19.3618 7.81238 20 8.45053 20 9.23804V18.5659C20 19.3534 19.3618 19.9916 18.5743 19.9916H5.21389C4.42638 19.9916 3.78823 19.3534 3.78823 18.5659V9.23804C3.77465 8.45053 4.42638 7.81238 5.21389 7.81238ZM5.81131 17.9549H17.9633V9.84904H5.81131V17.9549Z",
|
|
20
|
+
fill: "white"
|
|
21
|
+
})
|
|
22
|
+
]
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
var CustomScreenXuanZuan = function(props) {
|
|
26
|
+
return /*#__PURE__*/ _jsx(Icon, _object_spread_props(_object_spread({}, props), {
|
|
27
|
+
component: CustomScreenXuanZuanSvg
|
|
28
|
+
}));
|
|
29
|
+
};
|
|
30
|
+
export default CustomScreenXuanZuan;
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
|
2
2
|
import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
3
|
-
import { jsx as _jsx } from "@ice/jsx-runtime/jsx-runtime";
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@ice/jsx-runtime/jsx-runtime";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import Icon from "@ant-design/icons";
|
|
6
6
|
var CustomXuanZuanSvg = function() {
|
|
7
|
-
return /*#__PURE__*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
return /*#__PURE__*/ _jsxs("svg", {
|
|
8
|
+
width: "24",
|
|
9
|
+
height: "24",
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
11
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
children: [
|
|
14
|
+
/*#__PURE__*/ _jsx("path", {
|
|
15
|
+
d: "M9.82075 4.72072H13.7854L12.8078 3.74313C12.4141 3.34937 12.4141 2.69764 12.8078 2.30389C12.9995 2.11451 13.258 2.0083 13.5275 2.0083C13.7969 2.0083 14.0554 2.11451 14.2471 2.30389L16.5146 4.57136C16.7046 4.76145 16.854 5.11447 16.854 5.38603C16.854 5.65758 16.7046 6.0106 16.5146 6.20069L14.2471 8.46816C14.0434 8.67183 13.7854 8.76687 13.5275 8.76687C13.2695 8.76687 13.0115 8.67183 12.8078 8.46816C12.4141 8.07441 12.4141 7.42268 12.8078 7.02893L13.0794 6.75737H9.80718C8.27784 6.76096 6.81217 7.37008 5.73076 8.45148C4.64936 9.53289 4.04024 10.9986 4.03665 12.5279C4.03665 13.0846 3.57501 13.5462 3.01833 13.5462C2.46164 13.5462 2 13.0846 2 12.5279C2.01358 8.22377 5.50305 4.72072 9.82075 4.72072Z",
|
|
16
|
+
fill: "white"
|
|
17
|
+
}),
|
|
18
|
+
/*#__PURE__*/ _jsx("path", {
|
|
19
|
+
d: "M7.21389 9.81238H20.5743C21.3618 9.81238 22 10.4505 22 11.238V20.5659C22 21.3534 21.3618 21.9916 20.5743 21.9916H7.21389C6.42638 21.9916 5.78823 21.3534 5.78823 20.5659V11.238C5.77465 10.4505 6.42638 9.81238 7.21389 9.81238ZM7.81131 19.9549H19.9633V11.849H7.81131V19.9549Z",
|
|
20
|
+
fill: "white"
|
|
21
|
+
})
|
|
22
|
+
]
|
|
21
23
|
});
|
|
22
24
|
};
|
|
23
25
|
var CustomXuanZuan = function(props) {
|