src/ZKEACMS.WebHost/Views/Shared/_DesignPageLayout.cshtml
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@using Microsoft.AspNetCore.Hosting
@using Microsoft.Extensions.Hosting
@using Microsoft.Extensions.Options
@using Easy.Options
@model LayoutEntity
@{
if (Model == null)
{
return;
}
CMSApplicationContext appContext = ApplicationContext as CMSApplicationContext;
}
@inject IOptions<CultureOption> cultureOption
<!DOCTYPE html>
<html lang="@cultureOption.Value.Code">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="cache-control" content="no-store">
<meta http-equiv="expires" content="-1">
<meta http-equiv="pragma" content="no-cache" />
@if (appContext.OuterChainPicture)
{
<meta name="referrer" content="same-origin" />
}
@if (this.WorkContext().EnableResponsiveDesign)
{
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no,maximum-scale=1.0" />
}
<title>[@L("Design")]@Model.Page.Title</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
@StyleAtHead()
@ScriptAtHead()
@foreach (var item in appContext.HeaderPart)
{
@item
}
@if (!Model.Style.IsNullOrEmpty())
{
<link href="@Url.Content(Model.Style)" rel="stylesheet" />
}
@foreach (var style in Model.Page.Styles)
{
<link href="@Url.Content(style.Url)" rel="stylesheet" />
}
@if (Model.CurrentTheme != null)
{
if (ApplicationContext.HostingEnvironment.IsDevelopment())
{
<link type="text/css" rel="stylesheet" href="@Url.Content(Model.CurrentTheme.UrlDebugger)" />
}
else
{
<link type="text/css" rel="stylesheet" href="@Url.Content(Model.CurrentTheme.Url)" />
}
}
</head>
<body class="front">
<nav id="toolBar">
<div class="container">
后面还有 100 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。