Files
szjs/pages/sexChart/sexChart.wxss
2025-03-15 00:02:01 +08:00

259 lines
3.9 KiB
Plaintext

/* pages/sexChart/sexChart.wxss */
/* 页面容器 */
.container {
padding: 30rpx;
background: #f5f5f5;
min-height: 100vh;
}
/* 页面标题 */
.page-title {
font-size: 36rpx;
font-weight: bold;
color: #333;
text-align: center;
margin-bottom: 30rpx;
padding: 20rpx 0;
}
/* 图片卡片 */
.image-card {
background: #fff;
border-radius: 16rpx;
padding: 30rpx;
margin-bottom: 30rpx;
box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.05);
width: 100%;
box-sizing: border-box;
}
.card-title {
font-size: 32rpx;
font-weight: bold;
color: #27C2A7;
margin-bottom: 20rpx;
text-align: center;
}
/* 图片容器 */
.image-container {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
border-radius: 8rpx;
}
.chart-image {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
}
.chart-image:active {
transform: scale(0.98);
}
/* 说明信息 */
.info-section {
background: #fff;
border-radius: 16rpx;
padding: 30rpx;
margin-top: 20rpx;
box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.05);
}
.info-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
border-left: 8rpx solid #27C2A7;
padding-left: 20rpx;
}
.info-content {
display: flex;
flex-direction: column;
}
.info-item {
display: flex;
margin-bottom: 16rpx;
align-items: flex-start;
}
.info-number {
display: flex;
justify-content: center;
align-items: center;
width: 40rpx;
height: 40rpx;
background: #27C2A7;
color: #fff;
border-radius: 50%;
font-size: 24rpx;
margin-right: 16rpx;
flex-shrink: 0;
}
.info-text {
font-size: 28rpx;
color: #666;
line-height: 1.6;
flex: 1;
}
/* 底部提示 */
.footer-tip {
text-align: center;
font-size: 24rpx;
color: #999;
margin: 30rpx 0;
}
/* 性别选择器 */
.gender-selector {
display: flex;
margin-bottom: 30rpx;
background: #fff;
border-radius: 16rpx;
overflow: hidden;
}
.gender-item {
flex: 1;
text-align: center;
padding: 20rpx 0;
font-size: 28rpx;
color: #666;
}
.gender-item.active {
background: #27C2A7;
color: #fff;
}
/* 标签页选择器 */
.tab-selector {
display: flex;
margin-bottom: 30rpx;
background: #fff;
border-radius: 16rpx;
overflow: hidden;
}
.tab-item {
flex: 1;
text-align: center;
padding: 20rpx 0;
font-size: 28rpx;
color: #666;
}
.tab-item.active {
background: #e6f7f4;
color: #27C2A7;
font-weight: bold;
}
/* 图表内容 */
.chart-content {
background: #fff;
border-radius: 16rpx;
padding: 30rpx;
margin-bottom: 30rpx;
}
.chart-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
text-align: center;
margin-bottom: 30rpx;
}
/* 表格样式 */
.table-container {
width: 100%;
border: 1px solid #e0e0e0;
border-radius: 8rpx;
overflow: hidden;
}
.table-header {
display: flex;
background-color: #f0f8ff;
font-weight: bold;
}
.table-row {
display: flex;
border-top: 1px solid #e0e0e0;
}
.table-row:nth-child(odd) {
background-color: #f9f9f9;
}
.table-cell {
flex: 1;
padding: 20rpx 10rpx;
font-size: 24rpx;
border-right: 1px solid #e0e0e0;
word-break: break-all;
line-height: 1.5;
}
.table-cell:last-child {
border-right: none;
}
.stage-cell {
flex: 0.3;
text-align: center;
font-weight: bold;
background-color: #e6f7f4;
}
/* 图片网格 */
.image-grid {
display: flex;
flex-direction: column;
}
.image-row {
display: flex;
margin-bottom: 30rpx;
}
.image-column {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
margin: 0 10rpx;
}
.image-label {
font-size: 28rpx;
font-weight: bold;
margin-bottom: 10rpx;
color: #27C2A7;
}
.stage-image {
width: 100%;
height: 240rpx;
background: #f9f9f9;
border-radius: 8rpx;
border: 1px solid #e0e0e0;
}
.full-image {
width: 100%;
border-radius: 8rpx;
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.1);
}