From a76b2f9bc98b002365b6d20fa034445d72d92e42 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 18 Mar 2025 20:05:17 +0800 Subject: [PATCH] update --- public/tutorial/4/README.md | 10 ++++++---- src/components/Corner.vue | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/public/tutorial/4/README.md b/public/tutorial/4/README.md index 60b35aa..be7c576 100644 --- a/public/tutorial/4/README.md +++ b/public/tutorial/4/README.md @@ -1,18 +1,20 @@ -## 盒模型(3)使用浏览器开发者工具调试HTML和CSS +# 盒模型(3) + +使用浏览器开发者工具调试HTML和CSS 打开[测试网页](https://web.xuyue.cc/tutorial/2/demo.html),点击 F12 或者 ctrl+shift+c 打开浏览器开发者工具,在这里可以看到前端的所有代码(HTML+CSS+JS) ![1](/tutorial/4/image.png) -### 查看 HTML +## 查看 HTML 演示... -### 查看 CSS +## 查看 CSS 演示... -### 查看盒模型 +## 查看盒模型 演示... diff --git a/src/components/Corner.vue b/src/components/Corner.vue index 23750ff..4f76f7c 100644 --- a/src/components/Corner.vue +++ b/src/components/Corner.vue @@ -34,7 +34,7 @@ import { useMessage } from "naive-ui" import { Icon } from "@iconify/vue" import { authed, roleNormal, roleSuper, user } from "../store/user" import { loginModal } from "../store/modal" -import { show, tutorialSize } from "../store/tutorial" +import { show, tutorialSize, step } from "../store/tutorial" import { taskId } from "../store/task" import { html, css, js } from "../store/editors" import { Account, Submission } from "../api" @@ -95,7 +95,7 @@ function showTutorial() { function clickMenu(name: string) { switch (name) { case "dashboard": - router.push({ name: "user-manage", params: { page: 1 } }) + router.push({ name: "tutorial", params: { display: step.value } }) break case "admin": window.open(ADMIN_URL)