-
Notifications
You must be signed in to change notification settings - Fork 1
/
newsCenter.aspx
68 lines (66 loc) · 3.1 KB
/
newsCenter.aspx
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
<!--新闻中心-->
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="newsCenter.aspx.cs" Inherits="newsCenter" validaterequest="false"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="imgs/favicon.ico">
<title>新闻中心</title>
<link href="dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/offcanvas.css" rel="stylesheet">
<script src="assets/js/ie8-responsive-file-warning.js"></script>
<script src="assets/js/ie-emulation-modes-warning.js"></script>
<script src="js/html5shiv.min.js"></script>
<script src="js/respond.min.js"></script>
</head>
<body>
<nav class="navbar navbar-fixed-top navbar-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">在线汽车销售</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">首页</a></li>
<li class="active"><a href="newsCenter.aspx">新闻中心</a></li>
<li><a href="onlineOrdering.aspx">在线订购</a></li>
<li><a href="customerMessage.html">在线客服</a></li>
</ul>
</div>
</div>
</nav>
<form runat="server">
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-6 col-sm-12 sidebar-offcanvas" id="sidebar">
<div class="list-group">
<a href="#" class="list-group-item active">新闻中心</a>
<asp:GridView ID="gvNews" runat="server" Width="100%" GridLines="horizontal" ShowHeader="False" EnableModelValidation="True" AutoGenerateColumns="False">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField DataField="id" Visible = "False"/>
<asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="newsDetail.aspx?id={0}" DataTextField="title" Target="_blank" ItemStyle-Width="85%"/>
<asp:BoundField DataField="time" ItemStyle-Height="30px"/>
</Columns>
</asp:GridView>
</div>
</div>
</div>
</div>
</form>
<script src="js/jquery.min.js"></script>
<script src="dist/js/bootstrap.min.js"></script>
<script src="assets/js/ie10-viewport-bug-workaround.js"></script>
<script src="js/offcanvas.js"></script>
</body>
</html>