白色主题
This commit is contained in:
@@ -7,7 +7,7 @@ const props = {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
},
|
||||
customStyle: {
|
||||
style: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@ const name = `${prefix}-radio-group`;
|
||||
let RadioGroup = class RadioGroup extends SuperComponent {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.externalClasses = [`${prefix}-class`];
|
||||
this.externalClasses = ['class', `${prefix}-class`];
|
||||
this.data = {
|
||||
prefix,
|
||||
classPrefix: name,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<view style="{{ customStyle }}" class="{{classPrefix}} {{prefix}}-class" aria-role="radiogroup">
|
||||
<view style="{{ style }}" class="{{classPrefix}} class {{prefix}}-class" aria-role="radiogroup">
|
||||
<slot />
|
||||
<block wx:for="{{radioOptions}}" wx:key="value">
|
||||
<t-radio
|
||||
|
||||
@@ -9,7 +9,7 @@ export interface TdRadioGroupProps<T = RadioValue> {
|
||||
type: BooleanConstructor;
|
||||
value?: boolean;
|
||||
};
|
||||
customStyle?: {
|
||||
style?: {
|
||||
type: StringConstructor;
|
||||
value?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user