init
This commit is contained in:
292
public/frontend/web/scripts/swiperTab/css/aa.css
Executable file
292
public/frontend/web/scripts/swiperTab/css/aa.css
Executable file
@@ -0,0 +1,292 @@
|
||||
@charset "utf-8";html,body,div,p,form,label,ul,li,dl,dt,dd,ol,img,button,b,em,strong,small,h1,h2,h3,h4,h5,h6 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
list-style: none;
|
||||
font-style: normal;
|
||||
}
|
||||
body {
|
||||
font-family: SimHei, 'Helvetica Neue', Arial, 'Droid Sans', sans-serif;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
a,a.link {
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
}
|
||||
a,a.link:hover {
|
||||
color: #666;
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-weight: normal;
|
||||
}
|
||||
/*头部开始*/
|
||||
.header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
.header h1 {
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
.header a {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: block;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
}
|
||||
.header a.back {
|
||||
left: 0px;
|
||||
}
|
||||
.header a.back span {
|
||||
display: inline-block;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
margin: 10px 5px;
|
||||
background: url("../images/icon/icon-back.png") no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.header .home {}
|
||||
/*头部结束*/
|
||||
/*input[type="checkbox"]{-webkit-appearance:none;outline: none;}*/
|
||||
input.check {
|
||||
background: url(../images/icon/icon_radio3.png) no-repeat center left;
|
||||
background-size: 20px 20px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 10px;
|
||||
margin-top: -18px;
|
||||
width: 20px;
|
||||
height: 35px;
|
||||
}
|
||||
input.check:checked {
|
||||
background: url(../images/icon/icon_radio4.png) no-repeat center left;
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
input.goodsCheck:checked {
|
||||
background: url(../images/icon/icon_radio4.png) no-repeat center left;
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
input.check:checked {
|
||||
background: url(../images/icon/icon_radio4.png) no-repeat center left;
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
.checked {
|
||||
background: url(../images/icon/icon_radio4.png) no-repeat left center;
|
||||
background-size: 20px 20px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 15px;
|
||||
margin-top: -18px;
|
||||
width: 20px;
|
||||
height: 35px;
|
||||
}
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
/*购物车*/
|
||||
.shopping {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
.shop-group-item {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.shop-group-item ul li {
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
.shop-group-item ul li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.shop-name {
|
||||
background: #fff;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
padding: 0 15px;
|
||||
position: relative;
|
||||
}
|
||||
.shop-name h4 {
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
background: url(../images/icon/icon-kin.png) no-repeat left center;
|
||||
background-size: 20px 20px;
|
||||
padding-left: 25px;
|
||||
margin-left: 28px;
|
||||
}
|
||||
.shop-name .coupons {
|
||||
float: right;
|
||||
}
|
||||
.shop-name .coupons span {
|
||||
display: inline-block;
|
||||
padding: 0 5px;
|
||||
}
|
||||
.shop-name .coupons em {
|
||||
color: #e0e0e0;
|
||||
}
|
||||
.shop-info {
|
||||
background: #f5f5f5;
|
||||
height: 120px;
|
||||
padding: 0 15px;
|
||||
position: relative;
|
||||
}
|
||||
.shop-info .checkbox {
|
||||
background: url(../images/icon/icon_radio3.png) no-repeat left center;
|
||||
background-size: 20px 20px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 15px;
|
||||
margin-top: -60px;
|
||||
width: 20px;
|
||||
height: 120px;
|
||||
}
|
||||
.shop-info .checkbox1 {
|
||||
background: url(../images/icon/icon_radio4.png) no-repeat left center;
|
||||
background-size: 20px 20px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 15px;
|
||||
margin-top: -60px;
|
||||
width: 20px;
|
||||
height: 120px;
|
||||
}
|
||||
.shop-info .shop-info-img {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 45px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.shop-info .shop-info-img img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.shop-info .shop-info-text {
|
||||
margin-left: 130px;
|
||||
padding: 15px 0;
|
||||
}
|
||||
.shop-info .shop-info-text h4 {
|
||||
font-size: 14px;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-brief {
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
font-size: 12px;
|
||||
color: #81838e;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-brief span {
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-price {
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
position: relative;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-price .shop-pices {
|
||||
color: red;
|
||||
font-size: 16px;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-arithmetic {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0;
|
||||
width: 84px;
|
||||
box-sizing: border-box;
|
||||
white-space: nowrap;
|
||||
height: 100%;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-arithmetic a {
|
||||
display: inline-block;
|
||||
width: 23px;
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-arithmetic .minus {
|
||||
border-right: 1px solid #e0e0e0;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-arithmetic .failed {
|
||||
color: #d1d1d1;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-arithmetic .plus {
|
||||
border-left: 1px solid #e0e0e0;
|
||||
}
|
||||
.shop-info .shop-info-text .shop-arithmetic .num {
|
||||
width: 32px;
|
||||
text-align: center;
|
||||
border: none;
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
margin: 0 -6px;
|
||||
}
|
||||
.shopPrice {
|
||||
background: #fff;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
padding: 0 15px;
|
||||
text-align: right;
|
||||
}
|
||||
.shopPrice span {
|
||||
color: #f00;
|
||||
}
|
||||
.payment-bar {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
border-top: 1px solid #e0e0e0;
|
||||
background: #fff;
|
||||
}
|
||||
.payment-bar .all-checkbox {
|
||||
float: left;
|
||||
line-height: 49px;
|
||||
padding-left: 40px;
|
||||
}
|
||||
.payment-bar .shop-total {
|
||||
float: left;
|
||||
-webkit-box-flex: 1.0;
|
||||
box-flex: 1.0;
|
||||
margin: 9px 20px 9px 35px;
|
||||
}
|
||||
.payment-bar .shop-total strong {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
}
|
||||
.payment-bar .shop-total span {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
}
|
||||
.payment-bar .settlement {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
width: 100px;
|
||||
height: 49px;
|
||||
line-height: 49px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
background: #f23030;
|
||||
}
|
||||
5615
public/frontend/web/scripts/swiperTab/css/mui.css
Executable file
5615
public/frontend/web/scripts/swiperTab/css/mui.css
Executable file
File diff suppressed because it is too large
Load Diff
5
public/frontend/web/scripts/swiperTab/css/mui.min.css
vendored
Executable file
5
public/frontend/web/scripts/swiperTab/css/mui.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
409
public/frontend/web/scripts/swiperTab/css/swiper-3.2.7.min.css
vendored
Executable file
409
public/frontend/web/scripts/swiperTab/css/swiper-3.2.7.min.css
vendored
Executable file
@@ -0,0 +1,409 @@
|
||||
/**
|
||||
* Swiper 3.2.7
|
||||
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
||||
*
|
||||
* http://www.idangero.us/swiper/
|
||||
*
|
||||
* Copyright 2015, Vladimir Kharlampidi
|
||||
* The iDangero.us
|
||||
* http://www.idangero.us/
|
||||
*
|
||||
* Licensed under MIT
|
||||
*
|
||||
* Released on: December 7, 2015
|
||||
*/
|
||||
.swiper-container {
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
z-index: 1
|
||||
}
|
||||
.swiper-container-no-flexbox .swiper-slide {
|
||||
float: left
|
||||
}
|
||||
.swiper-container-vertical>.swiper-wrapper {
|
||||
-webkit-box-orient: vertical;
|
||||
-moz-box-orient: vertical;
|
||||
-ms-flex-direction: column;
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column
|
||||
}
|
||||
.swiper-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-transition-property: -webkit-transform;
|
||||
-moz-transition-property: -moz-transform;
|
||||
-o-transition-property: -o-transform;
|
||||
-ms-transition-property: -ms-transform;
|
||||
transition-property: transform;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box
|
||||
}
|
||||
.swiper-container-android .swiper-slide, .swiper-wrapper {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
-o-transform: translate(0, 0);
|
||||
-ms-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0)
|
||||
}
|
||||
.swiper-container-multirow>.swiper-wrapper {
|
||||
-webkit-box-lines: multiple;
|
||||
-moz-box-lines: multiple;
|
||||
-ms-flex-wrap: wrap;
|
||||
-webkit-flex-wrap: wrap;
|
||||
flex-wrap: wrap
|
||||
}
|
||||
.swiper-container-free-mode>.swiper-wrapper {
|
||||
-webkit-transition-timing-function: ease-out;
|
||||
-moz-transition-timing-function: ease-out;
|
||||
-ms-transition-timing-function: ease-out;
|
||||
-o-transition-timing-function: ease-out;
|
||||
transition-timing-function: ease-out;
|
||||
margin: 0 auto
|
||||
}
|
||||
.swiper-slide {
|
||||
-webkit-flex-shrink: 0;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative
|
||||
}
|
||||
.swiper-container-autoheight, .swiper-container-autoheight .swiper-slide {
|
||||
height: auto
|
||||
}
|
||||
.swiper-container-autoheight .swiper-wrapper {
|
||||
-webkit-box-align: start;
|
||||
-ms-flex-align: start;
|
||||
-webkit-align-items: flex-start;
|
||||
align-items: flex-start;
|
||||
-webkit-transition-property: -webkit-transform, height;
|
||||
-moz-transition-property: -moz-transform;
|
||||
-o-transition-property: -o-transform;
|
||||
-ms-transition-property: -ms-transform;
|
||||
transition-property: transform, height
|
||||
}
|
||||
.swiper-container .swiper-notification {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
z-index: -1000
|
||||
}
|
||||
.swiper-wp8-horizontal {
|
||||
-ms-touch-action: pan-y;
|
||||
touch-action: pan-y
|
||||
}
|
||||
.swiper-wp8-vertical {
|
||||
-ms-touch-action: pan-x;
|
||||
touch-action: pan-x
|
||||
}
|
||||
.swiper-button-next, .swiper-button-prev {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 27px;
|
||||
height: 44px;
|
||||
margin-top: -22px;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
-moz-background-size: 27px 44px;
|
||||
-webkit-background-size: 27px 44px;
|
||||
background-size: 27px 44px;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat
|
||||
}
|
||||
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
|
||||
opacity: .35;
|
||||
cursor: auto;
|
||||
pointer-events: none
|
||||
}
|
||||
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
|
||||
left: 10px;
|
||||
right: auto
|
||||
}
|
||||
.swiper-button-prev.swiper-button-black, .swiper-container-rtl .swiper-button-next.swiper-button-black {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")
|
||||
}
|
||||
.swiper-button-prev.swiper-button-white, .swiper-container-rtl .swiper-button-next.swiper-button-white {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")
|
||||
}
|
||||
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
|
||||
right: 10px;
|
||||
left: auto
|
||||
}
|
||||
.swiper-button-next.swiper-button-black, .swiper-container-rtl .swiper-button-prev.swiper-button-black {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")
|
||||
}
|
||||
.swiper-button-next.swiper-button-white, .swiper-container-rtl .swiper-button-prev.swiper-button-white {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")
|
||||
}
|
||||
.swiper-pagination {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
-webkit-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
-o-transition: .3s;
|
||||
transition: .3s;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate3d(0, 0, 0);
|
||||
-o-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
z-index: 10
|
||||
}
|
||||
.swiper-pagination.swiper-pagination-hidden {
|
||||
opacity: 0
|
||||
}
|
||||
.swiper-pagination-bullet {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
display: inline-block;
|
||||
border-radius: 100%;
|
||||
background: #000;
|
||||
opacity: .2
|
||||
}
|
||||
button.swiper-pagination-bullet {
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none
|
||||
}
|
||||
.swiper-pagination-clickable .swiper-pagination-bullet {
|
||||
cursor: pointer
|
||||
}
|
||||
.swiper-pagination-white .swiper-pagination-bullet {
|
||||
background: #fff
|
||||
}
|
||||
.swiper-pagination-bullet-active {
|
||||
opacity: 1;
|
||||
background: #007aff
|
||||
}
|
||||
.swiper-pagination-white .swiper-pagination-bullet-active {
|
||||
background: #fff
|
||||
}
|
||||
.swiper-pagination-black .swiper-pagination-bullet-active {
|
||||
background: #000
|
||||
}
|
||||
.swiper-container-vertical>.swiper-pagination {
|
||||
right: 10px;
|
||||
top: 50%;
|
||||
-webkit-transform: translate3d(0, -50%, 0);
|
||||
-moz-transform: translate3d(0, -50%, 0);
|
||||
-o-transform: translate(0, -50%);
|
||||
-ms-transform: translate3d(0, -50%, 0);
|
||||
transform: translate3d(0, -50%, 0)
|
||||
}
|
||||
.swiper-container-vertical>.swiper-pagination .swiper-pagination-bullet {
|
||||
margin: 5px 0;
|
||||
display: block
|
||||
}
|
||||
.swiper-container-horizontal>.swiper-pagination {
|
||||
bottom: 10px;
|
||||
left: 0;
|
||||
width: 100%
|
||||
}
|
||||
.swiper-container-horizontal>.swiper-pagination .swiper-pagination-bullet {
|
||||
margin: 0 5px
|
||||
}
|
||||
.swiper-container-3d {
|
||||
-webkit-perspective: 1200px;
|
||||
-moz-perspective: 1200px;
|
||||
-o-perspective: 1200px;
|
||||
perspective: 1200px
|
||||
}
|
||||
.swiper-container-3d .swiper-cube-shadow, .swiper-container-3d .swiper-slide, .swiper-container-3d .swiper-slide-shadow-bottom, .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-top, .swiper-container-3d .swiper-wrapper {
|
||||
-webkit-transform-style: preserve-3d;
|
||||
-moz-transform-style: preserve-3d;
|
||||
-ms-transform-style: preserve-3d;
|
||||
transform-style: preserve-3d
|
||||
}
|
||||
.swiper-container-3d .swiper-slide-shadow-bottom, .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right, .swiper-container-3d .swiper-slide-shadow-top {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
z-index: 10
|
||||
}
|
||||
.swiper-container-3d .swiper-slide-shadow-left {
|
||||
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,.5)), to(rgba(0,0,0,0)));
|
||||
background-image: -webkit-linear-gradient(right, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -moz-linear-gradient(right, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -o-linear-gradient(right, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: linear-gradient(to left, rgba(0,0,0,.5), rgba(0,0,0,0))
|
||||
}
|
||||
.swiper-container-3d .swiper-slide-shadow-right {
|
||||
background-image: -webkit-gradient(linear, right top, left top, from(rgba(0,0,0,.5)), to(rgba(0,0,0,0)));
|
||||
background-image: -webkit-linear-gradient(left, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -moz-linear-gradient(left, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -o-linear-gradient(left, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: linear-gradient(to right, rgba(0,0,0,.5), rgba(0,0,0,0))
|
||||
}
|
||||
.swiper-container-3d .swiper-slide-shadow-top {
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,.5)), to(rgba(0,0,0,0)));
|
||||
background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -moz-linear-gradient(bottom, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -o-linear-gradient(bottom, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0))
|
||||
}
|
||||
.swiper-container-3d .swiper-slide-shadow-bottom {
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,.5)), to(rgba(0,0,0,0)));
|
||||
background-image: -webkit-linear-gradient(top, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -moz-linear-gradient(top, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: -o-linear-gradient(top, rgba(0,0,0,.5), rgba(0,0,0,0));
|
||||
background-image: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0))
|
||||
}
|
||||
.swiper-container-coverflow .swiper-wrapper {
|
||||
-ms-perspective: 1200px
|
||||
}
|
||||
.swiper-container-fade.swiper-container-free-mode .swiper-slide {
|
||||
-webkit-transition-timing-function: ease-out;
|
||||
-moz-transition-timing-function: ease-out;
|
||||
-ms-transition-timing-function: ease-out;
|
||||
-o-transition-timing-function: ease-out;
|
||||
transition-timing-function: ease-out
|
||||
}
|
||||
.swiper-container-fade .swiper-slide {
|
||||
pointer-events: none
|
||||
}
|
||||
.swiper-container-fade .swiper-slide .swiper-slide {
|
||||
pointer-events: none
|
||||
}
|
||||
.swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active {
|
||||
pointer-events: auto
|
||||
}
|
||||
.swiper-container-cube {
|
||||
overflow: visible
|
||||
}
|
||||
.swiper-container-cube .swiper-slide {
|
||||
pointer-events: none;
|
||||
visibility: hidden;
|
||||
-webkit-transform-origin: 0 0;
|
||||
-moz-transform-origin: 0 0;
|
||||
-ms-transform-origin: 0 0;
|
||||
transform-origin: 0 0;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1
|
||||
}
|
||||
.swiper-container-cube.swiper-container-rtl .swiper-slide {
|
||||
-webkit-transform-origin: 100% 0;
|
||||
-moz-transform-origin: 100% 0;
|
||||
-ms-transform-origin: 100% 0;
|
||||
transform-origin: 100% 0
|
||||
}
|
||||
.swiper-container-cube .swiper-slide-active, .swiper-container-cube .swiper-slide-next, .swiper-container-cube .swiper-slide-next+.swiper-slide, .swiper-container-cube .swiper-slide-prev {
|
||||
pointer-events: auto;
|
||||
visibility: visible
|
||||
}
|
||||
.swiper-container-cube .swiper-slide-shadow-bottom, .swiper-container-cube .swiper-slide-shadow-left, .swiper-container-cube .swiper-slide-shadow-right, .swiper-container-cube .swiper-slide-shadow-top {
|
||||
z-index: 0;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
backface-visibility: hidden
|
||||
}
|
||||
.swiper-container-cube .swiper-cube-shadow {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #000;
|
||||
opacity: .6;
|
||||
-webkit-filter: blur(50px);
|
||||
filter: blur(50px);
|
||||
z-index: 0
|
||||
}
|
||||
.swiper-scrollbar {
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
-ms-touch-action: none;
|
||||
background: rgba(0,0,0,.1)
|
||||
}
|
||||
.swiper-container-horizontal>.swiper-scrollbar {
|
||||
position: absolute;
|
||||
left: 1%;
|
||||
bottom: 3px;
|
||||
z-index: 50;
|
||||
height: 5px;
|
||||
width: 98%
|
||||
}
|
||||
.swiper-container-vertical>.swiper-scrollbar {
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 1%;
|
||||
z-index: 50;
|
||||
width: 5px;
|
||||
height: 98%
|
||||
}
|
||||
.swiper-scrollbar-drag {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
background: rgba(0,0,0,.5);
|
||||
border-radius: 10px;
|
||||
left: 0;
|
||||
top: 0
|
||||
}
|
||||
.swiper-scrollbar-cursor-drag {
|
||||
cursor: move
|
||||
}
|
||||
.swiper-lazy-preloader {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin-left: -21px;
|
||||
margin-top: -21px;
|
||||
z-index: 10;
|
||||
-webkit-transform-origin: 50%;
|
||||
-moz-transform-origin: 50%;
|
||||
transform-origin: 50%;
|
||||
-webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite;
|
||||
-moz-animation: swiper-preloader-spin 1s steps(12, end) infinite;
|
||||
animation: swiper-preloader-spin 1s steps(12, end) infinite
|
||||
}
|
||||
.swiper-lazy-preloader:after {
|
||||
display: block;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
||||
background-position: 50%;
|
||||
-webkit-background-size: 100%;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat
|
||||
}
|
||||
.swiper-lazy-preloader-white:after {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")
|
||||
}
|
||||
@-webkit-keyframes swiper-preloader-spin {
|
||||
100% {
|
||||
-webkit-transform:rotate(360deg)
|
||||
}
|
||||
}
|
||||
@keyframes swiper-preloader-spin {
|
||||
100% {
|
||||
transform:rotate(360deg)
|
||||
}
|
||||
}
|
||||
151
public/frontend/web/scripts/swiperTab/index.html
Executable file
151
public/frontend/web/scripts/swiperTab/index.html
Executable file
@@ -0,0 +1,151 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>使用Swiper制作webapp菜单栏切换</title>
|
||||
<meta name="viewport" content="width=100%; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
||||
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
|
||||
<!--<script src="//cdn.bootcss.com/Swiper/3.3.1/js/swiper.jquery.min.js"></script>-->
|
||||
<script type="text/javascript" src="js/swiper-3.4.0.jquery.min.js" ></script>
|
||||
<!--<link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/Swiper/3.3.1/css/swiper.min.css">-->
|
||||
<link rel="stylesheet" href="css/swiper-3.2.7.min.css" />
|
||||
<style>
|
||||
body {
|
||||
min-width: 320px;
|
||||
max-width: 640px;
|
||||
margin: 0 auto;
|
||||
color: #333;
|
||||
padding: 0;
|
||||
font-family: "Microsoft Yahei";
|
||||
text-align: center;
|
||||
}
|
||||
.container {
|
||||
/*width: 100%;*/
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
.swiper1 {
|
||||
width: 100%;
|
||||
}
|
||||
.swiper1 .selected {
|
||||
color: #ec5566;
|
||||
border-bottom: 2px solid #ec5566;
|
||||
}
|
||||
.swiper1 .swiper-slide {
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
height: 50px;
|
||||
/* Center slide text vertically */
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
-webkit-justify-content: center;
|
||||
justify-content: center;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.swiper2 {
|
||||
width: 100%;
|
||||
}
|
||||
.swiper2 .swiper-slide {
|
||||
height: calc(100vh - 50px);
|
||||
background-color: #ccc;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
box-sizing: border-box !important;
|
||||
overflow-x: hidden !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="swiper-container swiper1">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide selected">推荐</div>
|
||||
<div class="swiper-slide">菜单 2</div>
|
||||
<div class="swiper-slide">菜单 3</div>
|
||||
<div class="swiper-slide">菜单 4</div>
|
||||
<div class="swiper-slide">菜单 5</div>
|
||||
<div class="swiper-slide">菜单 6</div>
|
||||
<div class="swiper-slide">菜单 7</div>
|
||||
<div class="swiper-slide">菜单 8</div>
|
||||
<div class="swiper-slide">菜单 9</div>
|
||||
<div class="swiper-slide">菜单 10</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- swiper2 -->
|
||||
<div class="swiper-container swiper2">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide swiper-no-swiping">
|
||||
<div style="width: 100%;height: 100%;background-color: gainsboro;">上面导航栏可以滑动</div>
|
||||
</div>
|
||||
<div class="swiper-slide swiper-no-swiping">上面导航栏可以滑动2222</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 213213123</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 ressssssss</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 ffffffffffff</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 bbbbbbbbbbbbbbbbbvb</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 bvcccccccccccbvb</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 sdasdssssss</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 oiouiouioiuoiuo</div>
|
||||
<div class="swiper-slide swiper-no-swiping">内容 m,jnkjhkhgjghjugh</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
function setCurrentSlide(ele, index) {
|
||||
$(".swiper1 .swiper-slide").removeClass("selected");
|
||||
ele.addClass("selected");
|
||||
//swiper1.initialSlide=index;
|
||||
}
|
||||
|
||||
var swiper1 = new Swiper('.swiper1', {
|
||||
// 设置slider容器能够同时显示的slides数量(carousel模式)。
|
||||
// 可以设置为number或者 'auto'则自动根据slides的宽度来设定数量。
|
||||
// loop模式下如果设置为'auto'还需要设置另外一个参数loopedSlides。
|
||||
slidesPerView: 5.5,
|
||||
paginationClickable: true,//此参数设置为true时,点击分页器的指示点分页器会控制Swiper切换。
|
||||
spaceBetween: 10,//slide之间的距离(单位px)。
|
||||
freeMode: true,//默认为false,普通模式:slide滑动时只滑动一格,并自动贴合wrapper,设置为true则变为free模式,slide会根据惯性滑动且不会贴合。
|
||||
loop: false,//是否可循环
|
||||
onTab: function(swiper) {
|
||||
var n = swiper1.clickedIndex;
|
||||
}
|
||||
});
|
||||
swiper1.slides.each(function(index, val) {
|
||||
var ele = $(this);
|
||||
ele.on("click", function() {
|
||||
setCurrentSlide(ele, index);
|
||||
swiper2.slideTo(index, 500, false);
|
||||
//mySwiper.initialSlide=index;
|
||||
});
|
||||
});
|
||||
|
||||
var swiper2 = new Swiper('.swiper2', {
|
||||
//freeModeSticky 设置为true 滑动会自动贴合
|
||||
direction: 'horizontal',//Slides的滑动方向,可设置水平(horizontal)或垂直(vertical)。
|
||||
loop: false,
|
||||
// effect : 'fade',//淡入
|
||||
//effect : 'cube',//方块
|
||||
//effect : 'coverflow',//3D流
|
||||
// effect : 'flip',//3D翻转
|
||||
autoHeight: true,//自动高度。设置为true时,wrapper和container会随着当前slide的高度而发生变化。
|
||||
onSlideChangeEnd: function(swiper) { //回调函数,swiper从一个slide过渡到另一个slide结束时执行。
|
||||
var n = swiper.activeIndex;
|
||||
setCurrentSlide($(".swiper1 .swiper-slide").eq(n), n);
|
||||
swiper1.slideTo(n, 500, false);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
6
public/frontend/web/scripts/swiperTab/jquery插件库.url
Executable file
6
public/frontend/web/scripts/swiperTab/jquery插件库.url
Executable file
@@ -0,0 +1,6 @@
|
||||
[{000214A0-0000-0000-C000-000000000046}]
|
||||
Prop3=19,2
|
||||
[InternetShortcut]
|
||||
URL=http://www.jq22.com/
|
||||
IDList=
|
||||
HotKey=0
|
||||
32
public/frontend/web/scripts/swiperTab/js/app.min.js
vendored
Executable file
32
public/frontend/web/scripts/swiperTab/js/app.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
4
public/frontend/web/scripts/swiperTab/js/jquery.min.js
vendored
Executable file
4
public/frontend/web/scripts/swiperTab/js/jquery.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
9
public/frontend/web/scripts/swiperTab/js/mui.min.js
vendored
Executable file
9
public/frontend/web/scripts/swiperTab/js/mui.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
18
public/frontend/web/scripts/swiperTab/js/swiper-3.4.0.jquery.min.js
vendored
Executable file
18
public/frontend/web/scripts/swiperTab/js/swiper-3.4.0.jquery.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
18
public/frontend/web/scripts/swiperTab/js/swiper.jquery.min.js
vendored
Executable file
18
public/frontend/web/scripts/swiperTab/js/swiper.jquery.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
8
public/frontend/web/scripts/swiperTab/js/vue.min.js
vendored
Executable file
8
public/frontend/web/scripts/swiperTab/js/vue.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
7
public/frontend/web/scripts/swiperTab/www.jq22.com.txt
Executable file
7
public/frontend/web/scripts/swiperTab/www.jq22.com.txt
Executable file
@@ -0,0 +1,7 @@
|
||||
|
||||
jQuery<72><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
http://www.jq22.com
|
||||
|
||||
<20>ҵĸ<D2B5><C4B8>٣<EFBFBD><D9A3><EFBFBD><EFBFBD>ĸ<EFBFBD><C4B8>࣡ jQuery<72><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻΪ<D6BB><CEAA><EFBFBD>ṩ<EFBFBD><E1B9A9><EFBFBD>õģ<C3B5>
|
||||
|
||||
Reference in New Issue
Block a user