提交 df339867 编写于 作者: Dfer.Site's avatar Dfer.Site

1.4.9

上级 b01c35b6
# http://editorconfig.org
# 告诉EditorConfig插件,这是根文件,不用继续往上查找
root = true
# 匹配全部文件
[*]
# 结尾换行符,可选"lf"、"cr"、"crlf"
end_of_line = lf
# 在文件结尾插入新行
insert_final_newline = true
# 删除一行中的前后空格
trim_trailing_whitespace = true
# 匹配文件后缀
[*.{js,py,php}]
# 设置字符集
charset = utf-8
# 匹配py结尾的文件
[*.py]
# 缩进风格,可选"space"、"tab"
indent_style = space
# tab的宽度
indent_size = 4
# 以下匹配,类同
[*.php]
indent_style = space
indent_size = 4
[Makefile]
indent_style = space
tab_width =4
[lib/**.js]
indent_style = space
indent_size = 4
[{package.json,.travis.yml}]
indent_style = space
indent_size = 4
<df-header>
<title>{$layout['title']} - DfPHP v{:VERSION}</title>
<title>{$layout['title']} - DfPHP v{:VERSION}</title>
</df-header>
<df-body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 0;">
<legend style="color: {$layout['color']};">{$layout['title']}——{$layout['description']}</legend>
</fieldset>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 0;">
<legend style="color: {$layout['color']};">{$layout['title']}——{$layout['description']}</legend>
</fieldset>
<div style="padding: 20px;">
<div class="card" style="width: 18rem;">
<div class="card-header">关于</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href='/readme' class="btn btn-primary btn-sm"
target="_blank"><i class="fa fa-book"></i>&nbsp;开发文档</a></li>
</ul>
</div>
</div>
<div style="padding: 20px;">
<div class="card" style="width: 18rem;">
<div class="card-header">关于</div>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href='/readme' class="btn btn-primary btn-sm" target="_blank"><i
class="fa fa-book"></i>&nbsp;开发文档</a></li>
</ul>
</div>
</div>
<div style="color: {$layout['color']};position: absolute;bottom: 1rem;">© 2023-{:Common::getTime(null,'Y')}
Dfer.Site</div>
<div style="color: {$layout['color']};position: absolute;bottom: 1rem;">© 2023-{:Common::getTime(null,'Y')}
Dfer.Site</div>
</df-body>
<df-footer>
<script>
$(function() {
var url_a = jQuery.getUrlParam('a') == null ? 'index' : jQuery.getUrlParam('a');
console.log("{$layout['title']}_{0} loaded".format(url_a));
})
</script>
<script>
$(function() {
var url_a = jQuery.getUrlParam('a') == null ? 'index' : jQuery.getUrlParam('a');
console.log("{$layout['title']}_{0} loaded".format(url_a));
})
</script>
</df-footer>
<df-header>
<title>{$layout['title']} - DfPHP v{:VERSION}</title>
<title>{$layout['title']} - DfPHP v{:VERSION}</title>
</df-header>
<df-body>
<div style="padding: 20px;">
<div class="layui-row layui-col-space15">
<div style="padding: 20px;">
<div class="layui-row layui-col-space15">
<df-each $column>
<df-if !ctype_space($v["title"])>
<div class="layui-col-md6">
<div class="layui-card">
<div class="layui-card-header">{::title}</div>
<div class="layui-card-body">
{::content}
</div>
</div>
</div>
</df-if>
</df-each>
</div>
</div>
<df-each $column>
<df-if !ctype_space($v["title"])>
<div class="layui-col-md6">
<div class="layui-card">
<div class="layui-card-header">{::title}</div>
<div class="layui-card-body">
{::content}
</div>
</div>
</div>
</df-if>
</df-each>
</div>
</div>
<div class="foot" style="color: {$layout['color']};">{$layout['inscribe']}</div>
<div class="foot" style="padding: .3rem 1rem;background-color: rgba(0,0,0,.5);color: {$layout['color']};">©
2023-{:Common::getTime(null,'Y')}</div>
</df-body>
<df-footer>
<script>
</script>
</df-footer>
<script>
</script>
</df-footer>
<df-code>
use Dfer\Tools\Statics\Common;
</df-code>
<!DOCTYPE HTML
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="author" content="Df" />
<meta name="keywords" content="{$layout['keywords']}" />
<meta name="description" content="{$layout['description']}" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
<!--页面尺寸-->
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<!--手机状态栏的颜色-->
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!--作为独立的网页,进行全屏显示-->
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" href="{:VIEW_ASSETS}/img/favicon.ico" />
<link rel="apple-touch-icon" href="{:VIEW_ASSETS}/img/favicon.png" />
<head>
<meta name="author" content="Df" />
<meta name="keywords" content="{$layout['keywords']}" />
<meta name="description" content="{$layout['description']}" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
<!--页面尺寸-->
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<!--手机状态栏的颜色-->
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!--作为独立的网页,进行全屏显示-->
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" href="{:VIEW_ASSETS}/img/favicon.ico" />
<link rel="apple-touch-icon" href="{:VIEW_ASSETS}/img/favicon.png" />
<!--=========引用=========-->
<!-- ********************** jq START ********************** -->
<script src="https://api.dfer.site/gitcode/github_dfer/jquery/3.7.1/dist/jquery.min.js"></script>
<script src="{:VIEW_ASSETS}/jquery.ext.js"></script>
<!-- ********************** jq END ********************** -->
<!--=========引用=========-->
<!-- ********************** jq START ********************** -->
<script src="https://api.dfer.site/gitcode/github_dfer/jquery/3.7.1/dist/jquery.min.js"></script>
<script src="{:VIEW_ASSETS}/jquery.ext.js"></script>
<!-- ********************** jq END ********************** -->
<script src="{:VIEW_ASSETS}/df.js"></script>
<script src="{:VIEW_ASSETS}/df.js"></script>
<!-- ********************** mui START ********************** -->
<link rel="stylesheet" href="https://api.dfer.site/gitcode/github_dfer/mui/master/dist/css/mui.min.css" />
<script src="https://api.dfer.site/gitcode/github_dfer/mui/master/dist/js/mui.min.js"></script>
<!-- ********************** mui END ********************** -->
<!-- ********************** mui START ********************** -->
<link rel="stylesheet" href="https://api.dfer.site/gitcode/github_dfer/mui/master/dist/css/mui.min.css" />
<script src="https://api.dfer.site/gitcode/github_dfer/mui/master/dist/js/mui.min.js"></script>
<!-- ********************** mui END ********************** -->
<!-- ********************** layui START ********************** -->
<link href="https://api.dfer.site/gitcode/github_dfer/layui/main/dist/css/layui.css" rel="stylesheet">
<script src="https://api.dfer.site/gitcode/github_dfer/layui/main/dist/layui.js"></script>
<!-- ********************** layui END ********************** -->
<!-- ********************** layui START ********************** -->
<link href="https://api.dfer.site/gitcode/github_dfer/layui/main/dist/css/layui.css" rel="stylesheet">
<script src="https://api.dfer.site/gitcode/github_dfer/layui/main/dist/layui.js"></script>
<!-- ********************** layui END ********************** -->
<!-- ********************** loader START ********************** -->
<link rel="stylesheet" href="{:VIEW_ASSETS}/loaders/main.css" />
<script src="{:VIEW_ASSETS}/loaders/main.js"></script>
<!-- ********************** loader END ********************** -->
<link rel="stylesheet" href="{:VIEW_ASSETS}/homepage/css/init.css" />
<!--<script src="/assets/fontFamily/init.js"></script>-->
<!-- ********************** loader START ********************** -->
<link rel="stylesheet" href="{:VIEW_ASSETS}/loaders/main.css" />
<script src="{:VIEW_ASSETS}/loaders/main.js"></script>
<!-- ********************** loader END ********************** -->
<link rel="stylesheet" href="{:VIEW_ASSETS}/homepage/css/init.css" />
<!--<script src="/assets/fontFamily/init.js"></script>-->
<style>
.mui-content,
.mui-scalable {
background-color: transparent !important;
}
</style>
<!--通用脚本-->
<script>
//所有资源加载完成则执行
function loaded() {
$('#first_loading').remove(); //在js加载前添加loading效果,增加页面友好度,加载完成则删除
//如果有调用字体
if ($('script[src$="fontFamily/init.js"]').length > 0) {
$("<style>").html(
'*{font-family: ft !important; }'
).appendTo("head");
log('自定义字体加载完成')
}
loading(2);
log('web complete');
}
<style>
.mui-content,
.mui-scalable {
background-color: transparent !important;
}
</style>
<!--通用脚本-->
<script>
//所有资源加载完成则执行
function loaded() {
$('#first_loading').remove(); //在js加载前添加loading效果,增加页面友好度,加载完成则删除
//如果有调用字体
if ($('script[src$="fontFamily/init.js"]').length > 0) {
$("<style>").html(
'*{font-family: ft !important; }'
).appendTo("head");
log('自定义字体加载完成')
}
loading(2);
log('web complete');
}
//dom加载完毕
function ready() {
// $.ProtectPage();
// story()
// hacker(1, '{$layout["color"]}');
//rJs加载会在插件还没加载完就显示页面,从而导致页面显示不健全,所以需要隐藏body,在rJs加载之后显示
$('#body').removeAttr('hidden')
loading(1);
log('dom complete');
}
//dom加载完毕
function ready() {
// $.ProtectPage();
// story()
// hacker(1, '{$layout["color"]}');
//rJs加载会在插件还没加载完就显示页面,从而导致页面显示不健全,所以需要隐藏body,在rJs加载之后显示
$('#body').removeAttr('hidden')
loading(1);
log('dom complete');
}
function resized() {
// location.reload()
}
//只能识别执行到此加载的元素,故而放在网页尾部(识别出整个网页已加载完毕)
$(ready);
$(window).on('load', loaded);
$(window).on('resize', resized);
</script>
function resized() {
// location.reload()
}
//只能识别执行到此加载的元素,故而放在网页尾部(识别出整个网页已加载完毕)
$(ready);
$(window).on('load', loaded);
$(window).on('resize', resized);
</script>
<df-header />
<style>
html,
body {
height: 100%;
}
<df-header />
<style>
html,
body {
height: 100%;
}
#body {
background: url({$layout['bg_img']}) no-repeat;
background-size: 100% 100%;
}
</style>
</head>
#body {
background: url({$layout['bg_img']}) no-repeat;
background-size: 100% 100%;
}
</style>
</head>
<body>
<div hidden="" id="first_loading" style="z-index:66666;position: fixed;left: 49%;top: 45%;"><img
src="{:VIEW_ASSETS}/img/loading-1.gif"></div>
<div hidden="" id="body">
<df-body />
</div>
</body>
<body>
<div hidden="" id="first_loading" style="z-index:66666;position: fixed;left: 49%;top: 45%;"><img
src="{:VIEW_ASSETS}/img/loading-1.gif"></div>
<div hidden="" id="body">
<df-body />
</div>
</body>
<df-footer />
<df-footer />
</html>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册