2020-04-23 11:46:23 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2020-05-07 14:54:04 +08:00
|
|
|
|
|
|
|
<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" />
|
|
|
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
|
|
|
<!-- 使用 CDN 加速的 CSS 文件,配置在 vue.config.js 下 -->
|
|
|
|
<% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %>
|
|
|
|
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="preload" as="style">
|
|
|
|
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="stylesheet">
|
|
|
|
<% } %>
|
|
|
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
|
|
<script>
|
|
|
|
var authConfig = {
|
2020-05-20 02:11:53 +08:00
|
|
|
version: '1.1.0',
|
2020-05-07 14:54:04 +08:00
|
|
|
roots: [
|
|
|
|
{
|
2020-05-22 02:11:32 +08:00
|
|
|
id: "",
|
2020-05-07 14:54:04 +08:00
|
|
|
name: "TeamDrive",
|
|
|
|
pass: "",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "root",
|
|
|
|
name: "PriveDrive",
|
|
|
|
pass: "",
|
|
|
|
},
|
2020-05-20 02:11:53 +08:00
|
|
|
{
|
2020-05-22 02:11:32 +08:00
|
|
|
id: "",
|
2020-05-20 02:11:53 +08:00
|
|
|
name: "folder1",
|
|
|
|
pass: "",
|
|
|
|
}
|
2020-05-07 14:54:04 +08:00
|
|
|
],
|
|
|
|
};
|
|
|
|
var themeOptions = {
|
|
|
|
// en/zh-chs/zh-cht
|
2020-05-20 02:11:53 +08:00
|
|
|
languages: 'en',
|
|
|
|
render: {
|
2020-05-20 11:25:46 +08:00
|
|
|
head_md: true,
|
|
|
|
readme_md: true,
|
2020-05-20 02:11:53 +08:00
|
|
|
// 是否显示文件/文件夹描述(默认不显示)
|
|
|
|
// Show file/folder description or not (not shown by default)
|
2020-05-20 11:25:46 +08:00
|
|
|
desc: true,
|
2020-05-31 01:02:42 +08:00
|
|
|
},
|
|
|
|
player: {
|
|
|
|
api: "https://api.jsonpop.cn/demo/blplyaer/?url="
|
2020-05-20 02:11:53 +08:00
|
|
|
}
|
2020-05-07 14:54:04 +08:00
|
|
|
}
|
|
|
|
window.gdconfig = JSON.parse(JSON.stringify({ version: authConfig.version, themeOptions: themeOptions }));
|
2020-05-20 02:11:53 +08:00
|
|
|
window.themeOptions = themeOptions;
|
2020-05-07 14:54:04 +08:00
|
|
|
window.gds = JSON.parse(
|
|
|
|
JSON.stringify(authConfig.roots.map((it) => it.name))
|
|
|
|
);
|
|
|
|
window.current_drive_order = 0;
|
2020-05-20 02:11:53 +08:00
|
|
|
// window.MODEL = { q: "the",root_type: 1 };
|
2020-05-07 14:54:04 +08:00
|
|
|
</script>
|
|
|
|
<!-- 使用 CDN 加速的 JS 文件,配置在 vue.config.js 下 -->
|
|
|
|
<% for (var i in htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.js) { %>
|
|
|
|
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
|
|
|
<% } %>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2020-05-19 18:10:44 +08:00
|
|
|
<div id="app"></div>
|
|
|
|
<script src="/app.js"></script>
|
2020-05-07 14:54:04 +08:00
|
|
|
</body>
|
2020-05-06 20:45:18 +08:00
|
|
|
|
2020-05-07 14:54:04 +08:00
|
|
|
</html>
|