This commit is contained in:
Silent YANG 2024-05-27 10:05:19 +08:00
parent adeed72490
commit 9b1517dfcd
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@
</a-list-item-meta>
<template #actions>
<a-link @click="onStar(item.id)">👍</a-link>
<a-link @click="useFirmware('https://k5.vicicode.com/wsapi/download?id=' + item.id)">{{$t('global.use')}}</a-link>
<a-link @click="useFirmware('https://k5.vicicode.com/wsapi/download?id=' + item.id + '&n=/' + item.title)">{{$t('global.use')}}</a-link>
</template>
</a-list-item>
</a-list>

View file

@ -20,7 +20,7 @@
<a-col :span="4" v-for="i in state.nowpage">
<t-card :style="{ width: '100%', marginBottom: '10px' }">
<template #cover>
<img style="height: 6.75vw;" :title="i.title" :src="'https://k5.vicicode.com/wsapi/download?id=' + i.id">
<img style="height: 6.75vw;" :title="i.title" :src="'https://k5.vicicode.com/wsapi/download?id=' + i.id + '&n=' + i.title + '.jpg'">
</template>
<template #footer>
<t-row :align="'middle'" justify="center" style="gap: 24px">
@ -30,7 +30,7 @@
</t-button>
</t-col>
<t-col flex="auto" style="display: inline-flex; justify-content: center">
<t-button variant="text" shape="square" @click="useImg('https://k5.vicicode.com/wsapi/download?id=' + i.id)">
<t-button variant="text" shape="square" @click="useImg('https://k5.vicicode.com/wsapi/download?id=' + i.id + '&n=' + i.title + '.jpg')">
<check-double-icon />
</t-button>
</t-col>