SignaturePad.wxss
4.22 KB
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
.signature-container.data-v-1a71c3d4 {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
border: 3rpx solid #c8e6c9;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.signature-header.data-v-1a71c3d4 {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
background: linear-gradient(135deg, #e8f5e9 0%, #b2dfdb 100%);
border-bottom: 1px solid #c8e6c9;
}
.signature-title.data-v-1a71c3d4 {
font-size: 16px;
font-weight: 500;
color: #2e7d32;
}
.signature-actions.data-v-1a71c3d4 {
display: flex;
gap: 8px;
}
.btn-clear.data-v-1a71c3d4,
.btn-confirm.data-v-1a71c3d4 {
padding: 6px 12px;
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
}
.btn-clear.data-v-1a71c3d4 {
background: #f9fff9;
color: #6a9c6a;
border: 1px solid #c8e6c9;
}
.btn-clear.data-v-1a71c3d4:hover {
background: #e8f5e9;
}
.btn-confirm.data-v-1a71c3d4 {
background: linear-gradient(120deg, #43e97b 0%, #38f9d7 100%);
color: #fff;
}
.btn-confirm.data-v-1a71c3d4:hover {
background: linear-gradient(120deg, #38d96b 0%, #2ee5c7 100%);
}
.signature-pad.data-v-1a71c3d4 {
/* padding: 16px; */
display: flex;
justify-content: center;
flex: 1;
box-sizing: border-box;
width: 100%;
height: 100%;
}
.signature-canvas.data-v-1a71c3d4 {
/* border: 1px solid #c8e6c9; */
border-radius: 4px;
background: #fff;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.signature-canvas.signature-disabled.data-v-1a71c3d4 {
pointer-events: none;
opacity: 0.7;
}
.signature-tips.data-v-1a71c3d4 {
padding: 8px 16px;
background: #f9fff9;
text-align: center;
border-top: 1px solid #c8e6c9;
}
.tips-text.data-v-1a71c3d4 {
font-size: 12px;
color: #6a9c6a;
}
/* 品项信息显示样式 */
.signature-px-info.data-v-1a71c3d4 {
padding: 40rpx 30rpx;
background: linear-gradient(135deg, #f9fff9 0%, #e8f5e9 100%);
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
.px-info-title.data-v-1a71c3d4 {
font-size: 36rpx;
color: #2e7d32;
font-weight: bold;
text-align: center;
margin-bottom: 40rpx;
}
.px-info-list.data-v-1a71c3d4 {
/* flex: 1; */
height: 50vh;
overflow-y: scroll;
margin-bottom: 30rpx;
}
.px-info-row.data-v-1a71c3d4 {
display: flex;
justify-content: space-between;
align-items: center;
padding: 24rpx 20rpx;
margin-bottom: 20rpx;
background: #fff;
border-radius: 12rpx;
border: 2rpx solid #c8e6c9;
}
.px-name.data-v-1a71c3d4 {
font-size: 28rpx;
color: #1b5e20;
flex: 1;
word-break: break-all;
}
.px-info-right.data-v-1a71c3d4 {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8rpx;
flex-shrink: 0;
}
.px-type.data-v-1a71c3d4 {
font-size: 24rpx;
color: #ff9800;
font-weight: 500;
padding: 4rpx 12rpx;
background: #fff3e0;
border-radius: 8rpx;
border: 1rpx solid #ff9800;
}
.px-count.data-v-1a71c3d4 {
font-size: 26rpx;
color: #6a9c6a;
}
.px-info-total.data-v-1a71c3d4 {
display: flex;
justify-content: space-between;
align-items: center;
padding: 24rpx 20rpx;
background: #fff;
border-radius: 12rpx;
border: 2rpx solid #c8e6c9;
margin-bottom: 40rpx;
}
.total-label.data-v-1a71c3d4 {
font-size: 28rpx;
color: #1b5e20;
font-weight: normal;
}
.total-value.data-v-1a71c3d4 {
font-size: 28rpx;
color: #f44336;
font-weight: normal;
}
.px-info-action.data-v-1a71c3d4 {
width: 100%;
}
.btn-start-sign.data-v-1a71c3d4 {
width: 100%;
padding:10rpx 24rpx;
background: linear-gradient(120deg, #43e97b 0%, #38f9d7 100%);
color: #fff;
border: none;
border-radius: 12rpx;
font-size: 32rpx;
font-weight: bold;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 4rpx 16rpx rgba(67, 233, 123, 0.3);
}
.btn-start-sign.data-v-1a71c3d4:hover {
box-shadow: 0 8rpx 32rpx rgba(67, 233, 123, 0.4);
-webkit-transform: translateY(-2rpx);
transform: translateY(-2rpx);
}
/* 确认后的提示信息样式 */
.signature-confirm-tips.data-v-1a71c3d4 {
padding: 60rpx 40rpx;
background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
border: 3rpx solid #ff9800;
border-radius: 20rpx;
margin: 40rpx;
text-align: center;
}
.confirm-tips-text.data-v-1a71c3d4 {
font-size: 32rpx;
color: #e65100;
line-height: 1.8;
font-weight: 500;
display: block;
}