server/aspnetapp/Views/Home/Index.cshtml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewData["Title"] = "欢迎使用";
SysUserEntity userinfo = Context.Session.GetObjectFromJson<SysUserEntity>("sysu") ?? new SysUserEntity();
string phone = Context.Session.GetString("phone") ?? "";
Microsoft.AspNetCore.Html.IHtmlContent systitle = Html.Raw(string.Join(" ", ("应用管理平台").ToCharArray()));
Microsoft.AspNetCore.Html.IHtmlContent Organization = null;
}
<style type="text/css">
.top {
height: 100px;
}
.nav {
height: 100%;
}
/* 这里的height怎样才能自适应*/
.foot {
height: 100px;
}
</style>
<div class="text-center">
<br />
<br />
<br />
<br />
<div class="top">
<h1 class="display-4">@Organization</h1>
<br />
<h1 class="display-4">@ViewData["Title"]</h1>
</div>
<br />
<div class="nav">
<h3>
@if (userinfo.UserType ==(int)EnumCode.UserType.订餐管理员 && string.IsNullOrEmpty(phone))
{
<a href="###" class="btn_phone" wxid="@userinfo.Wxid" id="blink">
尊敬的订餐管理员,请您先填写手机号
</a>
}
</h3>
</div>
<div class="foot">
<h4 class="page-header">当前时间</h4><div id="time"> </div>
</div>
</div>
@await Html.PartialAsync("UI")
@await Html.PartialAsync("Dialog")
@if (userinfo.UserType ==(int)EnumCode.UserType.订餐管理员 && string.IsNullOrEmpty(phone))
{
<script language="javascript">
function changeColor() {
var color = "#f00|#0f0|#00f|#880|#808|#088|green|blue|gray";
color = color.split("|");
document.getElementById("blink").style.color = color[parseInt(Math.random() * color.length)];
}
setInterval("changeColor()", 300);
</script>
后面还有 41 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。