feat: 立即开始停止学习并整理学时历史与界面
This commit is contained in:
@@ -120,29 +120,29 @@ onMounted(refresh);
|
||||
|
||||
<template>
|
||||
<section class="page list-page">
|
||||
<header class="page-head">
|
||||
<h2 id="exam-heading">我的考试</h2>
|
||||
<span class="board-tools">
|
||||
<span v-if="state === 'loading'" class="spin" role="status" aria-label="正在获取"></span>
|
||||
<n-tooltip placement="bottom">
|
||||
<template #trigger>
|
||||
<n-button
|
||||
class="home-refresh"
|
||||
quaternary
|
||||
circle
|
||||
size="small"
|
||||
aria-label="刷新"
|
||||
:loading="refreshing"
|
||||
@click="refresh"
|
||||
>
|
||||
<template #icon><n-icon><RefreshOutline /></n-icon></template>
|
||||
</n-button>
|
||||
</template>
|
||||
刷新
|
||||
</n-tooltip>
|
||||
</span>
|
||||
</header>
|
||||
<section class="board" aria-labelledby="exam-heading" :aria-busy="state === 'loading'">
|
||||
<h3>
|
||||
<span id="exam-heading">我的考试</span>
|
||||
<span class="board-tools">
|
||||
<span v-if="state === 'loading'" class="spin" role="status" aria-label="正在获取"></span>
|
||||
<n-tooltip placement="bottom">
|
||||
<template #trigger>
|
||||
<n-button
|
||||
class="home-refresh"
|
||||
quaternary
|
||||
circle
|
||||
size="small"
|
||||
aria-label="刷新数据"
|
||||
:loading="refreshing"
|
||||
@click="refresh"
|
||||
>
|
||||
<template #icon><n-icon><RefreshOutline /></n-icon></template>
|
||||
</n-button>
|
||||
</template>
|
||||
刷新数据
|
||||
</n-tooltip>
|
||||
</span>
|
||||
</h3>
|
||||
<div class="rail" tabindex="0">
|
||||
<n-alert v-if="state === 'error'" class="section-error" type="error">{{ errorText }}</n-alert>
|
||||
<p v-else-if="items && !items.length" class="rail-empty">没有考试</p>
|
||||
|
||||
Reference in New Issue
Block a user