|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- @{
- ViewBag.Title = "消息提醒";
- Layout = "~/Views/Shared/_Index.cshtml";
- }
- <div class="lr-layout " >
- <div class="lr-layout-center">
- <div class="lr-layout-wrap lr-layout-wrap-notitle ">
- <div class="lr-layout-tool">
- <div class="lr-layout-tool-left">
- <div class="lr-layout-tool-item">
- <div id="datesearch"></div>
- </div>
- </div>
- <div class="lr-layout-tool-right">
- <div class=" btn-group btn-group-sm">
- <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
- </div>
- <div class=" btn-group btn-group-sm" learun-authorize="yes">
- @*<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</a>
- <a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a>
- <a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a>*@
- <a id="lr_view" class="btn btn-default"><i class="fa fa-trash-o"></i> 查看</a>
- <a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a>
-
- </div>
- <div class="layui-btn-container">
-
- </div>
- </div>
- </div>
- <div class="lr-layout-body" id="gridtable"></div>
- </div>
- </div>
- @*<div id="winpop">
- <div class="title">您有新的未读消息<span class="close" onclick="tips_pop()">x</span></div>
- <div id="notifications">
- </div>
-
- </div>*@
- </div>
- @Html.AppendJsFile("/Areas/LR_Desktop/Views/MessageRind/Index.js");
- <script>
- //function tips_pop() {
- // var MsgPop = document.getElementById("winpop");
- // var popH = parseInt(MsgPop.style.height);
- // if (popH == 0) {
- // MsgPop.style.Height = "block";
- // show = setInterval("changeH('up')", 2);
- // } else {
- // hide = setInterval("changeH('down')", 2);
- // }
- //}
-
- //function changeH(str) {
- // var magPop = document.getElementById("winpop");
- // var popH = parseInt(MsgPop.style.Height);
- // if (str == "up") {
- // if (popH <= 100) {
- // msgPop.style.height = (popH + 4).toString() + "px";
- // } else {
- // clearInterval(show);
- // }
- // }
- // if (str == "down") {
- // if (popH >= 4) {
- // MsgPop.style.Height = (popH - 4).toString() + "px";
- // } else {
- // clearInterval(hide);
- // MsgPop.style.display = "none";
- // }
- // }
- // window.onload = function() {
- // document.getElementById('winpop').style.height = '0px';
- // setTimeout("tips_pop()", 800);
- // }
-
- //}
- //function Winpop() {
- // var state = '0';
- // //$.get(${ ctx }/ sys /msGetUserMedia/getMsgList?state + "&t=" + new Date().getTime(),function(data) {
- // // $("#notifications").html(data);
- // //}),
- // $.get(${ ctx } / sys / msGetUserMedia / getMsgList ? state + "&t=" + new Date().getTime(), function (data) {
- // $("#notifications").html(data);
- // });
- //}
-
- //winpop();
- //setInterval(function() {
- // $("#winpop").load(Winpop(), "");
- // },
- // 1000);
-
- </script>
|