@{
Layout = "_AccountLayout";
}
<div class="layui-tab">
<ul class="layui-tab-title">
<li class="layui-this">我的碎碎念</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<div class="layui-form layui-card-header account-search">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">内容</label>
<div class="layui-input-inline">
<input name="content" id="txtTalkContent" autocomplete="off" placeholder="请输入" class="layui-input"/>
</div>
</div>
<div class="layui-inline">
<button class="layui-btn" lay-submit lay-filter="search-talk">
<i class="layui-icon layui-icon-search"></i>
</button>
<button class="layui-btn" lay-filter="publish-talk">
发表碎碎念
</button>
</div>
</div>
</div>
</div>
<table id="my-talk-list"></table>
</div>
</div>
@* <table class="layui-table" lay-data="{page: true, limit:20, url:'/account/myTalk'}" lay-filter="myTalk-list" id="myTalk-list"> *@
@* <thead> *@
@* <tr> *@
@* <th lay-data="{type:'checkbox'}"></th> *@
@* <th lay-data="{field:'id', sort: true, align: 'center',hide:true}">ID</th> *@
@* <th lay-data="{field:'markdown'}">Markdown</th> *@
@* <th lay-data="{templet:'#preview'}">Html预览</th> *@
@* <th lay-data="{field:'createTime', sort:true, align: 'center',templet :'<div>{{moment(d.createTime,moment.ISO_8601).format(`YYYY-MM-DD hh:mm:ss`)}}</div>'}">创建时间</th> *@
@* <th lay-data="{field:'lastUpdateTime', sort:true, align: 'center',templet :'<div>{{moment(d.lastUpdateTime,moment.ISO_8601).format(`YYYY-MM-DD HH:mm:ss`)}}</div>'}">最后修改时间</th> *@
@* <th lay-data="{field:'zan',sort:true, align: 'center'}">点赞数</th> *@
@* <th lay-data="{templet:'#operating'}">操作</th> *@
@* </tr> *@
@* </thead> *@
@* </table> *@
@* <script type="text/html" id="operating"> *@
@* <a href="javascript:;" style="margin-right: 5px" data-talk-edit="{{d.id}}">修改</a> *@
@* <a href="javascript:;" data-talk-del="{{d.id}}">删除</a> *@
@* </script> *@
@* <script type="text/html" id="preview"> *@
@* <a href="javascript:;" class="preview" data-preview="/talk/preview/{{d.id}}">预览</a> *@
@* </script> *@