EmmaBaBa пре 4 месеци
родитељ
комит
e58de69b1b
3 измењених фајлова са 10 додато и 9 уклоњено
  1. 4 0
      src/views/course/courses.vue
  2. 5 8
      src/views/education/wrongBook.vue
  3. 1 1
      src/views/officialweb.vue

+ 4 - 0
src/views/course/courses.vue

@@ -714,6 +714,10 @@ export default {
 
 <style lang="scss" scoped>
 
+::v-deep th {
+  color: #303133 !important;
+}
+
 .el-dialog__header {
     background-color: #477efa !important;
     color: aliceblue !important;

+ 5 - 8
src/views/education/wrongBook.vue

@@ -384,21 +384,18 @@
 <script>
 import * as echarts from 'echarts'
 
-import store from '@/store'
+import UserAvatar from '@/assets/img/userImg.png'
 
 export default {
   name: 'learningProfile',
-  mounted(){
-    console.log(store)
-  },
   data() {
     return {
       studentInfo: {
-        name: store.state.user.userInfo.name,
-        studentId: store.state.user.userInfo.mobile,
-        grade: store.state.user.userInfo.gradeInfoName,
+        name: this.$store.state.user.userInfo.name,
+        studentId: this.$store.state.user.userInfo.mobile,
+        grade: this.$store.state.user.userInfo.gradeInfoName,
         enrollmentDate: '2021-09-01',
-        avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
+        avatar: UserAvatar,
         totalStudyHours: 2.5,
         studyDays: 3
       },

+ 1 - 1
src/views/officialweb.vue

@@ -714,7 +714,7 @@ th, td {
   border-bottom: 1px solid var(--light-gray);
 }
 
-th {
+.evaluation-table th {
   background-color: var(--primary);
   color: white;
   font-weight: 600;