diff --git a/COMCMS.Web/Views/Article/Detail.cshtml b/COMCMS.Web/Views/Article/Detail.cshtml new file mode 100644 index 0000000..79b6ccf --- /dev/null +++ b/COMCMS.Web/Views/Article/Detail.cshtml @@ -0,0 +1,42 @@ +@model COMCMS.Core.Article +@{ + ViewBag.title = Model.Title; + ViewBag.keywords = Model.Keyword; + ViewBag.description = Model.Description; + IList
alist = Article.FindAll(Article._.KId == Model.KId, Article._.Sequence.Asc(), null, 0, 0); +} + + +
+
+
    + @foreach (Article a in alist) + { +
  • @a.Title
  • + } +
+ + +
+
+ +
+
+
+ @Html.Raw(Model.Content) +
+
+
diff --git a/COMCMS.Web/Views/Article/Index.cshtml b/COMCMS.Web/Views/Article/Index.cshtml new file mode 100644 index 0000000..15ac2f2 --- /dev/null +++ b/COMCMS.Web/Views/Article/Index.cshtml @@ -0,0 +1,7 @@ + +@{ + ViewData["Title"] = "Index"; +} + +

Index

+