add contest rank.

This commit is contained in:
2023-02-09 20:23:11 +08:00
parent 6f5a4d7e66
commit 5f39ec4fd2
9 changed files with 243 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
<script setup lang="ts">
import { ContestRank } from "~/utils/types"
defineProps<{ rank: ContestRank }>()
</script>
<template>
{{ rank.accepted_number }} /
<n-button text type="primary">{{ rank.submission_number }}</n-button>
</template>
<style scoped></style>