From 64ee8a36dcd0cd00160395d586c3f618baf5be82 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Thu, 7 Dec 2023 01:23:55 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *完善活动链接识别 *调整特殊文本偏移 *调整链接卡片图片宽度 *大别野卡片样式重构 --- src/components/post/tp-linkCard.vue | 1 + src/components/post/tp-mention.vue | 39 +++++- src/components/post/tp-text.vue | 13 +- src/components/post/tp-villaCard.vue | 182 ++++++++++++++++++++------- 4 files changed, 182 insertions(+), 53 deletions(-) diff --git a/src/components/post/tp-linkCard.vue b/src/components/post/tp-linkCard.vue index 58e96be2..de187318 100644 --- a/src/components/post/tp-linkCard.vue +++ b/src/components/post/tp-linkCard.vue @@ -71,6 +71,7 @@ async function toLink() { } .tp-link-card-box img { + max-width: 50%; max-height: 180px; border-radius: 10px; cursor: pointer; diff --git a/src/components/post/tp-mention.vue b/src/components/post/tp-mention.vue index 65c75484..dcd85bd0 100644 --- a/src/components/post/tp-mention.vue +++ b/src/components/post/tp-mention.vue @@ -1,10 +1,15 @@ + diff --git a/src/components/post/tp-text.vue b/src/components/post/tp-text.vue index 9cb98cb9..62f8e0cb 100644 --- a/src/components/post/tp-text.vue +++ b/src/components/post/tp-text.vue @@ -1,5 +1,10 @@