_Layout.cshtml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=0">
  7. <title> 特定(单)病种质量监测系统</title>
  8. <link href="~/assets/weui/css/weui.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  9. <link href="~/assets/weui/css/example.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  10. <link href="~/assets/weui/css/style.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  11. <link href="~/assets/Altair/css/main.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  12. <link href="~/assets/Altair/icons/flags/flags.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  13. <link href="~/assets/Altair/css/style_switcher.min.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  14. <link href="~/assets/Altair/css/themes/themes_combined.min.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  15. <link href="~/assets/global/plugins/Charts/font-awesome/css/font-awesome.min.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  16. <link href="~/Content/font-awesome.min.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  17. @Scripts.Render("~/bundles/jquery")
  18. <link href="~/Content/font-awesome/css/font-awesome.min.css?v=@Hospital.Core.Utility.AppVersion(true)" rel="stylesheet" />
  19. </head>
  20. <body>
  21. <div class="container" id="container">
  22. <div class="page list js_show ">
  23. <header id="header_main">
  24. <div class="header_main_content">
  25. <nav class="uk-navbar">
  26. <a href="@(Request.QueryString["returnUrl"] ?? "javascript:history.go(-1);")" id="sidebar_main_toggle" class="sSwitch sSwitch_left" style="color: #fff">
  27. <i class="fa fa-fw fa-chevron-left"></i>返回
  28. </a>
  29. </nav>
  30. </div>
  31. </header>
  32. @RenderBody()
  33. </div>
  34. </div>
  35. <script src="~/assets/global/plugins/jquery-weui/js/jquery-weui.min.js"></script>
  36. <script>
  37. $(function () {
  38. if (!('@ViewContext.RouteData.DataTokens["area"].ToString().ToLower()' == 'wxapp' && ('@ViewContext.RouteData.Values["controller"].ToString().ToLower()' == 'home' || '@ViewContext.RouteData.Values["controller"].ToString().ToLower()' == 'warning') && '@ViewContext.RouteData.Values["action"].ToString().ToLower()' == 'index')) {
  39. $(".page").append("<a href='@Url.Action("Index","Home")' class='weui-btn weui-btn_mini weui-btn_primary btn-index'><i class='fa fa-home' ></i></a>");
  40. }
  41. });
  42. </script>
  43. @{
  44. //微信是否开启水印
  45. var WxAppWatermark = System.Configuration.ConfigurationManager.AppSettings["WxAppWatermark"] ?? "false";
  46. }
  47. @if (WxAppWatermark.ToLower() == "true")
  48. {
  49. @Html.Partial("_watermark")
  50. }
  51. </body>
  52. </html>