白色主题

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

@@ -22,11 +22,7 @@ isComponent: true
{{ base }}
### 带返回导航栏
{{ back }}
### 带返回,主页按钮导航栏
### 胶囊样式导航栏
{{ back-home }}
@@ -38,7 +34,7 @@ isComponent: true
{{ img }}
### 标题左对齐
### 组件样式
{{ left-title }}

View File

@@ -1,7 +1,7 @@
<wxs src="../common/utils.wxs" module="_" />
<view
class="{{_.cls(classPrefix, ['fixed', fixed])}} {{visibleClass}} {{prefix}}-class"
style="{{boxStyle}}; {{customStyle}}"
style="{{boxStyle}}; {{style}}"
>
<view wx:if="{{fixed}}" class="{{classPrefix}}__placeholder" />
<view class="{{classPrefix}}__content">

View File

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

View File

@@ -3,7 +3,7 @@ export interface TdNavbarProps {
type: BooleanConstructor;
value?: boolean;
};
customStyle?: {
style?: {
type: StringConstructor;
value?: string;
};