Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: 在点击悬浮提示时将其隐藏; chore: 修改“下载-校验和使用”部分的措辞 #99

Merged
merged 3 commits into from
Mar 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/pages/download/components/DownloadButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ const onClick = () => {
:placement="popoverData?.placement"
:hide-after="0"
trigger="hover"
:content="popoverData?.content">
ref="whatsThisArchPopup">
<div @click="$refs.whatsThisArchPopup.hide()">{{
popoverData?.content
}}</div>
<template #reference>
<button
:disabled="disabled"
Expand Down
5 changes: 4 additions & 1 deletion src/pages/download/components/DownloadButtonGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const expand = ref(false);
<div class="flex flex-col gap-1">
<div class="leading-none">
<span v-if="title" class="text-[10pt] font-[450]">{{ title }}</span>
<el-popover placement="top" width="233" :content="description">
<el-popover placement="top" width="233" ref="whatsThisArchLevelPopup">
<div @click="$refs.whatsThisArchLevelPopup.hide()"
>{{ description }}
</div>
<template #reference>
<span class="text-[8pt] font-[450]">(这是什么?)</span>
</template>
Expand Down
16 changes: 5 additions & 11 deletions src/pages/download/components/DownloadDetailsMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ onMounted(() => {
<p>我们推荐您在下载后校验相关文件的 SHA-256 校验和,详情如下:</p>
<CopyCodeComponent :content="sha256sum" button-text="复制 SHA-256 校验和" />

<p>要制作{{ fileType }},我们建议您使用启动盘制作向导。</p>
<p>如果您在使用 Windows 或 macOS,我们建议您从这里下载“AOSC 启动盘制作向导”用来制作{{ fileType }}</p>
<el-container class="flex-wrap">
<AppLink
v-for="info in mediaWritersInfo"
Expand All @@ -85,17 +85,11 @@ onMounted(() => {
{{ info.name }}
</AppLink>
</el-container>
<p>
如果您在使用安同 OS,可从应用菜单直接启动“启动盘制作向导”工具制作{{
fileType
}};如果您在使用其他 Linux 系统,建议使用
<AppLink to="https://etcher.balena.io/" target="_blank"
>balenaEtcher</AppLink
>
<p>如果您在使用安同 OS,可从应用菜单直接启动“启动盘制作向导”工具制作{{ fileType }}。</p>
<p>如果您在使用其他 Linux 系统,建议使用
<AppLink to="https://etcher.balena.io/" target="_blank">balenaEtcher</AppLink>
<AppLink to="https://gitlab.com/bztsrc/usbimager" target="_blank"
>usbimager</AppLink
>
<AppLink to="https://gitlab.com/bztsrc/usbimager" target="_blank">usbimager</AppLink>
工具制作{{ fileType }}。
</p>

Expand Down