<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WstWeb.TemplateFile.Tel001._Default" %>

<%@ Register Src="UserControl/LeftCommonClass.ascx" TagName="LeftCommonClass" TagPrefix="uc1" %>
<%@ Register Src="UserControl/WeHead.ascx" TagName="WeHead" TagPrefix="uc2" %>
<%@ Register Src="UserControl/WebFoot.ascx" TagName="WebFoot" TagPrefix="uc3" %>
<%@ Register Src="UserControl/LeftLinkUs.ascx" TagName="LeftLinkUs" TagPrefix="uc4" %>
<%@ Register Src="UserControl/Link.ascx" TagName="Link" TagPrefix="uc5" %>
<!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>
    <title>
        <%=SeoTitle %></title>
    <meta name="keywords" content="<%=SeoKey %>">
    <meta name="description" content="<%=SeoDesc %>">
    <uc5:Link ID="Link1" runat="server" />
    <script type="text/javascript" src="js/MSClass.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <uc2:WeHead ID="WeHead1" runat="server" />
    <div class="main">
        <div class="gundong">
            <div class="gun-bt">
                热点新闻</div>
            <div class="gun-nei">
                <div id="gundong" style="overflow: hidden; width: 860px;">
                    <asp:Repeater ID="RepHotNewsList" runat="server">
                        <ItemTemplate>
                            <a href="<%#GetUrl(Eval("Id").ToString(),"News")%>" title="<%# Eval("Title") %>"
                                target="_blank">
                                <%# Eval("Title").ToString() %></a> &nbsp; &nbsp; &nbsp;
                        </ItemTemplate>
                        <FooterTemplate>
                            <span id="Li1" runat="server" visible="<%# bool.Parse((RepHotNewsList.Items.Count == 0).ToString()) %>">
                                暂无数据... </span>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
            </div>
        </div>
        <div class="clear10">
        </div>
        <div class="adbout">
            <div class="about-title">
                <div class="f_l">
                    公司简介</div>
                <div class="more">
                    <a href="/Corp/">更多＋</a></div>
            </div>
            <div class="clear0">
            </div>
            <div class="zhong">
                <div class="about-tuone">
                    <img src="<%=PicRootUrl+_SysConfig.LogoUrl %>" width="270" height="150" /></div>
                <div class="about-zi">
                    <%=_corpinfo.Content%></div>
                <div class="clear0">
                </div>
            </div>
        </div>
        <div class="about-tuzhan">
            <div class="tuzhan-title">
                公司公告</div>
            <div class="clear0">
            </div>
            <div class="zhong">
                <div class="hundan">
                    <div id="gonggao" style="overflow: hidden; height: 150px;">
                        <%=_noticeinfo.Content%>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear10">
        </div>
        <script type="text/javascript">
new Marquee(
{
    MSClass: "gundong",
    Direction: 2,
    Step: 1,
    Width: 860,
    Height: 32,
    Timer: 20,
    DelayTime: 3000,
    WaitTime: 200,
    ScrollStep: 178,
    SwitchType: 0,
    AutoStart: true
});

new Marquee(
{
    MSClass: "gonggao",
    Direction: 0,
    Step: 1,
    Width: 280,
    Height: 150,
    Timer: 20,
    DelayTime: 3000,
    WaitTime: 3000,
    ScrollStep: 200,
    SwitchType: 0,
    AutoStart: true
});
        </script>
        <div class="product">
            <div class="product-title">
                <div class="f_l">
                    热销产品</div>
                <div class="more">
                    <a href="/Product/?IsHot=1">更多＋</a></div>
            </div>
            <div class="clear0">
            </div>
            <div class="zhong">
                <div id="demo">
                    <div id="indemo">
                        <div id="demo1">
                            <div class="fwzs">
                                <ul>
                                    <asp:Repeater ID="RepHotProductList" runat="server">
                                        <ItemTemplate>
                                            <li><span><a href='<%#GetUrl(Eval("Id").ToString(),"Product")%>' title='<%#Eval("Title")%>'
                                                target="_blank">
                                                <img width="170" height="170" src='<%# PicRootUrl+Eval("PicUrl").ToString()%>'
                                                    border='0' /></a></span>
                                                <p>
                                                    <center>
                                                        <a href='<%#GetUrl(Eval("Id").ToString(),"Product")%>' title='<%#Eval("Title")%>'
                                                            target="_blank">
                                                            <%#CutStr(Eval("Title").ToString(),10)%></a>
                                                    </center>
                                                </p>
                                            </li>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <li id="Li1" runat="server" visible="<%# bool.Parse((RepHotProductList.Items.Count == 0).ToString()) %>">
                                                <dt>暂无数据...</dt>
                                            </li>
                                        </FooterTemplate>
                                    </asp:Repeater>
                                </ul>
                            </div>
                        </div>
                        <div id="demo2">
                        </div>
                    </div>
                </div>
                <script>
