新增首页、文档页的静态页面

This commit is contained in:
hogan
2018-12-29 16:06:56 +08:00
parent a30529db14
commit 6ddd3c99a2
129 changed files with 3299 additions and 108 deletions

View File

@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FreeSql.Site.UI.Areas.BBS.Models;
using FreeSql.Site.UI.Controllers;
using Microsoft.AspNetCore.Mvc;
namespace FreeSql.Site.UI.Areas.BBS.Controllers
{
[Area("BBS")]
public class BBSContentController : BaseController
{
public IActionResult Index()
{
BBSContentModel model = new BBSContentModel();
return View(model);
}
public IActionResult Ask() {
BBSContentModel model = new BBSContentModel();
return View(model);
}
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FreeSql.Site.UI.Areas.BBS.Models
{
public class BBSContentModel
{
public int OrderBy { get; set; }
public int ContentID { get; set; }
}
}

View File

@ -0,0 +1,9 @@

@{
ViewBag.Title = ".NET文档园 .NET开源ORM - 首页";
}
@using FreeSql.Site.UI.Areas.BBS.Models;
<div style="width:100%; height:430px; text-align:center; padding-top:150px; font-size:20px; font-weight:bold; letter-spacing:6px;" >
论坛功能正在开发中......
</div>