119 lines
2.1 KiB
Plaintext
119 lines
2.1 KiB
Plaintext
|
|
/* pages/agreement/index.wxss */
|
||
|
|
|
||
|
|
.agreement-container {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
min-height: 100vh;
|
||
|
|
background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 协议标题 */
|
||
|
|
.agreement-title {
|
||
|
|
padding: 40rpx 30rpx 20rpx;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.agreement-title text {
|
||
|
|
font-size: 36rpx;
|
||
|
|
font-weight: 700;
|
||
|
|
color: #191d28;
|
||
|
|
line-height: 50rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 协议内容 */
|
||
|
|
.agreement-content {
|
||
|
|
flex: 1;
|
||
|
|
padding: 20rpx 30rpx 20rpx;
|
||
|
|
background: #ffffff;
|
||
|
|
box-shadow: 0 -10rpx 30rpx rgba(0, 0, 0, 0.05);
|
||
|
|
width: calc(100% - 60rpx);
|
||
|
|
}
|
||
|
|
|
||
|
|
.content-section {
|
||
|
|
margin-bottom: 30rpx;
|
||
|
|
padding-bottom: 20rpx;
|
||
|
|
border-bottom: 1rpx solid #e8eaf6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.content-section:last-child {
|
||
|
|
border-bottom: none;
|
||
|
|
margin-bottom: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-title {
|
||
|
|
display: block;
|
||
|
|
font-size: 32rpx;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #191d28;
|
||
|
|
margin-bottom: 15rpx;
|
||
|
|
line-height: 44rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-subtitle {
|
||
|
|
display: block;
|
||
|
|
font-size: 28rpx;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #3a3f58;
|
||
|
|
margin: 20rpx 0 10rpx;
|
||
|
|
line-height: 40rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-content {
|
||
|
|
display: block;
|
||
|
|
font-size: 26rpx;
|
||
|
|
color: #4a5474;
|
||
|
|
line-height: 40rpx;
|
||
|
|
margin-bottom: 8rpx;
|
||
|
|
text-align: justify;
|
||
|
|
font-weight: normal; /* 明确设置字体粗细 */
|
||
|
|
-webkit-font-smoothing: antialiased; /* 禁用iOS字体优化 */
|
||
|
|
-moz-osx-font-smoothing: grayscale; /* 禁用Firefox字体优化 */
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-content:first-letter {
|
||
|
|
font-size: 32rpx;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 返回按钮 */
|
||
|
|
.agreement-footer {
|
||
|
|
padding: 30rpx;
|
||
|
|
background: #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.back-btn {
|
||
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||
|
|
color: #ffffff;
|
||
|
|
border: none;
|
||
|
|
border-radius: 50rpx;
|
||
|
|
font-size: 30rpx;
|
||
|
|
box-shadow: 0 10rpx 30rpx rgba(102, 126, 234, 0.4);
|
||
|
|
}
|
||
|
|
|
||
|
|
.back-btn:active {
|
||
|
|
opacity: 0.9;
|
||
|
|
transform: translateY(1rpx);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 响应式调整 */
|
||
|
|
@media (max-width: 375px) {
|
||
|
|
.agreement-title text {
|
||
|
|
font-size: 32rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-title {
|
||
|
|
font-size: 30rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-content {
|
||
|
|
font-size: 24rpx;
|
||
|
|
line-height: 36rpx;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 滚动条样式 */
|
||
|
|
::-webkit-scrollbar {
|
||
|
|
width: 0;
|
||
|
|
height: 0;
|
||
|
|
display: none;
|
||
|
|
}
|