/* subpackage/parent/history-train/history-train.wxss */ .tab{ width: 236rpx; display: flex; height: 80rpx; font-size: 28rpx; margin-top: 20rpx; } .tab-l{ flex: 1; /* background-color: rgba(38, 165, 246, 1); */ /* backdrop-filter: blur(20rpx); */ border-radius: 20rpx 0 0 0; font-weight: bold; } .tab-l-no{ background-color: #fff; } .tab-l-content{ background-color: #fff; border-radius: 20rpx 38rpx 0 0; height: 80rpx; display: flex; align-items: center; justify-content: center; } .tab-l-content-no{ background-color: rgba(38, 165, 246, 1); border-radius: 24rpx 0rpx 38rpx 0; font-weight: normal; color: #fff; } .tab-r{ flex: 1; background:#fff ; border-radius: 0 24rpx 0 0rpx; } .tab-r-no{ background: rgba(38, 165, 246, 1); } .tab-r-content{ background: rgba(38, 165, 246, 1); border-radius: 0 24rpx 0 38rpx; display: flex; align-items: center; justify-content: center; height: 80rpx; color: #fff; } .tab-r-content-no{ background: #fff; border-radius: 38rpx 24rpx 0 0; color: #000; font-weight: bold; } .active-text{ font-weight: bold; color: #000; } .tab-left-box{ width: 0rpx; height: 24rpx; border-radius: 6rpx; /* background: #fff; */ } .tab-left-box.box-active{ width: 6rpx; margin-right: 16rpx; background:linear-gradient(180.00deg, rgb(38, 165, 246),rgba(38, 165, 246, 0) 100%) } .card{ background-color: #fff; border-radius: 0 20rpx 20rpx 20rpx; padding-top: 60rpx; /* padding-bottom: 70rpx; */ box-sizing: border-box; } .tab-list{ border-radius: 20rpx; padding: 10rpx 0; box-sizing: border-box; display: flex; justify-content: space-between; background: rgb(244, 246, 248); /* width: 100%; */ font-size: 20rpx; margin: 0 80rpx; margin-bottom: 30rpx; } .tab-list-item { flex: 1; height: 50rpx; margin: 0 10rpx; border-radius: 10px; box-sizing: border-box; color: #777777; display: flex; justify-content: center; align-items: center; } .active{ background: rgb(255, 255, 255); font-weight: bold; color: black; } .chart-tab{ display: flex; align-items: center; justify-content: center; } .chart-tab-item{ color: #999999; font-size: 24rpx; width: 110rpx; height: 50rpx; box-sizing: border-box; display: flex; justify-content: center; align-items: center; } .chart-tab-active{ border: 2rpx solid #6bb6fc; background-color: #26A5F61A; color: #6bb6fc; border-radius: 50rpx; } .card2{ border-radius: 40rpx; background-color: #fff; margin-top: 30rpx; padding: 40rpx 40rpx; } .title{ font-weight: bold; font-size: 28rpx; display: flex; align-items: center; } .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%) } .data{ margin-top: 50rpx; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; padding: 0 20rpx; padding-bottom: 40rpx; border-bottom: 2rpx solid #f1f1f1; margin-bottom: 50rpx; } .data-item{ display: flex; justify-content: center; align-items: center; flex-direction: column; font-size: 40rpx; } .name{ font-size: 24rpx; color: #777; } .total{ display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; padding: 0 20rpx; } .total-item{ display: flex; align-items: center; } .img-box{ border-radius: 30rpx; width: 110rpx; height: 110rpx; display: flex; align-items: center; justify-content: center; background: rgb(237, 241, 255); margin-right: 30rpx; } .img-box image{ width: 48rpx; height: 48rpx; } .img-2{ background: rgb(223, 246, 241); } .number{ font-size: 36rpx; color: #000; } .num{ font-size: 24rpx; color: #777; } .charts { width: 95%; height: 420rpx; margin: 0 auto; /* margin-top: 30rpx; */ } .unit{ margin-top: 40rpx; font-size: 24rpx; margin-left: 30rpx; margin-bottom: 18rpx; } .card3{ min-height: 70vh; padding:60rpx; box-sizing: border-box; } .sport{ font-size: 22rpx; padding: 30rpx 0 ; box-sizing: border-box; border-bottom: 2rpx solid #F1F1F1; } .top{ display: flex; align-items: flex-end; justify-content: space-between; } .time{ color: #777; } .bottom{ display: grid; justify-content: space-between; align-items: center; color: #777777; grid-template-columns: repeat(13, 1fr); /* gap: 10rpx; */ } .bottom-item{ display: flex; margin-top: 24rpx; grid-column: span 4; } .bottom-item:last-child{ grid-column: span 5; } .stat-img{ width: 30rpx; height: 30rpx; margin-right: 10rpx; } .no{ text-align: center; margin-top: 50rpx; } .page-content{ background-color: rgb(247, 247, 247); background: linear-gradient(190deg, #6bb6fc 0%, #f7f7f7 800rpx, #f7f7f7 100%); padding: 0 30rpx; box-sizing: border-box; padding-bottom: 100rpx; min-height: 100vh; }