苹果CMS浏览记录代码分享
文章浏览记录1<spanstyle="display:...
文章浏览记录
1 |
<span style= "display:none" class = "mac_ulog_set" alt= "设置文章内容页浏览记录" data-type= "1" data-mid= "{$maccms.mid}" data-id= "{$obj.art_id}" data-sid= "{$param.sid}" data-nid= "{$param.nid}" ></span> |
专题浏览记录
1 |
<span style= "display:none" class = "mac_ulog_set" alt= "设置专题内容页浏览记录" data-type= "1" data-mid= "{$maccms.mid}" data-id= "{$obj.topic_id}" data-sid= "{$param.sid}" data-nid= "{$param.nid}" ></span> |
视频浏览记录
1 |
<span style= "display:none" class = "mac_ulog_set" alt= "设置内容页浏览记录" data-type= "1" data-mid= "{$maccms.mid}" data-id= "{$obj.vod_id}" data-sid= "{$param.sid}" data-nid= "{$param.nid}" ></span> |
视频播放记录
1 |
<span style= "display:none" class = "mac_ulog_set" alt= "设置视频播放记录" data-type= "4" data-mid= "{$maccms.mid}" data-id= "{$obj.vod_id}" data-sid= "{$param.sid}" data-nid= "{$param.nid}" ></span> |
视频下载记录
1 |
<span style= "display:none" class = "mac_ulog_set" alt= "设置视频播放记录" data-type= "5" data-mid= "{$maccms.mid}" data-id= "{$obj.vod_id}" data-sid= "{$param.sid}" data-nid= "{$param.nid}" ></span> |
注意下,以上代码默认样式都是隐藏的,您可以配合JS鼠标移动上去展开显示。
如果您不想隐藏,想直接显示出来,可以删除代码中
1 |
style= "display:none" |
就可以直接显示浏览记录了。