评论
show{ background:pink;padding:10px 20px; width:761px;margin:10px auto; border-radius:6px;}
#show p{ margin:6px; font-size:13px; line-height:22px; border-bottom:1px dashed #666666;}
用户评论 |
---|
用户名: |
用户评论 |
{foreach $viewall as $v}
{$v.name}发表了: {$v.content}
{/foreach}
//编辑器
KindEditor.ready(function(e){
e.create("[name=content]",{
width:"750px",
height:"200px",
"items":["undo","redo","|","bold","italic","underline",'wordpaste',
'cut','|', 'justifyleft', 'justifycenter', 'justifyright',
'image',
'insertunorderedlist', 'indent', 'outdent', 'subscript']
})
});
/if(KE.count('content','text')==""){
alert("请输入内容");
return false;
}/