mirror of
https://gitee.com/qingqing-coconut-tea/RcKtFezyRAZX
synced 2026-07-21 10:32:32 +08:00
130 lines
2.1 KiB
Plaintext
130 lines
2.1 KiB
Plaintext
/* pages/my-article/my-article.wxss */
|
||
/* 我的文章样式 */
|
||
|
||
.my-article-container {
|
||
min-height: 100vh;
|
||
background-color: #f5f5f5;
|
||
padding: 20rpx 30rpx;
|
||
}
|
||
|
||
.article-item {
|
||
background-color: #fff;
|
||
border-radius: 16rpx;
|
||
margin-bottom: 20rpx;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.article-main {
|
||
display: flex;
|
||
padding: 24rpx;
|
||
}
|
||
|
||
.article-cover {
|
||
width: 160rpx;
|
||
height: 120rpx;
|
||
border-radius: 12rpx;
|
||
margin-right: 20rpx;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.article-info {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
}
|
||
|
||
.article-title {
|
||
font-size: 30rpx;
|
||
font-weight: bold;
|
||
color: #333;
|
||
margin-bottom: 16rpx;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
display: -webkit-box;
|
||
-webkit-line-clamp: 2;
|
||
-webkit-box-orient: vertical;
|
||
}
|
||
|
||
.article-meta {
|
||
display: flex;
|
||
gap: 20rpx;
|
||
margin-top: auto;
|
||
}
|
||
|
||
.status {
|
||
font-size: 22rpx;
|
||
padding: 4rpx 12rpx;
|
||
border-radius: 8rpx;
|
||
}
|
||
|
||
.status.published {
|
||
color: #67c23a;
|
||
background-color: rgba(103, 194, 58, 0.1);
|
||
}
|
||
|
||
.status.draft {
|
||
color: #e6a23c;
|
||
background-color: rgba(230, 162, 60, 0.1);
|
||
}
|
||
|
||
.status.deleted {
|
||
color: #f56c6c;
|
||
background-color: rgba(245, 108, 108, 0.1);
|
||
}
|
||
|
||
.time {
|
||
font-size: 22rpx;
|
||
color: #999;
|
||
}
|
||
|
||
.article-actions {
|
||
display: flex;
|
||
border-top: 1rpx solid #f0f0f0;
|
||
}
|
||
|
||
.action-btn {
|
||
flex: 1;
|
||
text-align: center;
|
||
padding: 24rpx;
|
||
font-size: 28rpx;
|
||
color: #667eea;
|
||
}
|
||
|
||
.action-btn.delete {
|
||
color: #f56c6c;
|
||
border-left: 1rpx solid #f0f0f0;
|
||
}
|
||
|
||
.loading-more,
|
||
.no-more {
|
||
text-align: center;
|
||
padding: 30rpx;
|
||
font-size: 24rpx;
|
||
color: #999;
|
||
}
|
||
|
||
.empty-state {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
padding: 100rpx 0;
|
||
}
|
||
|
||
.empty-icon {
|
||
font-size: 100rpx;
|
||
color: #ddd;
|
||
margin-bottom: 20rpx;
|
||
}
|
||
|
||
.empty-text {
|
||
font-size: 28rpx;
|
||
color: #999;
|
||
}
|
||
|
||
/**
|
||
* @联系作者:16768118056
|
||
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
|
||
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
|
||
*/
|