162 lines
2.4 KiB
Plaintext
162 lines
2.4 KiB
Plaintext
|
|
/* 评论服务测试页面样式 */
|
||
|
|
.container {
|
||
|
|
padding: 20rpx;
|
||
|
|
background-color: #f5f5f5;
|
||
|
|
min-height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header {
|
||
|
|
text-align: center;
|
||
|
|
margin-bottom: 40rpx;
|
||
|
|
padding: 30rpx;
|
||
|
|
background-color: white;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.title {
|
||
|
|
display: block;
|
||
|
|
font-size: 36rpx;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 10rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.subtitle {
|
||
|
|
display: block;
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #666;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-buttons {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 20rpx;
|
||
|
|
margin-bottom: 40rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-btn {
|
||
|
|
padding: 20rpx;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
font-size: 30rpx;
|
||
|
|
border: none;
|
||
|
|
background-color: white;
|
||
|
|
color: #333;
|
||
|
|
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-btn.primary {
|
||
|
|
background-color: #07c160;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-btn.secondary {
|
||
|
|
background-color: #ff6b6b;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-btn:disabled {
|
||
|
|
opacity: 0.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading {
|
||
|
|
text-align: center;
|
||
|
|
padding: 40rpx;
|
||
|
|
background-color: white;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.results {
|
||
|
|
background-color: white;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
padding: 30rpx;
|
||
|
|
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.results-title {
|
||
|
|
display: block;
|
||
|
|
font-size: 32rpx;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.result-item {
|
||
|
|
border: 1rpx solid #eee;
|
||
|
|
border-radius: 8rpx;
|
||
|
|
padding: 20rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.result-header {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
margin-bottom: 15rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-name {
|
||
|
|
font-size: 28rpx;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-status {
|
||
|
|
padding: 8rpx 16rpx;
|
||
|
|
border-radius: 20rpx;
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-status.success {
|
||
|
|
background-color: #07c160;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-status.error {
|
||
|
|
background-color: #ff6b6b;
|
||
|
|
}
|
||
|
|
|
||
|
|
.test-time {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #999;
|
||
|
|
}
|
||
|
|
|
||
|
|
.result-content {
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
padding: 15rpx;
|
||
|
|
border-radius: 6rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.result-content.error {
|
||
|
|
background-color: #fff5f5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.data-label, .error-label {
|
||
|
|
display: block;
|
||
|
|
font-size: 26rpx;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
margin-bottom: 8rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.data-content {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #666;
|
||
|
|
word-break: break-all;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-content {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #e53e3e;
|
||
|
|
word-break: break-all;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty {
|
||
|
|
text-align: center;
|
||
|
|
padding: 60rpx;
|
||
|
|
background-color: white;
|
||
|
|
border-radius: 10rpx;
|
||
|
|
color: #999;
|
||
|
|
font-size: 28rpx;
|
||
|
|
}
|