diff --git a/src/oj/ai/components/AI.vue b/src/oj/ai/components/AI.vue index 3decbce..a6865fa 100644 --- a/src/oj/ai/components/AI.vue +++ b/src/oj/ai/components/AI.vue @@ -15,7 +15,7 @@ @click="handleAnalyze" > 开始分析 diff --git a/src/oj/class/pk.vue b/src/oj/class/pk.vue index 64392b3..e381370 100644 --- a/src/oj/class/pk.vue +++ b/src/oj/class/pk.vue @@ -796,7 +796,7 @@ const radarChartOptions = { style="margin-top: 26px" > AI分析 diff --git a/src/oj/problem/components/Form.vue b/src/oj/problem/components/Form.vue index 91260c4..545033f 100644 --- a/src/oj/problem/components/Form.vue +++ b/src/oj/problem/components/Form.vue @@ -49,7 +49,7 @@ const codeStore = useCodeStore() const problemStore = useProblemStore() const { problem, languages } = storeToRefs(problemStore) -const { isMobile, isDesktop } = useBreakpoints() +const { isDesktop } = useBreakpoints() const syncEnabled = ref(false) // 用户点击按钮后的意图状态(想要开启/关闭) const statisticPanel = ref(false) @@ -65,12 +65,6 @@ const showSyncFeature = computed( !isContestMode.value, ) -const menu = computed(() => [ - { label: "去自测猫", key: "goTestCat", show: isMobile.value }, - { label: "复制代码", key: "copy" }, - { label: "重置代码", key: "reset" }, -]) - const showGoSubmissionButton = computed(() => { if (isContestMode.value) return true else if (userStore.isAdminRole) return true @@ -133,15 +127,6 @@ const goEdit = () => { window.open(router.resolve(url).href, "_blank") } -const handleMenuSelect = (key: string) => { - const actions: Record void> = { - reset, - copy, - goTestCat, - } - actions[key]?.() -} - const toggleSync = () => { syncEnabled.value = !syncEnabled.value emit("toggleSync", syncEnabled.value) @@ -174,41 +159,43 @@ onMounted(() => { - - 提交信息 - + /> - - {{ isDesktop ? "统计信息" : "统计" }} - + /> - - 自测猫 - + @@ -217,8 +204,8 @@ onMounted(() => {

- + 描述

@@ -271,7 +271,7 @@ function type(status: ProblemStatus) {

- + 输入

@@ -283,7 +283,7 @@ function type(status: ProblemStatus) {

- + 输出

@@ -296,7 +296,7 @@ function type(status: ProblemStatus) {

- + 提示

@@ -311,7 +311,7 @@ function type(status: ProblemStatus) {

- + 要求

@@ -336,7 +336,12 @@ function type(status: ProblemStatus) {
-

例子 {{ index + 1 }}

+

+ + + 例子 {{ index + 1 }} + +

-

来源

+

+ + + 来源 + +

- + 相似题目推荐

diff --git a/src/oj/problem/components/ProblemStatus.vue b/src/oj/problem/components/ProblemStatus.vue index f1334df..f338db4 100644 --- a/src/oj/problem/components/ProblemStatus.vue +++ b/src/oj/problem/components/ProblemStatus.vue @@ -16,8 +16,8 @@ const color = computed(() => { diff --git a/src/oj/problem/components/SubmissionResult.vue b/src/oj/problem/components/SubmissionResult.vue index 9cdf439..e4fd221 100644 --- a/src/oj/problem/components/SubmissionResult.vue +++ b/src/oj/problem/components/SubmissionResult.vue @@ -175,7 +175,7 @@ const columns: DataTableColumn[] = [ - + {{ rule.description }} diff --git a/src/oj/problemset/components/ProblemSetHeader.vue b/src/oj/problemset/components/ProblemSetHeader.vue index a7ea15c..cfccd7a 100644 --- a/src/oj/problemset/components/ProblemSetHeader.vue +++ b/src/oj/problemset/components/ProblemSetHeader.vue @@ -99,7 +99,7 @@ function handleJoin() { 已加入 diff --git a/src/oj/rank/list.vue b/src/oj/rank/list.vue index 0438ac0..66576ba 100644 --- a/src/oj/rank/list.vue +++ b/src/oj/rank/list.vue @@ -747,7 +747,7 @@ watch( @click="analyzeSingleClassWithAI" > AI分析 diff --git a/src/oj/submission/components/ButtonWithSearch.vue b/src/oj/submission/components/ButtonWithSearch.vue index e395380..5579dbb 100644 --- a/src/oj/submission/components/ButtonWithSearch.vue +++ b/src/oj/submission/components/ButtonWithSearch.vue @@ -40,7 +40,7 @@ function filterClass() { diff --git a/src/oj/submission/components/FlowchartScoreDetail.vue b/src/oj/submission/components/FlowchartScoreDetail.vue index a473782..4b25283 100644 --- a/src/oj/submission/components/FlowchartScoreDetail.vue +++ b/src/oj/submission/components/FlowchartScoreDetail.vue @@ -11,7 +11,7 @@ @click="showLargeImage = true" > 查看大图 @@ -28,7 +28,7 @@
退出大图