chenyc
2024-01-26 d447355e6d08e3a48ea6fd0df132e3120ede6a16
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
<template>
    <div class="homeclass">
        <div style="height: 12%;padding-top: 20px;">
            <el-row>
                <el-col :span="12" >
                    <div style="display: grid;grid-template-columns: minmax(160px, 25%) 1fr;">
                        <div style="margin-top: 5px;">
                            <img class="image_1"  style="width: 159px;height: 62px; margin-left: 20px;display: inline-block;"  referrerpolicy="no-referrer" src="@/assets/logo.png" />
                        
                        </div>
                         <div class="titlecss">自助签到系统</div>
                    </div> 
                </el-col>
                <el-col v-if="dialogVisible" :span="12" style="text-align: right;padding-top: 10px;">
                    <el-input   ref="inputRef" id="inputCode"  style="width: 400px; height: 40px;ime-mode:active;margin-right: 20px;"  
                    placeholder="请输入患者卡号或扫描条码" />
                   
                
                </el-col>
                <el-col v-else :span="12">
                   
                    <div class="dateclas" style="float: right;margin-top: 20px;">
                        <div class="dateTimeclas" style="float: right;">07:22</div>
                        2014-09-23 
                    </div>
                    
                </el-col>
            </el-row>
        </div>
        <template v-if="dialogVisible">
            <div style="height: 72%;" class="parentBody">
                <div style="width: 800px;height: 500px;background-color: aqua;"></div>
            </div>
            <div style="height: 18%;">
                <el-row>
                    <el-col :span="6" style="padding-left: 40px; font-size: 34px; color: #FFFFFF;">
                        16:00
                        <br>
                        2023-06-05
                    </el-col>
                    <el-col :span="12" style="font-size: 40px;color: #FFFFFF;text-align: center; padding-top: 20px;">
                        请将脸部对准摄像头
                    </el-col>
                    <el-col :span="6"></el-col>
                </el-row>
                <div></div>
            </div>
        </template>
        <template v-else>
            <div style="height: 84%;">
                <el-row style="height: 100%; " gutter="20">
                    <el-col :span="12" >
                        <div style="height: 66%; background:rgba(246, 244, 244, 0.3);border-radius: 12px;opacity: 0.9;" >
                            <div style="height: 15%; border-bottom: 4px solid #EDF5FF; text-align: right; padding-right: 20px; font-size: 30px; line-height: 90px;color: #0d44dc;font-weight: 500;font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;">
                                透前称重(kg)
                            </div>  
                            <div style="height: 77%;">
                                <div style="display: grid;grid-template-columns: minmax(250px, 40%) 1fr; height: 100%; padding-left: 20px;padding-top: 20px;">
                                    <!-- 头像 -->
                                    <div  :style="{backgroundImage:`url(${anv})`}" style="background-size:100% 100%;height: 100%;">
 
                                    </div>
                                    <div style="display: grid;place-items: center;font-size: 120px;font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;font-weight: 500;color: #65AAF6;">
                                        112/233
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div style="height: 31%; margin-top: 20px;border-radius: 12px;" >
                            <el-row style="height: 100%;background:rgba(246, 244, 244, 0.3);border-radius: 12px;opacity: 0.9;">
                                <el-col :span="8">
                                    <div class="textwenben" style="height: 28%; font-size: 25px;background-color: #DFB144; border-radius: 12px 0 0 0;">
                                        机号/床位好
                                    </div>
                                    <div class="textwenben" style="height: 70%; font-size: 80px; color: #DFB144;">
                                        28床
                                    </div>
                                </el-col>
                                <el-col :span="8">
                                    <div class="textwenben" style="height: 28%; font-size: 25px;background-color: #41B593; ">
                                        上次透后血压(mmgh)
                                    </div>
                                    <div class="textwenben" style="height: 70%; font-size: 80px; color: #41B593;
                                     border-left: #FFFFFF solid 2px;border-right: #FFFFFF solid 2px;">
                                        28床
                                    </div>
                                </el-col>
                                <el-col :span="8">
                                    <div class="textwenben" style="height: 28%; font-size: 25px;background-color: #65AAF6;border-radius: 0 12px 0 0 ">
                                        脉搏(次/分)
                                    </div>
                                    <div class="textwenben" style="height: 70%; font-size: 80px; color: #65AAF6;">
                                        28床
                                    </div>
                                </el-col>
                            </el-row>
                        </div>
                    </el-col>
                    <el-col :span="12">
                        <div ref="myChartRef" class="echat" style="height: 49%;">
 
                        </div>
                        <div ref="myChartRef" class="echat" style="height: 48%;margin-top: 2%;">
                        </div>
                    </el-col>
                </el-row>
 
            </div>
        </template>
        
    
    </div>
  </template>
  <script setup lang="ts">
import { ref } from 'vue';
 
    const dialogVisible=ref(false)
    const anv=ref('http://dhimg.leon056.com/hemodialysis/face/PAT9326175252362sKFe/face-1701040731610.jpg-202311270719101645.jpg')
  </script>
  <style src="./index.css" />
  <style lang="less" scoped>
  .titlecss{
    border-left:1px solid #ffffff ;
    padding-left: 20px;
    // margin-bottom: 20px;
    font-size: 40px;
    font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 48px;
    height: 54px;
  }
  .textwenben{
    display: grid;
    place-items: center;
    font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
    font-weight: 500;
    color: #FFFFFF;
  }
  .parentBody{
    display: grid;
    place-items: center;
  } 
  .echat{
    background-color: #FFFFFF;
    border-radius: 12px;
  }
  .dateclas{
    width: 334px;
    height: 42px;
    background: #FFFFFF;
    // // text-align: center;
    line-height: 42px;
    box-shadow: 0px 2px 4px 0px rgba(112,163,221,0.5);
    border-radius: 20px;
    font-size: 30px;
  }
  .dateTimeclas{
    height: 42px;
    text-align: center;
    width: 120px;
    line-height: 42px;
    background: #65AAF6;
    box-shadow: 2px 2px 4px 0px rgba(112,163,221,0.5);
    border-radius: 16px;
    font-size: 30px;
    color: #FFFFFF;
  }
::v-deep .el-input__wrapper {
  background-color: transparent !important;
  color: #ffffff;
}
//提示框的字体颜色
::v-deep input::-webkit-input-placeholder {
  color: #fff;
}
::v-deep input::-moz-input-placeholder {
  color: #fff;
}
::v-deep input::-ms-input-placeholder {
  color: #fff;
}
  </style>