Compare commits

...

4 Commits

Author SHA1 Message Date
wssam e39af9afd4 Pre Merge pull request !9 from wssam/N/A 2025-03-27 08:01:29 +00:00
aisen 5ba0d32004 [fix] 修复吸附组件的背景颜色bug 2025-03-27 16:01:13 +08:00
aisen e87317d52e [fix] 修复车牌号的最后输入为0无法保存的问题 2025-02-26 23:21:26 +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
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -200,7 +200,7 @@
return
}
// this.licensePlateValue[this.currentLicensePlateIndex] = e
this.$set(this.licensePlateValue, this.currentLicensePlateIndex, e)
this.$set(this.licensePlateValue, this.currentLicensePlateIndex, e+"")
this.currentLicensePlateIndex++
// 判断车牌是否已经选择完成
if (this.currentLicensePlateIndex === 8) {
+2 -4
View File
@@ -12,7 +12,8 @@
top: stickyTop + 'px',
left: left + 'px',
width: width === 'auto' ? 'auto' : width + 'px',
zIndex: elZIndex
zIndex: elZIndex,
backgroundColor: backgroundColorStyle
}"
>
<slot></slot>
@@ -83,9 +84,6 @@
stickyStyle() {
let style = {}
style.height = this.fixed ? this.height + 'px' : 'auto'
if (this.backgroundColorStyle) {
style.color = this.backgroundColorStyle
}
if (this.elZIndex) {
style.zIndex = this.elZIndex
}
+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) {