uo
chenyc
2022-09-27 0fa6ba07e973a0e94dd2d8af03394d78d5f034c2
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
<template>
    <div class="report">
        <div class="inputdiv">
            <van-field left-icon="search" class="input" v-model="inputValue" placeholder="模糊匹配项目、日期检索" />
        </div>
        <div class="listdiv">
            <div class="listrow" v-for="x in 6" :key="x">
                <van-row>
                    <div class="info"></div>
                    <van-row class="lable">
                        <van-col span="12">检验值</van-col>
                        <van-col span="12" style="text-align: right;">血常规</van-col>
                    </van-row>
                    <van-row class="lable">
                        <van-col span="12">检验值</van-col>
                        <van-col span="12" style="text-align: right; color: #769AFF ;" @click="topath('/report/item')">点击查看详情</van-col>
                    </van-row>
                    <van-row class="lable">
                        <van-col span="12">最新检查日期</van-col>
                        <van-col span="12" style="text-align: right;">2022-08-01</van-col>
                    </van-row>
                </van-row>
            </div>
        </div>
    </div>
</template>
<script lang="ts" setup>
    import {ref,reactive,watchEffect,watch} from 'vue'
    import {useRouter} from 'vue-router'
    const router=useRouter()
    const inputValue=ref('')
    const topath=(url:string)=>{
        console.log('sss')
        router.push(url)
    }
</script>
<style lang="scss">
    .report{
        background-color: #F6FAFF;
        padding: 0;
        .inputdiv{
            width: 94%;
            margin-left: 3%;
            margin-top: 10px;
            .input{
                width: 100%;
                // height: 33px;
                border-radius: 22px;
                border: 1px solid #DADADA;
                // line-height: 33px;
            }
        }
    }
    .listdiv{
        .listrow{
            margin-top: 10px;
            width: 94%;
            margin-left: 3%;
            background: #FFFFFF;
            box-shadow: 0px 2px 4px 0px rgba(70,150,249,0.1);
            border-radius: 8px;
            .lable{
                width: 90%;
                margin-left: 5%;
                height: 40px;
               div{
                height: 40px;
                font-size: 13px;
                font-family: PingFangSC-Regular, PingFang SC;
                font-weight: 400;
                color: #777777;
                line-height: 40px;
                border-bottom: #F1F1F2 1px solid;
               }
            }
        }
    }
</style>