This commit is contained in:
Gitea
2022-01-24 10:43:35 +08:00
commit 15dfc6576b
786 changed files with 219240 additions and 0 deletions

2676
skin/css/animate.min.css vendored Normal file

File diff suppressed because it is too large Load Diff

441
skin/css/global.css Normal file
View File

@@ -0,0 +1,441 @@
@charset "utf-8";
html {
}
html, img, fieldset {
border: 0;
}
html, body, form {
margin: 0;
padding: 0;
}
body {
color: #000;
background-color: #fff;
}
body, td {
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
font-size: 14px;
}
ul, ol {
margin: 0;
padding: 5px 5px 5px 40px;
}
dl, p {
margin: 0;
padding: 5px 0;
}
a, a:link {
color: #000;
text-decoration: none;
}
a:active {
}
a:hover {
}
a:visited {
}
/* 浮动元素 */
.rectbox:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.rectbox {
clear: both;
*display:inline-block;
}
.rectbox .left {
float: left;
_display: inline;
}
.rectbox .right {
float: right;
_display: inline;
}
/*================ Form 元素统一 =================*/
textare {
overflow-y: visible
}
label {
cursor: pointer;
_cursor: default;
}
input[type="submit"] {
cursor: pointer;
}
input[type="button"] {
cursor: pointer;
}
input[type="reset"] {
cursor: pointer;
}
input.submit {
cursor: pointer;
}
input.button {
cursor: pointer;
}
input.reset {
cursor: pointer;
}
input.disabled {
cursor: default;
}
input[disabled] {
}
input.readonly {
color: #999;
border: 1px solid #ccc;
background: #f3f3f3;
}
input[readOnly] {
color: #999;
border: 1px solid #ccc;
background: #f3f3f3;
}
*html input {
direction:expression(function(sjd) {
if(document.readyState=="complete") {
sjd.style.direction = "ltr"; /* 只 执行一次*/
sjd.className += " "+sjd.type; /* 根据type 类型 添加 className弥补IE6 无法使用 [type=""] 改用 input.type */
}
}
(this));
unicode-bidi:expression(function(sjd) {
if(document.readyState=="complete") {
/* input 只读时 ie6 添加 className " readonly" */
if(sjd.readOnly == true) {
if(sjd.className.search(" readonly")==-1) {
sjd.className += " readonly";
}
}
else {
if(sjd.className.search(" readonly")!=-1) {
sjd.className = sjd.className.replace(" readonly", "")
}
}
/* input被禁用时 ie6 添加 className " disabled" */
if(sjd.disabled == true) {
if(sjd.className.search(" disabled")==-1) {
sjd.className += " disabled";
}
}
else {
if(sjd.className.search(" disabled")!=-1) {
sjd.className = sjd.className.replace(" disabled", "")
}
}
}
}
(this));
}
/* IE6 背景图缓存优化 IE6 fixed box hack */
*html html {
direction:expression(function(el) {
el.style.direction = "ltr";
try {
document.execCommand('BackgroundImageCache', false, true);
}
catch(e) {
}
}
(this))
}
/************
常用 类 使用
----------------------------
------ A 虚线 ------
----------------------------
a {outline:0;zoom:expression(function(sjd){sjd.style.zoom = "1";sjd.hideFocus=true;}(this))}
------ :first-child{} ------
----------------------------
div:first-child{} ;
div.first-child{} ;
*html div {zoom:expression(function(sjd){
sjd.style.zoom = "1";
if(sjd == sjd.parentNode.getElementsByTagName(sjd.tagName)[0]){sjd.className += " first-child"}
}(this))}
.className:first-child{}
.className_first-child{}
*html .className {zoom:expression(function(sjd){
sjd.style.zoom = "1";
if(sjd == sjd.parentNode.getElementsByTagName(sjd.tagName)[0]){sjd.className += " className_first-child"}
}(this))}
----------------------------
------ :hover{} ------------
----------------------------
div:hover{} ;
div.hover{} ;
*html div {zoom:expression(function(sjd){
sjd.style.zoom = "1";
sjd.onmouseover = function(){ if(!this.contains(event.fromElement)){this.className +=' hover'} };
sjd.onmouseout = function(){ if(!this.contains(event.toElement)){this.className =this.className.replace(' hover','')} };
}(this))}
.className:hover{}
.className_hover{}
*html .className {zoom:expression(function(sjd){
sjd.style.zoom = "1";
sjd.onmouseover = function(){ if(!this.contains(event.fromElement)){this.className +=' className_hover'} };
sjd.onmouseout = function(){ if(!this.contains(event.toElement)){this.className =this.className.replace(' className_hover','')} };
}(this))}
----------------------------
------ PNG图 ---------------
----------------------------
背景
*html .className {zoom:expression( function(sjd){sjd.style.zoom=1;if (sjd.className.search(" ie6bg")==-1){sjd.className += " ie6bg"}}(this));}
前景
*html .className img {zoom:expression( function(sjd){sjd.style.zoom=1;if (sjd.className.search(" ie6img")==-1){sjd.className += " ie6img"}}(this));}
********************/
/* CSS Document
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> v1.0 | 20080212 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
/*----------basic----------*/
.bt:hover, .bt:hover * {
cursor: pointer;
text-decoration: none;
opacity: 0.8;
filter: alpha(opacity=80);
}
.bt:hover.lt, .bt:hover.lt * {
opacity: 0.95;
filter: alpha(opacity=95);
}
.bt:hover.gt, .bt:hover.gt * {
opacity: 0.6;
filter: alpha(opacity=60);
}
.clear {
clear: both;
}
.flex {
display: flex;
}
.flex.lt {
width: 105%;
}
.flex.gt {
width: 125%;
}
.ht05 {
height: 5px;
}
.ht10 {
height: 10px;
}
.ht15 {
height: 15px;
}
.ht20 {
height: 20px;
}
.ht25 {
height: 25px;
}
.ht30 {
height: 30px;
}
.ht35 {
height: 35px;
}
.ht40 {
height: 40px;
}
.ht45 {
height: 45px;
}
.ht50 {
height: 50px;
}
.ht55 {
height: 55px;
}
.ht60 {
height: 60px;
}
.ht65 {
height: 65px;
}
.ht70 {
height: 70px;
}
.ht75 {
height: 75px;
}
.ht80 {
height: 80px;
}
.ht85 {
height: 85px;
}
.ht90 {
height: 90px;
}
.ht95 {
height: 95px;
}
.ht100 {
height: 100px;
}
.ht200 {
height: 200px;
}
.ht300 {
height: 300px;
}
.ht400 {
height: 400px;
}
.ht500 {
height: 500px;
}
.wh05 {
display: inline-block;
width: 5px;
}
.wh10 {
display: inline-block;
width: 10px;
}
.wh15 {
display: inline-block;
width: 15px;
}
.wh20 {
display: inline-block;
width: 20px;
}
.wh25 {
display: inline-block;
width: 25px;
}
.wh30 {
display: inline-block;
width: 30px;
}
.wh35 {
display: inline-block;
width: 35px;
}
.wh40 {
display: inline-block;
width: 40px;
}
.wh45 {
display: inline-block;
width: 45px;
}
.wh50 {
display: inline-block;
width: 50px;
}
.wh55 {
display: inline-block;
width: 55px;
}
.wh60 {
display: inline-block;
width: 60px;
}
.wh65 {
display: inline-block;
width: 65px;
}
.wh70 {
display: inline-block;
width: 70px;
}
.wh75 {
display: inline-block;
width: 75px;
}
.wh80 {
display: inline-block;
width: 80px;
}
.wh85 {
display: inline-block;
width: 85px;
}
.wh90 {
display: inline-block;
width: 90px;
}
.wh95 {
display: inline-block;
width: 95px;
}
.wh100 {
display: inline-block;
width: 100px;
}
.none {
display: none;
}
.hide {
opacity: 0;
filter: alpha(opacity=0);
}
.ie-radius {
border-radius: 5px;
behavior: url(css/ie-css3.htc);
}
.f_left {
float: left;
}
.f_right {
float: right;
}
/*----------custom----------*/

