Skip to content

Commit

Permalink
🐛 更改图像链接
Browse files Browse the repository at this point in the history
  • Loading branch information
fzf404 committed Sep 13, 2023
1 parent efb1039 commit 8ae9932
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/components/image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface Props {
withDefaults(defineProps<Props>(), {
show: true,
image: 'https://img.fzf404.art/Monit/qrcode.webp',
image: 'https://img.fzf404.art/monit/qrcode.webp',
remark: '请扫码前往 Monit 官网!'
})
</script>
47 changes: 47 additions & 0 deletions app/plugins/guide/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import MonitSVG from '@/assets/monit.svg'
import Loading from '@/components/qrcode.vue'
const { t } = useI18n()
</script>

<template>
<Loading :show="true" image="https://img.fzf404.art/monit/qrcode.webp">
<p>123</p>
</Loading>
<section class="flex-col-center gap-y-3 p-4 pt-9">
<h1 class="text-lg text-gray-200">{{ t('title') }}</h1>
<i18n-t
keypath="tray"
tag="p"
class="flex-row-center text-sm text-gray-300"
>
<img class="inline-block h-5 px-1" :src="MonitSVG" />
</i18n-t>
<p class="text-sm text-gray-400">
{{ t('button') }}
</p>
<button
class="rounded bg-purple p-1 opacity-80 dark:bg-purple-600 hover:opacity-100"
>
<svg class="i-ic-twotone-settings block h-7 w-7 bg-white"></svg>
</button>
</section>
</template>

<i18n lang="json">
{
"cn": {
"title": "快速开始",
"tray": "右击托盘中的 {0} 图标",
"button": "// 点击下方按钮启动插件"
},
"en": {
"title": "Quick Start",
"tray": "Right click {0} in tray",
"button": "// Click button start plugin"
}
}
</i18n>
2 changes: 1 addition & 1 deletion app/plugins/image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import Setting from '@/components/setting.vue'
// 存储数据
const store = storage({
src: 'https://img.fzf404.art/Monit/logo.webp'
src: 'https://img.fzf404.art/monit/logo.webp'
})
// 打开本地图像
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/music.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const state = reactive({
url: '',
title: 'Monit',
author: 'fzf404',
image: 'https://img.fzf404.art/Monit/icon.webp'
image: 'https://img.fzf404.art/monit/icon.webp'
}
})
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<p align="center">
<a href="https://monit.fzf404.art/" target="_blank">
<img src="https://img.fzf404.art/Monit/logo.webp" alt="Monit" style="zoom:40%;"/>
<img src="https://img.fzf404.art/monit/logo.webp" alt="Monit" style="zoom:40%;"/>
</a>
</p>

Expand All @@ -22,7 +22,7 @@
</p>

<p align="center">
<img src="https://img.fzf404.art/Monit/v0.7.0.webp" alt="show" style="zoom:30%;" />
<img src="https://img.fzf404.art/monit/v0.7.0.webp" alt="show" style="zoom:30%;" />
</p>

## ✨ 功能
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/04-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
```vue
<template>
<Image :show="true" remark="请扫码前往 Monit 官网!" image="https://img.fzf404.art/Monit/qrcode.webp" />
<Image :show="true" remark="请扫码前往 Monit 官网!" image="https://img.fzf404.art/monit/qrcode.webp" />
</template>
<script setup>
Expand Down

0 comments on commit 8ae9932

Please sign in to comment.