123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
- <link rel="stylesheet" type="text/css" href="/Public/Static/css/base.css" />
- <link rel="stylesheet" type="text/css" href="/Public/Static/css/nologed.css" />
- <title>{$webname}</title>
- <style>
- ::-webkit-input-placeholder { /* WebKit browsers */
- color: #b5b5b5;
- font-size: 18px;
- }
- ::-moz-placeholder { /* Mozilla Firefox 19+ */
- color: #b5b5b5;
- font-size: 18px;
- }
- input:focus{background:#F5F5F5;outline: 1px solid #F5F5F5;}
- a:hover,a:link,a:visited,a:active{color:#FCD535;text-decoration:none;}
- .bmbtn{width:100%;height:60px;position:fixed;bottom:0px;padding:10px;}
- .bmbtn_l{width:45%;height:40px;float:left;background:#ebecf0;border-radius:5px;line-height:40px;text-align:center;}
- .bmbtn_r{width:45%;height:40px;float:right;background: linear-gradient(to left,#eeb80d,#ffe35b);border-radius:5px;line-height:40px;text-align:center;}
- .badge-light {
- background-color: #FCD535;
- position: relative;
- left: 15px;
- top: -35px;
- }
- .badge{
- line-height: 0.4;
- border-radius: .5rem;
- }
- </style>
- </head>
- <body>
- <div class="container-fluid ctbox" style="padding:0px;width:100vw;">
- <div class="no_header" style="position: fixed;z-index: 9999;background: #fff;padding:0px 10px;top:0px;">
- <div class="fl allhg txtl" style="line-height:50px;width:10%;">
- <i class="bi bi-arrow-left fcc fw" onclick="goback()" style="font-size: 24px;"></i>
- </div>
- <div class="fl allhg" id="centerbox" style="width:80%;text-align:center;line-height:50px;display:none;">
- <span class="fcc fzmm">{:L('消息管理')}</span>
- </div>
- <div class="fr allhg txtr" style="line-height:50px;width:10%;">
- <i class="bi bi-pencil-square fcc fw" id="showid" style="font-size: 20px;"></i>
- <span class="fcy fzmm" id="hideid" style="display:none;">{:L('完成')}</span>
- </div>
- </div>
- <div class="no_content" style="width:90%;margin:60px auto;">
- <div class="no_title" id="h1title" style="height:50px;line-height:50px;">
- <span class="title_txt fcc">{:L('通知')}</span>
- </div>
- <div class="no_inbox">
- <empty name="list">
- <div style="width:100%;height:200px;line-height:200px;text-align:center;">
- <span class="fzmm fcc">{:L('没有通知记录')}</span>
- </div>
- <else />
- <foreach name="list" item="vo">
- <a href="{:U('Index/noticeinfo')}?id={$vo.id}">
- <div style="width:100%;height:90px;padding:5px 0px;margin-bottom:10px;">
- <div style="width:10%;height:80px;float:left;">
- <i class="bi bi-envelope fcc fw" style="font-size:20px;"></i>
- <if condition="$vo.status eq 1">
- <span class="badge badge-light" style="color:#FCD535;">.</span>
- </if>
- </div>
- <div style="width:90%;height:80px;float:right;">
- <div style="width:100%;height:20px">
- <span class="fzmmm fcc">{$vo.title}</span>
- </div>
- <div style="width:100%;height:40px;overflow: hidden;">
- <span class="fzm fcc">{$vo.content}</span>
- </div>
- <div style="width:100%;height:40px">
- <span class="fzm fcc">{$vo.addtime}</span>
- </div>
- </div>
- </div>
- </a>
- </foreach>
- </empty>
- </div>
- </div>
- <div class="bmbtn" id="bmbtn" style="display:none;">
- <div class="bmbtn_l" onclick="allread();">
- <span class="fzm fch">{:L('全部已读')}</span>
- </div>
- <div class="bmbtn_r" onclick="alldel();">
- <span class="fzm fch">{:L('清除全部')}</span>
- </div>
- </div>
- </div>
- </body>
- <body>
- <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
- <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
- <script type="text/javascript">
- function alldel(){
- var st = 1;
- $.post("{:U('Index/delall')}",
- {'st' :st},
- function(data){
- if(data.code = 1){
- layer.msg(data.info);
- setTimeout(function(args){
- window.location.reload();
- },2000);
- }else{
- layer.msg(data.info);return false;
- }
- });
- }
- function allread(){
- var st = 1;
- $.post("{:U('Index/readall')}",
- {'st' :st},
- function(data){
- if(data.code = 1){
- layer.msg(data.info);
- setTimeout(function(args){
- window.location.reload();
- },2000);
- }else{
- layer.msg(data.info);return false;
- }
- });
- }
- </script>
- <script type="text/javascript">
- $("#showid").click(function(){
- $("#centerbox").show();
- $("#h1title").hide();
- $("#bmbtn").show();
- $("#hideid").show();
- $("#showid").hide();
- });
- $("#hideid").click(function(){
- $("#centerbox").hide();
- $("#h1title").show();
- $("#bmbtn").hide();
- $("#hideid").hide();
- $("#showid").show();
- });
- </script>
- <script type="text/javascript">
- function goback(){
- window.history.go(-1);
- }
- </script>
- </html>
|