-
Notifications
You must be signed in to change notification settings - Fork 48
/
welcome.vue
33 lines (30 loc) · 994 Bytes
/
welcome.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!--
* @Author: fzf404
* @Date: 2022-05-30 15:14:46
* @LastEditors: fzf404 [email protected]
* @LastEditTime: 2022-08-01 17:37:59
* @Description: welcome 用户指引
-->
<template>
<main>
<!-- 引导页 -->
<article class="h-screen flex-col-center space-y-3">
<!-- 欢迎-->
<h1 class="mt-4 text-lg">欢迎使用</h1>
<!-- 提示 -->
<p class="text-intro">右击托盘中的<FaviconSVG class="w-5 inline mx-1 mb-0.5" />图标</p>
<p class="text-intro">插件列表中启动插件</p>
<!-- Github 跳转 -->
<button class="btn btn-sq-sm bg-purple-500 hover:bg-purple-600 text-purple-100" @click="openGithub">
<GithubSVG class="w-6" />
</button>
</article>
</main>
</template>
<script setup>
import { openURL } from '#/ipc'
import FaviconSVG from '@/assets/favicon.svg'
import GithubSVG from '@/assets/github/github.svg'
// 打开链接
const openGithub = () => openURL('https://github.com/fzf404/Monit')
</script>