|
@@ -18,28 +18,24 @@
|
18
|
18
|
"
|
19
|
19
|
alt
|
20
|
20
|
/>
|
21
|
|
- <span class="redpoint" v-if="getStatus(patient)">{{
|
|
21
|
+ <span class="redpoint" v-if="getStatus(patient)">
|
|
22
|
+ {{
|
22
|
23
|
getUnReadNum(patient) > 99
|
23
|
|
- ? getUnReadNum(patient) + "+"
|
24
|
|
- : getUnReadNum(patient)
|
25
|
|
- }}</span>
|
|
24
|
+ ? getUnReadNum(patient) + "+"
|
|
25
|
+ : getUnReadNum(patient)
|
|
26
|
+ }}
|
|
27
|
+ </span>
|
26
|
28
|
<div class="right">
|
27
|
29
|
<h3 class="name">
|
28
|
30
|
{{ patient.patient.name }}
|
29
|
31
|
<span class="yztx" v-if="getStatus(patient)">医嘱</span>
|
30
|
32
|
<span class="yc" v-show="isAbnormal(patient)">异常</span>
|
31
|
33
|
</h3>
|
32
|
|
- <span class="num"
|
33
|
|
- >{{ genderText(patient) }} | {{ age(patient) }}岁</span
|
34
|
|
- >
|
|
34
|
+ <span class="num">{{ genderText(patient) }} | {{ age(patient) }}岁</span>
|
35
|
35
|
<!-- 性别、年龄 -->
|
36
|
36
|
</div>
|
37
|
37
|
</div>
|
38
|
|
- <div
|
39
|
|
- class="online"
|
40
|
|
- style="flex:1.1;"
|
41
|
|
- v-show="computeState(patient) != 4"
|
42
|
|
- >
|
|
38
|
+ <div class="online" style="flex:1;" v-show="computeState(patient) != 4">
|
43
|
39
|
<p :class="stateColor(patient)">{{ stateText(patient) }}</p>
|
44
|
40
|
<!-- <span class="time">剩余时间 : 90:08</span> -->
|
45
|
41
|
</div>
|
|
@@ -55,11 +51,11 @@
|
55
|
51
|
<span class="iconfont"></span>
|
56
|
52
|
床位号 :
|
57
|
53
|
{{
|
58
|
|
- patient.dialysis_order &&
|
59
|
|
- patient.dialysis_order.device_number &&
|
60
|
|
- patient.dialysis_order.device_number.number.length > 0
|
61
|
|
- ? patient.dialysis_order.device_number.number
|
62
|
|
- : patient.device_number.number
|
|
54
|
+ patient.dialysis_order &&
|
|
55
|
+ patient.dialysis_order.device_number &&
|
|
56
|
+ patient.dialysis_order.device_number.number.length > 0
|
|
57
|
+ ? patient.dialysis_order.device_number.number
|
|
58
|
+ : patient.device_number.number
|
63
|
59
|
}}
|
64
|
60
|
</li>
|
65
|
61
|
<li>
|
|
@@ -298,9 +294,17 @@ export default {
|
298
|
294
|
@media only screen and (max-width: 415px) {
|
299
|
295
|
width: 96% !important;
|
300
|
296
|
}
|
|
297
|
+ @media only screen and (min-width: 415px) and (max-width: 767px) {
|
|
298
|
+ width: 48%;
|
|
299
|
+ margin: 0 1% 0.5rem 0;
|
|
300
|
+ }
|
301
|
301
|
.function {
|
302
|
302
|
padding: 0.3rem 0.32rem 0 0.32rem;
|
303
|
303
|
color: #7b8a97;
|
|
304
|
+ @media only screen and (min-width: 415px) and (max-width: 767px) {
|
|
305
|
+ margin: 0;
|
|
306
|
+ padding: 0.3rem 0.1rem 0 0.1rem;
|
|
307
|
+ }
|
304
|
308
|
ul {
|
305
|
309
|
@include display-flex;
|
306
|
310
|
@include align-items-center;
|
|
@@ -334,6 +338,9 @@ export default {
|
334
|
338
|
@include justify-content-between;
|
335
|
339
|
border-bottom: 1px #e5e5e5 solid;
|
336
|
340
|
padding: 0 0 0.3rem 0.32rem;
|
|
341
|
+ @media only screen and (min-width: 415px) and (max-width: 767px) {
|
|
342
|
+ padding: 0 0 0.3rem 0.1rem;
|
|
343
|
+ }
|
337
|
344
|
.tx {
|
338
|
345
|
@include display-flex;
|
339
|
346
|
@include align-items-center;
|
|
@@ -397,6 +404,10 @@ export default {
|
397
|
404
|
font-size: 0.36rem;
|
398
|
405
|
width: 1.7rem;
|
399
|
406
|
}
|
|
407
|
+ @media only screen and (min-width: 415px) and (max-width: 767px) {
|
|
408
|
+ width: 1.3rem;
|
|
409
|
+ font-size: 0.36rem;
|
|
410
|
+ }
|
400
|
411
|
}
|
401
|
412
|
.blue {
|
402
|
413
|
background: $main-color;
|
|
@@ -443,13 +454,21 @@ export default {
|
443
|
454
|
top: -6px;
|
444
|
455
|
left: 0.6rem;
|
445
|
456
|
border: 1px solid #fff;
|
446
|
|
- @media only screen and (max-width: 767px) {
|
|
457
|
+ @media only screen and (max-width: 415px) {
|
447
|
458
|
height: 16px;
|
448
|
459
|
width: 16px;
|
449
|
460
|
line-height: 15px;
|
450
|
461
|
top: -6px;
|
451
|
462
|
left: 0.6rem;
|
452
|
463
|
}
|
|
464
|
+ @media only screen and (min-width: 415px) and (max-width: 767px) {
|
|
465
|
+ height: 20px;
|
|
466
|
+ width: 20px;
|
|
467
|
+ line-height: 19px;
|
|
468
|
+ top: -6px;
|
|
469
|
+ left: 0.6rem;
|
|
470
|
+ font-size: 0.36rem;
|
|
471
|
+ }
|
453
|
472
|
}
|
454
|
473
|
.yztx {
|
455
|
474
|
margin: 0 5px;
|
|
@@ -461,5 +480,9 @@ export default {
|
461
|
480
|
@media only screen and (max-width: 415px) {
|
462
|
481
|
font-size: 0.34rem !important;
|
463
|
482
|
}
|
|
483
|
+ @media only screen and (min-width: 415px) and (max-width: 767px) {
|
|
484
|
+ margin: 0;
|
|
485
|
+ padding: 3px 3px;
|
|
486
|
+ }
|
464
|
487
|
}
|
465
|
488
|
</style>
|