101 lines
2.7 KiB
HTML
101 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html lang="">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" id="lc-dp-favicon" href="" />
|
|
<link rel="stylesheet" href="./src/icons/iconfont.css" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title id="lc-dp-title"></title>
|
|
<script>
|
|
// 从 localStorage 中获取标题和图标
|
|
;(function () {
|
|
const title = localStorage.getItem('ling_shu_logo_title') || ''
|
|
const favicon = localStorage.getItem('ling_shu_logo_icon') || ''
|
|
if (title) {
|
|
document.getElementById('lc-dp-title').textContent = title
|
|
}
|
|
if (favicon) {
|
|
document.getElementById('lc-dp-favicon').href = favicon
|
|
}
|
|
})()
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app" class="ling_shu_lc_dp_micro_app ling_shu_lc_dp">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
.skeleton-loader {
|
|
padding: 16px;
|
|
background: #f7f8fa;
|
|
min-height: 100vh;
|
|
box-sizing: border-box;
|
|
}
|
|
.skeleton-header {
|
|
height: 44px;
|
|
background: #fff;
|
|
margin-bottom: 16px;
|
|
border-radius: 4px;
|
|
}
|
|
.skeleton-item {
|
|
background: #fff;
|
|
padding: 16px;
|
|
margin-bottom: 12px;
|
|
border-radius: 8px;
|
|
}
|
|
.skeleton-line {
|
|
height: 16px;
|
|
background: #ebedf0;
|
|
border-radius: 4px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.skeleton-line:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.w-40 {
|
|
width: 40%;
|
|
}
|
|
.w-60 {
|
|
width: 60%;
|
|
}
|
|
.w-80 {
|
|
width: 80%;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.6;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.skeleton-anim {
|
|
animation: shimmer 1.5s infinite ease-in-out;
|
|
}
|
|
</style>
|
|
<div class="skeleton-loader skeleton-anim">
|
|
<div class="skeleton-header"></div>
|
|
<div class="skeleton-item">
|
|
<div class="skeleton-line w-40"></div>
|
|
<div class="skeleton-line w-80"></div>
|
|
<div class="skeleton-line w-60"></div>
|
|
</div>
|
|
<div class="skeleton-item">
|
|
<div class="skeleton-line w-40"></div>
|
|
<div class="skeleton-line w-80"></div>
|
|
</div>
|
|
<div class="skeleton-item">
|
|
<div class="skeleton-line w-60"></div>
|
|
<div class="skeleton-line w-40"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="/src/main-mobile.ts"></script>
|
|
</body>
|
|
</html>
|