From 224c9ea9b143249d14870a6b508a6aad4a326a74 Mon Sep 17 00:00:00 2001 From: wssam <573616439@qq.com> Date: Tue, 23 Apr 2024 11:11:17 +0000 Subject: [PATCH] =?UTF-8?q?update=20tuniao-ui/components/tn-tag/tn-tag.vue?= =?UTF-8?q?.=20=E6=8E=A7=E5=88=B6=E5=86=85=E5=AE=B9line-height=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E5=9C=A8tag=E9=87=8C=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wssam <573616439@qq.com> --- tuniao-ui/components/tn-tag/tn-tag.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tuniao-ui/components/tn-tag/tn-tag.vue b/tuniao-ui/components/tn-tag/tn-tag.vue index 180ca59..4b6be7a 100644 --- a/tuniao-ui/components/tn-tag/tn-tag.vue +++ b/tuniao-ui/components/tn-tag/tn-tag.vue @@ -119,21 +119,25 @@ style.padding = '0 12rpx' style.fontSize = '20rpx' style.height = '32rpx' + style.lineHeight = '32rpx' break case 'lg': style.padding = '0 20rpx' style.fontSize = '28rpx' style.height = '62rpx' + style.lineHeight = '62rpx' break default: style.padding = '0 16rpx' style.fontSize = '24rpx' style.height = '48rpx' + style.lineHeight = '48rpx' break } style.width = this.width || '120rpx' style.height = this.height || style.height + style.lineHeight = this.height || style.height style.padding = this.padding || style.padding if (this.margin) {