/* pages/cloud-test/cloud-test.wxss */ .container { min-height: 100vh; background-color: #f5f5f5; padding: 30rpx; box-sizing: border-box; } /* 标题 */ .header { text-align: center; padding: 30rpx 0; margin-bottom: 20rpx; } .title { display: block; font-size: 40rpx; font-weight: bold; color: #333; margin-bottom: 10rpx; } .subtitle { display: block; font-size: 26rpx; color: #999; } /* 功能区块 */ .section { background-color: #fff; border-radius: 16rpx; padding: 30rpx; margin-bottom: 20rpx; } .section-title { display: flex; align-items: center; font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 24rpx; } .section-title text { margin-left: 12rpx; } .btn-group { display: flex; flex-wrap: wrap; gap: 16rpx; } /* 日志区域 */ .log-section { background-color: #fff; border-radius: 16rpx; padding: 24rpx; margin-bottom: 20rpx; } .log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16rpx; } .log-title { font-size: 28rpx; font-weight: bold; color: #333; } .log-list { height: 400rpx; background-color: #1e1e1e; border-radius: 12rpx; padding: 16rpx; } .log-item { padding: 8rpx 0; font-size: 22rpx; font-family: 'Consolas', 'Monaco', monospace; word-break: break-all; } .log-time { color: #666; margin-right: 12rpx; } .log-message { color: #d4d4d4; } .log-info .log-message { color: #d4d4d4; } .log-success .log-message { color: #52c41a; } .log-error .log-message { color: #ff4d4f; } .log-empty { display: flex; justify-content: center; align-items: center; height: 100%; color: #666; font-size: 24rpx; } /* 底部 */ .footer { margin-top: 30rpx; padding-bottom: env(safe-area-inset-bottom); }