健康自评

This commit is contained in:
shidongli 2023-10-07 15:14:34 +08:00
parent 6f8d3422fe
commit 7af05ce1e1
4 changed files with 155 additions and 1 deletions

View File

@ -400,6 +400,15 @@
"enablePullDownRefresh": false
}
}
,{
"path" : "healthtest/healthtest",
"style" :
{
"navigationBarTitleText": "健康自评",
"enablePullDownRefresh": false
}
}
]
}],

View File

@ -55,7 +55,7 @@
<image src="/static/pageC/tizheng.png" mode=""></image>
</view>
<view class="sign">
<image src="/static/pageC/healthmyself.png" mode=""></image>
<image @tap="healthtest" src="/static/pageC/healthmyself.png" mode=""></image>
<image @tap="gorecords" src="/static/pageC/records.png" mode=""></image>
</view>
</view>
@ -84,11 +84,19 @@
url: '/pagesC/Healthrecords/Healthrecords'
})
},
//
gorecords() {
uni.navigateTo({
url: '/pagesC/Screeningrecords/Screeningrecords'
})
},
//
healthtest() {
uni.navigateTo({
url: '/pagesC/healthtest/healthtest'
})
},
//
goappoint() {
uni.navigateTo({
url: '/pagesC/ServiceAppointment/ServiceAppointment'

View File

@ -0,0 +1,93 @@
.app {
height: 100vh;
background-color: #F7F5F5;
padding: 15rpx 0 0 0;
overflow: scroll;
.tophealth {
font-family: Source Han Sans CN;
position: relative;
left: 5%;
width: 92%;
// background: red;
height: 60rpx;
margin-bottom: 10rpx;
image {
width: 32rpx;
height: 36rpx;
top: 25%;
// transform: translateY(-50%);
// vertical-align: middle;
}
.health {
font-size: 28rpx;
font-weight: 500;
color: #000000;
line-height: 38rpx;
height: 38rpx;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 7%;
}
.history {
font-size: 26rpx;
font-weight: 400;
color: #26A888;
line-height: 38rpx;
height: 38rpx;
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 0%;
}
}
.bodyhealth {
width: 94%;
height: 208rpx;
background: #FFFFFF;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 5rpx;
position: relative;
left: 50%;
font-family: Source Han Sans CN;
transform: translateX(-50%);
margin-bottom: 20rpx;
image {
width: 140rpx;
height: 140rpx;
background: #ABACB1;
border-radius: 5rpx;
position: absolute;
left: 5%;
top: 50%;
transform: translateY(-50%);
}
.risk {
font-size: 32rpx;
font-weight: 500;
color: #333333;
position: absolute;
left: 30%;
top: 25%;
}
.estimate {
font-size: 28rpx;
font-weight: 400;
color: #959595;
position: absolute;
left: 30%;
top: 50%;
}
}
}

View File

@ -0,0 +1,44 @@
<template>
<view class="app">
<view class="tophealth">
<image src="../../static/pageC/self.png" mode=""></image>
<span class="health">智慧健康驿站自评表</span>
<span class="history">历史记录</span>
</view>
<view class="bodyhealth">
<image src="../../static/pages/view_face_background.png" mode=""></image>
<view class="risk">高血压风险评估</view>
<view class="estimate">风险评估</view>
</view>
<view class="bodyhealth">
<image src="../../static/pages/view_face_background.png" mode=""></image>
<view class="risk">高血压风险评估</view>
<view class="estimate">风险评估</view>
</view>
<view class="bodyhealth">
<image src="../../static/pages/view_face_background.png" mode=""></image>
<view class="risk">高血压风险评估</view>
<view class="estimate">风险评估</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss">
@import './healthtest.scss'
</style>