广州市综治平台前端
liuwh
6 days ago bd4e6eb3d29de84c00f5e448f5839300873a6abe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.scan-modal {
  .arco-modal-content {
    padding: 20px;
  }
}
 
.arco-modal-content {
  max-height: 80vh;
  overflow-y: auto;
}
 
:global {
  .ReactCrop {
    position: relative;
    display: inline-block;
    touch-action: none;
    
    img {
      max-width: 100%;
      display: block;
    }
  }
 
  .ReactCrop__crop-selection {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, 0);
    box-sizing: border-box;
    cursor: move;
    box-shadow: 0 0 0 9999em rgba(0, 0, 0, 0.5);
    touch-action: none;
    border: 1px solid white;
  }
  
  .ReactCrop__drag-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
  }
  
  .ReactCrop__drag-bar {
    position: absolute;
  }
}
 
.scan-image-crop {
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  position: relative !important;
}
 
// 调整裁剪弹窗样式
.image-crop-modal {
  .arco-modal-content {
    padding: 15px;
    overflow: visible;
  }
}
 
// 调整Modal样式
.scan-modal {
  .arco-modal-content {
    padding: 20px;
  }
}