refactor(Home): 修改PR关卡展示图标
This commit is contained in:
BIN
frontend/src/assets/materials/PR-A.png
Normal file
BIN
frontend/src/assets/materials/PR-A.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
BIN
frontend/src/assets/materials/PR-B.png
Normal file
BIN
frontend/src/assets/materials/PR-B.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
frontend/src/assets/materials/PR-C.png
Normal file
BIN
frontend/src/assets/materials/PR-C.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
BIN
frontend/src/assets/materials/PR-D.png
Normal file
BIN
frontend/src/assets/materials/PR-D.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
@@ -125,15 +125,6 @@
|
|||||||
|
|
||||||
<!-- 资源收集关卡 -->
|
<!-- 资源收集关卡 -->
|
||||||
<a-card title="今日开放资源收集关卡" class="resource-card" :loading="loading">
|
<a-card title="今日开放资源收集关卡" class="resource-card" :loading="loading">
|
||||||
<template #extra>
|
|
||||||
<a-button type="text" @click="refreshActivity" :loading="loading">
|
|
||||||
<template #icon>
|
|
||||||
<ReloadOutlined />
|
|
||||||
</template>
|
|
||||||
刷新
|
|
||||||
</a-button>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<div v-if="error" class="error-message">
|
<div v-if="error" class="error-message">
|
||||||
<a-alert :message="error" type="error" show-icon closable @close="error = ''" />
|
<a-alert :message="error" type="error" show-icon closable @close="error = ''" />
|
||||||
</div>
|
</div>
|
||||||
@@ -245,7 +236,12 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, computed } from 'vue'
|
import { ref, onMounted, computed } from 'vue'
|
||||||
import { message } from 'ant-design-vue'
|
import { message } from 'ant-design-vue'
|
||||||
import { ReloadOutlined, ClockCircleOutlined, UserOutlined, BellOutlined } from '@ant-design/icons-vue'
|
import {
|
||||||
|
ReloadOutlined,
|
||||||
|
ClockCircleOutlined,
|
||||||
|
UserOutlined,
|
||||||
|
BellOutlined,
|
||||||
|
} from '@ant-design/icons-vue'
|
||||||
import { Service } from '@/api/services/Service'
|
import { Service } from '@/api/services/Service'
|
||||||
import NoticeModal from '@/components/NoticeModal.vue'
|
import NoticeModal from '@/components/NoticeModal.vue'
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
@@ -444,8 +440,8 @@ const fetchActivityData = async () => {
|
|||||||
|
|
||||||
const refreshActivity = async () => {
|
const refreshActivity = async () => {
|
||||||
await fetchActivityData()
|
await fetchActivityData()
|
||||||
if (!error.value) {
|
if (error.value) {
|
||||||
message.success('活动数据已刷新')
|
message.error(error.value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user