240
skin/css/owl.carousel.min.css vendored Normal file
View File

@@ -0,0 +1,240 @@
.owl-carousel * {
touch-action: none;
}
.owl-carousel .animated {
-webkit-animation-duration: 1000ms;
animation-duration: 1000ms;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.owl-carousel .owl-animated-in {
z-index: 0;
}
.owl-carousel .owl-animated-out {
z-index: 1;
}
.owl-carousel .fadeOut {
-webkit-animation-name: fadeOut;
animation-name: fadeOut;
}
@-webkit-keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.owl-height {
-webkit-transition: height 500ms ease-in-out;
-moz-transition: height 500ms ease-in-out;
-ms-transition: height 500ms ease-in-out;
-o-transition: height 500ms ease-in-out;
transition: height 500ms ease-in-out;
}
.owl-carousel {
display: none;
width: 100%;
-webkit-tap-highlight-color: transparent;
position: relative;
z-index: 1;
}
.owl-carousel .owl-stage {
position: relative;
-ms-touch-action: pan-Y;
}
.owl-carousel .owl-stage:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.owl-carousel .owl-stage-outer {
position: relative;
overflow: hidden;
-webkit-transform: translate3d(0px, 0, 0);
width: 100%;
}
.owl-carousel .owl-controls .owl-dot, .owl-carousel .owl-controls .owl-nav .owl-next, .owl-carousel .owl-controls .owl-nav .owl-prev {
cursor: pointer;
cursor: hand;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.owl-carousel.owl-loaded {
display: block;
}
.owl-carousel.owl-loading {
opacity: 0;
display: block;
}
.owl-carousel.owl-hidden {
opacity: 0;
}
.owl-carousel .owl-refresh .owl-item {
display: none;
}
.owl-carousel .owl-item {
position: relative;
min-height: 1px;
float: left;
-webkit-backface-visibility: hidden;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.owl-carousel .owl-item img {
display: block;
}
.owl-carousel.owl-text-select-on .owl-item {
-webkit-user-select: auto;
-moz-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}
.owl-carousel .owl-grab {
cursor: move;
cursor: -webkit-grab;
cursor: -o-grab;
cursor: -ms-grab;
cursor: grab;
}
.owl-carousel.owl-rtl {
direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
float: right;
}
.no-js .owl-carousel {
display: block;
}
.owl-carousel .owl-item .owl-lazy {
opacity: 0;
-webkit-transition: opacity 400ms ease;
-moz-transition: opacity 400ms ease;
-ms-transition: opacity 400ms ease;
-o-transition: opacity 400ms ease;
transition: opacity 400ms ease;
}
/*.owl-carousel .owl-item img { transform-style: preserve-3d; }*/
.owl-carousel .owl-video-wrapper {
position: relative;
height: 100%;
background: #000;
}
.owl-carousel .owl-video-play-icon {
position: absolute;
height: 80px;
width: 80px;
left: 50%;
top: 50%;
margin-left: -40px;
margin-top: -40px;
background: url(../images/owl.video.play.png) no-repeat;
cursor: pointer;
z-index: 1;
-webkit-backface-visibility: hidden;
-webkit-transition: scale 100ms ease;
-moz-transition: scale 100ms ease;
-ms-transition: scale 100ms ease;
-o-transition: scale 100ms ease;
transition: scale 100ms ease;
}
.owl-carousel .owl-video-play-icon:hover {
-webkit-transition: scale(1.3, 1.3);
-moz-transition: scale(1.3, 1.3);
-ms-transition: scale(1.3, 1.3);
-o-transition: scale(1.3, 1.3);
transition: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
display: none;
}
.owl-carousel .owl-video-tn {
opacity: 0;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
-webkit-transition: opacity 400ms ease;
-moz-transition: opacity 400ms ease;
-ms-transition: opacity 400ms ease;
-o-transition: opacity 400ms ease;
transition: opacity 400ms ease;
}
.owl-carousel .owl-video-frame {
position: relative;
z-index: 1;
}
/*owl.theme.default.min*/
.owl-theme .owl-controls {
position: absolute;
bottom: 0px;
width: 100%;
left: 0;
text-align: center;
-webkit-tap-highlight-color: transparent;
}
.owl-theme .owl-controls .owl-nav [class*=owl-] {
color: #fff;
font-size: 14px;
margin: 5px;
padding: 4px 7px;
display: inline-block;
cursor: pointer;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
opacity: 0.7;
color: #fff;
text-decoration: none;
}
.owl-theme .owl-controls .owl-nav .disabled {
opacity: .5;
cursor: default;
}
.owl-theme .owl-dots .owl-dot {
display: inline-block;
zoom: 1;
*display: inline;
}
.owl-theme .owl-dots .owl-dot span {
width: 10px;
height: 10px;
margin: 5px;
background: #fff;
display: block;
-webkit-backface-visibility: visible;
-webkit-transition: opacity 200ms ease;
-moz-transition: opacity 200ms ease;
-ms-transition: opacity 200ms ease;
-o-transition: opacity 200ms ease;
transition: opacity 200ms ease;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
background: #21b9e0;
}

2280
skin/css/style.css Normal file

File diff suppressed because it is too large Load Diff

BIN
skin/images/bg1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

BIN
skin/images/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
skin/images/cur1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
skin/images/cur2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
skin/images/ft.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
skin/images/icon1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon11-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
skin/images/icon13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
skin/images/icon14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
skin/images/icon15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
skin/images/icon16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
skin/images/icon17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon18.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
skin/images/icon2-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon21.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
skin/images/icon23.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
skin/images/icon3-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/icon5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
skin/images/icon6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
skin/images/icon7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
skin/images/icon8-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
skin/images/icon8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
skin/images/icon9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
skin/images/img6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
skin/images/map.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
skin/images/menu-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
skin/images/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
skin/images/team.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

BIN
skin/images/team_wap.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
skin/images/work.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

8
skin/js/html5.js Normal file
View File

@@ -0,0 +1,8 @@
/*
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);

4
skin/js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

186
skin/js/main.js Normal file
View File

@@ -0,0 +1,186 @@
$(function () {
resize();
$(window).resize(function (event) {
resize();
});
$('.timer').each(count);
$(window).load(function () {
if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) {
new WOW().init()
}
})
$(".class_nav li").click(function () { $(this).addClass("on").siblings().removeClass("on") });
$(".wow_list li").each(function (e) {
$(this).attr("data-wow-delay", (e / 10) + "s");
})
$(".banner").each(function () {
if ($(this).find(".item").length > 1) {
var owl = $(this).find(".owl").owlCarousel({ items: 1, loop: true, autoplay: true });
owl.on('changed.owl.carousel', function (event) {
owl.find(".animated").each(function () { $(this).removeClass($(this).attr("data-animation")); })
owl.find(".owl-item").eq(event.item.index).find(".animated").each(function () { $(this).addClass($(this).attr("data-animation")); });
})
$(".banner_cur .prev").click(function () {
owl.trigger("prev.owl.carousel");
})
$(".banner_cur .next").click(function () {
owl.trigger("next.owl.carousel");
})
}
})
var team = $(".team_owl .owl").owlCarousel({ items: 1, dots: false, loop: true });
$(".team_cur .prev").click(function () {
team.trigger("prev.owl.carousel");
})
$(".team_cur .next").click(function () {
team.trigger("next.owl.carousel");
})
var course = $(".course_owl .owl").owlCarousel({ items: 4, dots: false, loop: true, autoWidth: true, margin: 20, center: true });
$(".course_cur .prev").click(function () {
course.trigger("prev.owl.carousel");
})
$(".course_cur .next").click(function () {
course.trigger("next.owl.carousel");
})
if ($(".link_owl .owl .item").length > 1) {
var link = $(".link_owl .owl").owlCarousel({ items: 1, dots: false, loop: true });
$(".link_cur .prev").click(function () {
link.trigger("prev.owl.carousel");
})
$(".link_cur .next").click(function () {
link.trigger("next.owl.carousel");
})
}
$(".his_owl .owl").owlCarousel({
items: 6,
responsive:{
0:{
items:3
},
600:{
items:4
},
1000:{
items:6
}
},
nav: true, navText: ["", ""], dots: false, loop: true
});
$(".zxns_list .tit").click(function () {
$(this).parents("li").toggleClass("on");
$(this).siblings().stop().slideToggle();
})
$(".nav_wap").click(function () { $(".header").toggleClass("h_menu") });
});
/*main*/
//
function font() {
}
/*call*/
//
function resize() {
var ht = $(window).height();
$(".curriculum_article").css("padding", ((ht - $(".curriculum_article").height() - $(".header").height() - $(".footer").height() - 70) / 4) + "px 0");
$(".ht_w").each(function () { $(this).height($(this).width()); });
$(".text_t_ht").css("top", $(".li_more a").height() + 5);
}
$.fn.countTo = function (options) {
options = options || {};
return $(this).each(function () {
// set options for current element
var settings = $.extend({}, $.fn.countTo.defaults, {
from: $(this).data('from'),
to: $(this).data('to'),
speed: $(this).data('speed'),
refreshInterval: $(this).data('refresh-interval'),
decimals: $(this).data('decimals')
}, options);
// how many times to update the value, and how much to increment the value on each update
var loops = Math.ceil(settings.speed / settings.refreshInterval),
increment = (settings.to - settings.from) / loops;
// references & variables that will change with each update
var self = this,
$self = $(this),
loopCount = 0,
value = settings.from,
data = $self.data('countTo') || {};
$self.data('countTo', data);
// if an existing interval can be found, clear it first
if (data.interval) {
clearInterval(data.interval);
}
data.interval = setInterval(updateTimer, settings.refreshInterval);
// initialize the element with the starting value
render(value);
function updateTimer() {
value += increment;
loopCount++;
render(value);
if (typeof (settings.onUpdate) == 'function') {
settings.onUpdate.call(self, value);
}
if (loopCount >= loops) {
// remove the interval
$self.removeData('countTo');
clearInterval(data.interval);
value = settings.to;
if (typeof (settings.onComplete) == 'function') {
settings.onComplete.call(self, value);
}
}
}
function render(value) {
var formattedValue = settings.formatter.call(self, value, settings);
$self.html(formattedValue);
}
});
};
$.fn.countTo.defaults = {
from: 0, // the number the element should start at
to: 0, // the number the element should end at
speed: 1000, // how long it should take to count between the target numbers
refreshInterval: 100, // how often the element should be updated
decimals: 0, // the number of decimal places to show
formatter: formatter, // handler for formatting the value before rendering
onUpdate: null, // callback method for every time the element is updated
onComplete: null // callback method for when the element finishes updating
};
function count(options) {
var $this = $(this);
options = $.extend({}, options || {}, $this.data('countToOptions') || {});
$this.countTo(options);
}
function formatter(value, settings) {
return value.toFixed(settings.decimals);
}

3069
skin/js/owl.carousel.js Normal file

File diff suppressed because it is too large Load Diff

36
skin/js/wow.js Normal file
View File

@@ -0,0 +1,36 @@
(function(){var MutationObserver,Util,WeakMap,getComputedStyle,getComputedStyleRX,__bind=function(fn,me){return function(){return fn.apply(me,arguments);};},__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;i<l;i++){if(i in this&&this[i]===item)return i;}return-1;};Util=(function(){function Util(){}
Util.prototype.extend=function(custom,defaults){var key,value;for(key in defaults){value=defaults[key];if(custom[key]==null){custom[key]=value;}}
return custom;};Util.prototype.isMobile=function(agent){return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent);};Util.prototype.addEvent=function(elem,event,fn){if(elem.addEventListener!=null){return elem.addEventListener(event,fn,false);}else if(elem.attachEvent!=null){return elem.attachEvent("on"+event,fn);}else{return elem[event]=fn;}};Util.prototype.removeEvent=function(elem,event,fn){if(elem.removeEventListener!=null){return elem.removeEventListener(event,fn,false);}else if(elem.detachEvent!=null){return elem.detachEvent("on"+event,fn);}else{return delete elem[event];}};Util.prototype.innerHeight=function(){if('innerHeight'in window){return window.innerHeight;}else{return document.documentElement.clientHeight;}};return Util;})();WeakMap=this.WeakMap||this.MozWeakMap||(WeakMap=(function(){function WeakMap(){this.keys=[];this.values=[];}
WeakMap.prototype.get=function(key){var i,item,_i,_len,_ref;_ref=this.keys;for(i=_i=0,_len=_ref.length;_i<_len;i=++_i){item=_ref[i];if(item===key){return this.values[i];}}};WeakMap.prototype.set=function(key,value){var i,item,_i,_len,_ref;_ref=this.keys;for(i=_i=0,_len=_ref.length;_i<_len;i=++_i){item=_ref[i];if(item===key){this.values[i]=value;return;}}
this.keys.push(key);return this.values.push(value);};return WeakMap;})());MutationObserver=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(MutationObserver=(function(){function MutationObserver(){if(typeof console!=="undefined"&&console!==null){console.warn('MutationObserver is not supported by your browser.');}
if(typeof console!=="undefined"&&console!==null){console.warn('WOW.js cannot detect dom mutations, please call .sync() after loading new content.');}}
MutationObserver.notSupported=true;MutationObserver.prototype.observe=function(){};return MutationObserver;})());getComputedStyle=this.getComputedStyle||function(el,pseudo){this.getPropertyValue=function(prop){var _ref;if(prop==='float'){prop='styleFloat';}
if(getComputedStyleRX.test(prop)){prop.replace(getComputedStyleRX,function(_,_char){return _char.toUpperCase();});}
return((_ref=el.currentStyle)!=null?_ref[prop]:void 0)||null;};return this;};getComputedStyleRX=/(\-([a-z]){1})/g;this.WOW=(function(){WOW.prototype.defaults={boxClass:'wow',animateClass:'animated',offset:0,mobile:true,live:true};function WOW(options){if(options==null){options={};}
this.scrollCallback=__bind(this.scrollCallback,this);this.scrollHandler=__bind(this.scrollHandler,this);this.start=__bind(this.start,this);this.scrolled=true;this.config=this.util().extend(options,this.defaults);this.animationNameCache=new WeakMap();}
WOW.prototype.init=function(){var _ref;this.element=window.document.documentElement;if((_ref=document.readyState)==="interactive"||_ref==="complete"){this.start();}else{this.util().addEvent(document,'DOMContentLoaded',this.start);}
return this.finished=[];};WOW.prototype.start=function(){var box,_i,_len,_ref;this.stopped=false;this.boxes=(function(){var _i,_len,_ref,_results;_ref=this.element.querySelectorAll("."+this.config.boxClass);_results=[];for(_i=0,_len=_ref.length;_i<_len;_i++){box=_ref[_i];_results.push(box);}
return _results;}).call(this);this.all=(function(){var _i,_len,_ref,_results;_ref=this.boxes;_results=[];for(_i=0,_len=_ref.length;_i<_len;_i++){box=_ref[_i];_results.push(box);}
return _results;}).call(this);if(this.boxes.length){if(this.disabled()){this.resetStyle();}else{_ref=this.boxes;for(_i=0,_len=_ref.length;_i<_len;_i++){box=_ref[_i];this.applyStyle(box,true);}}}
if(!this.disabled()){this.util().addEvent(window,'scroll',this.scrollHandler);this.util().addEvent(window,'resize',this.scrollHandler);this.interval=setInterval(this.scrollCallback,50);}
if(this.config.live){return new MutationObserver((function(_this){return function(records){var node,record,_j,_len1,_results;_results=[];for(_j=0,_len1=records.length;_j<_len1;_j++){record=records[_j];_results.push((function(){var _k,_len2,_ref1,_results1;_ref1=record.addedNodes||[];_results1=[];for(_k=0,_len2=_ref1.length;_k<_len2;_k++){node=_ref1[_k];_results1.push(this.doSync(node));}
return _results1;}).call(_this));}
return _results;};})(this)).observe(document.body,{childList:true,subtree:true});}};WOW.prototype.stop=function(){this.stopped=true;this.util().removeEvent(window,'scroll',this.scrollHandler);this.util().removeEvent(window,'resize',this.scrollHandler);if(this.interval!=null){return clearInterval(this.interval);}};WOW.prototype.sync=function(element){if(MutationObserver.notSupported){return this.doSync(this.element);}};WOW.prototype.doSync=function(element){var box,_i,_len,_ref,_results;if(element==null){element=this.element;}
if(element.nodeType!==1){return;}
element=element.parentNode||element;_ref=element.querySelectorAll("."+this.config.boxClass);_results=[];for(_i=0,_len=_ref.length;_i<_len;_i++){box=_ref[_i];if(__indexOf.call(this.all,box)<0){this.boxes.push(box);this.all.push(box);if(this.stopped||this.disabled()){this.resetStyle();}else{this.applyStyle(box,true);}
_results.push(this.scrolled=true);}else{_results.push(void 0);}}
return _results;};WOW.prototype.show=function(box){this.applyStyle(box);return box.className=""+box.className+" "+this.config.animateClass;};WOW.prototype.applyStyle=function(box,hidden){var delay,duration,iteration;duration=box.getAttribute('data-wow-duration');delay=box.getAttribute('data-wow-delay');iteration=box.getAttribute('data-wow-iteration');return this.animate((function(_this){return function(){return _this.customStyle(box,hidden,duration,delay,iteration);};})(this));};WOW.prototype.animate=(function(){if('requestAnimationFrame'in window){return function(callback){return window.requestAnimationFrame(callback);};}else{return function(callback){return callback();};}})();WOW.prototype.resetStyle=function(){var box,_i,_len,_ref,_results;_ref=this.boxes;_results=[];for(_i=0,_len=_ref.length;_i<_len;_i++){box=_ref[_i];_results.push(box.style.visibility='visible');}
return _results;};WOW.prototype.customStyle=function(box,hidden,duration,delay,iteration){if(hidden){this.cacheAnimationName(box);}
box.style.visibility=hidden?'hidden':'visible';if(duration){this.vendorSet(box.style,{animationDuration:duration});}
if(delay){this.vendorSet(box.style,{animationDelay:delay});}
if(iteration){this.vendorSet(box.style,{animationIterationCount:iteration});}
this.vendorSet(box.style,{animationName:hidden?'none':this.cachedAnimationName(box)});return box;};WOW.prototype.vendors=["moz","webkit"];WOW.prototype.vendorSet=function(elem,properties){var name,value,vendor,_results;_results=[];for(name in properties){value=properties[name];elem[""+name]=value;_results.push((function(){var _i,_len,_ref,_results1;_ref=this.vendors;_results1=[];for(_i=0,_len=_ref.length;_i<_len;_i++){vendor=_ref[_i];_results1.push(elem[""+vendor+(name.charAt(0).toUpperCase())+(name.substr(1))]=value);}
return _results1;}).call(this));}
return _results;};WOW.prototype.vendorCSS=function(elem,property){var result,style,vendor,_i,_len,_ref;style=getComputedStyle(elem);result=style.getPropertyCSSValue(property);_ref=this.vendors;for(_i=0,_len=_ref.length;_i<_len;_i++){vendor=_ref[_i];result=result||style.getPropertyCSSValue("-"+vendor+"-"+property);}
return result;};WOW.prototype.animationName=function(box){var animationName;try{animationName=this.vendorCSS(box,'animation-name').cssText;}catch(_error){animationName=getComputedStyle(box).getPropertyValue('animation-name');}
if(animationName==='none'){return '';}else{return animationName;}};WOW.prototype.cacheAnimationName=function(box){return this.animationNameCache.set(box,this.animationName(box));};WOW.prototype.cachedAnimationName=function(box){return this.animationNameCache.get(box);};WOW.prototype.scrollHandler=function(){return this.scrolled=true;};WOW.prototype.scrollCallback=function(){var box;if(this.scrolled){this.scrolled=false;this.boxes=(function(){var _i,_len,_ref,_results;_ref=this.boxes;_results=[];for(_i=0,_len=_ref.length;_i<_len;_i++){box=_ref[_i];if(!(box)){continue;}
if(this.isVisible(box)){this.show(box);continue;}
_results.push(box);}
return _results;}).call(this);if(!(this.boxes.length||this.config.live)){return this.stop();}}};WOW.prototype.offsetTop=function(element){var top;while(element.offsetTop===void 0){element=element.parentNode;}
top=element.offsetTop;while(element=element.offsetParent){top+=element.offsetTop;}
return top;};WOW.prototype.isVisible=function(box){var bottom,offset,top,viewBottom,viewTop;offset=box.getAttribute('data-wow-offset')||this.config.offset;viewTop=window.pageYOffset;viewBottom=viewTop+Math.min(this.element.clientHeight,this.util().innerHeight())-offset;top=this.offsetTop(box);bottom=top+box.clientHeight;return top<=viewBottom&&bottom>=viewTop;};WOW.prototype.util=function(){return this._util!=null?this._util:this._util=new Util();};WOW.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent);};return WOW;})();}).call(this);