From d1448cb0ef10f358bb7bddb4e1ec268515e0b787 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 15 七月 2025 11:46:57 +0800 Subject: [PATCH] 项目初始化 --- uni_modules/uview-ui/components/u-overlay/props.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-overlay/props.js b/uni_modules/uview-ui/components/u-overlay/props.js new file mode 100644 index 0000000..e6974df --- /dev/null +++ b/uni_modules/uview-ui/components/u-overlay/props.js @@ -0,0 +1,24 @@ +export default { + props: { + // 鏄惁鏄剧ず閬僵 + show: { + type: Boolean, + default: uni.$u.props.overlay.show + }, + // 灞傜骇z-index + zIndex: { + type: [String, Number], + default: uni.$u.props.overlay.zIndex + }, + // 閬僵鐨勮繃娓℃椂闂达紝鍗曚綅涓簃s + duration: { + type: [String, Number], + default: uni.$u.props.overlay.duration + }, + // 涓嶉�忔槑搴﹀�硷紝褰撳仛rgba鐨勭鍥涗釜鍙傛暟 + opacity: { + type: [String, Number], + default: uni.$u.props.overlay.opacity + } + } +} -- Gitblit v1.9.3