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-text/props.js | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 110 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-text/props.js b/minipro_standard/uni_modules/uview-ui/components/u-text/props.js
index e69de29..d330075 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-text/props.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-text/props.js
@@ -0,0 +1,110 @@
+export default {
+ props: {
+ // 涓婚棰滆壊
+ type: {
+ type: String,
+ default: uni.$u.props.text.type
+ },
+ // 鏄惁鏄剧ず
+ show: {
+ type: Boolean,
+ default: uni.$u.props.text.show
+ },
+ // 鏄剧ず鐨勫��
+ text: {
+ type: [String, Number],
+ default: uni.$u.props.text.text
+ },
+ // 鍓嶇疆鍥炬爣
+ prefixIcon: {
+ type: String,
+ default: uni.$u.props.text.prefixIcon
+ },
+ // 鍚庣疆鍥炬爣
+ suffixIcon: {
+ type: String,
+ default: uni.$u.props.text.suffixIcon
+ },
+ // 鏂囨湰澶勭悊鐨勫尮閰嶆ā寮�
+ // text-鏅�氭枃鏈紝price-浠锋牸锛宲hone-鎵嬫満鍙凤紝name-濮撳悕锛宒ate-鏃ユ湡锛宭ink-瓒呴摼鎺�
+ mode: {
+ type: String,
+ default: uni.$u.props.text.mode
+ },
+ // mode=link涓嬶紝閰嶇疆鐨勯摼鎺�
+ href: {
+ type: String,
+ default: uni.$u.props.text.href
+ },
+ // 鏍煎紡鍖栬鍒�
+ format: {
+ type: [String, Function],
+ default: uni.$u.props.text.format
+ },
+ // mode=phone鏃讹紝鐐瑰嚮鏂囨湰鏄惁鎷ㄦ墦鐢佃瘽
+ call: {
+ type: Boolean,
+ default: uni.$u.props.text.call
+ },
+ // 灏忕▼搴忕殑鎵撳紑鏂瑰紡
+ openType: {
+ type: String,
+ default: uni.$u.props.text.openType
+ },
+ // 鏄惁绮椾綋锛岄粯璁ormal
+ bold: {
+ type: Boolean,
+ default: uni.$u.props.text.bold
+ },
+ // 鏄惁鍧楃姸
+ block: {
+ type: Boolean,
+ default: uni.$u.props.text.block
+ },
+ // 鏂囨湰鏄剧ず鐨勮鏁帮紝濡傛灉璁剧疆锛岃秴鍑烘琛屾暟锛屽皢浼氭樉绀虹渷鐣ュ彿
+ lines: {
+ type: [String, Number],
+ default: uni.$u.props.text.lines
+ },
+ // 鏂囨湰棰滆壊
+ color: {
+ type: String,
+ default: uni.$u.props.text.color
+ },
+ // 瀛椾綋澶у皬
+ size: {
+ type: [String, Number],
+ default: uni.$u.props.text.size
+ },
+ // 鍥炬爣鐨勬牱寮�
+ iconStyle: {
+ type: [Object, String],
+ default: uni.$u.props.text.iconStyle
+ },
+ // 鏂囧瓧瑁呴グ锛屼笅鍒掔嚎锛屼腑鍒掔嚎绛夛紝鍙�夊�� none|underline|line-through
+ decoration: {
+ type: String,
+ default: uni.$u.props.text.decoration
+ },
+ // 澶栬竟璺濓紝瀵硅薄銆佸瓧绗︿覆锛屾暟鍊煎舰寮忓潎鍙�
+ margin: {
+ type: [Object, String, Number],
+ default: uni.$u.props.text.margin
+ },
+ // 鏂囨湰琛岄珮
+ lineHeight: {
+ type: [String, Number],
+ default: uni.$u.props.text.lineHeight
+ },
+ // 鏂囨湰瀵归綈鏂瑰紡锛屽彲閫夊�糽eft|center|right
+ align: {
+ type: String,
+ default: uni.$u.props.text.align
+ },
+ // 鏂囧瓧鎹㈣锛屽彲閫夊�糱reak-word|normal|anywhere
+ wordWrap: {
+ type: String,
+ default: uni.$u.props.text.wordWrap
+ }
+ }
+}
--
Gitblit v1.9.3