广州市综治平台前端
xusd
2025-06-07 ee685c9f350ec9241107d4e8a05799768a0bce9a
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.receipt-container {
  position: relative;
  padding: 8px;
  background: #fff;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
 
  .receipt-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #e8e8e8;
    pointer-events: none;
  }
 
  .header-badge {
    position: absolute;
    top: 0;
    right: 8px;
    padding: 1px 6px;
    background: #1a6fb8;
    color: #fff;
    border-radius: 0 0 3px 3px;
    font-size: 11px;
  }
 
  .receipt-header {
    text-align: center;
    margin: 4px 0;
    
    .receipt-title {
      font-size: 16px;
      font-weight: bold;
      margin: 0;
      color: #171a1d;
    }
  }
 
  .receipt-content {
    font-size: 12px;
    line-height: 1.3;
    color: #333;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
 
    p {
      margin: 0;
    }
 
    u {
      text-decoration: none;
      border-bottom: 1px solid #333;
      padding: 0 2px;
    }
  }
 
  .receipt-section {
    margin: 2px 0;
 
    h2 {
      font-size: 13px;
      margin: 0 0 2px 0;
      color: #171a1d;
      font-weight: bold;
    }
 
    p {
      margin: 1px 0;
      font-size: 12px;
    }
  }
 
  .receipt-footer {
    text-align: right;
    margin-top: 2px;
    font-size: 12px;
    
    p {
      margin: 1px 0;
    }
  }
 
  .qr-code-container {
    display: flex;
    justify-content: flex-end;
    margin: 2px 0;
    
    img {
      width: 80px;
      height: 80px;
    }
  }
}
 
// 修改弹窗样式
:global {
  .ant-modal {
    .ant-modal-content {
      height: 80vh;
      display: flex;
      flex-direction: column;
    }
 
    .ant-modal-header {
      padding: 8px 12px;
      border-bottom: 1px solid #f0f0f0;
      min-height: 40px;
      
      .ant-modal-title {
        font-size: 14px;
      }
    }
 
    .ant-modal-body {
      flex: 1;
      overflow: hidden;
      padding: 0;
    }
 
    .ant-modal-footer {
      padding: 8px 12px;
      border-top: 1px solid #f0f0f0;
      min-height: 40px;
      
      .ant-btn {
        font-size: 12px;
        height: 28px;
        padding: 0 12px;
      }
    }
  }