mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-06-07 03:53:57 +08:00
Compare commits
4 Commits
9bd1329753
...
e39af9afd4
| Author | SHA1 | Date | |
|---|---|---|---|
| e39af9afd4 | |||
| 5ba0d32004 | |||
| e87317d52e | |||
| 224c9ea9b1 |
@@ -200,7 +200,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// this.licensePlateValue[this.currentLicensePlateIndex] = e
|
// this.licensePlateValue[this.currentLicensePlateIndex] = e
|
||||||
this.$set(this.licensePlateValue, this.currentLicensePlateIndex, e)
|
this.$set(this.licensePlateValue, this.currentLicensePlateIndex, e+"")
|
||||||
this.currentLicensePlateIndex++
|
this.currentLicensePlateIndex++
|
||||||
// 判断车牌是否已经选择完成
|
// 判断车牌是否已经选择完成
|
||||||
if (this.currentLicensePlateIndex === 8) {
|
if (this.currentLicensePlateIndex === 8) {
|
||||||
|
|||||||
@@ -12,7 +12,8 @@
|
|||||||
top: stickyTop + 'px',
|
top: stickyTop + 'px',
|
||||||
left: left + 'px',
|
left: left + 'px',
|
||||||
width: width === 'auto' ? 'auto' : width + 'px',
|
width: width === 'auto' ? 'auto' : width + 'px',
|
||||||
zIndex: elZIndex
|
zIndex: elZIndex,
|
||||||
|
backgroundColor: backgroundColorStyle
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
@@ -83,9 +84,6 @@
|
|||||||
stickyStyle() {
|
stickyStyle() {
|
||||||
let style = {}
|
let style = {}
|
||||||
style.height = this.fixed ? this.height + 'px' : 'auto'
|
style.height = this.fixed ? this.height + 'px' : 'auto'
|
||||||
if (this.backgroundColorStyle) {
|
|
||||||
style.color = this.backgroundColorStyle
|
|
||||||
}
|
|
||||||
if (this.elZIndex) {
|
if (this.elZIndex) {
|
||||||
style.zIndex = this.elZIndex
|
style.zIndex = this.elZIndex
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,21 +119,25 @@
|
|||||||
style.padding = '0 12rpx'
|
style.padding = '0 12rpx'
|
||||||
style.fontSize = '20rpx'
|
style.fontSize = '20rpx'
|
||||||
style.height = '32rpx'
|
style.height = '32rpx'
|
||||||
|
style.lineHeight = '32rpx'
|
||||||
break
|
break
|
||||||
case 'lg':
|
case 'lg':
|
||||||
style.padding = '0 20rpx'
|
style.padding = '0 20rpx'
|
||||||
style.fontSize = '28rpx'
|
style.fontSize = '28rpx'
|
||||||
style.height = '62rpx'
|
style.height = '62rpx'
|
||||||
|
style.lineHeight = '62rpx'
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
style.padding = '0 16rpx'
|
style.padding = '0 16rpx'
|
||||||
style.fontSize = '24rpx'
|
style.fontSize = '24rpx'
|
||||||
style.height = '48rpx'
|
style.height = '48rpx'
|
||||||
|
style.lineHeight = '48rpx'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
style.width = this.width || '120rpx'
|
style.width = this.width || '120rpx'
|
||||||
style.height = this.height || style.height
|
style.height = this.height || style.height
|
||||||
|
style.lineHeight = this.height || style.height
|
||||||
|
|
||||||
style.padding = this.padding || style.padding
|
style.padding = this.padding || style.padding
|
||||||
if (this.margin) {
|
if (this.margin) {
|
||||||
|
|||||||
Reference in New Issue
Block a user