Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dfer.Site
df-php-root
提交
df339867
D
df-php-root
项目概览
Dfer.Site
/
df-php-root
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
df-php-root
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
df339867
编写于
4月 24, 2024
作者:
Dfer.Site
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.4.9
上级
b01c35b6
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
1664 addition
and
1600 deletion
+1664
-1600
root/.editorconfig
root/.editorconfig
+34
-0
root/public/view/homepage/home/index.htm
root/public/view/homepage/home/index.htm
+21
-21
root/public/view/homepage/home/index_m.htm
root/public/view/homepage/home/index_m.htm
+22
-21
root/public/view/homepage/public/assets/df.js
root/public/view/homepage/public/assets/df.js
+1487
-1461
root/public/view/homepage/public/common_m.htm
root/public/view/homepage/public/common_m.htm
+98
-95
root/version
root/version
+1
-1
version
version
+1
-1
未找到文件。
root/.editorconfig
0 → 100644
浏览文件 @
df339867
# 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
root/public/view/homepage/home/index.htm
浏览文件 @
df339867
<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>
开发文档
</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>
开发文档
</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>
root/public/view/homepage/home/index_m.htm
浏览文件 @
df339867
<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>
root/public/view/homepage/public/assets/df.js
浏览文件 @
df339867
此差异已折叠。
点击以展开。
root/public/view/homepage/public/common_m.htm
浏览文件 @
df339867
<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>
root/version
浏览文件 @
df339867
5.4.
8
5.4.
9
version
浏览文件 @
df339867
1.4.
8
1.4.
9
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录