This commit is contained in:
zoujiandong
2026-03-17 18:59:46 +08:00
parent 4a22470f38
commit b5cc11ddd3
9 changed files with 600 additions and 62 deletions
+11 -1
View File
@@ -108,9 +108,12 @@
<view class="item-title">{{ news.title }}</view>
<view class="item-meta">
<text class="item-date">{{ formatDate(news.createDate) }}</text>
<view class="item-stats">
<view class="item-stats middel" >
<uni-icons type="eye" size="14" color="#999"></uni-icons>
<text>{{ news.readnum || 0 }}</text>
</view>
<view class="item-stats">
<uni-icons type="hand-up" size="14" color="#999" style="margin-left: 20rpx;"></uni-icons>
<text>{{ news.agreenum || 0 }}</text>
</view>
@@ -736,17 +739,24 @@
color: #999;
.item-date {
width:125rpx;
white-space: nowrap;
flex-shrink: 0;
}
.item-stats {
display: flex;
align-items: center;
text {
margin-left: 8rpx;
}
}
.middel {
width:95rpx;
text-align: left;
}
}
}
}