<input type="text" name="content" autocomplete="off" class="search-input aui-font-size-14 pk-width-all" placeholder="评论" style="color:#333;height:2.0rem;" /> <button id="postreplysubmitbtn" type="button" class="pk-btn pk-radius-6 pk-btn-primary">发布</button>
这个是DZ 的快捷回复
这个代码可用【支持只能会员才可以 快捷回复】: 放到你使用模版的 read-1.hst里
<div class="pk-row" style="margin-bottom:30px;left:0;bottom:0;width:100%;padding:0.25rem 0;background-color:white;z-index:97;"> <form style="margin-left:10px;" method="post" action="index.php?c=post&type=reply&return=#"> <input type="hidden" name="rid" value="{$readdata['id']}" /> <div style="margin-bottom:7px" class="pk-w-sm-9 aui-padded-l-15 aui-padded-r-15"> <input type="text" name="content" autocomplete="off" class="search-input aui-font-size-14 pk-width-all" placeholder=" 评论~" style="border:solid 2px #E7E7E7 ;border-radius:5px ;margin-left:20px;color:#333;height:2.4rem;" /> </div> <div style="margin-top:7px" class="pk-w-sm-3"> <button id="postreplysubmitbtn冲突暂时去掉" >回复</button> </div> <div style="width:135px"class=" verifycodediv">{loadVerifycode('postreply','')}</div> </form> </div>效果
那手机版的回复代码改的,点击回复按钮 出现这提示 不知道哪有问题
<div class="pk-row" style="left:0;bottom:0;width:100%;padding:0.25rem 0;background-color:white;z-index:97;"> <form style="margin-left:10px;" name="form_post" method="post" action="index.php?c=post&type=reply&return=json"> <input type="hidden" name="rid" value="{$readdata['id']}" /> <div class="pk-w-sm-9 aui-padded-l-15 aui-padded-r-15"> <input type="text" name="content" autocomplete="off" class="search-input aui-font-size-14 pk-width-all" placeholder="评论" style="color:#333;height:2.0rem;" /> </div> <div style="margin-top:7px" class="pk-w-sm-3"> <button id="postreplysubmitbtn" >发布</button> </div> <div class=" verifycodediv">{loadVerifycode('postreply','')}</div> </form> </div>
直接的回复方法:
回复内容提交到index.php?c=post&type=reply&return=json,必要参数:rid回复文章的id,content回复的内容
黑衣人:
乐天 这看着像是手机模版回复代码参数啊 ,我拿着放到pc版貌似 有问题!上边我有放代码
黑衣人:
居然这样子 有的可以回复 有的不可以。。。。{"state":"ok","msg":"\u53d1\u8868\u6210\u529f","rid":"9"}
黑衣人:
乐天 完全可以恢复了 就3F的代码 就是出错啊 。。。。出来这个 {"state":"ok","msg":"\u53d1\u8868\u6210\u529f","rid":"9"}
公告
近期本站被人为恶意注册及发布垃圾帖,本站已开启普通用户发帖审核功能,VIP系列用户组不受影响,一但发现发布违法或垃圾帖的用户,该用户账号将会被永久封号,请大家共同维护互联网环境,共创美好互联网未来。
永久免费,购授权享豪礼
扫个红包吧,快乐你我他