Initial commit,修正

This commit is contained in:
2025-07-13 19:37:38 +08:00
parent 38ce288e27
commit 65bbd06981
12384 changed files with 3985464 additions and 8 deletions
+63
View File
@@ -0,0 +1,63 @@
// JavaScript Document
var it_timer = null;
var it_offset = 8000;
var it_index = 0;
var it_length = 0;
function bighookBtn(){
$(".banner-btn .prevBtn").click(function(){
it_index = it_index -2 ;
$('.banner-circle li a').eq(it_index).addClass('noli').siblings("a").removeClass('noli');
slideImage();
});
$(".banner-btn .nextBtn").click(function(){
if (it_index >= it_length){
it_index = 0;
}
$('.banner-circle li a').eq(it_index).addClass('noli').siblings("a").removeClass('noli');
slideImage();
});
}
function chaker(){
$('.banner-circle li a').click(function(){
$(this).addClass('noli').siblings("a").removeClass('noli');
it_index=$(this).index();
slideImage();
});
}
function slideImage(){
clearTimeout(it_timer);
if(it_index<0){
it_index = it_length-1;
}
if (it_index >= it_length){
it_index = 0;
}
$(".banner-img li").hide();
$(".banner-img li:eq("+it_index+")").fadeIn();
$('.banner-circle li a').eq(it_index).addClass('noli').siblings("a").removeClass('noli');
it_index++;
it_timer = window.setTimeout(slideImage, it_offset);
}
$(function(){
//change opacity
//
it_length = $(".banner-img li").length;
//$('.banner').css({opacity: 0.85});
$(".banner-btn .prevBtn,.banner-btn .nextBtn").hide();
$(".banner").hover(function(){
$(".banner-btn .prevBtn,.banner-btn .nextBtn").show();
},function(){
$(".banner-btn .prevBtn,.banner-btn .nextBtn").hide();
});
$(".banner-img li").hover(function(){
clearTimeout(it_timer);
},function(){
it_timer = window.setTimeout(slideImage, it_offset);
});
slideImage();
bighookBtn();
chaker();
});
+2
View File
File diff suppressed because one or more lines are too long
+47
View File
@@ -0,0 +1,47 @@
/*!
* jQuery Cookie Plugin
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function($) {
$.cookie = function(key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) {
options = $.extend({}, options);
if (value === null || value === undefined) {
options.expires = -1;
}
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// key and possibly options given, get cookie...
options = value || {};
var decode = options.raw ? function(s) { return s; } : decodeURIComponent;
var pairs = document.cookie.split('; ');
for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {
if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined
}
return null;
};
})(jQuery);
File diff suppressed because it is too large Load Diff
+4
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
(function(){if(window._mvq&&!(window._mvq instanceof Array)){return}var c=window._mv_loader={};c._cmdRunnerList=[];c.mv=0;c.mba=0;var g=new Date()-0;c.version="1.0.4";c.getRandom=function(k){var j;if(k=="mv"){_mv_loader.mv++;j=_mv_loader.mv}else{_mv_loader.mba++;j=_mv_loader.mba}return _mv_loader.random&&_mv_loader.random[j]||(g+""+j)};c.reg=function(j,k){this._cmdRunnerList.push([j,k])};c.KD=c.cmdList=[];c.runCmd=function(){for(var m=0,j=this._cmdRunnerList.length;m<j;m++){var k=this._cmdRunnerList[m];k[1].apply(k[0],arguments)}};c.support=function(k){function j(o){this.runner=o}j.prototype={push:function(){var p=arguments.length;for(var q=0;q<p;q++){var o=[];Array.prototype.push.apply(o,arguments[q]);var r=o.shift();this.runner[r]&&this.runner[r].apply(this.runner,o)}}};var n=window._mv_loader,l=n.cmdList,m=new j(k);n.reg(m,m.push);m.push.apply(m,l);return};var h={};if("https:"==document.location.protocol){var b=["https://material-ssl.mediav.com/bjjs/mba.js","https://static-ssl.mediav.com/mv.js","","","","https://material-ssl.mediav.com/bjjs/fpass.js"]}else{var b=["http://material.mediav.com/bjjs/mba.js","http://static.mediav.com/mv.js","","","","http://material.mediav.com/bjjs/fpass.js"]}var e=["masamaso.com","orbis.com"];function d(k){var n=false;for(var m=0,j=e.length;m<j;m++){k.indexOf(e[m])>=0&&(n=true)}return n}if(d(document.domain)){b[1]=0}if(document.domain.indexOf("yougou")>=0){b[0]="https:"==document.location.protocol?"https://material-ssl.mediav.com/bjjs/mba_yougou.js?20130906":"http://material.mediav.com/bjjs/mba_yougou.js?20130906";b[1]=0}if(_mvq&&_mvq[0]&&_mvq[0][1]=="m-21811-0"){if("https:"==document.location.protocol){b[2]="https://material-ssl.mediav.com/bjjs/js/ihg_tracker.js"}else{b[2]="http://material.mediav.com/bjjs/js/ihg_tracker.js"}}if(_mvq&&_mvq[0]&&_mvq[0][1]=="m-9-1"){b[1]=0;if("https:"==document.location.protocol){b[0]="https://material-ssl.mediav.com/bjjs/mba_jingdong.js?1"}else{b[0]="http://material.mediav.com/bjjs/mba_jingdong.js?1"}}function f(j){j.sort(function(l,k){if(l[0].indexOf("$setGeneral")<0||l[0].indexOf("$setAccount")<0){return true}if(l[0].indexOf("$logConversion")>=0||l[0].indexOf("$logData")>=0){return false}})}function i(){var p=window._mv_config=window._mv_config||{};m&&m[0]&&(p.siteid=m[0][1]);var o=window.mv_switch||31;p.siteid&&h[p.siteid]&&(o=h[p.siteid]);var m=window._mvq;if(window._mvq){for(var k=0,j=m.length;k<j;k++){c.runCmd.call(c,m[k]);c.cmdList.push(m[k])}}window._mvq=m={};m.push=function(){c.runCmd.apply(c,arguments);Array.prototype.push.apply(c.cmdList,arguments)};for(var k=0,j=b.length;k<j;k++){if(o&Math.pow(2,k)){try{b[k]&&a(b[k])}catch(n){}}}}function a(k){if(!k){return}var j=document.createElement("script");j.type="text/javascript";j.async=true;j.src=k;var l=document.getElementsByTagName("script")[0];l.parentNode.insertBefore(j,l)}i()})();
+94
View File
@@ -0,0 +1,94 @@
// 交互效果
/*更新进度左右切换*/
$(".li_left").click(function(){
$(".update_dl").stop().animate({left:-440},500,function(){
$(".update_dl").css({left:-220})
$(".update_dl dd:first").insertAfter(".update_dl dd:last");
});
});
$(".li_right").click(function(){
$(".update_dl").stop().animate({left:440},500,function(){
$(".update_dl").css({left:220})
$(".update_dl dd:last").insertBefore(".update_dl dd:first");
});
});
/*核心产品菜单切换*/
$(document).ready(function() {
$(".float_qr").hide();
$(".float").hide();
$(".controls_a").mouseenter(function(){
$(".float_qr").show(500);
});
$(".controls_a").mouseleave(function(){
$(".float_qr").hide(500);
});
$(".float_box,.float_qr").hide();
$(".float").show();
$(".float_box span").click(function(){
$(".float").show(500);
$(".float_box").hide(500);
$(".float_box span").css({"display":"none"});
$(".float_x").css({"display":"block"});
});
$(".float_x").click(function(){
$(".float").hide(500);
$(".float_box").show(500);
$(".float_box span").css({"display":"block"});
$(".float_x").css({"display":"none"});
});
$(".float_box").click(function(){
$(".float").show(500);
$(".float_box").hide(500);
$(".float_box span").css({"display":"none"});
$(".float_x").css({"display":"block"});
});
});
$(".core_con").hide();
$(".core_con:first").show();
$(".corecpin .ul_switch li").click(function(){
var n=$(".corecpin .ul_switch li").index(this);
$(".corecpin .ul_switch li").removeClass("curli");
$(this).addClass("curli");
$(".core_con").hide();
$(".core_con:eq("+n+")").show();
});
/*功能介绍菜单切换*/
$(".function_div").hide();
$(".function_div:first").show();
$(".function_top dd a").click(function(){
var n=$(".function_top dd a").index(this);
$(".function_top dd a").removeClass("dda");
$(this).addClass("dda");
$(".function_div").hide();
$(".function_div:eq("+n+")").show();
});
$(".newsbox").hide();
$(".newsbox:first").show();
$(".news_con .ul_switch li").click(function(){
var n=$(".news_con .ul_switch li").index(this);
$(".news_con .ul_switch li").removeClass("curli");
$(this).addClass("curli");
$(".newsbox").hide();
$(".newsbox:eq("+n+")").show();
});
//右侧在线咨询插件
$(document).ready(function(){
});
//$(function(){
$(".float_controls #top").click(function(){
$('html,body').animate({'scrollTop':0},500); //返回顶部动画 数值越小时间越短
});
//});
+2
View File
File diff suppressed because one or more lines are too long