<!--
                    var speed = 30;
                    var tab = document.getElementById("demo");
                    var tab1 = document.getElementById("demo1");
                    var tab2 = document.getElementById("demo2");
                    tab2.innerHTML = tab1.innerHTML;
                    function Marquee() {
                        if (tab2.offsetWidth - tab.scrollLeft <= 0)
                            tab.scrollLeft -= tab1.offsetWidth
                        else {
                            tab.scrollLeft++;
                        }
                    }
                    var MyMar = setInterval(Marquee, speed);
                    tab.onmouseover = function () { clearInterval(MyMar) };
                    tab.onmouseout = function () { MyMar = setInterval(Marquee, speed) };
-->
                </script>
            </div>
        </div>
        <div class="clear10">
        </div>
        <div class="product">
            <div class="product-title">
                <div class="f_l">
                    新品展示</div>
                <div class="more">
                    <a href="/Product/">更多＋</a></div>
            </div>
            <div class="clear0">
            </div>
            <div class="zhong">
                <div class="fwzs" align="center">
                    <ul>
                        <asp:Repeater ID="RepProductList" Visible="true" runat="server">
                            <ItemTemplate>
                                <li style="padding-right: 15px;"><span><a href='<%#GetUrl(Eval("Id").ToString(),"Product")%>'
                                    title='<%#Eval("Title")%>' target="_blank">
                                    <img width="170" height="170" src='<%# PicRootUrl+Eval("PicUrl").ToString()%>'
                                        border='0' /></a></span>
                                    <p>
                                        <a href='<%#GetUrl(Eval("Id").ToString(),"Product")%>' title='<%#Eval("Title")%>'
                                            target="_blank">
                                            <%#CutStr(Eval("Title").ToString(),10)%></a>
                                    </p>
                                </li>
                            </ItemTemplate>
                            <FooterTemplate>
                                <li id="Li1" runat="server" visible="<%# bool.Parse((RepProductList.Items.Count == 0).ToString()) %>">
                                    <dt>暂无数据...</dt>
                                </li>
                            </FooterTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <div class="clear0">
                </div>
            </div>
        </div>
        <div class="clear10">
        </div>
        <div class="news">
            <div class="product-title">
                <div class="f_l">
                    新闻中心</div>
                <div class="more">
                    <a href="/News/">更多＋</a></div>
            </div>
            <div class="clear0">
            </div>
            <div class="zhong">
                <div class="xinwen">
                    <ul>
                        <asp:Repeater ID="RepNewsList" runat="server">
                            <ItemTemplate>
                                <li>
                                    <dt><a href="<%#GetUrl(Eval("Id").ToString(),"News")%>" title="<%# Eval("Title") %>"
                                        target="_blank">
                                        <%# CutStr(Eval("Title").ToString(),18) %></a></dt>
                                    <dd>
                                        &nbsp;&nbsp;&nbsp;&nbsp;<%# CutStr(WebCommonLib.TranferHelper.DelHtml(Eval("content").ToString()), 40)%>
                                    </dd>
                                    <div class="more-three">
                                        <a href="<%#GetUrl(Eval("Id").ToString(),"News")%>" target="_blank">详情阅读>></a></div>
                                </li>
                            </ItemTemplate>
                            <FooterTemplate>
                                <li id="Li1" runat="server" visible="<%# bool.Parse((RepNewsList.Items.Count == 0).ToString()) %>">
                                    <dt>暂无数据...</dt>
                                </li>
                            </FooterTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <div class="clear0">
                </div>
            </div>
        </div>
    </div>
    <uc3:WebFoot ID="WebFoot1" runat="server" />
    </form>
</body>
</html>
