244 lines
4.3 KiB
Vue
244 lines
4.3 KiB
Vue
<template>
|
||
<view class="app">
|
||
<view class="top">
|
||
<view class="device">
|
||
<image src="../../static/pageC/device.png" mode=""></image>
|
||
<span class="deviceitem">智能设备</span>
|
||
<view class="itemdata">
|
||
绑定设备,关注健康
|
||
</view>
|
||
|
||
</view>
|
||
<view class="device">
|
||
<image src="../../static/pageC/report.png" mode=""></image>
|
||
<span class="deviceitem">智能设备</span>
|
||
<view class="itemdata">
|
||
智慧驿站,免费检测
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="body">
|
||
<view class="item">
|
||
<view class="itemtitle">
|
||
血糖
|
||
</view>
|
||
<view class="itemtext">
|
||
您30天未测量
|
||
</view>
|
||
<view class="itemtext two">
|
||
快来测量吧~
|
||
</view>
|
||
<image src="../../static/pageC/sugar.png" mode=""></image>
|
||
</view>
|
||
<view class="item">
|
||
<view class="itemtitle">
|
||
血压
|
||
</view>
|
||
<view class="itemtext">
|
||
您30天未测量
|
||
</view>
|
||
<view class="itemtext two">
|
||
快来测量吧~
|
||
</view>
|
||
<image src="../../static/pageC/bloodpressure.png" mode=""></image>
|
||
|
||
</view>
|
||
<view class="item">
|
||
<view class="itemtitle">
|
||
体温
|
||
</view>
|
||
<view class="itemtext">
|
||
您30天未测量
|
||
</view>
|
||
<view class="itemtext two">
|
||
快来测量吧~
|
||
</view>
|
||
<image src="../../static/pageC/temperature.png" mode=""></image>
|
||
</view>
|
||
<view class="item">
|
||
<view class="itemtitle">
|
||
BMI
|
||
</view>
|
||
<view class="itemtext">
|
||
您30天未测量
|
||
</view>
|
||
<view class="itemtext two">
|
||
快来测量吧~
|
||
</view>
|
||
<image src="../../static/pageC/dkw.png" mode=""></image>
|
||
</view>
|
||
<view class="item">
|
||
<view class="itemtitle">
|
||
心率
|
||
</view>
|
||
<view class="itemtext">
|
||
您30天未测量
|
||
</view>
|
||
<view class="itemtext two">
|
||
快来测量吧~
|
||
</view>
|
||
<image src="../../static/pageC/heartrate.png" mode=""></image>
|
||
</view>
|
||
<view class="item">
|
||
<view class="itemtitle">
|
||
血脂
|
||
</view>
|
||
<view class="itemtext">
|
||
您30天未测量
|
||
</view>
|
||
<view class="itemtext two">
|
||
快来测量吧~
|
||
</view>
|
||
<image src="../../static/pageC/bloodfat.png" mode=""></image>
|
||
</view>
|
||
<view class="item">
|
||
<view class="itemtitle">
|
||
血氧
|
||
</view>
|
||
<view class="itemtext">
|
||
您30天未测量
|
||
</view>
|
||
<view class="itemtext two">
|
||
快来测量吧~
|
||
</view>
|
||
<image src="../../static/pageC/oxygen.png" mode=""></image>
|
||
</view>
|
||
|
||
|
||
</view>
|
||
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
data() {
|
||
return {
|
||
|
||
}
|
||
},
|
||
methods: {
|
||
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
.app {
|
||
height: 100vh;
|
||
background-color: #F7F5F5;
|
||
padding: 15rpx 0 0 0;
|
||
overflow: scroll;
|
||
|
||
.top {
|
||
width: 95%;
|
||
height: 163rpx;
|
||
// background: red;
|
||
margin: 0 auto;
|
||
justify-content: space-between;
|
||
display: flex;
|
||
|
||
.device {
|
||
font-family: Source Han Sans CN;
|
||
width: 48%;
|
||
height: 163rpx;
|
||
background: #FFFFFF;
|
||
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||
border-radius: 5rpx;
|
||
position: relative;
|
||
|
||
image {
|
||
position: absolute;
|
||
width: 33rpx;
|
||
height: 32rpx;
|
||
left: 5%;
|
||
top: 10%;
|
||
}
|
||
|
||
.deviceitem {
|
||
display: inline-block;
|
||
position: absolute;
|
||
left: 18%;
|
||
top: 8%;
|
||
font-size: 28rpx;
|
||
font-weight: 500;
|
||
color: #000000;
|
||
// line-height: 38rpx;
|
||
|
||
}
|
||
|
||
.itemdata {
|
||
position: absolute;
|
||
font-size: 24rpx;
|
||
font-weight: 400;
|
||
color: #595959;
|
||
top: 49%;
|
||
left: 16%;
|
||
|
||
|
||
}
|
||
|
||
}
|
||
|
||
}
|
||
|
||
.body {
|
||
position: relative;
|
||
width: 95%;
|
||
font-family: Source Han Sans CN;
|
||
margin: 20rpx auto;
|
||
justify-content: space-between;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
|
||
.item {
|
||
width: 48%;
|
||
height: 362rpx;
|
||
background: #FFFFFF;
|
||
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||
border-radius: 5rpx;
|
||
margin-bottom: 20rpx;
|
||
position: relative;
|
||
|
||
image {
|
||
width: 140rpx;
|
||
height: 155rpx;
|
||
position: absolute;
|
||
left: 49%;
|
||
top: 50%;
|
||
}
|
||
|
||
.itemtitle {
|
||
position: absolute;
|
||
font-size: 28rpx;
|
||
font-weight: 500;
|
||
color: #000000;
|
||
top: 8%;
|
||
left: 6%;
|
||
|
||
}
|
||
|
||
.itemtext {
|
||
position: absolute;
|
||
font-size: 24rpx;
|
||
font-weight: 400;
|
||
color: #595959;
|
||
top: 32%;
|
||
left: 6%;
|
||
|
||
|
||
}
|
||
|
||
.two {
|
||
top: 22%;
|
||
left: 6%;
|
||
|
||
}
|
||
|
||
}
|
||
|
||
}
|
||
|
||
|
||
}
|
||
</style> |