158 lines
2.2 KiB
Plaintext
158 lines
2.2 KiB
Plaintext
/**app.wxss**/
|
|
.container {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 200rpx 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 全局样式 */
|
|
page {
|
|
background-color: #f6f6f6;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
/* 通用类 */
|
|
.card {
|
|
background: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 20rpx;
|
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.title {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
color: #666;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.text {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 20rpx 40rpx;
|
|
border-radius: 8rpx;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
border: none;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.btn.primary {
|
|
background: #1890ff;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn.success {
|
|
background: #52c41a;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn.warning {
|
|
background: #faad14;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn.danger {
|
|
background: #ff4d4f;
|
|
color: #fff;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.flex.center {
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.flex.between {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.flex.around {
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.flex.column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* 加载状态 */
|
|
.loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80rpx 40rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 80rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
/* 列表项 */
|
|
.list-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 30rpx 20rpx;
|
|
background: #fff;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.list-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.item-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.item-title {
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.item-desc {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.item-arrow {
|
|
font-size: 24rpx;
|
|
color: #ccc;
|
|
}
|