/**
|
* 这里是uni-app内置的常用样式变量
|
*
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
*
|
*/
|
/**
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
*
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
*/
|
/* 颜色变量 */
|
/* 行为相关颜色 */
|
/* 文字基本颜色 */
|
/* 背景颜色 */
|
/* 边框颜色 */
|
/* 尺寸变量 */
|
/* 文字尺寸 */
|
/* 图片尺寸 */
|
/* Border Radius */
|
/* 水平间距 */
|
/* 垂直间距 */
|
/* 透明度 */
|
/* 文章场景相关 */
|
.primary-btn {
|
background: linear-gradient(135deg, #0f95b0, #89C4C1);
|
color: #fff;
|
border-radius: 36rpx;
|
text-align: center;
|
font-size: 30rpx;
|
height: 88rpx;
|
line-height: 88rpx;
|
}
|
.primary-btn:active {
|
transform: scale(0.98);
|
}
|
.card {
|
background: #fff;
|
border-radius: 24rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
}
|
.tag {
|
display: inline-block;
|
font-size: 22rpx;
|
color: #0f95b0;
|
background: rgba(15, 149, 176, 0.1);
|
padding: 4rpx 12rpx;
|
border-radius: 4rpx;
|
margin-right: 10rpx;
|
}
|
.section-title {
|
font-size: 34rpx;
|
font-weight: bold;
|
color: #333333;
|
position: relative;
|
padding-left: 20rpx;
|
margin-bottom: 30rpx;
|
}
|
.section-title::before {
|
content: "";
|
position: absolute;
|
left: 0;
|
top: 50%;
|
transform: translateY(-50%);
|
width: 6rpx;
|
height: 30rpx;
|
background: #0f95b0;
|
border-radius: 3rpx;
|
}
|
.price {
|
font-size: 32rpx;
|
color: #F56C6C;
|
font-weight: bold;
|
}
|
.price.free {
|
color: #67C23A;
|
}
|
.price.original {
|
font-size: 24rpx;
|
color: #999999;
|
text-decoration: line-through;
|
margin-left: 10rpx;
|
}
|
::-webkit-scrollbar {
|
display: none;
|
width: 0;
|
height: 0;
|
color: transparent;
|
}
|
page {
|
width: 100%;
|
height: 100%;
|
overflow-x: hidden;
|
}
|
.health-records {
|
min-height: 100vh;
|
background: #F5F6FA;
|
padding: 30rpx;
|
}
|
.health-records .health-card {
|
background: #fff;
|
border-radius: 24rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
}
|
.health-records .health-card .data-grid {
|
display: grid;
|
grid-template-columns: repeat(4, 1fr);
|
gap: 20rpx;
|
margin-bottom: 30rpx;
|
}
|
.health-records .health-card .data-grid .data-item {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
}
|
.health-records .health-card .data-grid .data-item .value {
|
font-size: 36rpx;
|
color: #333333;
|
font-weight: bold;
|
margin-bottom: 8rpx;
|
}
|
.health-records .health-card .data-grid .data-item .label {
|
font-size: 24rpx;
|
color: #999999;
|
}
|
.health-records .health-card .update-btn {
|
width: 100%;
|
height: 80rpx;
|
line-height: 80rpx;
|
font-size: 28rpx;
|
color: #fff;
|
background: linear-gradient(135deg, #0f95b0, #89C4C1);
|
border-radius: 24rpx;
|
}
|
.health-records .health-card .update-btn:active {
|
transform: scale(0.98);
|
}
|
.health-records .section-title {
|
font-size: 32rpx;
|
color: #333333;
|
font-weight: bold;
|
margin-bottom: 20rpx;
|
}
|
.health-records .record-list {
|
margin-bottom: 30rpx;
|
}
|
.health-records .record-list .record-item {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
background: #fff;
|
padding: 30rpx;
|
border-radius: 24rpx;
|
margin-bottom: 20rpx;
|
}
|
.health-records .record-list .record-item .left {
|
display: flex;
|
align-items: center;
|
}
|
.health-records .record-list .record-item .left .icon {
|
width: 80rpx;
|
height: 80rpx;
|
margin-right: 20rpx;
|
}
|
.health-records .record-list .record-item .left .info .title {
|
font-size: 30rpx;
|
color: #333333;
|
margin-bottom: 8rpx;
|
display: block;
|
}
|
.health-records .record-list .record-item .left .info .time {
|
font-size: 24rpx;
|
color: #999999;
|
}
|
.health-records .record-list .record-item .icon-arrow-right {
|
font-size: 32rpx;
|
color: #999999;
|
}
|
.health-records .record-list .record-item:active {
|
transform: scale(0.99);
|
}
|
.health-records .report-list .report-item {
|
background: #fff;
|
padding: 30rpx;
|
border-radius: 24rpx;
|
margin-bottom: 20rpx;
|
}
|
.health-records .report-list .report-item .header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 16rpx;
|
}
|
.health-records .report-list .report-item .header .name {
|
font-size: 32rpx;
|
color: #333333;
|
font-weight: bold;
|
}
|
.health-records .report-list .report-item .header .date {
|
font-size: 26rpx;
|
color: #999999;
|
}
|
.health-records .report-list .report-item .content .desc {
|
font-size: 28rpx;
|
color: #666666;
|
margin-bottom: 16rpx;
|
display: block;
|
}
|
.health-records .report-list .report-item .content .tags {
|
display: flex;
|
gap: 12rpx;
|
}
|
.health-records .report-list .report-item .content .tags text {
|
font-size: 24rpx;
|
color: #0f95b0;
|
background: rgba(15, 149, 176, 0.1);
|
padding: 4rpx 16rpx;
|
border-radius: 4rpx;
|
}
|
.health-records .report-list .report-item:active {
|
transform: scale(0.99);
|
}
|