-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from putyy/dev
完善资源类型、优化资源类型选择、优化table固定表头等
- Loading branch information
Showing
9 changed files
with
181 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,53 +2,17 @@ | |
import {ipcRenderer} from 'electron' | ||
import pkg from '../../../package.json' | ||
const v = pkg.version | ||
const jump = (scene: number)=>{ | ||
switch (scene) { | ||
case 1: | ||
ipcRenderer.invoke('invoke_open_default_browser', { | ||
url: "https://s.gowas.cn/d/4089-quan-ping-tai-zi-yuan-xia-zai-ruan-jian" | ||
}) | ||
break; | ||
case 2: | ||
ipcRenderer.invoke('invoke_open_default_browser', { | ||
url: "https://s.gowas.cn" | ||
}) | ||
break; | ||
case 3: | ||
ipcRenderer.invoke('invoke_open_default_browser', { | ||
url: "https://i.gowas.cn" | ||
}) | ||
break; | ||
case 4: | ||
ipcRenderer.invoke('invoke_open_default_browser', { | ||
url: "https://s.gowas.cn/d/4089-quan-ping-tai-zi-yuan-xia-zai-ruan-jian" | ||
}) | ||
break; | ||
case 5: | ||
ipcRenderer.invoke('invoke_open_default_browser', { | ||
url: "https://www.ais.do/ivi/rr2GaZ" | ||
}) | ||
break; | ||
case 6: | ||
ipcRenderer.invoke('invoke_open_default_browser', { | ||
url: "https://github.com/putyy/res-downloader" | ||
}) | ||
break; | ||
} | ||
const jump = (url: string)=>{ | ||
ipcRenderer.invoke('invoke_open_default_browser', { | ||
url: url | ||
}) | ||
} | ||
</script> | ||
<template lang="pug"> | ||
div.line | ||
a.item 当前版本: {{v}} | ||
a.item 站长邮箱: [email protected] | ||
a.item(@click="jump(1)") 获取更新 | ||
a.item(@click="jump(4)") 问题反馈 | ||
div.line | ||
a.item 推荐: | ||
a.item(@click="jump(5)") Ai助手(免费) | ||
a.item(@click="jump(2)") 网盘资源 | ||
a.item(@click="jump(3)") 图片无损压缩 | ||
a.item(@click="jump(6)") 软件源码 | ||
a.item(@click="jump('https://s.gowas.cn/d/4089-quan-ping-tai-zi-yuan-xia-zai-ruan-jian')") 获取更新&问题反馈 | ||
a.item(@click="jump('https://github.com/putyy/res-downloader')") 软件源码 | ||
</template> | ||
|
||
<style lang="less" scoped> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.