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-tooltip/props.js | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 59 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-tooltip/props.js b/minipro_standard/uni_modules/uview-ui/components/u-tooltip/props.js
new file mode 100644
index 0000000..16aecbc
--- /dev/null
+++ b/minipro_standard/uni_modules/uview-ui/components/u-tooltip/props.js
@@ -0,0 +1,59 @@
+export default {
+ props: {
+ // 闇�瑕佹樉绀虹殑鎻愮ず鏂囧瓧
+ text: {
+ type: [String, Number],
+ default: uni.$u.props.tooltip.text
+ },
+ // 鐐瑰嚮澶嶅埗鎸夐挳鏃讹紝澶嶅埗鐨勬枃鏈紝涓虹┖鍒欎娇鐢╰ext鍊�
+ copyText: {
+ type: [String, Number],
+ default: uni.$u.props.tooltip.copyText
+ },
+ // 鏂囨湰澶у皬
+ size: {
+ type: [String, Number],
+ default: uni.$u.props.tooltip.size
+ },
+ // 瀛椾綋棰滆壊
+ color: {
+ type: String,
+ default: uni.$u.props.tooltip.color
+ },
+ // 寮瑰嚭鎻愮ず妗嗘椂锛屾枃鏈殑鑳屾櫙鑹�
+ bgColor: {
+ type: String,
+ default: uni.$u.props.tooltip.bgColor
+ },
+ // 寮瑰嚭鎻愮ず鐨勬柟鍚戯紝top-涓婃柟锛宐ottom-涓嬫柟
+ direction: {
+ type: String,
+ default: uni.$u.props.tooltip.direction
+ },
+ // 寮瑰嚭鎻愮ず鐨剒-index锛宯vue鏃犳晥
+ zIndex: {
+ type: [String, Number],
+ default: uni.$u.props.tooltip.zIndex
+ },
+ // 鏄惁鏄剧ず澶嶅埗鎸夐挳
+ showCopy: {
+ type: Boolean,
+ default: uni.$u.props.tooltip.showCopy
+ },
+ // 鎵╁睍鐨勬寜閽粍
+ buttons: {
+ type: Array,
+ default: uni.$u.props.tooltip.buttons
+ },
+ // 鏄惁鏄剧ず閫忔槑閬僵浠ラ槻姝㈣Е鎽哥┛閫�
+ overlay: {
+ type: Boolean,
+ default: uni.$u.props.tooltip.overlay
+ },
+ // 鏄惁鏄剧ず澶嶅埗鎴愬姛鎴栬�呭け璐ョ殑toast
+ showToast: {
+ type: Boolean,
+ default: uni.$u.props.tooltip.showToast
+ }
+ }
+}
--
Gitblit v1.9.3