2018风格 更新消息通知代码-建站教程下载

2018风格 更新消息通知代码

来自版块: 建站教程 发表于: 2019-11-28 22:01:24
28772
如本资源下载地址失效,请点击此处进行反馈
7.jpg 首先在template\simple_white\common\extend_common.CSS  这个文件
找到
  1. .pm .c{background: #f8f8f8;}
复制代码

在下面加
复制代码
然后找到template\simple_white\common\header.php
找到这段代码
  1. <a href="home.php?mod=space&do=pm" id="pms" class="fa fa-envelope Button PushNotifications-icon AppHeader-notifications Button--plain" title="消息">{if $_G['member'][newpm]>0}<em>{$_G['member'][newpm]}</em>{/if}</a>
复制代码
把下面的
  1. <a href="home.php?mod=space&do=notice&view=mypost" id="notices" class="fa fa-bell Button Messages-icon AppHeader-messages Button--plain" title="提醒">{if $_G['member'][newprompt]>0}<em>{$_G['member'][newprompt]}</em>{/if}</a>
复制代码
替换为
  1. <a href="home.php?mod=space&do=notice&view=mypost" id="notices" class="fa fa-bell Button Messages-icon AppHeader-messages Button--plain" title="提醒"><div style="position: absolute;top: -20px;right: -11px;"><div class="notify">{if $_G['member'][newprompt]>0}<span class="heartbit"></span><span class="point"></span>{/if}</div></div></a>
复制代码
上面的代码中的   -20px;right: -11px

是定的位置
返回顶部