白色主题

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

@@ -43,7 +43,7 @@ isComponent: true
button-props | Object | - | 透传至 Button 组件 | N
custom-style `v0.25.0` | String | right: 16px; bottom: 32px; | 自定义组件样式 | N
icon | String | - | 图标 | N
style | String | right: 16px; bottom: 32px; | 悬浮按钮的样式,常用于调整位置(即将废弃,建议使用 `customStyle` | N
style | String | right: 16px; bottom: 32px; | 悬浮按钮的样式,常用于调整位置(即将废弃,建议使用 `style` | N
text | String | - | 文本内容 | N
### Fab Events

View File

@@ -1,6 +1,6 @@
<import src="../common/template/button.wxml" />
<view class="{{classPrefix}} {{prefix}}-class" style="{{ customStyle }}">
<view class="{{classPrefix}} {{prefix}}-class" style="{{ style }}">
<template
is="button"
data="{{ ...baseButtonProps, icon, ...buttonProps, externalClass: prefix + '-fab__button', content: text, ariaLabel}}"

View File

@@ -2,10 +2,6 @@ const props = {
buttonProps: {
type: Object,
},
customStyle: {
type: String,
value: 'right: 16px; bottom: 32px;',
},
icon: {
type: String,
value: '',

View File

@@ -3,7 +3,7 @@ export interface TdFabProps {
type: ObjectConstructor;
value?: object;
};
customStyle?: {
style?: {
type: StringConstructor;
value?: string;
};
@@ -11,10 +11,6 @@ export interface TdFabProps {
type: StringConstructor;
value?: string;
};
style?: {
type: StringConstructor;
value?: string;
};
text?: {
type: StringConstructor;
value?: string;