Loading

W - BMy Wheels

内页模块

常用参数方法

$('.xxx').slick({
 fade: true, // 淡入淡出
 vertical: true, //垂直方向
 autoplay: true, // 自动播放
 speed: 800, // 过度速度
 draggable: false, //启用桌面拖动
 dots: true, // 圆点
 adaptiveHeight: true, //自动高度
 touchThreshold: 10, //滑动切换阈值,即滑动多少像素后切换
 slidesToShow: 2, // 显示个数
 slidesToScroll: 2, // 滚动个数
});


$('.xxx').slick('unslick');
unslick() // 销毁 slick
slickNext() // 切换下一张
slickPrev() // 切换上一张
slickPause() // 暂停自动播放
slickPlay() // 开始自动播放
slickGoTo() // 切换到第 x 张
slickCurrentSlide() // 返回当前幻灯片索引

TAB-选项卡

  • Tab_按钮
  • Tab_按钮
  • content_内容1
  • content_内容2

页码

.fix-bar { z-index:55; position:fixed; right:0; bottom:20%; .item{ width: 50px; height: 51px; position: relative; border-bottom: 1px solid #ddd; &:nth-child(4){ span{ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA6ElEQVRYhe2WURWDIBSGF8EIi2AEIxiBCEawgRGIYIRFMIIRjPDtAdgcApOJzAe+c3jx4P0/vVeOt1uhcCWABugBecIagDYU3pEH4ROYMwksPoE2g8REqA2rVqQWWXTdKmYgU8zEJtgrgXo9wrpWoSb4l2AJ3K16DTD5BAybPgF1hMgDqF3BZsM3AcPoeIJ6XWhn8Ghv3CtgkA4RwXtQJ6BziA6oVmyIFTAMWAOE+nQ/BiwUfFTgJeK4d1dwKgF0kNDB0edGCoFDFIEicFmBOVP+7BMQmQR6p4CWaFEnmjxhhX9KC4V/8QQ031CD957O8AAAAABJRU5ErkJggg==); background-size: 26px; } } &:nth-child(3){ span{ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3FpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eH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CpoaGyC+Cg37QHINBWn2wJF2Z5FTChECUygpjbAWKMSGqRM0vAiBHeQkq6c4DLsPxKKMZKQAUBkJKnwdgVgfiFmB+DIQZzAyMr4GCDAAWS81MFh2b4oAAAAASUVORK5CYII=); } } em,.imgs{ position: absolute; color: #fff; top: 0; right: 0; width: 50px; height: 50px; overflow: hidden; line-height: 50px; white-space: nowrap; .tra(.8s); a{ color: #fff; } span{ width: 50px; height: 50px; } i{ width: 100px; text-align: center; } } &:hover{ em{ width: 150px; } } } .pic,#gotop{ height: 50px; width: 50px; cursor: pointer; } // 二维码 .pic{ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV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AgwA4EdPkGHxCfQAAAAASUVORK5CYII=); &:hover{ .imgs{ .op1(); right: 100%; } } .imgs{ .op0(); z-index: -1; position: absolute; width: 100px; height: 100px; right: -200%; top: 0; background-color: #eee; } } // 返回顶部 #gotop{ text-align: center; color: #fff; line-height: 50px; font-size: 30px; font-weight: bold; font-family: 'SimSun'; .zhuan(270deg); .tra(); } } .fix-bar .item em span,.fix-bar .pic,#gotop{ background-repeat: no-repeat; background-position: center; } // 默认颜色 .fix-bar .item i,.fix-bar .item em span,.fix-bar .pic,#gotop{ background-color: @ThemeColor; } // 悬浮的颜色 .fix-bar .item:hover i,.fix-bar .item:hover em span,.fix-bar .pic:hover,#gotop:hover{ background-color: #1273c5; }
我的轮子

百度地图

百度分享按钮

.bdsharebuttonbox{ font-size: 0; text-align: center; a{ float: none; display: inline-block; width: 50px !important; height: 50px !important; margin: 0px!important; padding: 0 !important; .bg(); background: #666 !important; border-radius: 50%; } } .bd_weixin_popup{ height: auto !important; }

产品详情多图

.pic-slider-w{ max-width: 600px; margin: 0 auto; .t-pic-slider{ border: 1px solid #bfbfbf; margin-bottom: 20px; .slick-slide{ li{ position: relative; height: 350px; } } // 圆点样式 .slick-dots{ display: none !important; li{ &.slick-active,&:hover,&:focus{ } } } } .b-pic-slider{ padding: 0 40px; .slick-slide{ padding: 0 5px; li{ position: relative; height: 100px; border: 2px solid #eee; cursor: pointer; } } .slick-current{ li{ border-color: @ThemeColor; } } // 左右按钮 .slick-prev,.slick-next{ width: 30px; height: 100%; background: #ccc !important; } .slick-prev{ background: url(../images/b_pic_slider_l.png) no-repeat center; } .slick-next{ background: url(../images/b_pic_slider_r.png) no-repeat center; } } }

产品详情多图--上下切换

.pic-slider-w2{ max-width: 600px; margin: 0 auto; .t-pic-slider{ .w(180px); border: 1px solid #bfbfbf; margin-bottom: 20px; .slick-slide{ li{ position: relative; height: 350px; } } // 圆点样式 .slick-dots{ display: none !important; li{ &.slick-active,&:hover,&:focus{ } } } } .b-pic-slider{ width: 150px; .slick-list{ padding: 30px 0; } .slick-slide{ li{ position: relative; margin: 5px 0; height: 87px; border: 2px solid #eee; cursor: pointer; padding: 10px 0; } } .slick-current{ li{ border-color: @ThemeColor; } } // 左右按钮 .slick-prev,.slick-next{ width: 100%; height: 30px; top: inherit; .tray(0); background: #ccc !important; } .slick-prev{ left: inherit; background: url(../images/b_pic_slider_t.png) no-repeat center; } .slick-next{ right: inherit; bottom: 0; background: url(../images/b_pic_slider_b.png) no-repeat center; } } }

3D-幻灯片

// 左右按钮 .flipto-prev,.flipto-next{ position: absolute; top: 50%; width: 50px; height: 50px; font-size: 0; .tray(); background: rgba(0, 0, 0, .5); } .flipto-prev{ left: 0; } .flipto-next{ right: 0; } // 3D-偏移-左 .flipster-carousel .flip-prev{ -webkit-transform: translateX(-80%) translateZ(0) rotateY(0deg) scale(0.8); -moz-transform: translateX(-80%) translateZ(0) rotateY(0deg) scale(0.8); -o-transform: translateX(-80%) translateZ(0) rotateY(0deg) scale(0.8); -ms-transform: translateX(-80%) translateZ(0) rotateY(0deg) scale(0.8); transform: translateX(-80%) translateZ(0) rotateY(0deg) scale(0.8); } // 3D-偏移-右 .flipster-carousel .flip-next{ -webkit-transform: translateX(80%) translateZ(0) rotateY(0deg) scale(0.8); -moz-transform: translateX(80%) translateZ(0) rotateY(0deg) scale(0.8); -o-transform: translateX(80%) translateZ(0) rotateY(0deg) scale(0.8); -ms-transform: translateX(80%) translateZ(0) rotateY(0deg) scale(0.8); transform: translateX(80%) translateZ(0) rotateY(0deg) scale(0.8); }

瀑布流列表

加载更多

走马灯

.seamless-slider{ max-width: 650px; margin: 0 auto; } .str_wrap { overflow: hidden; //zoom: 1; width: 100%; font-size: 12px; line-height: 16px; position: relative; -moz-user-select: none; -khtml-user-select: none; user-select: none; background: #f6f6f6; white-space: nowrap; &.str_active{ background: #f1f1f1 } } .str_move { white-space: nowrap; position: absolute; top: 0; left: 0; cursor: move; font-size: 0 } .str_move_clone { display: inline-block; //display: inline; //zoom: 1; vertical-align: top; position: absolute; left: 100%; top: 0 } .str_vertical .str_move_clone { left: 0; top: 100% } .str_down .str_move_clone { left: 0; bottom: 100% } .str_down .str_move, .str_vertical .str_move { white-space: normal; width: 100% } .noStop .str_move, .no_drag .str_move, .str_static .str_move { cursor: inherit } .str_wrap img { max-width: none !important }

图片画廊-灯箱

.lg-outer .lg-thumb-item{ border: 2px solid #333; } .lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover{ border-color: #fff; } .lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item{ position: relative; } .lg-outer .lg-thumb-item img{ position: absolute; width: auto; height: auto; max-width: 100%; max-height: 100%; top: 0; right: 0; bottom: 0; left: 0; margin: auto; object-fit:inherit; } .pic-see{ border: 1px solid #ccc; li{ a{ position: relative; display: block; width: 100%; height: 3rem; } img{ position: absolute; max-width: 100%; max-height: 100%; top: 0; right: 0; bottom: 0; left: 0; margin: auto; } } .owl-pagination{ display: none; } // 左右按钮 .owl-buttons{ } .owl-controls .owl-buttons div{ width: 56px; height: 56px; } // 左-按钮 .owl-controls .owl-buttons .owl-prev{ left: -137px; background-image: url(../images/slider_slier_l.png); } // 右-按钮 .owl-controls .owl-buttons .owl-next{ right: -137px; background-image: url(../images/slider_slier_r.png); } }

手风琴

.Accordion { position:relative; height:276px; overflow:hidden; >li{ position:absolute; top:0px; left:0px; background-size:cover; } }

数字跳动

541058726 9999 6666

滚动条

滚动条效果
滚动条效果
滚动条效果
滚动条效果
滚动条效果
滚动条效果
滚动条效果

Fullpage

Wow

随机广告漂浮

.fix-ads { position: fixed; z-index: 999; width: 150px; height: 150px; .wb-info{ width: 100%; height: 100%; } .close{ position: absolute; top: 0; right: 0; width: 25px; height: 25px; line-height: 23px; padding: 0 5px; text-align: right; font-size: 20px; color: #fff; background: rgba(0, 0, 0, .5); &::before, &::after{ position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: #fff; content: ''; .tra(.5s); margin: -2px 0 0 -6px; // .tray(); } &::before{ .zhuan(45deg); } &::after{ .zhuan(-45deg); } } }
/* 图标抖动 */ transition-timing-function: cubic-bezier(.6, 4, .3, .8); -webkit-transition-timing-function: cubic-bezier(.6, 4, .3, .8); animation: gelatine .5s 1; -webkit-animation: gelatine .5s 1; @keyframes gelatine{from,to{transform:scale(1,1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}from,to{transform:scale(1,1)}25%{transform:scale(.9,1.1)}50%{transform:scale(1.1,.9)}75%{transform:scale(.95,1.05)}}@-webkit-keyframes gelatine{from,to{-webkit-transform:scale(1,1)}25%{-webkit-transform:scale(.9,1.1)}50%{-webkit-transform:scale(1.1,.9)}75%{-webkit-transform:scale(.95,1.05)}from,to{-webkit-transform:scale(1,1)}25%{-webkit-transform:scale(.9,1.1)}50%{-webkit-transform:scale(1.1,.9)}75%{-webkit-transform:scale(.95,1.05)}} /* 背景扩散 */ position: absolute; top: -0.5%; left: -0.5%; content: ""; width: 101%; height: 102%; background: #fff; opacity: .5; border-radius: 50%; animation: bgzoom 1s both; -webkit-animation: bgzoom 1s both; @keyframes bgzoom{from{opacity:.5;transform:scale(1)}to{opacity:0;transform:scale(1.3)}}@-webkit-keyframes bgzoom{from{opacity:.5;-webkit-transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.3)}}; /* 上下跳动图标 */ .animation-icon{ position: absolute; left: 50%; bottom: 5.85%; width: 27px; height: 37px; background: url(../images/animation_icon.png) no-repeat center; .trax(); animation: animation_icon .8s cubic-bezier(.445,.05,.55,.95) .2s infinite alternate; -webkit-animation: animation_icon .8s cubic-bezier(.445,.05,.55,.95) .2s infinite alternate; } @-webkit-keyframes animation_icon{0%{opacity:0;transform:translateY(-30%)}100%{transform:none}}@keyframes animation_icon{0%{opacity:0;-webkit-transform:translateY(-30%)}100%{opacity:1;-webkit-transform:none}} less-style{ display: none; } .wrap { z-index: 99; position: relative; margin-top: 100vh; background: #fdfdfd; } h1{ position: fixed; top: 0; left: 0; width: 100%; height: 350px; height: 100vh; &::after{ opacity: .5; .pter(); top: 0; left: 0; width: 100%; height: 100%; background: url(../testimg/banner.jpg) no-repeat center; background-size: cover; } strong{ z-index: 55; color: #fff; font-size: 50px; // font-family: '楷体'; font-family: 'Georgia'; } i{ position: relative; width: 200px; height: 200px; font-size: 45px; &::before{ z-index: -2; position: absolute; top: -0.5%; left: -0.5%; content: ""; width: 100%; height: 100%; background: #fff; opacity: .5; border-radius: 50%; -webkit-animation: bgzoom 1.5s infinite; animation: bgzoom 1.5s infinite; } &::after{ .pter(); z-index: -1; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 0 30px rgba(255, 255, 255, .8); } span{ font-size: 16px; padding-top: 2%; } } } .title{ font-size: 40px; font-family: '楷体'; i{ position: relative; padding-bottom: 10px; &::after{ .pter(); left: 0; bottom: 0; width: 100%; height: 2px; background-image: linear-gradient(-20deg, #b721ff 0%, #21d4fd 100%); -webkit-animation: line 3s infinite; animation: line 3s infinite; } } } .wb-plugin{ width: 55%; padding: 0; margin: 0 auto; } h2{ position: relative; height: 60px; border-bottom: 1px solid #999; font-weight: 700; font-size: 30px; font-family: '楷体'; line-height: 60px; cursor: pointer; overflow: hidden; .tra(); &::before, &::after{ position: absolute; top: 50%; right: 5px; width: 20px; height: 2px; background: #666; content: ''; .tra(.5s); .tray(); } &::before{ background: #333; transform: rotate(45deg); } &::after{ background: #333; transform: rotate(-45deg); } &.cur{ &::before{ background: #333; transform: rotate(0); } &::after{ background: #333; transform: rotate(0); } &::before, &::after{ // background: #fff; } } } // 视频图片按钮 .pic-open,.video-open{ width: 120px; height: 120px; border-radius: 50%; background: #666; color: #fff; text-align: center; line-height: 120px; font-size: 16px; } @keyframes bgzoom{from{opacity:.2;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1.3);transform:scale(1.3)}} @keyframes line { from { -webkit-transform: scale(1); transform: scale(1) } 50%{ -webkit-transform: scale(0); transform: scale(0) } to { -webkit-transform: scale(1); transform: scale(1) } }