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-swiper/props.js | 125 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 125 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-swiper/props.js b/minipro_standard/uni_modules/uview-ui/components/u-swiper/props.js
new file mode 100644
index 0000000..bac6d31
--- /dev/null
+++ b/minipro_standard/uni_modules/uview-ui/components/u-swiper/props.js
@@ -0,0 +1,125 @@
+export default {
+ props: {
+ // 鍒楄〃鏁扮粍锛屽厓绱犲彲涓哄瓧绗︿覆锛屽涓哄璞″彲閫氳繃keyName鎸囧畾鐩爣灞炴�у悕
+ list: {
+ type: Array,
+ default: uni.$u.props.swiper.list
+ },
+ // 鏄惁鏄剧ず闈㈡澘鎸囩ず鍣�
+ indicator: {
+ type: Boolean,
+ default: uni.$u.props.swiper.indicator
+ },
+ // 鎸囩ず鍣ㄩ潪婵�娲婚鑹�
+ indicatorActiveColor: {
+ type: String,
+ default: uni.$u.props.swiper.indicatorActiveColor
+ },
+ // 鎸囩ず鍣ㄧ殑婵�娲婚鑹�
+ indicatorInactiveColor: {
+ type: String,
+ default: uni.$u.props.swiper.indicatorInactiveColor
+ },
+ // 鎸囩ず鍣ㄦ牱寮忥紝鍙�氳繃bottom锛宭eft锛宺ight杩涜瀹氫綅
+ indicatorStyle: {
+ type: [String, Object],
+ default: uni.$u.props.swiper.indicatorStyle
+ },
+ // 鎸囩ず鍣ㄦā寮忥紝line-绾垮瀷锛宒ot-鐐瑰瀷
+ indicatorMode: {
+ type: String,
+ default: uni.$u.props.swiper.indicatorMode
+ },
+ // 鏄惁鑷姩鍒囨崲
+ autoplay: {
+ type: Boolean,
+ default: uni.$u.props.swiper.autoplay
+ },
+ // 褰撳墠鎵�鍦ㄦ粦鍧楃殑 index
+ current: {
+ type: [String, Number],
+ default: uni.$u.props.swiper.current
+ },
+ // 褰撳墠鎵�鍦ㄦ粦鍧楃殑 item-id 锛屼笉鑳戒笌 current 琚悓鏃舵寚瀹�
+ currentItemId: {
+ type: String,
+ default: uni.$u.props.swiper.currentItemId
+ },
+ // 婊戝潡鑷姩鍒囨崲鏃堕棿闂撮殧
+ interval: {
+ type: [String, Number],
+ default: uni.$u.props.swiper.interval
+ },
+ // 婊戝潡鍒囨崲杩囩▼鎵�闇�鏃堕棿
+ duration: {
+ type: [String, Number],
+ default: uni.$u.props.swiper.duration
+ },
+ // 鎾斁鍒版湯灏惧悗鏄惁閲嶆柊鍥炲埌寮�澶�
+ circular: {
+ type: Boolean,
+ default: uni.$u.props.swiper.circular
+ },
+ // 鍓嶈竟璺濓紝鍙敤浜庨湶鍑哄墠涓�椤圭殑涓�灏忛儴鍒嗭紝nvue鍜屾敮浠樺疂涓嶆敮鎸�
+ previousMargin: {
+ type: [String, Number],
+ default: uni.$u.props.swiper.previousMargin
+ },
+ // 鍚庤竟璺濓紝鍙敤浜庨湶鍑哄悗涓�椤圭殑涓�灏忛儴鍒嗭紝nvue鍜屾敮浠樺疂涓嶆敮鎸�
+ nextMargin: {
+ type: [String, Number],
+ default: uni.$u.props.swiper.nextMargin
+ },
+ // 褰撳紑鍚椂锛屼細鏍规嵁婊戝姩閫熷害锛岃繛缁粦鍔ㄥ灞忥紝鏀粯瀹濅笉鏀寔
+ acceleration: {
+ type: Boolean,
+ default: uni.$u.props.swiper.acceleration
+ },
+ // 鍚屾椂鏄剧ず鐨勬粦鍧楁暟閲忥紝nvue銆佹敮浠樺疂灏忕▼搴忎笉鏀寔
+ displayMultipleItems: {
+ type: Number,
+ default: uni.$u.props.swiper.displayMultipleItems
+ },
+ // 鎸囧畾swiper鍒囨崲缂撳姩鍔ㄧ敾绫诲瀷锛屾湁鏁堝�硷細default銆乴inear銆乪aseInCubic銆乪aseOutCubic銆乪aseInOutCubic
+ // 鍙寰俊灏忕▼搴忔湁鏁�
+ easingFunction: {
+ type: String,
+ default: uni.$u.props.swiper.easingFunction
+ },
+ // list鏁扮粍涓寚瀹氬璞$殑鐩爣灞炴�у悕
+ keyName: {
+ type: String,
+ default: uni.$u.props.swiper.keyName
+ },
+ // 鍥剧墖鐨勮鍓ā寮�
+ imgMode: {
+ type: String,
+ default: uni.$u.props.swiper.imgMode
+ },
+ // 缁勪欢楂樺害
+ height: {
+ type: [String, Number],
+ default: uni.$u.props.swiper.height
+ },
+ // 鑳屾櫙棰滆壊
+ bgColor: {
+ type: String,
+ default: uni.$u.props.swiper.bgColor
+ },
+ // 缁勪欢鍦嗚锛屾暟鍊兼垨甯﹀崟浣嶇殑瀛楃涓�
+ radius: {
+ type: [String, Number],
+ default: uni.$u.props.swiper.radius
+ },
+ // 鏄惁鍔犺浇涓�
+ loading: {
+ type: Boolean,
+ default: uni.$u.props.swiper.loading
+ },
+ // 鏄惁鏄剧ず鏍囬锛岃姹傛暟缁勫璞′腑鏈塼itle灞炴��
+ showTitle: {
+ type: Boolean,
+ default: uni.$u.props.swiper.showTitle
+ }
+ }
+}
--
Gitblit v1.9.3