All checks were successful
continuous-integration/drone/push Build is passing
header.php: CSS 入场动画(fadeIn + translateY) footer.php: JS 拦截链接点击,先淡出再跳转 - 入场: 0.35s 从下方8px渐显 - 离场: 0.25s 向上8px渐隐 - 跳过: 锚点/javascript:/新窗口/修饰键
51 lines
1.9 KiB
PHP
51 lines
1.9 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en" theme="{$clientarea_theme_color}" id="addons_js" addons_js='{:json_encode($addons)}'>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport"
|
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
|
<title></title>
|
|
<link rel="icon" href="/favicon.ico">
|
|
<!-- 公共 -->
|
|
<script>
|
|
const url = "/{$template_catalog}/template/{$public_themes}/"
|
|
const system_version = "{$system_version}"
|
|
</script>
|
|
|
|
<!-- 模板样式 -->
|
|
<link rel="stylesheet" href="/{$template_catalog}/template/{$public_themes}/css/common/reset.css">
|
|
|
|
<!-- 页面过渡动画 -->
|
|
<style>
|
|
body {
|
|
animation: pageEnter 0.35s ease both;
|
|
}
|
|
body.page-leaving {
|
|
animation: pageLeave 0.25s ease both;
|
|
}
|
|
@keyframes pageEnter {
|
|
from { opacity: 0; transform: translateY(8px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
@keyframes pageLeave {
|
|
from { opacity: 1; transform: translateY(0); }
|
|
to { opacity: 0; transform: translateY(-8px); }
|
|
}
|
|
</style>
|
|
|
|
<script src="/{$template_catalog}/template/{$themes}/theme/index.js"></script>
|
|
|
|
<link rel="stylesheet" href="/{$template_catalog}/template/{$public_themes}/css/common/common.css">
|
|
<link rel="stylesheet" href="/upload/common/iconfont/iconfont.css">
|
|
|
|
|
|
<script src="/{$template_catalog}/template/{$public_themes}/js/common/vue.js"></script>
|
|
<script src="/{$template_catalog}/template/{$public_themes}/js/common/element.js"></script>
|
|
|
|
|
|
<script src="/{$template_catalog}/template/{$public_themes}/utils/util.js"></script>
|
|
<script src="/{$template_catalog}/template/{$public_themes}/lang/index.js"></script>
|
|
<script src="/{$template_catalog}/template/{$public_themes}/js/common/common.js"></script>
|