fuliqi
2024-01-24 29c1e7eb5ac16e90d8991a86c1c071bc312ec8d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Base from './base'
class Search extends Base {
  constructor (attr) {
    super(attr)
    this.fontColor = attr.fontColor || null
    this.fontSize = attr.fontSize || 12
    this.bgColor = attr.bgColor || null
    this.borderRadius = attr.borderRadius || 0
    this.strokeColor = attr.strokeColor || null
    this.strokeSize = attr.strokeSize || 0
    this.tipColor = attr.tipColor || null
    this.fixedPosition = attr.fixedPosition || false
  }
}
export default Search