From da25434b85fc5b4321c429bf95e719d00ec395bb Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 11 Jan 2024 16:21:16 +0800 Subject: [PATCH] 定位优化 --- uni_modules/uview-ui/components/u-alert/props.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-alert/props.js b/uni_modules/uview-ui/components/u-alert/props.js new file mode 100644 index 0000000..4297e2c --- /dev/null +++ b/uni_modules/uview-ui/components/u-alert/props.js @@ -0,0 +1,44 @@ +export default { + props: { + // ������������ + title: { + type: String, + default: uni.$u.props.alert.title + }, + // ���������success/warning/info/error + type: { + type: String, + default: uni.$u.props.alert.type + }, + // ��������������� + description: { + type: String, + default: uni.$u.props.alert.description + }, + // ��������������� + closable: { + type: Boolean, + default: uni.$u.props.alert.closable + }, + // ������������������ + showIcon: { + type: Boolean, + default: uni.$u.props.alert.showIcon + }, + // ������������������light-���������dark-������ + effect: { + type: String, + default: uni.$u.props.alert.effect + }, + // ������������������ + center: { + type: Boolean, + default: uni.$u.props.alert.center + }, + // ������������ + fontSize: { + type: [String, Number], + default: uni.$u.props.alert.fontSize + } + } +} -- Gitblit v1.8.0