Compare commits

...

3 Commits

Author SHA1 Message Date
wssam 7a937609d9 Pre Merge pull request !9 from wssam/N/A 2025-12-01 06:20:46 +00:00
aisen 9c161727ff [fix] 修复input 为选择框时没有提示问题 2025-12-01 14:20:38 +08:00
wssam 224c9ea9b1 update tuniao-ui/components/tn-tag/tn-tag.vue.
控制内容line-height高度在tag里居中

Signed-off-by: wssam <573616439@qq.com>
2024-04-23 11:11:17 +00:00
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
v-if="type === 'select'"
class="tn-input__text"
>
{{defaultValue}}
{{defaultValue == undefined || defaultValue == '' ? placeholder : defaultValue }}
</view>
<input
+4
View File
@@ -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) {