diff --git a/.idea/deno.xml b/.idea/deno.xml new file mode 100644 index 0000000..b03feb5 --- /dev/null +++ b/.idea/deno.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/application/app.vue b/application/app.vue index 734c653..2f29ce4 100644 --- a/application/app.vue +++ b/application/app.vue @@ -1,15 +1,26 @@ diff --git a/application/assets/css/index.css b/application/assets/css/index.css index 4d646cc..4ddd86d 100644 --- a/application/assets/css/index.css +++ b/application/assets/css/index.css @@ -20,4 +20,9 @@ code, pre { pre { border-radius: 4px; +} + +a { + color: #c49e55; + text-decoration: none; } \ No newline at end of file diff --git a/application/bun.lockb b/application/bun.lockb index f6040fb..a0515e2 100755 Binary files a/application/bun.lockb and b/application/bun.lockb differ diff --git a/application/components/problem/preview/program.vue b/application/components/problem/preview/program.vue new file mode 100644 index 0000000..ae84ac0 --- /dev/null +++ b/application/components/problem/preview/program.vue @@ -0,0 +1,21 @@ + + + \ No newline at end of file diff --git a/application/package.json b/application/package.json index 32024a1..73eaa36 100644 --- a/application/package.json +++ b/application/package.json @@ -26,6 +26,7 @@ "@ibm/plex": "^6.3.0", "@nuxtjs/mdc": "^0.2.8", "@supabase/supabase-js": "^2.39.0", + "highlight.js": "^11.9.0", "prismjs": "^1.29.0" } } diff --git a/application/pages/challenges/[id].vue b/application/pages/challenges/[id].vue index 5ec251a..72c1805 100644 --- a/application/pages/challenges/[id].vue +++ b/application/pages/challenges/[id].vue @@ -12,17 +12,52 @@ -
+
-
+ + +
+
+
状态
+
{{ challenge?.status?.replaceAll("-", " ") }}
+
+
+
问题
+
+ + #{{ challenge?.problem }} | {{ problem?.title }} + +
+
+
+
答案
+ +
+ +
+
+
+
+
结果
+ +
+ +
+
+