帝国cms仿畅言简洁版响应式评论插件

  帝国cms仿畅言简洁版响应式评论插件

  具体样式成效如下图:

  下面容易的说下安装的步骤:

  第一步:将cy文件复制到根目录的skin/文件夹下

  第二步:内容页添加

linktype=text/cssrel=stylesheethref=[!--news.url--]skin/cy/css/chanyan.css/

  第三步:替换评论表单:

  代码如下:

divdivclass=clear-gsection-title-wdivdivnode-type=userclass=clear-guser-wrap-wuser-loginspannode-type=user-name来一发:/span/div/div/divdivdivclass=cbox-block-wclear-gdivnode-type=block-head-wclass=block-head-wblock-head-logindivnode-type=avatarahref=javascript:void;imgnode-type=user-headsrc=[!--news.url--]skin/cy/images/noavatar.gifwidth=42height=42alt=divnode-type=head-img-ie-mask/div/a/div/divdivnode-type=login-select!--放置cbox初始状况--scriptfunctionCheckPl{if{alert;obj.saytext.focus;returnfalse;}returntrue;}/scriptformaction=[!--news.url--]e/pl/doaction.phpmethod=postname=sayplid=sayplonsubmit=returnCheckPldiv!--展开状况--divdiv/divdiv/divdivnode-type=post-wrap-maindivdivnode-type=post-wrap-border-t-l/divdivnode-type=post-wrap-border-t-rmargin-left:115px;/div/divdivdivtextareaname=saytextid=saytextplaceholder=有事没事说两句...class=textarea-fwtextarea-bf/textarea/div/div/divdivclass=clear-gwrap-action-wdivulinputname=nomembertype=checkboxid=nomembervalue=1checked=checkedwidth:18px;height:18px;/spanpadding-left:4px;padding-right:10px;匿名评论/spaninputname=keyplaceholder=请输入验证码type=textsize=10padding-left:42px;border:1pxsolid#4398ED;border-radius:12px;color:#000;font-family:OpenSans,sans-serif;font-size:1em;height:28px;padding:010px;imgsrc=[!--news.url--]e/ShowKey/?v=plwidth:60pxname=plKeyImgid=plKeyImgonclick=plKeyImg.src=[!--news.url--]e/ShowKey/?v=plt=+Math.randomtitle=看不了解,点击刷新//ul/divdivclass=clear-gaction-issue-wdivahref=javascript:voidbuttonnode-type=issue/button/a/div/div/div/div/divinputname=idtype=hiddenid=idvalue=[!--id--]/inputname=classidtype=hiddenid=classidvalue=[!--classid--]/inputname=enewstype=hiddenid=enewsvalue=AddPl/inputname=repidtype=hiddenid=repidvalue=0/inputtype=hiddenname=ecmsfromvalue=[!--titleurl--]/formdiv/div/div/div/div/divdivnode-type=module-cmt-listclass=module-cmt-listsection-list-wdivulclass=clear-gtype-listsliclass=type-listactive评论/li/uldiv/divdivspanspanscripttype=text/javascriptsrc=[!--news.url--]e/public/ViewClick/?classid=[!--classid--]id=[!--id--]down=2/script/span人参与,spanscripttype=text/javascriptsrc=[!--news.url--]e/public/ViewClick/?classid=[!--classid--]id=[!--id--]down=2/script/span条评论/span/div/div

  第四步:替换评论JS调用模板

  代码如下:

divclass=list-block-gwlist-newest-wdivnode-type=cmt-list-titleullidivclass=title-name-gwtitle-name-bgdiv/div最新评论/div/li/ul/divdivnode-type=cmt-listid=cy-cmt-list[!--empirenews.listtemp--]divclass=clear-gblock-cont-gwdivdivanode-type=photodiv/divimgsrc=[!--news.url--]skin/cy/images/noavatar.gifwidth=42height=42/a/div/divdivdivdivclass=wrap-user-gwglobal-clear-spacingspan[!--pltime--]/spanspannode-type=nicknamea[!--username--]/a/spanspan[iip:/i[!--plip--]]/span/divdivpspan[!--pltext--]/span/pdivspan/spani/i/div/div!--图片展示--divnode-type=btns-barclass=clear-gwrap-action-gwdivnode-type=action-click-gwclass=action-click-gwglobal-clear-spacingi/ispannode-type=supportahref=JavaScript:makeRequest;iclass=icon-gwicon-ding-bg/iemid=zcpldiv[!--plid--][!--zcnum--]/em/a/spani/ispannode-type=opposeahref=JavaScript:makeRequest;iclass=icon-gwicon-cai-bg/iemid=fdpldiv[!--plid--][!--fdnum--]/em/a/spani/ispanspana/a/span/span/div/div/div/div/div[!--empirenews.listtemp--]/div/div

  最后一步:内容页调用

div!--电脑版--aid=changyan_area/adivid=SOHUCSsid=11192divid=SOHU_M人工智能N[!--temp.pl--]!--评论列表S--!--最新评论--scriptsrc=[!--news.url--]e/pl/more/?classid=[!--classid--]id=[!--id--]num=10/script/div!--评论列表E--/div/div/div评论插件

上一篇:帝国CMS个人博客网站模板响应式文章资讯新闻模板
下一篇:没有了

网友回应

欢迎扫描关注我们的微信公众平台!

欢迎扫描关注我们的微信公众平台!