1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<%@ 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');">地&nbsp;&nbsp;址:<%=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');">电&nbsp;&nbsp;话:<b class="x_s"><%=MP_LandlineNumber%></b></li>
                        <li style="background-image: url('/Pages/Templet/Default/Shared/contactIco3.gif');">传&nbsp;&nbsp;真:<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');">邮&nbsp;&nbsp;箱:<%=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>