Compare commits

..

1 Commits

Author SHA1 Message Date
wssam 9bd1329753 Pre Merge pull request !9 from wssam/N/A 2025-01-09 07:28:31 +00:00
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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) {
+4 -2
View File
@@ -12,8 +12,7 @@
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>
@@ -84,6 +83,9 @@
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
} }