Skip to content

Commit

Permalink
全部改为@引用
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjsah committed May 3, 2024
1 parent 1761442 commit a4d1783
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 77 deletions.
14 changes: 7 additions & 7 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import {
RedEnvelopeOutlined,
GithubOutlined
} from '@ant-design/icons-vue';
import Icon from './assets/icon.svg';
import Curseforge from './assets/curseforge.svg';
import Modrinth from './assets/modrinth.svg';
import BiliBili from './assets/bilibili.svg';
import Mcmod from './assets/mcmod.svg';
import QQ from './assets/QQ.svg';
import KOOK from './assets/kook.svg';
import Icon from '@/assets/icon.svg';
import Curseforge from '@/assets/curseforge.svg';
import Modrinth from '@/assets/modrinth.svg';
import BiliBili from '@/assets/bilibili.svg';
import Mcmod from '@/assets/mcmod.svg';
import QQ from '@/assets/QQ.svg';
import KOOK from '@/assets/kook.svg';
import router from '@/router/index.ts';
const items = ref([
Expand Down
53 changes: 28 additions & 25 deletions src/views/AboutPage.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script setup lang="ts">
import {UserFilled} from "@element-plus/icons-vue";
import Supporters from "../assets/supporters.json";
import Authors from "../assets/authors.json";
import Contributors from "../assets/contributors.json";
import BiliBili from "../assets/bilibili.svg";
import { UserFilled } from '@element-plus/icons-vue';
import Supporters from '@/assets/supporters.json';
import Authors from '@/assets/authors.json';
import Contributors from '@/assets/contributors.json';
import BiliBili from '@/assets/bilibili.svg';
Supporters.sort((a, b) => b.money - a.money)
Supporters.sort((a, b) => b.money - a.money);
</script>

<template>
Expand All @@ -15,44 +15,49 @@ Supporters.sort((a, b) => b.money - a.money)
<template #title>
<a-avatar size="large" :src="author.avatar">
<template #icon>
<UserFilled/>
<UserFilled />
</template>
</a-avatar>
{{ author.name }}
</template>
<template #extra>
<a v-if="author.uid" :href="'https://space.bilibili.com/'+author.uid" target="_blank"
style="margin-right: 80px">
<a-image :src="BiliBili" style="height:32px;width:32px" :preview="false"/>
<a
v-if="author.uid"
:href="'https://space.bilibili.com/' + author.uid"
target="_blank"
style="margin-right: 80px">
<a-image :src="BiliBili" style="height: 32px; width: 32px" :preview="false" />
</a>
</template>
<p v-for="desc in author.desc">
{{ desc }}
</p>
<p class="copy" v-if="author.copyright">——引自<a :href="author.copyright.link" target="_blank">{{
author.copyright.name
}}</a></p>
<p class="copy" v-if="author.copyright">
——引自
<a :href="author.copyright.link" target="_blank">{{ author.copyright.name }}</a>
</p>
</a-card>
</a-badge-ribbon>
</a>

<a-card class="main-card" hoverable bordered>
<template #title>
贡献者
</template>
<template #title>贡献者</template>
<a v-for="contributor in Contributors" :href="contributor.link" target="_blank">
<a-badge-ribbon :text="contributor.work" color="green">
<a-card class="sub-card" hoverable bordered>
<template #extra>
<a v-if="contributor.uid" :href="'https://space.bilibili.com/'+contributor.uid" target="_blank"
style="margin-right: 80px">
<a-image :src="BiliBili" style="height:32px;width:32px" :preview="false"/>
<a
v-if="contributor.uid"
:href="'https://space.bilibili.com/' + contributor.uid"
target="_blank"
style="margin-right: 80px">
<a-image :src="BiliBili" style="height: 32px; width: 32px" :preview="false" />
</a>
</template>
<template #title>
<a-avatar :src="contributor.avatar" size="large" style="margin: 5px">
<template #icon>
<UserFilled/>
<UserFilled />
</template>
</a-avatar>
<a-typography-text style="font-size: 15px">
Expand All @@ -65,16 +70,14 @@ Supporters.sort((a, b) => b.money - a.money)
</a-card>

<a-card class="main-card" hoverable bordered>
<template #title>
赞助榜
</template>
<template #title>赞助榜</template>
<a v-for="supporter in Supporters" :href="supporter.link" target="_blank">
<a-badge-ribbon text="实力富哥💵" color="pink">
<a-card hoverable bordered class="sub-card">
<template #title>
<a-avatar :src="supporter.avatar" size="large" style="margin: 5px">
<template #icon>
<UserFilled/>
<UserFilled />
</template>
</a-avatar>
<a-typography-text style="font-size: 15px">
Expand All @@ -99,4 +102,4 @@ Supporters.sort((a, b) => b.money - a.money)
.sub-card {
margin: 5px;
}
</style>
</style>
14 changes: 6 additions & 8 deletions src/views/ImageViewPage.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<script setup lang="ts">
</script>
<script setup lang="ts"></script>

<template>
<a-card hoverable>
<iframe class="figma"
src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2FG2D61Qjrk2u0h0HZKbkzjF%2Fanvilcraft-mod%3Ftype%3Dwhiteboard%26node-id%3D0%253A1%26t%3DSmrwfjrALTWFYlqh-1"
allowfullscreen
/>
<iframe
class="figma"
src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2FG2D61Qjrk2u0h0HZKbkzjF%2Fanvilcraft-mod%3Ftype%3Dwhiteboard%26node-id%3D0%253A1%26t%3DSmrwfjrALTWFYlqh-1"
allowfullscreen />
</a-card>
</template>

Expand All @@ -17,4 +15,4 @@
width: 100%;
height: calc(100vh - 228px);
}
</style>
</style>
42 changes: 15 additions & 27 deletions src/views/MainPage.vue
Original file line number Diff line number Diff line change
@@ -1,42 +1,30 @@
<script setup lang="ts">
import ImageFill from "../assets/image-fill.svg";
import ImageFill from '@/assets/image-fill.svg';
</script>

<template>
<a-card hoverable bordered>
<div style="width: 100%;text-align: center">
<a-image :width="640"
:height="360"
style="width: 100%"
src="https://www.antdv.com/#error"
:fallback="ImageFill"
/>
<div style="width: 100%; text-align: center">
<a-image
:width="640"
:height="360"
style="width: 100%"
src="https://www.antdv.com/#error"
:fallback="ImageFill" />
</div>
<a-divider/>
<a-divider />
<a-typography-paragraph>
铁砧工艺是一个以铁砧下落砸到方块、物品或生物触发效果的模组
</a-typography-paragraph>
<a-typography-paragraph>
铁砧下方放置不同方块会触发不同效果
</a-typography-paragraph>
<a-typography-paragraph>
有利于实现一些原版难以实现的自动化生产
</a-typography-paragraph>
<a-typography-paragraph>
可以再生一些原版不可再生物品
</a-typography-paragraph>
<a-typography-paragraph>铁砧下方放置不同方块会触发不同效果</a-typography-paragraph>
<a-typography-paragraph>有利于实现一些原版难以实现的自动化生产</a-typography-paragraph>
<a-typography-paragraph>可以再生一些原版不可再生物品</a-typography-paragraph>
<a-typography-paragraph>
为了方便将铁砧上抬,增加了磁铁,此部分完全可以使用原版红石机械代替,但较为繁琐
</a-typography-paragraph>
<a-typography-paragraph>
模组后期发展有独特的科技部分
</a-typography-paragraph>
<a-typography-paragraph>
提高了原版附魔的上限,包含一些魔法性质的玩法
</a-typography-paragraph>
<a-typography-paragraph>模组后期发展有独特的科技部分</a-typography-paragraph>
<a-typography-paragraph>提高了原版附魔的上限,包含一些魔法性质的玩法</a-typography-paragraph>
</a-card>
</template>

<style scoped>
</style>
<style scoped></style>
19 changes: 9 additions & 10 deletions src/views/SupportPage.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<script setup lang="ts">
const qrcodes = [
{
name: "支付宝",
value: "https://qr.alipay.com/fkx189991xm3pdujnw1mxb0"
name: '支付宝',
value: 'https://qr.alipay.com/fkx189991xm3pdujnw1mxb0'
},
{
name: "微信",
value: "wxp://f2f0-fpSqA1Q3ig3rSGlxpZzq5HfND8n5JYnqJK1ecp29scXBlRx2gKE_9JLIaJL4_Di"
name: '微信',
value: 'wxp://f2f0-fpSqA1Q3ig3rSGlxpZzq5HfND8n5JYnqJK1ecp29scXBlRx2gKE_9JLIaJL4_Di'
}
]
];
</script>

<template>
Expand All @@ -17,12 +17,11 @@ const qrcodes = [
<template #title>
<a-typography-text style="font-size: 50px">
{{ qrcode.name }}
</a-typography-text><br>
<a-typography-text style="color: darkgray">
请备注称呼、游戏ID和B站UID
</a-typography-text>
<br />
<a-typography-text style="color: darkgray">请备注称呼、游戏ID和B站UID</a-typography-text>
</template>
<a-qrcode size="300" :value="qrcode.value"/>
<a-qrcode size="300" :value="qrcode.value" />
</a-card>
</div>
</template>
Expand All @@ -38,4 +37,4 @@ const qrcodes = [
.qr-code-card {
display: inline-block;
}
</style>
</style>

0 comments on commit a4d1783

Please sign in to comment.