diff --git a/application/index/view/index/practice.html b/application/index/view/index/practice.html index f486b64..3717516 100644 --- a/application/index/view/index/practice.html +++ b/application/index/view/index/practice.html @@ -7,9 +7,12 @@ + - - + + + +
@@ -17,29 +20,26 @@ -
- - -
-
- - +
+
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
+
banner
- +
前言
@@ -174,17 +174,6 @@
diff --git a/public/images/lunbo/css.css b/public/images/lunbo/css.css deleted file mode 100755 index 641472b..0000000 --- a/public/images/lunbo/css.css +++ /dev/null @@ -1,37 +0,0 @@ -*{margin: 0; padding: 0;} -body{ - font-family: "microsoft yahei"; - font-size: 14px; - background-color: #1F1F1F; -} -li{list-style: none;} -a{ text-decoration: none;} -img{ width: 100%;} -#boxhdp{ width: 600px; height: 300px;margin: 0 auto; margin-top: 30px; overflow: hidden; position: relative;} -#img>li{ width: 100%; height: 100%; float: left; text-align: center; display: none;} -#img>.current{display: block;} -#li{position: absolute; - left: 50%; - bottom: 15px; - margin-left: -35px;} -#li>li{ width: 10px;height: 10px; background-color: #ccc; border-radius: 50%; margin-right: 5px; float: left; cursor: pointer;} -#li>.on{ background-color: #f50;} -#an{ display: none;} -#an a{ - position: absolute; - top: 50%; - margin-top: -20px; - width: 40px; - height: 40px; - background-color: rgba(0,0,0,.3); - text-align: center; - line-height: 40px; - color: #fff; - font-family: "宋体"; - font-weight: 600; - font-size: 1.2em; -} -#an a:hover{ - background-color: rgba(0,0,0,.8); -} -#an .an-a2{ right: 0;} diff --git a/public/images/lunbo/demo.css b/public/images/lunbo/demo.css new file mode 100755 index 0000000..e3caed5 --- /dev/null +++ b/public/images/lunbo/demo.css @@ -0,0 +1,6 @@ + +.swiper-item > img{ + width: inherit; + height: inherit; + object-fit: cover; +} \ No newline at end of file diff --git a/public/images/lunbo/js.js b/public/images/lunbo/js.js deleted file mode 100755 index 703c6b1..0000000 --- a/public/images/lunbo/js.js +++ /dev/null @@ -1,87 +0,0 @@ -//获取id,tagName -function getIdName(id,tagName){ - - if(tagName!=0){ - return document.getElementById(id).getElementsByTagName(tagName); - }else{ - return document.getElementById(id); - } -} -function hdp(json){ - var tiemr=null; - var pd=0; - var index=0; - var that; - var option={ - li:"li", //默认值:默认用li包裹 - boxid:"", //最外面div id - imgid:"", //图片外面id - optid:"", //opt外面id - an:"", //左右按钮id,用于移上显示和隐藏 - prev:"", //左边箭头id - next:"", //右边箭头id - ms:800 //多少毫秒切换一张,默认800毫秒 - } - for(var i in option){ - if(json[i]!=undefined){ - option[i]=json[i]; - } - } - - var div=getIdName(option.boxid,0); - var imgs=getIdName(option.imgid,option.li); - var lis=getIdName(option.optid,option.li); - var an=getIdName(option.an,0); - var prev=getIdName(option.prev,0); - var next=getIdName(option.next,0); - var ms=option.ms; - - function lbt(that){ - if(that>=0){ - index=that; - }else{ - if(pd==0){ - index++; - }else{ - index--; - pd=0; - } - } - if(index>=lis.length) index=0; - if(index<0) index=lis.length-1; - for(var j=0;j\n
\n
\n
\n ');$(".swiper-btn-group_prev").unbind("click").bind("click",this.prev);$(".swiper-btn-group_next").unbind("click").bind("click",this.next)}},prev:function g(){clearTimeout(m);m=setTimeout(function(){clearInterval(e);var A=o,F=c.find(".swiper-item"),B=F.length,x=c.find(".active"),y=x.index(),E=c.find(".swiper-wrapper"),z=$(".swiper-pagination-item"),D=$(".swiper-pagination-item_active"),w=D.index();var C=(B+2)/3;if(y!==1){x.removeClass("active").prev().addClass("active");E.css("transform","translate3d(-".concat(k*--y,"px, 0px, 0px)"))}else{A.transitionToggle(false);x.removeClass("active");F.not(".cloned").eq(2).addClass("active");var G=c.find(".active").index();E.css("transform","translate3d(-".concat(k*G,"px, 0px, 0px)"));setTimeout(function(){A.transitionToggle(true);A.prev()},100);return false}if(!w){z.removeClass("swiper-pagination-item_active").eq(C-1).addClass("swiper-pagination-item_active")}else{D.removeClass("swiper-pagination-item_active").prev().addClass("swiper-pagination-item_active")}A.autoPlay()},100)},next:function i(){clearTimeout(m);m=setTimeout(function(){clearInterval(e);var A=o,F=c.find(".swiper-item"),B=F.length,x=c.find(".active"),y=x.index(),E=c.find(".swiper-wrapper"),z=$(".swiper-pagination-item"),D=$(".swiper-pagination-item_active"),w=D.index();var C=(B+2)/3;if(y!==B-2){x.removeClass("active").next().addClass("active");E.css("transform","translate3d(-".concat(k*++y,"px, 0px, 0px)"))}else{A.transitionToggle(false);x.removeClass("active");F.not(".cloned").eq(C-3).addClass("active");var G=c.find(".active").index();E.css("transform","translate3d(-".concat(k*G,"px, 0px, 0px)"));setTimeout(function(){A.transitionToggle(true);A.next()},100);return false}if(w!==C-1){D.removeClass("swiper-pagination-item_active").next().addClass("swiper-pagination-item_active")}else{z.removeClass("swiper-pagination-item_active").eq(0).addClass("swiper-pagination-item_active")}A.autoPlay()},100)},initPagination:function b(){if(v){$(".swiper-container").append('
');var y=$(".swiper-item").not(".cloned").length;var x="";for(var w=0;w
'}$(".swiper-pagination").html(x).find(".swiper-pagination-item").eq(0).addClass("swiper-pagination-item_active")}},transitionToggle:function l(w){if(w){c.find(".swiper-wrapper").addClass("swiper-wrapper-transition")}else{c.find(".swiper-wrapper").removeClass("swiper-wrapper-transition")}},autoPlay:function p(){e=setInterval(function(){o.next()},r)},handleSlide:function n(){var B=c.find(".swiper-wrapper");var x=window.navigator.appVersion;var z=0;var A=0;var w=false;var y=0;if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(x)){}else{c.unbind("mousedown").bind("mousedown",function(D){var C=D.clientX;z=C;y=B.css("transform");y=-y.split("-")[1].split(",")[0];w=true}).unbind("mousemove").bind("mousemove",function(F){var D=F.clientX;if(w){clearInterval(e);o.transitionToggle(false);var E=D-z;A=Math.abs(E);var C=y+E;B.css("transform","translate3d(".concat(C,"px, 0px, 0px)"));if(Math.abs(E)>=150){w=false;o.transitionToggle(true);if(E>0){o.prev()}else{o.next()}}}}).unbind("mouseup").bind("mouseup",function(D){var C=D.clientX;w=false;if(A<150){o.transitionToggle(true);B.css("transform","translate3d(".concat(y,"px, 0px, 0px)"));setTimeout(function(){o.autoPlay()},300)}})}}};o.init()}});$.fn.carousel.defaults={width:800,height:300,speed:3000,needPrevAndNextBtnGroup:true,needPagination:true}})(); \ No newline at end of file diff --git a/public/images/lunbo/t1.png b/public/images/lunbo/t1.png old mode 100755 new mode 100644 index c6b9f8b..c02c0bf Binary files a/public/images/lunbo/t1.png and b/public/images/lunbo/t1.png differ diff --git a/public/images/lunbo/t10.png b/public/images/lunbo/t10.png new file mode 100644 index 0000000..20bcf28 Binary files /dev/null and b/public/images/lunbo/t10.png differ diff --git a/public/images/lunbo/t11.png b/public/images/lunbo/t11.png new file mode 100644 index 0000000..541a4b4 Binary files /dev/null and b/public/images/lunbo/t11.png differ diff --git a/public/images/lunbo/t12.png b/public/images/lunbo/t12.png new file mode 100644 index 0000000..52aaee9 Binary files /dev/null and b/public/images/lunbo/t12.png differ diff --git a/public/images/lunbo/t13.png b/public/images/lunbo/t13.png new file mode 100644 index 0000000..572a0ac Binary files /dev/null and b/public/images/lunbo/t13.png differ diff --git a/public/images/lunbo/t14.png b/public/images/lunbo/t14.png new file mode 100644 index 0000000..d82546c Binary files /dev/null and b/public/images/lunbo/t14.png differ diff --git a/public/images/lunbo/t2.png b/public/images/lunbo/t2.png old mode 100755 new mode 100644 index 13fdb80..d3ff412 Binary files a/public/images/lunbo/t2.png and b/public/images/lunbo/t2.png differ diff --git a/public/images/lunbo/t3.png b/public/images/lunbo/t3.png old mode 100755 new mode 100644 index 2d9e7c4..71123c9 Binary files a/public/images/lunbo/t3.png and b/public/images/lunbo/t3.png differ diff --git a/public/images/lunbo/t4.png b/public/images/lunbo/t4.png old mode 100755 new mode 100644 index 7805992..0441061 Binary files a/public/images/lunbo/t4.png and b/public/images/lunbo/t4.png differ diff --git a/public/images/lunbo/t5.png b/public/images/lunbo/t5.png old mode 100755 new mode 100644 index 004ee22..ed741c6 Binary files a/public/images/lunbo/t5.png and b/public/images/lunbo/t5.png differ diff --git a/public/images/lunbo/t6.png b/public/images/lunbo/t6.png new file mode 100644 index 0000000..7732b19 Binary files /dev/null and b/public/images/lunbo/t6.png differ diff --git a/public/images/lunbo/t7.png b/public/images/lunbo/t7.png new file mode 100644 index 0000000..abdde12 Binary files /dev/null and b/public/images/lunbo/t7.png differ diff --git a/public/images/lunbo/t8.png b/public/images/lunbo/t8.png new file mode 100644 index 0000000..675b34c Binary files /dev/null and b/public/images/lunbo/t8.png differ diff --git a/public/images/lunbo/t9.png b/public/images/lunbo/t9.png new file mode 100644 index 0000000..4fd29ad Binary files /dev/null and b/public/images/lunbo/t9.png differ