- 从项目中删除分类页及相关代码和样式文件 - 从项目中删除详情页及相关代码和样式文件 - 首页简化为欢迎界面并添加跳转云开发测试页入口 - 更新自定义底部栏移除分类入口 - 更新app.js初始化云开发环境 - 修改app.json移除分类页面配置 - 调整首页样式和交互,提高简洁度 - 配置云函数目录路径cloudfunctionRoot为cloudfunctions/
128 lines
1.8 KiB
Plaintext
128 lines
1.8 KiB
Plaintext
/* 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);
|
|
}
|