-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
807 additions
and
692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": [ "es2015-rollup" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,39 @@ | ||
{ | ||
"name": "iswiper", | ||
"description": "为移动端而生的滑动框架,无依赖,轻盈小巧,性能极致", | ||
"version": "1.4.0", | ||
"author": "wechat ui team", | ||
"keywords": [ | ||
"iswiper", | ||
"swiper", | ||
"swipe", | ||
"slider", | ||
"mobile", | ||
"framework" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wechatui/swiper.git" | ||
}, | ||
"homepage": "http://wechatui.github.io/swiper", | ||
"scripts": [ | ||
"dist/swiper.js" | ||
], | ||
"main": [ | ||
"dist/swiper.js" | ||
], | ||
"ignore": [ | ||
"/.*", | ||
"gulpfile.js", | ||
"node_modules", | ||
"package.json", | ||
"**/.*", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"license": [ | ||
"MIT" | ||
] | ||
"name": "iswiper", | ||
"description": "为移动端而生的滑动框架,无依赖,轻盈小巧,性能极致", | ||
"version": "1.4.2", | ||
"author": "wechat ui team", | ||
"keywords": [ | ||
"wechat", | ||
"iswiper", | ||
"swiper", | ||
"swipe", | ||
"slider", | ||
"mobile", | ||
"framework" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wechatui/swiper.git" | ||
}, | ||
"homepage": "http://wechatui.github.io/swiper", | ||
"scripts": [ | ||
"dist/swiper.js" | ||
], | ||
"main": [ | ||
"dist/swiper.js" | ||
], | ||
"ignore": [ | ||
"/.*", | ||
"gulpfile.js", | ||
"node_modules", | ||
"package.json", | ||
"**/.*", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"license": [ | ||
"MIT" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,62 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
html, | ||
body { | ||
height: 100%; | ||
overflow: hidden; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
.container{ | ||
height: 100%; | ||
background-color: #efeff4; | ||
.container { | ||
height: 100%; | ||
background-color: #efeff4; | ||
} | ||
.item{ | ||
color: #ffffff; | ||
background-color: #000000; | ||
.swiper { | ||
background-color: #000000; | ||
} | ||
.title{ | ||
margin-top: 200px; | ||
text-align: center; | ||
.item { | ||
color: #ffffff; | ||
background-color: #000000; | ||
} | ||
.title { | ||
margin-top: 200px; | ||
text-align: center; | ||
} | ||
|
||
/** | ||
* copy from animate.css | ||
* https://daneden.github.io/animate.css | ||
*/ | ||
|
||
.animated { | ||
-webkit-animation-duration: 1s; | ||
animation-duration: 1s; | ||
-webkit-animation-fill-mode: both; | ||
animation-fill-mode: both; | ||
-webkit-animation-duration: 1s; | ||
animation-duration: 1s; | ||
-webkit-animation-fill-mode: both; | ||
animation-fill-mode: both; | ||
} | ||
@-webkit-keyframes fadeInUp { | ||
from { | ||
opacity: 0; | ||
-webkit-transform: translate3d(0, 100%, 0); | ||
transform: translate3d(0, 100%, 0); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
-webkit-transform: none; | ||
transform: none; | ||
} | ||
from { | ||
opacity: 0; | ||
-webkit-transform: translate3d(0, 100%, 0); | ||
transform: translate3d(0, 100%, 0); | ||
} | ||
100% { | ||
opacity: 1; | ||
-webkit-transform: none; | ||
transform: none; | ||
} | ||
} | ||
|
||
@keyframes fadeInUp { | ||
from { | ||
opacity: 0; | ||
-webkit-transform: translate3d(0, 100%, 0); | ||
transform: translate3d(0, 100%, 0); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
-webkit-transform: none; | ||
transform: none; | ||
} | ||
from { | ||
opacity: 0; | ||
-webkit-transform: translate3d(0, 100%, 0); | ||
transform: translate3d(0, 100%, 0); | ||
} | ||
100% { | ||
opacity: 1; | ||
-webkit-transform: none; | ||
transform: none; | ||
} | ||
} | ||
|
||
.fadeInUp { | ||
-webkit-animation-name: fadeInUp; | ||
animation-name: fadeInUp; | ||
} | ||
-webkit-animation-name: fadeInUp; | ||
animation-name: fadeInUp; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.