这样?
button0控件的点击事件:
this.options.form.getWidgetByName("button0").css("background-color","red");
this.options.form.getWidgetByName("button1").css("background-color","");
button1控件的点击事件:
this.options.form.getWidgetByName("button0").css("background-color","");
this.options.form.getWidgetByName("button1").css("background-color","red");