From 627c3e0a6920131d75eafa4646db373ccc936546 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:52:07 +0800
Subject: [PATCH] 小程序diamante
---
minipro_standard/uni_modules/uview-ui/components/u-modal/props.js | 84 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 84 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-modal/props.js b/minipro_standard/uni_modules/uview-ui/components/u-modal/props.js
new file mode 100644
index 0000000..f76672c
--- /dev/null
+++ b/minipro_standard/uni_modules/uview-ui/components/u-modal/props.js
@@ -0,0 +1,84 @@
+export default {
+ props: {
+ // 鏄惁灞曠ずmodal
+ show: {
+ type: Boolean,
+ default: uni.$u.props.modal.show
+ },
+ // 鏍囬
+ title: {
+ type: [String],
+ default: uni.$u.props.modal.title
+ },
+ // 寮圭獥鍐呭
+ content: {
+ type: String,
+ default: uni.$u.props.modal.content
+ },
+ // 纭鏂囨
+ confirmText: {
+ type: String,
+ default: uni.$u.props.modal.confirmText
+ },
+ // 鍙栨秷鏂囨
+ cancelText: {
+ type: String,
+ default: uni.$u.props.modal.cancelText
+ },
+ // 鏄惁鏄剧ず纭鎸夐挳
+ showConfirmButton: {
+ type: Boolean,
+ default: uni.$u.props.modal.showConfirmButton
+ },
+ // 鏄惁鏄剧ず鍙栨秷鎸夐挳
+ showCancelButton: {
+ type: Boolean,
+ default: uni.$u.props.modal.showCancelButton
+ },
+ // 纭鎸夐挳棰滆壊
+ confirmColor: {
+ type: String,
+ default: uni.$u.props.modal.confirmColor
+ },
+ // 鍙栨秷鏂囧瓧棰滆壊
+ cancelColor: {
+ type: String,
+ default: uni.$u.props.modal.cancelColor
+ },
+ // 瀵硅皟纭鍜屽彇娑堢殑浣嶇疆
+ buttonReverse: {
+ type: Boolean,
+ default: uni.$u.props.modal.buttonReverse
+ },
+ // 鏄惁寮�鍚缉鏀炬晥鏋�
+ zoom: {
+ type: Boolean,
+ default: uni.$u.props.modal.zoom
+ },
+ // 鏄惁寮傛鍏抽棴锛屽彧瀵圭‘瀹氭寜閽湁鏁�
+ asyncClose: {
+ type: Boolean,
+ default: uni.$u.props.modal.asyncClose
+ },
+ // 鏄惁鍏佽鐐瑰嚮閬僵鍏抽棴modal
+ closeOnClickOverlay: {
+ type: Boolean,
+ default: uni.$u.props.modal.closeOnClickOverlay
+ },
+ // 缁欎竴涓礋鐨刴argin-top锛屽線涓婂亸绉伙紝閬垮厤鍜岄敭鐩橀噸鍚堢殑鎯呭喌
+ negativeTop: {
+ type: [String, Number],
+ default: uni.$u.props.modal.negativeTop
+ },
+ // modal瀹藉害锛屼笉鏀寔鐧惧垎姣旓紝鍙互鏁板�硷紝px锛宺px鍗曚綅
+ width: {
+ type: [String, Number],
+ default: uni.$u.props.modal.width
+ },
+ // 纭鎸夐挳鐨勬牱寮忥紝circle-鍦嗗舰锛宻quare-鏂瑰舰锛屽璁剧疆锛屽皢涓嶄細鏄剧ず鍙栨秷鎸夐挳
+ confirmButtonShape: {
+ type: String,
+ default: uni.$u.props.modal.confirmButtonShape
+ }
+ }
+}
--
Gitblit v1.9.3