You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
2.2 KiB
149 lines
2.2 KiB
/** pages/test-tools/test-mode-switch.wxss **/
|
|
.container {
|
|
padding: 40rpx 30rpx;
|
|
background-color: #fff;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 60rpx;
|
|
}
|
|
|
|
.title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
display: block;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
display: block;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.setting-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 30rpx 0;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.setting-label {
|
|
flex: 1;
|
|
margin-right: 30rpx;
|
|
}
|
|
|
|
.label-text {
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
display: block;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.label-desc {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
display: block;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.setting-switch {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
.button-group {
|
|
margin-top: 60rpx;
|
|
padding: 0 20rpx;
|
|
}
|
|
|
|
.reset-button {
|
|
width: 100%;
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
font-size: 30rpx;
|
|
border-radius: 15rpx;
|
|
border: 2rpx solid #1AAD19;
|
|
color: #1AAD19;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.reset-button:active {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.tips {
|
|
margin-top: 60rpx;
|
|
padding: 30rpx;
|
|
background-color: #f8f8f8;
|
|
border-radius: 15rpx;
|
|
border-left: 4rpx solid #1AAD19;
|
|
}
|
|
|
|
.tip-text {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
display: block;
|
|
margin-bottom: 15rpx;
|
|
}
|
|
|
|
.tip-content {
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
display: block;
|
|
margin-bottom: 10rpx;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* 深色模式适配 */
|
|
.container.dark-mode {
|
|
background-color: #1a1a1a;
|
|
}
|
|
|
|
.container.dark-mode .title {
|
|
color: #fff;
|
|
}
|
|
|
|
.container.dark-mode .subtitle {
|
|
color: #ccc;
|
|
}
|
|
|
|
.container.dark-mode .setting-item {
|
|
border-bottom-color: #333;
|
|
}
|
|
|
|
.container.dark-mode .label-text {
|
|
color: #fff;
|
|
}
|
|
|
|
.container.dark-mode .label-desc {
|
|
color: #999;
|
|
}
|
|
|
|
.container.dark-mode .reset-button {
|
|
border-color: #4CAF50;
|
|
color: #4CAF50;
|
|
background-color: #1a1a1a;
|
|
}
|
|
|
|
.container.dark-mode .reset-button:active {
|
|
background-color: #333;
|
|
}
|
|
|
|
.container.dark-mode .tips {
|
|
background-color: #2a2a2a;
|
|
border-left-color: #4CAF50;
|
|
}
|
|
|
|
.container.dark-mode .tip-text {
|
|
color: #fff;
|
|
}
|
|
|
|
.container.dark-mode .tip-content {
|
|
color: #ccc;
|
|
}
|