45
chenyc
2022-09-27 e6a091a911e48a74b6731d0aeae5b7d3bc8aac0c
src/views/report/index.vue
@@ -13,7 +13,7 @@
                    </van-row>
                    <van-row class="lable">
                        <van-col span="12">检验值</van-col>
                        <van-col span="12" style="text-align: right; color: #769AFF ;">血红蛋白:102</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>
@@ -26,7 +26,13 @@
</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{