增加页面,修改样式

This commit is contained in:
2018-12-01 23:12:07 +08:00
parent 2cb8f6dfee
commit c88e2b19c6
8 changed files with 332 additions and 81 deletions
+7
View File
@@ -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>