MyOAExx/Views/System/Note.cshtml
(完整代码) 2KB@{
ViewBag.Title = "Noet";
Layout = "~/Views/_Master.cshtml";
}
@using OA.BLL
@using OA.Models
@{ IList<MyNote> note = ViewData["Note"] as IList<MyNote>;}
<script type="text/javascript" src="js/libs/jquery/1.6/jquery.min.js"></script>
<script type="text/javascript" src="js/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
<h1><img src="/Images//img/icons/posts.png" alt="" />我的便签</h1>
@using (Html.BeginForm("Selectnote", "System", FormMethod.Post))
{
<div class="bloc">
<div class="content">
<div class="input" style="width:100%;height:20px;">
<strong style="float:left; margin-top:10px;margin-right:5px;">查询标题:</strong>
<input style="float: left; width: 80px; margin-right: 5px;" type="text" name="txtTitle" />
<strong style="float: left; margin-top: 10px; margin-right: 5px; ">起始日期:</strong>
<input style="float: left; margin-right: 5px; " type="text" class="datepicker" id="input4" name="BeginTime" />
<strong style="float: left; margin-right: 5px; margin-top: 10px; ">结束日期:</strong>
<input style="float: left; margin-right: 5px;" type="text" class="datepicker" id="input5" name="EndTime" />
</div>
<div class="submit" style="float:left; margin-top:-30px; margin-left:550px">
<input type="submit" value="查询" style="float:right;" />
</div>
</div>
</div>
}
<div class="note">
<div class="submit">
<a href="addnote"><input type="submit" value="新增标签" style="float:right;" /></a>
</div>
</div>
@*是否显示错误信息 ---------错误信息显示*@
@if (ViewData["MSG"] != null)
{
@ViewData["MSG"]
}
@foreach (var item in note)
{
<div class="bloc" style=" width: 30%; height:3%; float: left; margin-left: 10px;">
<div class="title">@Html.ActionLink(@item.NoteTitle.Length > 10 ? @item.NoteTitle.Substring(0, 10) + "..." : @item.NoteTitle, "noteDetail", new { sId = item.NoteId })</div>
<div class="content">
<span>@Html.ActionLink(@item.NoteContent.Length > 20 ? @item.NoteContent.Substring(0, 15) + "..." : @item.NoteContent, "noteDetail", new { sId = item.NoteId })</span>
<br /><br />
<em style="float:left;">@Html.ActionLink(@item.CreateTime.ToString(), "noteDetail", new { sId = item.NoteId })</em>
<div id="note">
<a href="/System/Delnote/@item.NoteId" title="删除" onclick="return confirm('请谨慎选择')"><img src="/Images/img/icons/actions/delete.png" /></a>
<a href="/System/Upnote/@item.NoteId" title="编辑"><img src="/Images/img/icons/actions/edit.png" /></a>
</div>
</div>
</div>
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。