Skip to content

Commit 39970d2

Browse files
committed
fix: 修复首页的图片链接
1 parent d76144a commit 39970d2

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

src/pages/index/components/ContentMain.vue

+3-6
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,17 @@ const zhuanlanList = reactive([
4444
"内建 Rescuekit 助您排除故障恢复数据。亦可用于备份等预防式维护。",
4545
},
4646
]);
47-
48-
function toAoscOs() {
49-
router.push("/aoscos");
50-
}
5147
</script>
5248

5349
<template>
5450
<div class="w-[62.5%] bg-content-main-bg p-0">
55-
<img
51+
<a href="/aoscos">
52+
<img
5653
src="/assets/banners/banner_main1.svg"
5754
alt=""
5855
class="w-full cursor-pointer"
59-
@click="toAoscOs"
6056
/>
57+
</a>
6158
<!-- 咨讯要点 -->
6259
<div>
6360
<category-second title="资讯要点" />

src/pages/index/components/RightBar.vue

+13-12
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,19 @@ const commonLinkList = reactive([
4444

4545
<template>
4646
<div class="bg-right-bar-bg w-[37.5%] flex flex-col">
47-
<img
48-
src="/assets/banners/banner_minor1.svg"
49-
alt=""
50-
class="w-full cursor-pointer"
51-
href="https://wiki.aosc.io/zh/aosc-os/is-aosc-os-right-for-me"
52-
/>
53-
<img
54-
src="/assets/banners/banner_minor2.svg"
55-
alt=""
56-
class="w-full cursor-pointer"
57-
href="https://bbs.aosc.io/"
58-
/>
47+
<a href="https://wiki.aosc.io/zh/aosc-os/is-aosc-os-right-for-me">
48+
<img
49+
src="/assets/banners/banner_minor1.svg"
50+
class="w-full cursor-pointer"
51+
/>
52+
</a>
53+
<a href="https://bbs.aosc.io/">
54+
<img
55+
src="/assets/banners/banner_minor2.svg"
56+
class="w-full cursor-pointer"
57+
href="https://bbs.aosc.io/"
58+
/>
59+
</a>
5960
<div class="flex flex-col flex-grow">
6061
<category-second
6162
title="系统方案"

0 commit comments

Comments
 (0)