@yilianjituan/yilian_dgerm 0.0.1-alpha.35 → 0.0.1-alpha.36

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.
@@ -13,7 +13,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  * @Author: chengjiang
14
14
  * @Date: 2024-11-05 09:35:37
15
15
  * @Last Modified by: chengjiang
16
- * @Last Modified time: 2024-11-15 11:40:29
16
+ * @Last Modified time: 2024-11-19 09:25:26
17
17
  */
18
18
  import "./index.scss";
19
19
  import { Button, ColorPicker, Image, message, Modal, Radio, Switch } from 'antd';
@@ -70,7 +70,7 @@ var Index = function Index(props) {
70
70
  _useState16 = _slicedToArray(_useState15, 2),
71
71
  imgHeight = _useState16[0],
72
72
  setImgHeight = _useState16[1]; // 弹窗高
73
- var _useState17 = useState('rgba(255, 255, 255, 0.4)'),
73
+ var _useState17 = useState('rgba(255, 255, 255, 0.7)'),
74
74
  _useState18 = _slicedToArray(_useState17, 2),
75
75
  boxBackGround = _useState18[0],
76
76
  setBoxBackGround = _useState18[1]; // ocr识别文字背景色
@@ -275,10 +275,10 @@ var Index = function Index(props) {
275
275
  fontSize = fontSize * (num || numValue);
276
276
  }
277
277
  if (direction === 3 || direction === 1) {
278
- setModalHeight(imgWidth + 50);
278
+ setModalHeight(imgWidth + 300);
279
279
  setModalWidth(imgHeight + 50);
280
280
  } else {
281
- setModalHeight(imgHeight + 50);
281
+ setModalHeight(imgHeight + 240);
282
282
  setModalWidth(imgWidth + 50);
283
283
  }
284
284
  for (i = 0; i < numBoxes; i++) {
@@ -1,5 +1,6 @@
1
1
  .common_ocr_modal {
2
2
  top: 25px;
3
+ background-color: #fff;
3
4
 
4
5
  .common_ocr_modal_title {
5
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yilianjituan/yilian_dgerm",
3
- "version": "0.0.1-alpha.35",
3
+ "version": "0.0.1-alpha.36",
4
4
  "description": "A react library developed with dumi",
5
5
  "keywords": [
6
6
  "React",