增加页面,修改样式
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
ViewBag.keywords = Model.Keyword;
|
||||
ViewBag.description = Model.Description;
|
||||
IList<Article> alist = Article.FindAll(Article._.KId == Model.KId, Article._.Sequence.Asc(), null, 0, 0);
|
||||
int topkid = ViewBag.kind.PId >0? ViewBag.kind.PId : ViewBag.kind.Id;
|
||||
|
||||
}
|
||||
<div class="banner normal sec-banner">
|
||||
<em style="background: url('/images/default/slide-1.jpg') center top no-repeat; background-size:cover"></em>
|
||||
@@ -40,3 +42,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
$("#nav_@(topkid)").addClass("nav-on");
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user