2026-04-29 14:56:33 +08:00

704 lines
11 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.card{
background-color: #fff;
box-shadow: 0 0 10rpx rgb(223, 222, 222);
border-radius: 20rpx;
margin: 28rpx 30rpx;
box-sizing: border-box;
display: flex;
padding: 24rpx 40rpx 24rpx 30rpx;
justify-content: space-between;
}
.left{
display: flex;
align-items: center;
font-size: 26rpx;
}
.img{
width: 60rpx;
height: 60rpx;
border-radius: 50%;
margin-right: 16rpx;
}
.card1{
padding: 56rpx 40rpx;
color: #333333;
font-size: 24rpx;
justify-content: space-between;
align-items: center;
}
.num{
font-weight: bold;
font-size: 60rpx;
}
.all-item{
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
.all-item image{
width: 40rpx;
height: 40rpx;
margin-bottom: 20rpx;
}
.tab{
display: flex;
padding: 0 50rpx;
margin: 30rpx 0;
justify-content: space-between;
}
.tab-item{
/* padding: 8rpx 24rpx 8rpx 30rpx; */
height: 54rpx;
box-sizing: border-box;
width: 100%;
border: 2rpx solid #26A5F6;
border-radius: 50rpx;
font-size: 24rpx;
color: #26A5F6;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.tab-item image{
width: 20rpx;
height: 20rpx;
margin-left: 16rpx;
margin-bottom: -2rpx;
}
.nothing{
margin-top: 100rpx;
text-align: center;
}
.pickerY{
width: 80%;
margin: auto;
margin-top: 40rpx;
}
.item2{
justify-content: center;
}
.table-t{
display: flex;
margin: 0 30rpx;
}
.table-t view{
display: flex;
align-items: center;
justify-content: center;
height: 80rpx;
flex: 1;
font-size: 26rpx;
border: 2rpx solid rgba(0, 0, 0, 0.671);
}
.no-b{
border-bottom: none !important;
}
.no-r{
border-right: none !important;
}
.table-t view:last-child{
flex: 2;
}
.tp{
margin-top: 50rpx;
}
.title{
font-weight: bold;
font-size: 28rpx;
display: flex;
align-items: center;
margin-top: 60rpx;
margin-left: 30rpx;
}
.title-before{
height: 24rpx;
border-radius: 6rpx;
width: 6rpx;
margin-right: 16rpx;
background:linear-gradient(180.00deg, rgb(38, 165, 246),rgba(38, 165, 246, 0) 100%)
}
.footer{
margin-bottom: 80rpx;
padding-top: 20rpx;
display: flex;
}
.footer button{
width: 35%;
}
.footer button:last-child{
background-color: #26A5F6;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
}
.modal-content {
width: 80%;
max-width: 500px;
background-color: #fff;
border-radius: 8px;
padding: 20px;
position: relative;
}
.modal-scroll {
max-height: 60vh;
overflow-y: auto;
}
.list-item {
width: 90%;
height: 70rpx;
border-radius: 20rpx;
box-shadow: 0 0 10rpx rgba(223, 222, 222, 0.986);
border: 2rpx solid #fff;
box-sizing: border-box;
margin: 0 auto;
margin-top: 30rpx;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.loading,
.no-more {
text-align: center;
padding: 10px;
color: #888;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
}
.isClick{
border: 2rpx solid #26A5F6;
}
.clickIcon{
position: absolute;
top: 0;
right: 0;
background-color: #26A5F6;
border-radius: 0 20rpx 0 18rpx;
width: 60rpx;
display: flex;
align-items: center;
justify-content: center;
/* padding: 0 16rpx; */
}
.sex{
width: 40rpx;
margin-left: 20rpx;
margin-right: 20rpx;
height: 40rpx;
}
.charts{
width: 330px;
height: 320px;
}
.canvasCard{
margin-top: 14rpx;
display: block;
font-size: 26rpx;
}
.hr-legend {
display: flex;
justify-content: flex-end;
gap: 30rpx;
margin-top: 16rpx;
}
.hr-legend-item {
display: flex;
align-items: center;
font-size: 22rpx;
color: #666;
}
.hr-legend-line {
width: 36rpx;
height: 3rpx;
margin-right: 10rpx;
border-radius: 2rpx;
}
.hr-legend-moderate {
background-color: #FFA30C;
}
.hr-legend-high {
background-color: #FF4949;
}
.homework-item {
background-color: #fff;
border-radius: 20rpx;
padding: 20rpx 30rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
box-sizing: border-box;
margin: 30rpx 30rpx;
}
.homework-name {
font-size: 32rpx;
font-weight: bold;
color: #333;
margin-bottom: 10rpx;
}
.homework-time {
margin-top: 20rpx;
font-size: 24rpx;
color: #999;
display: flex;
align-items: center;
/* justify-content: space-between; */
}
.homework-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10rpx;
}
.homework-status {
font-size: 24rpx;
padding: 6rpx 12rpx;
border-radius: 20rpx;
}
.left{
display: flex;
align-items: center;
}
.img-box{
width: 110rpx;
height: 110rpx;
margin-right: 30rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 30rpx;
background-color: #EDF1FF;
}
.jump-img{
width: 60rpx;
height: 60rpx;
}
.desc{
font-weight: bold;
font-size: 28rpx;
display: flex;
flex-direction: column;
align-items: flex-start;
height: 110rpx;
justify-content: space-evenly;
}
.statu{
height: 40rpx;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 18rpx;
background-color: #287df6;
border-radius: 36rpx;
padding: 0 16rpx;
}
.icon{
width: 48rpx;
height: 48rpx;
border-radius: 50%;
background-color: #EDF1FF;
display: flex;
align-items: center;
justify-content: center;
}
.no{
font-size: 26rpx;
text-align: center;
margin-top: 30rpx;
}
.heart-box{
display: flex;
box-sizing: border-box;
padding: 0 30rpx;
}
.heart-item{
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: rgba(214, 114, 114, 0.5);
border-radius: 20rpx;
height: 130rpx;
margin: 0 20rpx;
/* box-shadow: 0 0 10rpx rgb(223, 222, 222); */
padding-top: 10rpx;
color: #fff;
}
/* .heart-item:nth-child(1){
box-shadow: 0 0 10rpx rgba(200, 85, 85, 0.5);
}
.heart-item:nth-child(3){
box-shadow: 0 0 10rpx rgba(114, 214, 156, 0.5);
} */
.heart-min{
background-color: rgba(146, 146, 146,.5);
}
.heart-max{
background-color: rgba(92, 200, 85,.5);
}
.heart-text1{
color: rgb(14, 172, 3);
font-size: 38rpx;
}
.heart-text2{
color: rgb(80, 80, 80);
font-size: 38rpx;
}
.heart-text3{
color: rgb(211, 13, 13);
font-size: 38rpx;
}
/* ======== 骨架屏 ======== */
@keyframes skeleton-loading {
0% { background-position: -600rpx 0; }
100% { background-position: 600rpx 0; }
}
.skeleton-block {
border-radius: 10rpx;
background: linear-gradient(90deg, #ebebeb 25%, #f5f5f5 50%, #ebebeb 75%);
background-size: 1200rpx 100%;
animation: skeleton-loading 1.4s infinite linear;
}
.skeleton {
padding-bottom: 40rpx;
}
.skeleton-title {
display: flex;
align-items: center;
margin-top: 60rpx;
margin-left: 30rpx;
}
.skeleton-tag {
width: 6rpx;
height: 24rpx;
border-radius: 6rpx;
margin-right: 16rpx;
}
.skeleton-title-text {
width: 160rpx;
height: 28rpx;
}
.skeleton-card {
background-color: #fff;
box-shadow: 0 0 10rpx rgb(223, 222, 222);
border-radius: 20rpx;
margin: 28rpx 30rpx;
padding: 24rpx 30rpx;
}
.skeleton-label {
width: 80rpx;
height: 26rpx;
margin-bottom: 20rpx;
}
.skeleton-chart {
width: 100%;
height: 220rpx;
border-radius: 16rpx;
}
.skeleton-heart-box {
display: flex;
padding: 0 30rpx;
margin-top: 30rpx;
}
.skeleton-heart-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 20rpx;
height: 130rpx;
margin: 0 20rpx;
background-color: #f5f5f5;
justify-content: center;
gap: 16rpx;
}
.skeleton-heart-label {
width: 80rpx;
height: 22rpx;
}
.skeleton-heart-value {
width: 60rpx;
height: 36rpx;
}
.skeleton-list-item {
display: flex;
align-items: center;
background-color: #fff;
border-radius: 20rpx;
padding: 20rpx 30rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
margin: 30rpx 30rpx;
}
.skeleton-list-icon {
width: 110rpx;
height: 110rpx;
border-radius: 30rpx;
margin-right: 30rpx;
flex-shrink: 0;
}
.skeleton-list-info {
flex: 1;
display: flex;
flex-direction: column;
gap: 20rpx;
}
.skeleton-list-line {
width: 70%;
height: 28rpx;
}
.skeleton-list-line-short {
width: 50%;
height: 26rpx;
}
/* ===== 统计指标网格(2列)===== */
.stat-grid {
display: flex;
flex-wrap: wrap;
gap: 16rpx;
margin: 0 30rpx;
margin-bottom: 32rpx;
justify-content: space-evenly;
margin-top: 42rpx;
}
.stat-card {
width: calc(50% - 20rpx);
border-radius: 28rpx;
padding: 30rpx 26rpx 28rpx;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 12rpx;
position: relative;
overflow: hidden;
box-shadow: 0 8rpx 28rpx rgba(0,0,0,0.13);
}
.stat-card-1 { background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 100%); }
.stat-card-2 { background: linear-gradient(135deg, #0fd850 0%, #00c3a9 100%); }
.stat-card-3 { background: linear-gradient(135deg, #2980b9 0%, #6dd5fa 100%); }
.stat-card-4 { background: linear-gradient(135deg, #7f7fd5 0%, #86a8e7 100%); }
/* 装饰圆 */
.stat-card-bar {
position: absolute;
width: 180rpx;
height: 180rpx;
border-radius: 50%;
background: rgba(255,255,255,0.13);
bottom: -50rpx;
right: -40rpx;
flex-shrink: 0;
}
.stat-card-label {
font-size: 24rpx;
color: rgba(255,255,255,0.88);
font-weight: 400;
padding: 0;
}
.stat-card-value {
font-size: 38rpx;
font-weight: bold;
color: #fff;
padding: 0;
word-break: break-all;
line-height: 1.2;
text-shadow: 0 2rpx 8rpx rgba(0,0,0,0.12);
}
.stat-card-1 .stat-card-value,
.stat-card-2 .stat-card-value,
.stat-card-3 .stat-card-value,
.stat-card-4 .stat-card-value { color: #fff; }
/* ===== 跳绳统计 ===== */
.jump-tip {
font-size: 22rpx;
color: #999;
margin-bottom: 16rpx;
}
.jump-summary-wrap {
background: #fff;
border-radius: 20rpx;
box-shadow: 0 4rpx 16rpx rgba(73,165,252,0.1);
overflow: hidden;
margin:20rpx 30rpx;
margin-bottom: 10rpx;
}
.jump-summary-header {
display: flex;
background: #1d78e8;
padding: 18rpx 0;
}
.jump-summary-data {
display: flex;
padding: 20rpx 0;
border-bottom: 1rpx solid #f0f4f8;
}
.jump-col {
flex: 1;
text-align: center;
font-size: 24rpx;
color: #fff;
}
.jump-summary-data .jump-col {
color: #18394D;
font-size: 36rpx;
font-weight: bold;
}
.jump-unit {
font-size: 20rpx;
color: rgba(255,255,255,0.85);
}
.jump-record-item {
display: flex;
align-items: center;
padding: 24rpx 30rpx;
border-bottom: 1rpx solid #f0f4f8;
}
.jump-record-item:last-child {
border-bottom: none;
}
.jump-record-icon-wrap {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
background: linear-gradient(135deg, #5ab4ff, #1d78e8);
display: flex;
align-items: center;
justify-content: center;
margin-right: 24rpx;
flex-shrink: 0;
overflow: hidden;
}
.jump-record-icon {
width: 54rpx;
height: 54rpx;
filter: brightness(10);
}
.jump-record-main {
display: flex;
flex-direction: column;
gap: 8rpx;
}
.jump-record-tag {
display: inline-block;
background: #1d78e8;
color: #fff;
font-size: 22rpx;
padding: 4rpx 20rpx;
border-radius: 30rpx;
width: fit-content;
}
.jump-record-detail {
font-size: 26rpx;
color: #18394D;
padding-left: 4rpx;
}