mirror of
https://gitee.com/qingqing-coconut-tea/RcKtFezyRAZX
synced 2026-07-21 10:32:32 +08:00
103 lines
1.7 KiB
Plaintext
103 lines
1.7 KiB
Plaintext
/* components/article-card/article-card.wxss */
|
||
/* 文章卡片样式 */
|
||
|
||
.article-card {
|
||
background-color: #fff;
|
||
border-radius: 16rpx;
|
||
overflow: hidden;
|
||
margin-bottom: 20rpx;
|
||
}
|
||
|
||
.card-content {
|
||
display: flex;
|
||
padding: 24rpx;
|
||
}
|
||
|
||
.cover {
|
||
width: 200rpx;
|
||
height: 150rpx;
|
||
border-radius: 12rpx;
|
||
margin-right: 20rpx;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.info {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
}
|
||
|
||
.title {
|
||
font-size: 30rpx;
|
||
font-weight: bold;
|
||
color: #333;
|
||
margin-bottom: 12rpx;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
display: -webkit-box;
|
||
-webkit-line-clamp: 2;
|
||
-webkit-box-orient: vertical;
|
||
}
|
||
|
||
.summary {
|
||
font-size: 24rpx;
|
||
color: #999;
|
||
margin-bottom: 16rpx;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
display: -webkit-box;
|
||
-webkit-line-clamp: 2;
|
||
-webkit-box-orient: vertical;
|
||
flex: 1;
|
||
}
|
||
|
||
.meta {
|
||
display: flex;
|
||
gap: 20rpx;
|
||
}
|
||
|
||
.author,
|
||
.time {
|
||
font-size: 22rpx;
|
||
color: #999;
|
||
}
|
||
|
||
.card-actions {
|
||
display: flex;
|
||
border-top: 1rpx solid #f0f0f0;
|
||
}
|
||
|
||
.action-item {
|
||
flex: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 20rpx;
|
||
gap: 8rpx;
|
||
}
|
||
|
||
.action-item .iconfont {
|
||
font-size: 32rpx;
|
||
color: #999;
|
||
}
|
||
|
||
.action-item text {
|
||
font-size: 24rpx;
|
||
color: #999;
|
||
}
|
||
|
||
.action-item.active .iconfont {
|
||
color: #667eea;
|
||
}
|
||
|
||
.action-item.active text {
|
||
color: #667eea;
|
||
}
|
||
|
||
/**
|
||
* @联系作者:16768118056
|
||
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
|
||
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
|
||
*/
|