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-notify/props.js | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-notify/props.js b/uni_modules/uview-ui/components/u-notify/props.js new file mode 100644 index 0000000..57a9d71 --- /dev/null +++ b/uni_modules/uview-ui/components/u-notify/props.js @@ -0,0 +1,49 @@ +export default { + props: { + // 鍒伴《閮ㄧ殑璺濈 + top: { + type: [String, Number], + default: uni.$u.props.notify.top + }, + // 鏄惁灞曠ず缁勪欢 + // show: { + // type: Boolean, + // default: uni.$u.props.notify.show + // }, + // type涓婚锛宲rimary锛宻uccess锛寃arning锛宔rror + type: { + type: String, + default: uni.$u.props.notify.type + }, + // 瀛椾綋棰滆壊 + color: { + type: String, + default: uni.$u.props.notify.color + }, + // 鑳屾櫙棰滆壊 + bgColor: { + type: String, + default: uni.$u.props.notify.bgColor + }, + // 灞曠ず鐨勬枃瀛楀唴瀹� + message: { + type: String, + default: uni.$u.props.notify.message + }, + // 灞曠ず鏃堕暱锛屼负0鏃朵笉娑堝け锛屽崟浣峬s + duration: { + type: [String, Number], + default: uni.$u.props.notify.duration + }, + // 瀛椾綋澶у皬 + fontSize: { + type: [String, Number], + default: uni.$u.props.notify.fontSize + }, + // 鏄惁鐣欏嚭椤堕儴瀹夊叏璺濈锛堢姸鎬佹爮楂樺害锛� + safeAreaInsetTop: { + type: Boolean, + default: uni.$u.props.notify.safeAreaInsetTop + } + } +} -- Gitblit v1.9.3