78 lines
1.0 KiB
Plaintext
78 lines
1.0 KiB
Plaintext
/**index.wxss**/
|
|
page {
|
|
background: #f7f8fa;
|
|
}
|
|
|
|
.container {
|
|
padding: 0 0 100rpx;
|
|
}
|
|
|
|
/* 顶部标题 */
|
|
.header {
|
|
padding: 20rpx 30rpx;
|
|
background: #fff;
|
|
}
|
|
|
|
.title {
|
|
font-size: 34rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
/* 书籍列表 */
|
|
.book-list {
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.book-item {
|
|
display: flex;
|
|
padding: 20rpx;
|
|
background: #fff;
|
|
border-radius: 12rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.book-cover {
|
|
width: 120rpx;
|
|
height: 160rpx;
|
|
border-radius: 8rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.book-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.book-title {
|
|
font-size: 30rpx;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-bottom: 8rpx;
|
|
display: block;
|
|
}
|
|
|
|
.book-author {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
}
|
|
|
|
/* 添加按钮 */
|
|
.add-btn {
|
|
position: fixed;
|
|
right: 40rpx;
|
|
bottom: 40rpx;
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
background: #1989fa;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4rpx 16rpx rgba(25, 137, 250, 0.3);
|
|
}
|
|
|
|
.add-icon {
|
|
color: #fff;
|
|
font-size: 60rpx;
|
|
}
|