瀏覽代碼

feat: 默认练习模式修改

TIANYONG 1 年之前
父節點
當前提交
d4c9eb0f01
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 3 0
      src/page-instrument/header-top/index.tsx
  2. 3 0
      src/style.css

+ 3 - 0
src/page-instrument/header-top/index.tsx

@@ -275,6 +275,9 @@ export default defineComponent({
       /** 作业模式 end */
       if (state.defaultModeType == 1) {
         headTopData.handleChangeModeType("practise");
+        if (state.platform === IPlatform.PC || state.isPreView) {
+          headTopData.showBack = false;
+        }
       } else {
         if (query.modelType) {
           if (query.modelType === "practise") {

+ 3 - 0
src/style.css

@@ -180,4 +180,7 @@ body{
   100%{
       opacity: 1;
   }
+}
+html {
+  font-size: 64PX;
 }