98 lines
1.5 KiB
SCSS
98 lines
1.5 KiB
SCSS
|
|
/* pages/date/date.wxss */
|
||
|
|
.container {
|
||
|
|
padding: 20rpx;
|
||
|
|
background-color: #f5f5f5;
|
||
|
|
min-height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header {
|
||
|
|
margin-bottom: 30rpx;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title {
|
||
|
|
font-size: 36rpx;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section {
|
||
|
|
width: 100%;
|
||
|
|
background-color: #fff;
|
||
|
|
border-radius: 16rpx;
|
||
|
|
padding: 30rpx;
|
||
|
|
margin-bottom: 30rpx;
|
||
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-title {
|
||
|
|
font-size: 32rpx;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 10rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-desc {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #666;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.example-list {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 24rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.example-item {
|
||
|
|
padding: 20rpx;
|
||
|
|
background-color: #f9f9f9;
|
||
|
|
border-radius: 12rpx;
|
||
|
|
border-left: 4rpx solid #1890ff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.example-label {
|
||
|
|
font-size: 28rpx;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 8rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.example-format {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #999;
|
||
|
|
margin-bottom: 12rpx;
|
||
|
|
font-family: 'Courier New', monospace;
|
||
|
|
}
|
||
|
|
|
||
|
|
.example-value {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 16rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.result-text {
|
||
|
|
flex: 1;
|
||
|
|
font-size: 26rpx;
|
||
|
|
color: #1890ff;
|
||
|
|
word-break: break-all;
|
||
|
|
font-family: 'Courier New', monospace;
|
||
|
|
}
|
||
|
|
|
||
|
|
.copy-btn {
|
||
|
|
padding: 8rpx 20rpx;
|
||
|
|
background-color: #1890ff;
|
||
|
|
color: #fff;
|
||
|
|
font-size: 24rpx;
|
||
|
|
border-radius: 8rpx;
|
||
|
|
white-space: nowrap;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.copy-btn:active {
|
||
|
|
background-color: #40a9ff;
|
||
|
|
opacity: 0.8;
|
||
|
|
}
|