From 3d88404c57792527ece43831ebfb11ff5ee894e7 Mon Sep 17 00:00:00 2001 From: lcoln <875482941@qq.com> Date: Sun, 17 Sep 2017 23:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E6=9D=A5=E5=A1=AB=E5=85=85=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=20:ok=5Fhand:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/lib/sliders/Readme.md | 27 ++++++++++++--------------- js/lib/sliders/main.htm | 11 ++++++----- js/lib/sliders/main.js | 23 +++++++++++++++-------- 3 files changed, 33 insertions(+), 28 deletions(-) diff --git a/js/lib/sliders/Readme.md b/js/lib/sliders/Readme.md index 48b2512..c72caf7 100644 --- a/js/lib/sliders/Readme.md +++ b/js/lib/sliders/Readme.md @@ -4,7 +4,6 @@ ```json { - sliderList: [{src: '', link: '', title: '', titleStyle: ''}], //src: 图片地址; link: 点击链接; title: 幻灯片标题(可以是文本或html); titleStyle: 标题样式 autoSlide: boolean, //true: 自动轮播; false: 停止轮播 time: int, //轮播间隔时间 @@ -28,21 +27,19 @@ name属性可以设定组件的$id值,方便各模块之间进行通讯 ``` diff --git a/js/lib/sliders/main.htm b/js/lib/sliders/main.htm index 7ab84ad..8d69a22 100644 --- a/js/lib/sliders/main.htm +++ b/js/lib/sliders/main.htm @@ -4,20 +4,21 @@