patient-mini/pages/home/index.less
码农搬砖工 0984a8157a wedwe
2025-04-24 18:24:05 +08:00

90 lines
1.8 KiB
Plaintext

@import '/variable.less';
@home-tab-item-height: 96rpx;
.home-container {
height: calc(100vh - @tab-bar-height);
.home-content {
// height: calc(100% - @nav-bar-height);
padding: 30rpx;
padding-bottom: 160rpx;
.item-content{
background-color: #fff;
border-radius: 12rpx;
padding: 30rpx;
margin-bottom: 30rpx;
.item-title{
font-size: 32rpx;
font-weight: bold;
color: #323030;
}
.echarts-canvas-container{
width: 100%;
height: 600rpx;
}
.echarts-canvas{
width: 100%;
height: 100%;
}
.echarts-legend{
display: flex;
margin-bottom: 20rpx;
margin-top: 20rpx;
view{
margin-right: 20rpx;
}
.active{
color: #0091cc;
text-decoration: underline;
}
}
.item-title{
position: relative;
.item-title-right-text{
position: absolute;
right: 0;
top: 0;
color: #0091cc;
font-size: 24rpx;
}
}
.item-box{
background-color: #f5f5f5;
border-radius: 12rpx;
padding: 26rpx;
margin-top: 20rpx;
.item-box-title{
display: flex;
justify-content: space-between;
box-sizing: border-box;
margin-bottom: 20rpx;
.item-box-title-left{
font-size: 28rpx;
color: #323030;
}
.item-box-title-right{
font-size: 24rpx;
color: #949798;
}
}
.drug-name{
font-size: 30rpx;
color: #323030;
}
.drug-usage{
font-size: 26rpx;
color: #323030;
margin-bottom: 20rpx;
}
}
}
}
}