jinjian1.1/uni_modules/uview-ui/libs/config/props/swiper.js

40 lines
972 B
JavaScript
Raw Permalink Normal View History

2024-11-05 16:29:09 +08:00
/*
* @Author : LQ
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:21:38
* @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
*/
export default {
// swiper 组件
swiper: {
list: () => [],
indicator: false,
indicatorActiveColor: '#FFFFFF',
indicatorInactiveColor: 'rgba(255, 255, 255, 0.35)',
indicatorStyle: '',
indicatorMode: 'line',
autoplay: true,
current: 0,
currentItemId: '',
interval: 3000,
duration: 300,
circular: false,
previousMargin: 0,
nextMargin: 0,
acceleration: false,
displayMultipleItems: 1,
easingFunction: 'default',
keyName: 'url',
imgMode: 'aspectFill',
height: 130,
bgColor: '#f3f4f6',
radius: 4,
loading: false,
showTitle: false
}
}