我们的手游建站系统默认是不带留言功能的
如果对留言功能有要求的用户,可以使用第三方的(畅言)的留言评论功能
安装步骤如下:
1·登录畅言官方网站 http://changyan.kuaizhan.com
获取属于自己的第三方功能代码
pc版代码:
- <!--PC版-->
- <div id="SOHUCS" sid="[news:id]"></div>
- <script charset="utf-8" type="text/javascript" src="https://cy-cdn.kuaizhan.com/upload/changyan.js" ></script>
- <script type="text/javascript">
- window.changyan.api.config({
- appid: '属于你自己的ip',
- conf: '属于你自己的ip钥匙'
- });
- </script>
复制代码 wap版代码:
- <!--WAP版-->
- <div id="SOHUCS" sid="[news:id]" ></div>
- <script id="changyan_mobile_js" charset="utf-8" type="text/javascript"
- src="https://cy-cdn.kuaizhan.com/upload/mobile/wap-js/changyan_mobile.js?client_id=属于你自己的ip号&conf=属于你自己的ip钥匙">
- </script>
复制代码 将ip号和ip钥匙更换为你自己的
2·将编辑好的第三方代码添加到网站对应的位置
登录后台-模板编辑-分别电脑版和手机版的 album.html (游戏下载页)
在对应的位置添加上方的代码即可
评论代码美化:
直接添加以上代码,网站会出现畅言官方的广告
接下来我为大家直接提供畅言广告屏蔽及美化代码
pc版美化代码:- #feedAv{ margin-top: -250px!important;transform: scale(0);}
- .module-cmt-box{padding:10px 16px!important;}
- .header-login{left: 746px!important;border: 0!important;border-radius: 0!important;}
- .post-wrap-border-t-r,.post-wrap-border-t-l,.post-wrap-border-r,.post-wrap-border-l{display:none;}
- .post-wrap-main{border:0!important;}
- .post-wrap-w{background:#f0f0f0;border-radius:5px;box-shadow: 0 2px 6px rgba(0,0,0,.2)}
- .btn-fw{background:#5fb878 url(https://static.krnet.cc/skin/images/release.svg)center no-repeat !important;width:60px !important; height:60px !important;border-radius:70px;important;margin-top:-5px!important;margin-right:40px!important;background-size:30px !important;box-shadow: 0 2px 6px rgba(0,0,0,.2);-webkit-transition:.3s;transition:.3s}
- .btn-fw:hover{box-shadow: 0 6px 10px rgba(0,0,0,.2);}
- .block-head-w{margin-top:-20px !important;}
- .section-service-w{height: 0px;opacity: 0;}
- .head-img-w{margin:0px 0 0 0 !important;}
- .head-img-w img{width:50px !important;height:50px !important;}
- .head-img-w{top:115px!important;left:-0px!important;}
- .wrap-action-gw{border-bottom:1px solid #dee4e9 !important;padding-top:30px!important;}
- .wrap-action-gw span,.wrap-action-gw i,.type-lists,.cmt-list-number,.title-name-gw-tag,.wrap-name-w{display:none!important;}
- .cmt-list-type{margin:0!important;}
- .build-floor-gw{background:#f0f0f0 !important}
- .block-cont-gw{padding:20px 0 !important;border:0 !important;}
- .section-list-w{width:95%!important;margin-left:2%!important;}
复制代码
wap版美化代码:
- #feedAv{ margin-top: -250px!important;transform: scale(0);}
- .module-cmt-box{padding:10px 16px!important;}
- .header-login{visibility:hidden!important;border: 0!important;border-radius: 0!important;}
- .post-wrap-border-t-r,.post-wrap-border-t-l,.post-wrap-border-r,.post-wrap-border-l{display:none;}
- .post-wrap-main{border:0!important;}
- .post-wrap-w{background:#f0f0f0;border-radius:5px;box-shadow: 0 2px 6px rgba(0,0,0,.2)}
- .btn-fw{background:#5fb878 url(https://static.krnet.cc/skin/images/release.svg)center no-repeat !important;width:60px !important; height:60px !important;border-radius:70px;important;margin-top:-5px!important;margin-right:40px!important;background-size:30px !important;box-shadow: 0 2px 6px rgba(0,0,0,.2);-webkit-transition:.3s;transition:.3s}
- .btn-fw:hover{box-shadow: 0 6px 10px rgba(0,0,0,.2);}
- .block-head-w{margin-top:-70px !important;}
- .section-service-w{height: 0px;opacity: 0;}
- .head-img-w{margin:0px 0 0 0 !important;}
- .head-img-w img{width:50px !important;height:50px !important;}
- .head-img-w{top:115px!important;left:-0px!important;}
- .wrap-action-gw{border-bottom:1px solid #dee4e9 !important;padding-top:30px!important;}
- .wrap-action-gw span,.wrap-action-gw i,.type-lists,.cmt-list-number,.title-name-gw-tag,.wrap-name-w{display:none!important;}
- .cmt-list-type{margin:0!important;}
- .build-floor-gw{background:#f0f0f0 !important}
- .block-cont-gw{padding:20px 0 !important;border:0 !important;}
- .section-list-w{width:95%!important;margin-left:2%!important;}
复制代码
将美化代码添加到 </head> 上方即可
最后··记得保存,然后等几分钟 畅言代码生效即可
|