Forráskód Böngészése

fix: 修正老师不能查看课件的问题

ChenYangfan 6 éve
szülő
commit
4a6b448e18

+ 2 - 2
src/App.vue

@@ -64,13 +64,13 @@ body {
 
 .title {
   font-size: 28px;
-  font-weight: 600;
+  font-weight: bold;
   margin-bottom: 24px;
 }
 
 .sub-title {
   font-size: 22px;
-  font-weight: 600;
+  font-weight: bold;
   margin-bottom: 12px;
 }
 

+ 1 - 1
src/components/CButton.vue

@@ -31,7 +31,7 @@ button {
   border-radius: 8px;
   font-size: 14px;
   padding: 0 16px;
-  font-weight: 600;
+  font-weight: bold;
 
   &:hover {
     background: darken($theme-blue, 5);

+ 1 - 1
src/components/SearchBar.vue

@@ -35,7 +35,7 @@ export default {
 input {
   box-sizing: border-box;
   font-size: 16px;
-  font-weight: 600;
+  font-weight: bold;
   color: #3a4a5a;
   background: $input-background-color;
   border-radius: 24px;

+ 3 - 1
src/views/teacher/components/TeacherSlideDetail.vue

@@ -25,12 +25,14 @@ import { getSlideUrl, modifySlideState, removeSlide } from '@/server/slide'
 import { SET_SLIDE_INFO, SET_SRC } from '@/store/types/pdf-types'
 import getSlideNextState from '@/utils/get-slide-next-state'
 import SlideDetail from '@/components/SlideDetail'
+import slideStateTranslation from '@/server/enums/slide-state-translation'
 
 export default {
   components: { BackTitle, CButton, TabSideComponent, SlideDetail },
   data () {
     return {
-      slideUrl: ''
+      slideUrl: '',
+      slideStateTranslation
     }
   },
   computed: {