From d8b41fff43a2cee6a8f714ffa807623b15803786 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Fri, 20 Oct 2023 15:21:35 +0800 Subject: [PATCH] fix:立行立改Uniapp小程序新建项目 --- uni_modules/uview-ui/components/u-popup/props.js | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-popup/props.js b/uni_modules/uview-ui/components/u-popup/props.js new file mode 100644 index 0000000..d9fe952 --- /dev/null +++ b/uni_modules/uview-ui/components/u-popup/props.js @@ -0,0 +1,79 @@ +export default { + props: { + // ������������������ + show: { + type: Boolean, + default: uni.$u.props.popup.show + }, + // ������������������ + overlay: { + type: Boolean, + default: uni.$u.props.popup.overlay + }, + // ������������������������������ top bottom right left center + mode: { + type: String, + default: uni.$u.props.popup.mode + }, + // ���������������������ms + duration: { + type: [String, Number], + default: uni.$u.props.popup.duration + }, + // ������������������������ + closeable: { + type: Boolean, + default: uni.$u.props.popup.closeable + }, + // ������������������������ + overlayStyle: { + type: [Object, String], + default: uni.$u.props.popup.overlayStyle + }, + // ������������������������������ + closeOnClickOverlay: { + type: Boolean, + default: uni.$u.props.popup.closeOnClickOverlay + }, + // ������ + zIndex: { + type: [String, Number], + default: uni.$u.props.popup.zIndex + }, + // ���������iPhoneX������������������������ + safeAreaInsetBottom: { + type: Boolean, + default: uni.$u.props.popup.safeAreaInsetBottom + }, + // ��������������������������������������������������� + safeAreaInsetTop: { + type: Boolean, + default: uni.$u.props.popup.safeAreaInsetTop + }, + // ������������������������������top-left���������������top-right���������������bottom-left���������������bottom-right������������ + closeIconPos: { + type: String, + default: uni.$u.props.popup.closeIconPos + }, + // ������������������ + round: { + type: [Boolean, String, Number], + default: uni.$u.props.popup.round + }, + // mode=center��������������������������������������������������� + zoom: { + type: Boolean, + default: uni.$u.props.popup.zoom + }, + // ���������������������������transparent��������������������� + bgColor: { + type: String, + default: uni.$u.props.popup.bgColor + }, + // ���������������������0-1������ + overlayOpacity: { + type: [Number, String], + default: uni.$u.props.popup.overlayOpacity + } + } +} -- Gitblit v1.8.0