提交 13d82cbc 编写于 作者: S sunjiakun

update interface

Signed-off-by: Nsunjiakun <sunjiakun3@huawei.com>
上级 78089a78
...@@ -37,12 +37,12 @@ struct SliderTest { ...@@ -37,12 +37,12 @@ struct SliderTest {
Ellipse = new Ellipse({ width: '280px', height: '280px' }).fill('#FFFF0000') Ellipse = new Ellipse({ width: '280px', height: '280px' }).fill('#FFFF0000')
Path = new Path({ width: '280px', height: '280px' }).fill('#FFFF0000') Path = new Path({ width: '280px', height: '280px' }).fill('#FFFF0000')
Rect = new Rect({ width: '280px', height: '280px' }).fill('#FFFF0000') Rect = new Rect({ width: '280px', height: '280px' }).fill('#FFFF0000')
private sliderImage: SliderBlockStyle = { type: 1, image: $r('app.media.icon') } private sliderImage: SliderBlockStyle = { type: SliderBlockType.IMAGE, image: $r('app.media.icon') }
private sliderShapeCircle: SliderBlockStyle = { type: 2, shape: this.circle } private sliderShapeCircle: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.circle }
private sliderShapeEllipse: SliderBlockStyle = { type: 2, shape: this.Ellipse } private sliderShapeEllipse: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Ellipse }
private sliderShapePath: SliderBlockStyle = { type: 2, shape: this.Path } private sliderShapePath: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Path }
private sliderShapeRect: SliderBlockStyle = { type: 2, shape: this.Rect } private sliderShapeRect: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Rect }
private sliderDefault: SliderBlockStyle = { type: 0 } private sliderDefault: SliderBlockStyle = { type: SliderBlockType.DEFAULT }
build() { build() {
Row() { Row() {
Column() { Column() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册