hldy_xcx/pages/oldmanindex/region.vue

231 lines
4.4 KiB
Vue

<template>
<view>
<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
<view class="left-father" @click="uni.navigateBack();">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
</view>
</view>
<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
<image class="bacimg" src="https://www.focusnu.com/media/directive/bgyg.png" mode="aspectFill"></image>
<view class="xmname">
<image src="https://www.focusnu.com/media/directive/hts.png" mode="aspectFill" class="bgt"></image>
<image src="https://www.focusnu.com/media/directive/index/nan.png" mode="aspectFill" class="ava"></image>
<view class="name">李富贵</view>
<view class="xbjs">
&nbsp;&nbsp;|&nbsp; <text style="font-weight: bold;"> 80</text>&nbsp; |&nbsp; 2025.01.01
</view>
</view>
<view class="boxs" v-for="v in 5" :key='v'>
<view class="top">
<view class="lefts">
<image src="https://www.focusnu.com/media/directive/sj.png" mode="aspectFill" ></image>
2026.03.12
</view>
<view class="rort">
<text>¥</text>77.43
</view>
</view>
<view class="cont">
<image src="https://www.focusnu.com/media/directive/fwzl_hl.png" mode="aspectFill"></image>
<view class="ritsw">
<view>
10:00 &nbsp;<text>| &nbsp; 每15分钟 &nbsp;</text><text>| &nbsp; 15分钟 &nbsp;</text>
</view>
<view>
鼻饲喂药
</view>
<view>护理类 | 饮食照料 | 加餐照料</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
.boxs{
width: 703rpx;
height: 302rpx;
background: #FFFFFF;
border-radius: 40rpx;
padding:0 23rpx;
position: relative;
z-index: 2;
margin: 20rpx auto;
.cont{
width: 100%;
height: 220rpx;
display: flex;
align-items: center;
image{
width: 180rpx;
height: 180rpx;
margin-right: 37rpx;
}
.ritsw{
width: 430rpx;
height: 70%;
display: flex;
flex-direction: column;
justify-content: space-around;
>view{
white-space: nowrap;
&:nth-child(1){
display: flex;
font-weight: bold;
font-size: 30rpx;
color: #222222;
text{
font-weight: 400;
font-size: 25rpx;
color: #555555;
}
}
&:nth-child(2){
display: flex;
font-weight: bold;
font-size: 30rpx;
color: #222222;
}
&:nth-child(3){
font-weight: 400;
font-size: 25rpx;
color: #555555;
}
}
}
}
.top{
width: 100%;
height:76rpx;
border-bottom: 1px solid #E5E5E5;
display: flex;
justify-content: space-between;
align-items: center;
.rort{
font-weight: 400;
font-size: 35rpx;
color: #4C9AE9;
display: flex;
align-items: center;
text{
font-size: 25rpx;
margin-right: 5rpx;
}
}
.lefts{
font-weight: 400;
font-size: 28rpx;
color: #333333;
display: flex;
align-items: center;
image{
width: 26rpx;
height: 26rpx;
margin-right: 14rpx;
margin-top: 5rpx;
}
}
}
}
.xmname {
width: 705rpx;
height: 155rpx;
margin: 20rpx auto 0;
position: relative;
z-index: 2;
.xbjs {
position: absolute;
top: 95rpx;
left: 143rpx;
z-index: 2;
font-weight: 400;
font-size: 23rpx;
color: #212327;
display: flex;
align-items: center;
}
.name {
font-weight: bold;
font-size: 36rpx;
color: #333333;
position: absolute;
top: 47rpx;
left: 143rpx;
z-index: 2;
}
.ava {
position: absolute;
width: 95rpx;
height: 95rpx;
border-radius: 50%;
top: 34rpx;
left: 30rpx;
z-index: 2;
}
.bgt {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}
}
.bacimg {
width: 100%;
height: 780rpx;
position: fixed;
top: 0;
left: 0;
z-index: 0;
}
.title-back {
background: rgba(255, 255, 255, 0);
width: 100%;
height: 70rpx;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding-bottom: 20rpx;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.left-father {
width: 150rpx;
height: 100%;
display: flex;
align-items: flex-end;
.back-img {
width: 45rpx;
height: 40rpx;
margin-left: 40rpx;
margin-right: 15rpx;
}
}
</style>
<style>
page {
background: #F7F7F7;
}
</style>