From da25434b85fc5b4321c429bf95e719d00ec395bb Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 11 Jan 2024 16:21:16 +0800 Subject: [PATCH] 定位优化 --- uni_modules/uview-ui/components/u-swiper/props.js | 125 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 125 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-swiper/props.js b/uni_modules/uview-ui/components/u-swiper/props.js new file mode 100644 index 0000000..bac6d31 --- /dev/null +++ b/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���left���right������������ + indicatorStyle: { + type: [String, Object], + default: uni.$u.props.swiper.indicatorStyle + }, + // ������������������line-���������dot-������ + 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���linear���easeInCubic���easeOutCubic���easeInOutCubic + // ��������������������������� + 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 + }, + // ���������������������������������������������title������ + showTitle: { + type: Boolean, + default: uni.$u.props.swiper.showTitle + } + } +} -- Gitblit v1.8.0