You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
5.2 KiB
141 lines
5.2 KiB
<!DOCTYPE html>
|
|
<html lang="zh-cn">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<!--
|
|
manifest.json provides metadata used when your web app is added to the
|
|
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
-->
|
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
|
<!--
|
|
Notice the use of %PUBLIC_URL% in the tags above.
|
|
It will be replaced with the URL of the `public` folder during the build.
|
|
Only files inside the `public` folder can be referenced from the HTML.
|
|
|
|
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
work correctly both with client-side routing and a non-root public URL.
|
|
Learn how to configure a non-root public URL by running `npm run build`.
|
|
-->
|
|
<title>{$dirData.folder_name} - {$options.siteName}</title>
|
|
<script type="text/javascript">
|
|
colorTheme = {
|
|
"palette": {
|
|
"common": {
|
|
"black": "#000",
|
|
"white": "#fff"
|
|
},
|
|
"background": {
|
|
"paper": "#fff",
|
|
"default": "#fafafa"
|
|
},
|
|
"primary": {
|
|
"light": "#7986cb",
|
|
"main": "#3f51b5",
|
|
"dark": "#303f9f",
|
|
"contrastText": "#fff"
|
|
},
|
|
"secondary": {
|
|
"light": "#ff4081",
|
|
"main": "#f50057",
|
|
"dark": "#c51162",
|
|
"contrastText": "#fff"
|
|
},
|
|
"error": {
|
|
"light": "#e57373",
|
|
"main": "#f44336",
|
|
"dark": "#d32f2f",
|
|
"contrastText": "#fff"
|
|
},
|
|
"text": {
|
|
"primary": "rgba(0, 0, 0, 0.87)",
|
|
"secondary": "rgba(0, 0, 0, 0.54)",
|
|
"disabled": "rgba(0, 0, 0, 0.38)",
|
|
"hint": "rgba(0, 0, 0, 0.38)"
|
|
},
|
|
"explorer": {
|
|
"filename": "#474849",
|
|
"icon": "#8f8f8f",
|
|
"bgSelected": "#D5DAF0",
|
|
"emptyIcon": "#e8e8e8",
|
|
}
|
|
}
|
|
};
|
|
isHomePage = false;
|
|
isSharePage = true;
|
|
pageId="";
|
|
apiURL = {
|
|
imgThumb: "/Share/Thumb/{$shareData.share_key}",
|
|
preview: "/Share/Preview/{$shareData.share_key}",
|
|
download: "/Share/Download/{$shareData.share_key}",
|
|
docPreiview: '/Share/DocPreview/{$shareData.share_key}',
|
|
listFile:'/Share/ListFile/{$shareData.share_key}'
|
|
};
|
|
userInfo = {
|
|
uid: {$userData.uid},
|
|
nick: "{$userData.userNick}",
|
|
email: "{$userData.userMail}",
|
|
group: "{$userData.groupData.group_name}",
|
|
groupId: {$userData.groupData.id},
|
|
groupColor: "{$userData.groupData.color}",
|
|
};
|
|
siteInfo = {
|
|
mainTitle: "{$dirData.folder_name}",
|
|
};
|
|
path = "{$path}";
|
|
uploadConfig = {
|
|
allowSource: false,
|
|
allowShare: false,
|
|
allowRemoteDownload: "0",
|
|
allowTorrentDownload: "0",
|
|
};
|
|
shareInfo={
|
|
shareDate : "{$shareData.share_time}",
|
|
ownerUid:"{$userInfo.id}",
|
|
ownerNick:"{$userInfo.user_nick}",
|
|
downloadNum:"{$shareData.download_num}",
|
|
ViewNum:"{$shareData.view_num}",
|
|
shareId:"{$shareData.share_key}",
|
|
dirName:"{$dirData.folder_name}",
|
|
groupName:"{$groupData.group_name}",
|
|
color:"{$groupData.color}",
|
|
{eq name="$loginStatus" value="1"}
|
|
allowPreview:true,
|
|
{else/}
|
|
allowPreview:{$allowPreview},
|
|
{/eq}
|
|
};
|
|
mediaType = {},
|
|
isMobile = window.innerWidth < 600;
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<noscript>
|
|
You need to enable JavaScript to run this app.
|
|
</noscript>
|
|
<div id="root"></div>
|
|
<!--
|
|
This HTML file is a template.
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
-->
|
|
</body>
|
|
<script src="http://192.168.123.19:3000/static/js/runtime~folderShare.bundle.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/8.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/10.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/12.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/9.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/11.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/13.chunk.js"></script>
|
|
<script src="http://192.168.123.19:3000/static/js/folderShare.chunk.js"></script>
|
|
|
|
</html> |