diff --git a/src/components/commentunit.vue b/src/components/commentunit.vue index 6ddf5dc..1c6cc65 100644 --- a/src/components/commentunit.vue +++ b/src/components/commentunit.vue @@ -21,9 +21,11 @@
{{ item.department_name }}
{{ item.hospital_name }}
{{ formateDate(item.created_at) }}
-
+
+
优质解答
+
{{ item.content }} @@ -311,20 +313,21 @@ const handleFreshList = () => { } .tag { - margin-top: 2px; + margin-top: 4px; font-size: 12px; color: #ffffff; height: 15px; + float: left; background: #43c9c3; border-radius: 10px; display: flex; padding: 0 4px; - width: 54px; - + min-width: 54px; justify-content: center; align-items: center; span { + white-space: nowrap; transform: scale(0.9); } }