diff --git a/软件系统浏览器模版/Content/Site.css b/软件系统浏览器模版/Content/Site.css index 6ea5d8f..aa48426 100644 --- a/软件系统浏览器模版/Content/Site.css +++ b/软件系统浏览器模版/Content/Site.css @@ -18,7 +18,6 @@ /* Set width on the form input elements since they're 100% wide by default */ input, -select, -textarea { +select{ max-width: 280px; } diff --git a/软件系统浏览器模版/Controllers/HomeController.cs b/软件系统浏览器模版/Controllers/HomeController.cs index 7ce18b1..ddfb175 100644 --- a/软件系统浏览器模版/Controllers/HomeController.cs +++ b/软件系统浏览器模版/Controllers/HomeController.cs @@ -51,5 +51,39 @@ namespace 软件系统浏览器模版.Controllers { return View(); } + + /// + /// 版本号说明 + /// + /// + [AuthorizeUser] + public ActionResult VersionInformation() + { + return View(); + } + + /// + /// 一个错误的消息界面 + /// + /// + /// + public ActionResult ErrorPage(string message) + { + ViewBag.Message = message; + return View("Error"); + } + + + //GET + /// + /// 获取意见反馈的界面 + /// + /// + [AuthorizeUser] + public ActionResult AdviceFeedback() + { + return View(); + } + } } \ No newline at end of file diff --git a/软件系统浏览器模版/Views/Home/AdviceFeedback.cshtml b/软件系统浏览器模版/Views/Home/AdviceFeedback.cshtml new file mode 100644 index 0000000..da535f6 --- /dev/null +++ b/软件系统浏览器模版/Views/Home/AdviceFeedback.cshtml @@ -0,0 +1,21 @@ + +@{ + ViewBag.Title = "意见反馈"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} + +

请在下方填写意见反馈,字数控制在1000字以内

+ + + @using (Html.BeginForm("AdviceFeedback", "Home", FormMethod.Post)) + { + @Html.AntiForgeryToken() + + +
+ + +
+ + + } \ No newline at end of file diff --git a/软件系统浏览器模版/Views/Home/VersionInformation.cshtml b/软件系统浏览器模版/Views/Home/VersionInformation.cshtml new file mode 100644 index 0000000..9ac4e1a --- /dev/null +++ b/软件系统浏览器模版/Views/Home/VersionInformation.cshtml @@ -0,0 +1,20 @@ + +@{ + ViewBag.Title = "关于版本号"; + Layout = "~/Views/Shared/_Layout.cshtml"; +} + +

版本号说明每个版本号的含义

+ +

当前的版本号为:V @ClientsLibrary.UserClient.CurrentVersion.ToString()

+ +
+
@ClientsLibrary.UserClient.CurrentVersion.MainVersion
+
程序的大版本号,一般是架构升级或是界面大调整。
+
@ClientsLibrary.UserClient.CurrentVersion.SecondaryVersion
+
程序的次版本号,一般是指软件功能升级或是界面小幅度调整。
+
@ClientsLibrary.UserClient.CurrentVersion.EditVersion
+
程序的修订版本号,一般是指常规的版本更新和BUG修复。
+
@ClientsLibrary.UserClient.CurrentVersion.InnerVersion
+
程序的内部版本号,用于内部开发使用。
+
\ No newline at end of file diff --git a/软件系统浏览器模版/Views/Shared/Error.cshtml b/软件系统浏览器模版/Views/Shared/Error.cshtml index 5d88206..94c0b7c 100644 --- a/软件系统浏览器模版/Views/Shared/Error.cshtml +++ b/软件系统浏览器模版/Views/Shared/Error.cshtml @@ -10,5 +10,9 @@

错误。

处理你的请求时出错。

+ +

+ @ViewBag.Message +

diff --git a/软件系统浏览器模版/Views/Shared/_Layout.cshtml b/软件系统浏览器模版/Views/Shared/_Layout.cshtml index f656d72..333238a 100644 --- a/软件系统浏览器模版/Views/Shared/_Layout.cshtml +++ b/软件系统浏览器模版/Views/Shared/_Layout.cshtml @@ -49,8 +49,8 @@ diff --git a/软件系统浏览器模版/软件系统浏览器模版.csproj b/软件系统浏览器模版/软件系统浏览器模版.csproj index 027ac0d..90555b4 100644 --- a/软件系统浏览器模版/软件系统浏览器模版.csproj +++ b/软件系统浏览器模版/软件系统浏览器模版.csproj @@ -216,6 +216,8 @@ + +