[{"id":"840f0737-df1d-47ae-bb0a-359b01fe0608","tags":[{"product":null,"links":null,"id":"adf72f47-7f61-4239-8392-b9bcc127fa80","name":"\u65B0\u589E","color":"green","productId":"0995490e-43fc-4d6e-bc8d-8e66f38b0c63"}]},{"id":"d5d9cdef-8854-4505-89be-a2bbc3cb4482","tags":[{"product":null,"links":null,"id":"adf72f47-7f61-4239-8392-b9bcc127fa80","name":"\u65B0\u589E","color":"green","productId":"0995490e-43fc-4d6e-bc8d-8e66f38b0c63"}]},{"id":"3dc3dd55-35b0-4d23-bf62-47bc3650e4ee","tags":[{"product":null,"links":null,"id":"adf72f47-7f61-4239-8392-b9bcc127fa80","name":"\u65B0\u589E","color":"green","productId":"0995490e-43fc-4d6e-bc8d-8e66f38b0c63"}]},{"id":"80d84fbc-d0f8-4e4a-947f-e3e4de9b49b2","tags":[{"product":null,"links":null,"id":"adf72f47-7f61-4239-8392-b9bcc127fa80","name":"\u65B0\u589E","color":"green","productId":"0995490e-43fc-4d6e-bc8d-8e66f38b0c63"}]},{"id":"9152b7ca-0186-4fe3-a26f-5a05f322db07","tags":[{"product":null,"links":null,"id":"adf72f47-7f61-4239-8392-b9bcc127fa80","name":"\u65B0\u589E","color":"green","productId":"0995490e-43fc-4d6e-bc8d-8e66f38b0c63"}]}]
        
(Showing Draft Content)

按钮控件

使用场景:按钮控件用于执行某种操作,如查询、清空、重置。无需绑定参数。一般在添加完其他查询控件后添加按钮控件,用于执行查询、清空或者重置等操作。

使用示例:

image2020-5-22_12-15-6.png

使用控件

1. 进入查询面板,单击添加一个按钮控件。默认为预览按钮。

image2020-5-22_12-23-24.png


2. 外观与属性设置。

在右侧的属性设置面板中可对控件外观和功能进行设置。

image


比如将按钮动作设置为“清空”,背景色设置为“警告颜色”,标题文本设置为“清空”。

image


与其他控件配合使用效果如下:

image2020-5-22_12-29-18.png

属性介绍

属性名

说明

按钮动作

定义按钮的功能,支持预览、重置、清空。

背景色

设置按钮颜色。

默认:灰色。

主题颜色:随当前系统的主题色变化。

错误颜色:即红色。

警告颜色:即黄色。

标题文本

设置按钮上显示的文字。支持使用表达式。

位置&大小

请参见控件通用属性