You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

95 lines
3.5 KiB

  1. @{
  2. ViewBag.Title = "消息提醒";
  3. Layout = "~/Views/Shared/_Index.cshtml";
  4. }
  5. <div class="lr-layout " >
  6. <div class="lr-layout-center">
  7. <div class="lr-layout-wrap lr-layout-wrap-notitle ">
  8. <div class="lr-layout-tool">
  9. <div class="lr-layout-tool-left">
  10. <div class="lr-layout-tool-item">
  11. <div id="datesearch"></div>
  12. </div>
  13. </div>
  14. <div class="lr-layout-tool-right">
  15. <div class=" btn-group btn-group-sm">
  16. <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
  17. </div>
  18. <div class=" btn-group btn-group-sm" learun-authorize="yes">
  19. @*<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;新增</a>
  20. <a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
  21. <a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>*@
  22. <a id="lr_view" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;查看</a>
  23. <a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
  24. </div>
  25. <div class="layui-btn-container">
  26. </div>
  27. </div>
  28. </div>
  29. <div class="lr-layout-body" id="gridtable"></div>
  30. </div>
  31. </div>
  32. @*<div id="winpop">
  33. <div class="title">您有新的未读消息<span class="close" onclick="tips_pop()">x</span></div>
  34. <div id="notifications">
  35. </div>
  36. </div>*@
  37. </div>
  38. @Html.AppendJsFile("/Areas/LR_Desktop/Views/MessageRind/Index.js");
  39. <script>
  40. //function tips_pop() {
  41. // var MsgPop = document.getElementById("winpop");
  42. // var popH = parseInt(MsgPop.style.height);
  43. // if (popH == 0) {
  44. // MsgPop.style.Height = "block";
  45. // show = setInterval("changeH('up')", 2);
  46. // } else {
  47. // hide = setInterval("changeH('down')", 2);
  48. // }
  49. //}
  50. //function changeH(str) {
  51. // var magPop = document.getElementById("winpop");
  52. // var popH = parseInt(MsgPop.style.Height);
  53. // if (str == "up") {
  54. // if (popH <= 100) {
  55. // msgPop.style.height = (popH + 4).toString() + "px";
  56. // } else {
  57. // clearInterval(show);
  58. // }
  59. // }
  60. // if (str == "down") {
  61. // if (popH >= 4) {
  62. // MsgPop.style.Height = (popH - 4).toString() + "px";
  63. // } else {
  64. // clearInterval(hide);
  65. // MsgPop.style.display = "none";
  66. // }
  67. // }
  68. // window.onload = function() {
  69. // document.getElementById('winpop').style.height = '0px';
  70. // setTimeout("tips_pop()", 800);
  71. // }
  72. //}
  73. //function Winpop() {
  74. // var state = '0';
  75. // //$.get(${ ctx }/ sys /msGetUserMedia/getMsgList?state + "&t=" + new Date().getTime(),function(data) {
  76. // // $("#notifications").html(data);
  77. // //}),
  78. // $.get(${ ctx } / sys / msGetUserMedia / getMsgList ? state + "&t=" + new Date().getTime(), function (data) {
  79. // $("#notifications").html(data);
  80. // });
  81. //}
  82. //winpop();
  83. //setInterval(function() {
  84. // $("#winpop").load(Winpop(), "");
  85. // },
  86. // 1000);
  87. </script>