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-list/props.js | 76 ++++++++++++++++++++++++++++++++++++++
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-list/props.js b/minipro_standard/uni_modules/uview-ui/components/u-list/props.js
new file mode 100644
index 0000000..25406f4
--- /dev/null
+++ b/minipro_standard/uni_modules/uview-ui/components/u-list/props.js
@@ -0,0 +1,76 @@
+export default {
+ props: {
+ // 鎺у埗鏄惁鍑虹幇婊氬姩鏉★紝浠卬vue鏈夋晥
+ showScrollbar: {
+ type: Boolean,
+ default: uni.$u.props.list.showScrollbar
+ },
+ // 璺濆簳閮ㄥ灏戞椂瑙﹀彂scrolltolower浜嬩欢
+ lowerThreshold: {
+ type: [String, Number],
+ default: uni.$u.props.list.lowerThreshold
+ },
+ // 璺濋《閮ㄥ灏戞椂瑙﹀彂scrolltoupper浜嬩欢锛岄潪nvue鏈夋晥
+ upperThreshold: {
+ type: [String, Number],
+ default: uni.$u.props.list.upperThreshold
+ },
+ // 璁剧疆绔栧悜婊氬姩鏉′綅缃�
+ scrollTop: {
+ type: [String, Number],
+ default: uni.$u.props.list.scrollTop
+ },
+ // 鎺у埗 onscroll 浜嬩欢瑙﹀彂鐨勯鐜囷紝浠卬vue鏈夋晥
+ offsetAccuracy: {
+ type: [String, Number],
+ default: uni.$u.props.list.offsetAccuracy
+ },
+ // 鍚敤 flexbox 甯冨眬銆傚紑鍚悗锛屽綋鍓嶈妭鐐瑰0鏄庝簡display: flex灏变細鎴愪负flex container锛屽苟浣滅敤浜庡叾瀛╁瓙鑺傜偣锛屼粎寰俊灏忕▼搴忔湁鏁�
+ enableFlex: {
+ type: Boolean,
+ default: uni.$u.props.list.enableFlex
+ },
+ // 鏄惁鎸夊垎椤垫ā寮忔樉绀篖ist锛岄粯璁ゅ�糵alse
+ pagingEnabled: {
+ type: Boolean,
+ default: uni.$u.props.list.pagingEnabled
+ },
+ // 鏄惁鍏佽List婊氬姩
+ scrollable: {
+ type: Boolean,
+ default: uni.$u.props.list.scrollable
+ },
+ // 鍊煎簲涓烘煇瀛愬厓绱爄d锛坕d涓嶈兘浠ユ暟瀛楀紑澶达級
+ scrollIntoView: {
+ type: String,
+ default: uni.$u.props.list.scrollIntoView
+ },
+ // 鍦ㄨ缃粴鍔ㄦ潯浣嶇疆鏃朵娇鐢ㄥ姩鐢昏繃娓�
+ scrollWithAnimation: {
+ type: Boolean,
+ default: uni.$u.props.list.scrollWithAnimation
+ },
+ // iOS鐐瑰嚮椤堕儴鐘舵�佹爮銆佸畨鍗撳弻鍑绘爣棰樻爮鏃讹紝婊氬姩鏉¤繑鍥為《閮紝鍙寰俊灏忕▼搴忔湁鏁�
+ enableBackToTop: {
+ type: Boolean,
+ default: uni.$u.props.list.enableBackToTop
+ },
+ // 鍒楄〃鐨勯珮搴�
+ height: {
+ type: [String, Number],
+ default: uni.$u.props.list.height
+ },
+ // 鍒楄〃瀹藉害
+ width: {
+ type: [String, Number],
+ default: uni.$u.props.list.width
+ },
+ // 鍒楄〃鍓嶅悗棰勬覆鏌撶殑灞忔暟锛�1浠h〃涓�涓睆骞曠殑楂樺害锛�1.5浠h〃1涓崐灞忓箷楂樺害
+ preLoadScreen: {
+ type: [String, Number],
+ default: uni.$u.props.list.preLoadScreen
+ }
+ // vue涓嬶紝鏄惁寮�鍚櫄鎷熷垪琛�
+
+ }
+}
--
Gitblit v1.9.3