白色主题

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

@@ -23,14 +23,14 @@ let Divider = class Divider extends SuperComponent {
classPrefix: name,
};
this.observers = {
'lineColor, customStyle'() {
'lineColor, style'() {
this.setStyle();
},
};
this.methods = {
setStyle() {
const { lineColor, customStyle } = this.properties;
const dividerStyle = `${lineColor ? `border-color: ${lineColor};` : ''}${customStyle ? `${customStyle}` : ''}`;
const { lineColor, style } = this.properties;
const dividerStyle = `${lineColor ? `border-color: ${lineColor};` : ''}${style ? `${style}` : ''}`;
this.setData({
dividerStyle,
});