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.
75 lines
1.2 KiB
75 lines
1.2 KiB
/* 全局样式 */
|
|
page {
|
|
background-color: #f5f5f5;
|
|
font-size: 16px;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
}
|
|
|
|
.container {
|
|
padding: 20rpx;
|
|
}
|
|
|
|
/* 卡片样式 */
|
|
.card {
|
|
background: white;
|
|
border-radius: 12rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 20rpx;
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.05);
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn {
|
|
padding: 20rpx 40rpx;
|
|
border-radius: 8rpx;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #2c3e50;
|
|
color: white;
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: #27ae60;
|
|
color: white;
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: #f39c12;
|
|
color: white;
|
|
}
|
|
|
|
.btn-disabled {
|
|
background-color: #bdc3c7;
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
/* 标签样式 */
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 8rpx 16rpx;
|
|
border-radius: 6rpx;
|
|
font-size: 12px;
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.tag-available {
|
|
background-color: #d5f4e6;
|
|
color: #27ae60;
|
|
}
|
|
|
|
.tag-unavailable {
|
|
background-color: #fadbd8;
|
|
color: #e74c3c;
|
|
}
|
|
|
|
/* 图书封面 */
|
|
.book-cover {
|
|
width: 160rpx;
|
|
height: 220rpx;
|
|
border-radius: 8rpx;
|
|
background-color: #ecf0f1;
|
|
} |