起因:误建在 yudao master 快照(vite 8.0.10 + rolldown@1.0.0-rc.17 前沿不稳, mini-desktop 构建 native binding 崩;另叠 pnpm10+ 拦原生构建脚本 esbuild)。 重做到稳定发布 tag v2026.01:vite 5.1.4 / vue 3.5.12 / element-plus 2.11.1。 - 保留 wanxiang 5 个 MVP 运营页(review/featured/dashboard/adSlot/withdraw) + 6 个 admin-api 模块(ad/trade/project/feed/telemetry/mock)+ 路由/.env 接线不变 - build:local 改 node 直跑 vite(绕 pnpm-run 预检),max-old-space 降至 4096 - 注:本次为基线切换提交,构建绿待 mini-desktop(15G)独立验证,本机 5.8G 跑前端 OOM Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
152 lines
4.1 KiB
HTML
152 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta
|
|
name="keywords"
|
|
content="芋道管理系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
|
|
/>
|
|
<meta
|
|
name="description"
|
|
content="芋道管理系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
|
|
/>
|
|
<title>%VITE_APP_TITLE%</title>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<style>
|
|
.app-loading {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
background: #f0f2f5;
|
|
}
|
|
|
|
.app-loading .app-loading-wrap {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
display: flex;
|
|
-webkit-transform: translate3d(-50%, -50%, 0);
|
|
transform: translate3d(-50%, -50%, 0);
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.app-loading .app-loading-title {
|
|
margin-bottom: 30px;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
.app-loading .app-loading-logo {
|
|
width: 100px;
|
|
margin: 0 auto 15px auto;
|
|
}
|
|
|
|
.app-loading .app-loading-item {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 60px;
|
|
vertical-align: middle;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.app-loading .app-loading-outter {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 4px solid #2d8cf0;
|
|
border-bottom: 0;
|
|
border-left-color: transparent;
|
|
border-radius: 50%;
|
|
animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
|
|
}
|
|
|
|
.app-loading .app-loading-inner {
|
|
position: absolute;
|
|
top: calc(50% - 20px);
|
|
left: calc(50% - 20px);
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 4px solid #87bdff;
|
|
border-right: 0;
|
|
border-top-color: transparent;
|
|
border-radius: 50%;
|
|
animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
|
|
}
|
|
|
|
@-webkit-keyframes loader-outter {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes loader-outter {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes loader-inner {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: rotate(-360deg);
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes loader-inner {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: rotate(-360deg);
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
</style>
|
|
<div class="app-loading">
|
|
<div class="app-loading-wrap">
|
|
<div class="app-loading-title">
|
|
<img src="/logo.gif" class="app-loading-logo" alt="Logo" />
|
|
<div class="app-loading-title">%VITE_APP_TITLE%</div>
|
|
</div>
|
|
<div class="app-loading-item">
|
|
<div class="app-loading-outter"></div>
|
|
<div class="app-loading-inner"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|