From 1dd0b0f6a29b974a06f30bf8963a25db1c83bcaa Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 7 Jan 2022 17:49:05 +0800 Subject: [PATCH] 26534 --- src/apps/AppVillageDiscuss/Detail.vue | 29 +++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/apps/AppVillageDiscuss/Detail.vue b/src/apps/AppVillageDiscuss/Detail.vue index 15a8557c..d9526b4b 100644 --- a/src/apps/AppVillageDiscuss/Detail.vue +++ b/src/apps/AppVillageDiscuss/Detail.vue @@ -58,7 +58,10 @@
- {{ item.item }}:{{ item.content }} +
+ {{ item.item }}: + {{ item.content }} +
{{ item.count }}
@@ -434,15 +437,32 @@ export default { position: relative; align-items: center; justify-content: space-between; - height: 64px; - line-height: 64px; + padding: 24px 32px; margin-bottom: 16px; - padding: 0 32px; background: #ffffff; border-radius: 8px; overflow: hidden; border: 1px solid #95cbff; + .left { + display: flex; + flex: 1; + line-height: 1.2; + margin-right: 20px; + + span { + word-break: break-word; + + &:first-child { + flex-shrink: 1; + } + + &:last-child { + flex: 1; + } + } + } + em { position: absolute; left: 0; @@ -453,6 +473,7 @@ export default { } span { + flex-shrink: 1; position: relative; z-index: 1; color: #5b84b3;