<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyIndex.aspx.cs" Inherits="CY.WebForm.Pages.Templet.Default.CompanyIndex" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head runat="server">
|
<title>首页</title>
|
<uc:CompanyQuote ID="CompanyQuote1" runat="server" />
|
<script src="Shared/jquery.KinSlideshow-1.2.min.js" type="text/javascript"></script>
|
<script src="Shared/supermarquee.js" type="text/javascript"></script>
|
<script type="text/javascript">
|
$(function () {
|
$('.TemplateNav').find('a').eq(0).addClass('a_now');
|
$("#ad0").KinSlideshow({
|
intervalTime: 4,
|
moveStyle: "left",
|
titleBar: { titleBar_height: 30, titleBar_bgColor: "#08355c", titleBar_alpha: 0.5 },
|
titleFont: { TitleFont_size: 12, TitleFont_color: "#FFFFFF", TitleFont_weight: "normal" },
|
btn: { btn_bgColor: "#FFFFFF", btn_bgHoverColor: "#1072aa", btn_fontColor: "#000000",
|
btn_fontHoverColor: "#FFFFFF", btn_borderColor: "#cccccc",
|
btn_borderHoverColor: "#1188c0", btn_borderWidth: 1
|
}
|
});
|
})
|
</script>
|
<script type="text/javascript">
|
(function ($) {
|
$.fn.myScroll = function (options) {
|
//默认配置
|
var defaults = {
|
speed: 26, //滚动速度,值越大速度越慢
|
rowHeight: 26 //每行的高度
|
};
|
var opts = $.extend({}, defaults, options), intId = [];
|
function marquee(obj, step) {
|
|
obj.find("ul").animate({
|
marginTop: '-=1'
|
}, 0, function () {
|
var s = Math.abs(parseInt($(this).css("margin-top")));
|
if (s >= step) {
|
$(this).find("li").slice(0, 1).appendTo($(this));
|
$(this).css("margin-top", 0);
|
}
|
});
|
}
|
this.each(function (i) {
|
var sh = opts["rowHeight"], speed = opts["speed"], _this = $(this);
|
intId[i] = setInterval(function () {
|
if (_this.find("ul").height() <= _this.height()) {
|
clearInterval(intId[i]);
|
} else {
|
marquee(_this, sh);
|
}
|
}, speed);
|
_this.hover(function () {
|
clearInterval(intId[i]);
|
}, function () {
|
intId[i] = setInterval(function () {
|
if (_this.find("ul").height() <= _this.height()) {
|
clearInterval(intId[i]);
|
} else {
|
marquee(_this, sh);
|
}
|
}, speed);
|
});
|
|
});
|
}
|
|
})(jQuery);
|
|
$(function () {
|
$("div.CMCTemplateList").myScroll({
|
speed: 40,
|
rowHeight: 26
|
});
|
//最新需求
|
// $(".CMCTemplateList").kxbdSuperMarquee({
|
// isEqual: false,
|
// distance: 26,
|
// time: 5,
|
// direction: 'up'
|
// });
|
});
|
</script>
|
<style type="text/css">
|
#TemplateList li { height: 26px; line-height: 26px; }
|
#Ul1 li { width: 93px; float: left; display: block; height: 99px; text-align: center; padding-left: 5px; padding-bottom: 5px; background: none; }
|
#Ul1 li img { width: 75px; }
|
#Ul2 li { height: 34px; line-height: 29px; }
|
</style>
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<uc:CompanyHead ID="CompanyHead1" runat="server" />
|
<div id="wal">
|
<div class="fl" style="width: 1014px;">
|
<div style="visibility: hidden; height: 260px; width: 1014px; overflow: hidden; position: relative;" value_scroll="true" id="ad0">
|
<asp:Repeater ID="Repeater2" runat="server">
|
<ItemTemplate><a href="<%#Eval("LinkUrl") %>"><img src="<%#Eval("PicUrl") %>" alt="<%#Eval("Tittle") %>" width="1014px" height="260px" /></a></ItemTemplate>
|
</asp:Repeater>
|
</div>
|
</div>
|
<div class="h10">
|
</div>
|
<div class="fl" style="width: 1014px;">
|
<div class="box_1 fl" style="width: 242px; height: 252px;">
|
<div class="t_1">
|
<h2>
|
新闻公告</h2>
|
<a href="/Pages/Templet/Default/CompanyNewsList.aspx?i=<%=Request["i"]%>" class="more">more</a>
|
</div>
|
<div class="TemplateList ranklist CMCTemplateList" style="overflow: hidden; height: 200px;">
|
<ul id="TemplateList" runat="server">
|
</ul>
|
</div>
|
</div>
|
<div class="box_1 fl" style="width: 499px; height: 252px; margin: 0px 0px 0px 15px;">
|
<div class="t_1">
|
<h2>
|
业绩案例</h2>
|
<a href="/Pages/Templet/Default/CompanySuccessEX.aspx?i=<%=Request["i"]%>" class="more">more</a>
|
</div>
|
<div class="TemplateList ranklist MyMachionList" style="overflow: hidden; height: 200px;">
|
<ul id="Ul1">
|
<asp:Repeater ID="Repeater1" runat="server">
|
<ItemTemplate>
|
<li>
|
<img src="<%#Eval("PicUrl")%>" /></li>
|
</ItemTemplate>
|
</asp:Repeater>
|
</ul>
|
</div>
|
</div>
|
<div class="box_1 contactbox fl" style="width: 242px; height: 252px; margin: 0px 0px 0px 15px;">
|
<div class="t_1">
|
<h2>
|
联系我们</h2>
|
</div>
|
<div class="TemplateList ranklist" style="overflow: hidden; height: 200px;">
|
<ul id="Ul2" runat="server">
|
<li style="background-image: url('/Pages/Templet/Default/Shared/contactIco1.gif');">地 址:<%=MP_Address%></li>
|
<li style="background-image: url('/Pages/Templet/Default/Shared/contactIco6.gif');">联系人:<%=MP_People%></li>
|
<li style="background-image: url('/Pages/Templet/Default/Shared/contactIco2.gif');">电 话:<b class="x_s"><%=MP_LandlineNumber%></b></li>
|
<li style="background-image: url('/Pages/Templet/Default/Shared/contactIco3.gif');">传 真:<b class="x_s"><%=MP_Fax%></b></li>
|
<li style="background-image: url('/Pages/Templet/Default/Shared/contactIco7.gif');">联系QQ:<%=MP_QQNumber %></li>
|
<li style="background-image: url('/Pages/Templet/Default/Shared/contactIco4.gif');">邮 箱:<%=MP_EmailNumber %></li>
|
<%--<li style="background-image: url('/Pages/Templet/Default/Shared/contactIco5.gif');">网 址:<%=MP_CompanyWebsite%></li>--%>
|
</ul>
|
</div>
|
</div>
|
</div>
|
<div class="h10">
|
</div>
|
<div id="ulHelpHtml" runat="server" class="fl" style="width: 1014px;">
|
</div>
|
<uc:CompanyFoot ID="CompanyFoot1" runat="server" />
|
</div>
|
</form>
|
</body>
|
</html>
|