白色主题

This commit is contained in:
2023-02-12 19:04:01 +08:00
parent d736a5912f
commit 57ab6fbb49
411 changed files with 1752 additions and 5304 deletions

View File

@@ -7,7 +7,7 @@ const props = {
type: Boolean,
value: false,
},
customStyle: {
style: {
type: String,
value: '',
},

View File

@@ -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,

View File

@@ -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

View File

@@ -9,7 +9,7 @@ export interface TdRadioGroupProps<T = RadioValue> {
type: BooleanConstructor;
value?: boolean;
};
customStyle?: {
style?: {
type: StringConstructor;
value?: string;
};