健康自评
This commit is contained in:
parent
6f8d3422fe
commit
7af05ce1e1
@ -400,6 +400,15 @@
|
|||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
,{
|
||||||
|
"path" : "healthtest/healthtest",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "健康自评",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}],
|
}],
|
||||||
|
|||||||
@ -55,7 +55,7 @@
|
|||||||
<image src="/static/pageC/tizheng.png" mode=""></image>
|
<image src="/static/pageC/tizheng.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="sign">
|
<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>
|
<image @tap="gorecords" src="/static/pageC/records.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -84,11 +84,19 @@
|
|||||||
url: '/pagesC/Healthrecords/Healthrecords'
|
url: '/pagesC/Healthrecords/Healthrecords'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 筛查记录
|
||||||
gorecords() {
|
gorecords() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pagesC/Screeningrecords/Screeningrecords'
|
url: '/pagesC/Screeningrecords/Screeningrecords'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 健康自评
|
||||||
|
healthtest() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pagesC/healthtest/healthtest'
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 服务预约
|
||||||
goappoint() {
|
goappoint() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
url: '/pagesC/ServiceAppointment/ServiceAppointment'
|
||||||
|
|||||||
93
pagesC/healthtest/healthtest.scss
Normal file
93
pagesC/healthtest/healthtest.scss
Normal 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%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
44
pagesC/healthtest/healthtest.vue
Normal file
44
pagesC/healthtest/healthtest.vue
Normal 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>
|
||||||
Loading…
Reference in New Issue
Block a user