白色主题
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}}"
|
||||
|
||||
@@ -2,10 +2,6 @@ const props = {
|
||||
buttonProps: {
|
||||
type: Object,
|
||||
},
|
||||
customStyle: {
|
||||
type: String,
|
||||
value: 'right: 16px; bottom: 32px;',
|
||||
},
|
||||
icon: {
|
||||
type: String,
|
||||
value: '',
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user