Skip to content

Commit

Permalink
deploy: 814d2c7
Browse files Browse the repository at this point in the history
  • Loading branch information
xygodcyx committed May 27, 2024
1 parent 8d8c234 commit c5bc258
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 7 deletions.
66 changes: 66 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1456,6 +1456,55 @@
}
}
},
"MicaApps": {
"DiskInfo": {
"AppIcon": {
"_files": [
{
"path": "imgs/MicaApps/DiskInfo/AppIcon/DiskInfo.png",
"name": "DiskInfo",
"company": "MicaApps",
"app": "DiskInfo",
"type": [
"应用图标"
]
}
]
}
}
},
"MicaGames": {
"Ballance": {
"AppIcon": {
"_files": [
{
"path": "imgs/MicaGames/Ballance/AppIcon/Ballance.png",
"name": "Ballance",
"company": "MicaGames",
"app": "Ballance",
"type": [
"应用图标"
]
}
]
}
},
"Inkball": {
"AppIcon": {
"_files": [
{
"path": "imgs/MicaGames/Inkball/AppIcon/InkBall.png",
"name": "InkBall",
"company": "MicaGames",
"app": "Inkball",
"type": [
"应用图标"
]
}
]
}
}
},
"Microsoft": {
"Visual Studio": {
"FileTypeIcon": {
Expand Down Expand Up @@ -1629,6 +1678,23 @@
}
}
},
"Ventoy": {
"Ventoy": {
"AppIcon": {
"_files": [
{
"path": "imgs/Ventoy/Ventoy/AppIcon/Ventoy.png",
"name": "Ventoy",
"company": "Ventoy",
"app": "Ventoy",
"type": [
"应用图标"
]
}
]
}
}
},
"folders": {
"Fluent": {
"_files": [
Expand Down
Binary file added imgs/MicaApps/DiskInfo/AppIcon/DiskInfo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/MicaGames/Ballance/AppIcon/Ballance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/MicaGames/Inkball/AppIcon/InkBall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/Ventoy/Ventoy/AppIcon/Ventoy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 15 additions & 7 deletions web/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,15 @@ const doms = {
let inputHasFocus = false;

const search = () => {};
// Notification.requestPermission().then(function (permission) {
// if (permission === 'granted') {
// new Notification('页面有变化,请更新');
// }
// });

doms.close.addEventListener('click', (e) => {
hideShowInfo();
});

doms.close.addEventListener('click', (e) => {
hideShowInfo();
Expand All @@ -337,7 +346,6 @@ doms.close.addEventListener('click', (e) => {
doms.inputIcon.addEventListener('click', (e) => {
search();
});

doms.small.addEventListener('click', (e) => {
showLeftNav();
doms.searchInput.focus();
Expand All @@ -364,28 +372,28 @@ const setCurStatus = (who) => {
who.classList.add('cur');
};
doms.mainHome.addEventListener('click', (e) => {
createHomePage();
setCurStatus(e.target);
createHomePage();
});
doms.folders.addEventListener('click', (e) => {
createFoldersPage();
setCurStatus(e.target);
createFoldersPage();
});
doms.file.addEventListener('click', (e) => {
createFilePage();
setCurStatus(e.target);
createFilePage();
});
doms.app.addEventListener('click', (e) => {
createAppPage();
setCurStatus(e.target);
createAppPage();
});
doms.company.addEventListener('click', (e) => {
createCompanyPage();
setCurStatus(e.target);
createCompanyPage();
});
doms.software.addEventListener('click', (e) => {
createSoftwarePage();
setCurStatus(e.target);
createSoftwarePage();
});
doms.searchInput.addEventListener('focusin', (e) => {
inputHasFocus = true;
Expand Down

0 comments on commit c5bc258

Please sign in to comment.