From 743368e075a887c8fa4879ee039742b287b25d70 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期六, 28 二月 2026 16:28:02 +0800
Subject: [PATCH] 合并
---
mini-program/pages/community/community.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/mini-program/pages/community/community.vue b/mini-program/pages/community/community.vue
index aa72118..52207f6 100644
--- a/mini-program/pages/community/community.vue
+++ b/mini-program/pages/community/community.vue
@@ -22,8 +22,8 @@
<view class="info-title">{{item.name}}</view>
<view class="info-desc" v-if="item.contentInfo">{{item.contentInfo}}</view>
<view class="info-data">
- <view class="tips">{{item.lablesName}}</view>
- <text>{{item.looknum || 0}} 闃呰锝渰{item.createDate}}</text>
+ <view class="tips" :style="{ backgroundColor: item.param }">{{item.lablesName}}</view>
+ <text>{{item.looknum || 0}} 闃呰锝渰{item.createDate.substring(0, 16)}}</text>
</view>
</view>
<view class="image" v-if="item.imgurlfull">
@@ -179,7 +179,7 @@
width: 100%;
display: flex;
flex-direction: column;
- margin-top: 48rpx;
+ margin-top: 28rpx;
.sear-item-label {
font-weight: 500;
font-size: 32rpx;
@@ -205,6 +205,7 @@
font-weight: 400;
font-size: 28rpx;
color: #333333;
+ margin-bottom: 20rpx;
}
}
}
@@ -257,6 +258,10 @@
display: flex;
flex-direction: column;
.info-title {
+ width: calc(100vw - 60rpx - 220rpx);
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
font-weight: 600;
font-size: 32rpx;
color: #222222;
--
Gitblit v1.9.3