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
<template>
<div>
<title-bar title="客户体检" @clickLeft="onClick">
<van-icon slot="left" name="cross" size="24" />
</title-bar>
<div>
<img class="photoa" src="../../../../assets/images/idcardpeople.png" />
<div style="position: absolute" class="textA">拍摄人像面</div>
</div>
<div>
<img class="photob" src="../../../../assets/images/idcardcountry.png" />
<div style="position: absolute" class="textB">拍摄国徽面</div>
</div>
<div class="inputValue">
<p class="wordType">证件类型</p>
<input type="text" disabled="true" placeholder="身份证" class="inputPosition" />
<p class="idNo">证件号码</p>
<input type="text" class="inputPositionA" />
<p class="customName">客户名称</p>
<input type="text" class="inputPositionB" />
</div>
<div>
<van-button type="info" round style="position: absolute; left: 27%; top: 74%; width: 47%; height: 6%; background-color: rgba(255, 87, 108, 1)" @click="onChang">确定</van-button>
</div>
<div></div>
</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
/**
* @Description:客户体检
* @author pd
* @date 2021-11-06 16:42:57
*/
@Component({
name: "CustomCheck",
})
export default class CustomCheck extends Vue {
flag = false;
onChang() {
this.$router.push({
path: "/workbench/commonly-used/personal/custom-check-info",
});
}
onClick() {
console.log(111111);
}
}
</script>
<style lang="scss" scoped>
.top {
width: 20%;
}
.photoa {
position: absolute;
left: 28%;
top: 15%;
width: 22%;
height: 30%;
}
.photob {
position: absolute;
left: 50%;
top: 15%;
width: 22%;
height: 30%;
}
.textA {
left: 35%;
top: 40%;
font-family: "Arial Normal", "Arial";
font-weight: 400;
font-style: normal;
letter-spacing: normal;
color: #333333;
text-align: center;
line-height: normal;
text-transform: none;
}
.textB {
left: 56%;
top: 40%;
font-family: "Arial Normal", "Arial";
font-weight: 400;
font-style: normal;
letter-spacing: normal;
color: #333333;
text-align: center;
line-height: normal;
text-transform: none;
}
.inputValue {
border-width: 0;
position: absolute;
left: 22%;
top: 47%;
width: 50%;
height: 50%;
display: flex;
font-size: 10%;
color: #999999;
line-height: 10%;
}
.inputPosition {
position: absolute;
left: 20%;
top: 2%;
width: 83%;
height: 11%;
padding: 3% 2% 3% 2%;
font-family: "Arial Normal", "Arial";
font-weight: 900;
font-style: normal;
font-size: 13%;
letter-spacing: normal;
color: #000000;
text-align: center;
text-transform: none;
/*background-color: transparent;
border-color: transparent;*/
}
.inputPositionA {
position: absolute;
left: 20%;
top: 19%;
width: 83%;
height: 11%;
padding: 3% 2% 3% 2%;
font-family: "Arial Normal", "Arial";
font-weight: 900;
font-style: normal;
font-size: 13%;
letter-spacing: normal;
color: #000000;
text-align: center;
text-transform: none;
/*background-color: transparent;
border-color: transparent;*/
}
.inputPositionB {
position: absolute;
left: 20%;
top: 35%;
width: 83%;
height: 11%;
padding: 3% 2% 3% 2%;
font-family: "Arial Normal", "Arial";
font-weight: 900;
font-style: normal;
font-size: 13%;
letter-spacing: normal;
color: #000000;
text-align: center;
text-transform: none;
/*background-color: transparent;
border-color: transparent;*/
}
.wordType {
position: absolute;
left: 8%;
top: 7%;
}
.idNo {
position: absolute;
left: 8%;
top: 25%;
}
.customName {
position: absolute;
left: 8%;
top: 41%;
}
.button {
border-radius: 2% 2% 2% 2%;
position: absolute;
left: 27%;
top: 74%;
width: 47%;
height: 6%;
background-color: rgba(255, 87, 108, 1);
}
</style>