From 7b808e7d1d1b7457fe51ba420022ab015a82359d Mon Sep 17 00:00:00 2001 From: dathlin Date: Wed, 18 Oct 2017 21:54:00 +0800 Subject: [PATCH] =?UTF-8?q?web=E7=AB=AF=E7=9A=84=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=95=8C=E9=9D=A2=E9=87=8D=E5=81=9A=EF=BC=8C?= =?UTF-8?q?=E9=87=87=E7=94=A8=E6=89=8B=E9=A3=8E=E7=90=B4=E9=A3=8E=E6=A0=BC?= =?UTF-8?q?=E5=AE=9E=E7=8E=B0=EF=BC=8Cv1.6.22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CommonLibrary/UserSystem.cs | 2 +- 软件系统浏览器模版/Content/StyleAccordion.css | 79 +++++++++++++++++++ .../Views/Account/RegisterAccount.cshtml | 2 +- .../Views/Home/UpdateLog.cshtml | 50 ++++++------ 软件系统浏览器模版/软件系统浏览器模版.csproj | 1 + 5 files changed, 108 insertions(+), 26 deletions(-) create mode 100644 软件系统浏览器模版/Content/StyleAccordion.css diff --git a/CommonLibrary/UserSystem.cs b/CommonLibrary/UserSystem.cs index b41e4df..56255cf 100644 --- a/CommonLibrary/UserSystem.cs +++ b/CommonLibrary/UserSystem.cs @@ -43,7 +43,7 @@ namespace CommonLibrary **************************************************************************/ - SoftBasic.FrameworkVersion = new SystemVersion("1.6.21"); + SoftBasic.FrameworkVersion = new SystemVersion("1.6.22"); } diff --git a/软件系统浏览器模版/Content/StyleAccordion.css b/软件系统浏览器模版/Content/StyleAccordion.css new file mode 100644 index 0000000..2999c17 --- /dev/null +++ b/软件系统浏览器模版/Content/StyleAccordion.css @@ -0,0 +1,79 @@ + +a:hover, a:focus { + text-decoration: none; + outline: none; +} + +#accordion .panel { + border: none; + box-shadow: none; + border-radius: 0; + margin: 0 0 15px 10px; +} + +#accordion .panel-heading { + padding: 0; + border-radius: 30px; +} + +#accordion .panel-title a { + display: block; + padding: 12px 20px 12px 50px; + background: #ebb710; + font-size: 18px; + font-weight: 600; + color: #fff; + border: 1px solid transparent; + border-radius: 30px; + position: relative; + transition: all 0.3s ease 0s; +} + + #accordion .panel-title a.collapsed { + background: #fff; + color: #0d345d; + border: 1px solid #ddd; + } + + #accordion .panel-title a:after, + #accordion .panel-title a.collapsed:after { + content: "\f107"; + font-family: fontawesome; + width: 55px; + height: 55px; + line-height: 55px; + border-radius: 50%; + background: #ebb710; + font-size: 25px; + color: #fff; + text-align: center; + border: 1px solid transparent; + box-shadow: 0 3px 10px rgba(0, 0, 0, 0.58); + position: absolute; + top: -5px; + left: -20px; + transition: all 0.3s ease 0s; + } + + #accordion .panel-title a.collapsed:after { + content: "\f105"; + background: #fff; + color: #0d345d; + border: 1px solid #ddd; + box-shadow: none; + } + +#accordion .panel-body { + padding: 20px 25px 10px 9px; + background: transparent; + font-size: 14px; + color: #8c8c8c; + line-height: 25px; + border-top: none; + position: relative; +} + + #accordion .panel-body p { + padding-left: 25px; + border-left: 1px dashed #8c8c8c; + } diff --git a/软件系统浏览器模版/Views/Account/RegisterAccount.cshtml b/软件系统浏览器模版/Views/Account/RegisterAccount.cshtml index e086485..dab9766 100644 --- a/软件系统浏览器模版/Views/Account/RegisterAccount.cshtml +++ b/软件系统浏览器模版/Views/Account/RegisterAccount.cshtml @@ -20,7 +20,7 @@ {
@Html.AntiForgeryToken() - 注册新的账户如果账户名已存在,会注册失败 + 注册新的账户如果账户名已存在,会注册失败
diff --git a/软件系统浏览器模版/Views/Home/UpdateLog.cshtml b/软件系统浏览器模版/Views/Home/UpdateLog.cshtml index 41645c7..2ee958c 100644 --- a/软件系统浏览器模版/Views/Home/UpdateLog.cshtml +++ b/软件系统浏览器模版/Views/Home/UpdateLog.cshtml @@ -4,35 +4,37 @@ Layout = "~/Views/Shared/_Layout.cshtml"; } + +

系统更新日志历次版本详细信息

+
+
+
-
-
+ @{ + foreach (var v in ClientsLibrary.UserClient.HistoryVersions) + { - @{ - foreach (var v in ClientsLibrary.UserClient.HistoryVersions) - { - Guid guid = Guid.NewGuid(); -
- -

Version:@v.VersionNum.ToString()

-

更新日志 @v.ReleaseDate.ToString("yyyy-MM-dd")

-
- - - -
+
+ +
+
+

+ @MvcHtmlString.Create(v.UpdateDetails.Replace("\r\n", "
").ToString()) +

+
+
+
+ } } - } -
-
- - +
\ No newline at end of file diff --git a/软件系统浏览器模版/软件系统浏览器模版.csproj b/软件系统浏览器模版/软件系统浏览器模版.csproj index 5ccea95..9851dd3 100644 --- a/软件系统浏览器模版/软件系统浏览器模版.csproj +++ b/软件系统浏览器模版/软件系统浏览器模版.csproj @@ -172,6 +172,7 @@ +