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-read-more/props.js | 61 ++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-read-more/props.js b/minipro_standard/uni_modules/uview-ui/components/u-read-more/props.js
index e69de29..b444e74 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-read-more/props.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-read-more/props.js
@@ -0,0 +1,61 @@
+export default {
+ props: {
+ // 榛樿鐨勬樉绀哄崰浣嶉珮搴�
+ showHeight: {
+ type: [String, Number],
+ default: uni.$u.props.readMore.showHeight
+ },
+ // 灞曞紑鍚庢槸鍚︽樉绀�"鏀惰捣"鎸夐挳
+ toggle: {
+ type: Boolean,
+ default: uni.$u.props.readMore.toggle
+ },
+ // 鍏抽棴鏃剁殑鎻愮ず鏂囧瓧
+ closeText: {
+ type: String,
+ default: uni.$u.props.readMore.closeText
+ },
+ // 灞曞紑鏃剁殑鎻愮ず鏂囧瓧
+ openText: {
+ type: String,
+ default: uni.$u.props.readMore.openText
+ },
+ // 鎻愮ず鐨勬枃瀛楅鑹�
+ color: {
+ type: String,
+ default: uni.$u.props.readMore.color
+ },
+ // 鎻愮ず鏂囧瓧鐨勫ぇ灏�
+ fontSize: {
+ type: [String, Number],
+ default: uni.$u.props.readMore.fontSize
+ },
+ // 鏄惁鏄剧ず闃村奖
+ // 姝ゅ弬鏁颁笉鑳藉啓鍦╬rops/readMore.js涓繘琛岄粯璁ら厤缃紝鍥犱负浣跨敤浜嗘潯浠剁紪璇戯紝鍦ㄥ閮╦s涓�
+ // uni鏃犳硶鍑嗙‘璇嗗埆褰撳墠鏄惁澶勪簬nvue杩樻槸闈瀗vue涓�
+ shadowStyle: {
+ type: Object,
+ default: () => ({
+ // #ifndef APP-NVUE
+ backgroundImage: 'linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 80%)',
+ // #endif
+ // #ifdef APP-NVUE
+ // nvue涓婁笉鏀寔璁剧疆澶嶆潅鐨刡ackgroundImage灞炴��
+ backgroundImage: 'linear-gradient(to top, #fff, rgba(255, 255, 255, 0.5))',
+ // #endif
+ paddingTop: '100px',
+ marginTop: '-100px'
+ })
+ },
+ // 娈佃惤棣栬缂╄繘鐨勫瓧绗︿釜鏁�
+ textIndent: {
+ type: String,
+ default: uni.$u.props.readMore.textIndent
+ },
+ // open鍜宑lose浜嬩欢鏃讹紝灏嗘鍙傛暟杩斿洖鍦ㄥ洖璋冨弬鏁颁腑
+ name: {
+ type: [String, Number],
+ default: uni.$u.props.readMore.name
+ }
+ }
+}
--
Gitblit v1.9.3