Parcourir la source

feat: 默认练习模式修改

TIANYONG il y a 1 an
Parent
commit
d4c9eb0f01
2 fichiers modifiés avec 6 ajouts et 0 suppressions
  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;
 }