@model string
@{
var user = User.GetIdentity();
}
@using Dpz.Core.Web.Library
<form method="post" asp-action="Comment" data-talk-comment>
<input type="hidden" name="id" value="@Model">
<div class="layui-form-item">
<img class="form-avatar" src="@user.Avatar" alt="@user.Name" />
<span class="form-nick-name">@user.Name</span>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">评论</label>
<div class="layui-input-block">
<textarea style="resize: none" required lay-verify="required" name="content" placeholder="支持markdown语法" class="layui-textarea"></textarea>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" type="button" data-btn-comment="@Model">回复</button>
</div>
</div>
</form>