Initial commit
This commit is contained in:
128
miniprogram/pages/privacy-policy/index.wxss
Normal file
128
miniprogram/pages/privacy-policy/index.wxss
Normal file
@@ -0,0 +1,128 @@
|
||||
/* pages/privacy-policy/index.wxss */
|
||||
.container {
|
||||
height: 100vh;
|
||||
background-color: #f8f9fa;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
||||
padding: 60rpx 40rpx 40rpx;
|
||||
text-align: center;
|
||||
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 40rpx;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.policy-content {
|
||||
padding: 40rpx;
|
||||
background: white;
|
||||
margin: 20rpx;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 2rpx 16rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 50rpx;
|
||||
padding-bottom: 30rpx;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
}
|
||||
|
||||
.section:last-child {
|
||||
border-bottom: none;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
display: block;
|
||||
font-size: 34rpx;
|
||||
font-weight: bold;
|
||||
color: #2c3e50;
|
||||
margin-bottom: 24rpx;
|
||||
padding: 16rpx 24rpx;
|
||||
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
||||
color: white;
|
||||
border-radius: 12rpx;
|
||||
text-align: center;
|
||||
box-shadow: 0 4rpx 12rpx rgba(79, 172, 254, 0.3);
|
||||
}
|
||||
|
||||
.section-content {
|
||||
display: block;
|
||||
font-size: 28rpx;
|
||||
line-height: 2;
|
||||
color: #555;
|
||||
white-space: pre-line;
|
||||
text-align: justify;
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
|
||||
/* 滚动条样式 */
|
||||
.content::-webkit-scrollbar {
|
||||
width: 6rpx;
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar-track {
|
||||
background: #f1f1f1;
|
||||
border-radius: 3rpx;
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar-thumb {
|
||||
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
||||
border-radius: 3rpx;
|
||||
}
|
||||
|
||||
.content::-webkit-scrollbar-thumb:hover {
|
||||
background: linear-gradient(135deg, #3d8bfe 0%, #00d4fe 100%);
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media (max-width: 750rpx) {
|
||||
.policy-content {
|
||||
margin: 10rpx;
|
||||
padding: 30rpx;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 32rpx;
|
||||
padding: 14rpx 20rpx;
|
||||
}
|
||||
|
||||
.section-content {
|
||||
font-size: 26rpx;
|
||||
line-height: 1.8;
|
||||
}
|
||||
}
|
||||
|
||||
/* 深色模式适配 */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.container {
|
||||
background-color: #1a1a1a;
|
||||
}
|
||||
|
||||
.policy-content {
|
||||
background: #2d2d2d;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.section-content {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.section {
|
||||
border-bottom-color: #404040;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user