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-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