From cb6bb8bda31df75afe5a5bd50fe8e3ff6a3d34e2 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 15 四月 2024 09:31:39 +0800
Subject: [PATCH] 详情页bug修改,资源购买页添加骨架屏

---
 packageBookService/pages/bookServices/examination/questionSchedule/index.js |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/questionSchedule/index.js b/packageBookService/pages/bookServices/examination/questionSchedule/index.js
index 458b052..903a716 100644
--- a/packageBookService/pages/bookServices/examination/questionSchedule/index.js
+++ b/packageBookService/pages/bookServices/examination/questionSchedule/index.js
@@ -25,10 +25,19 @@
       type: String,
       value: ''
     },
-    isNight:{
-      type:Boolean,
-      value:false
+    isNight: {
+      type: Boolean,
+      value: false
+    },
+    subjectiveGrade: {
+      type: Number,
+      value: 0
+    },
+    subjectiveNum: {
+      type: Number,
+      value: 0
     }
+
   },
   created(
 
@@ -70,6 +79,9 @@
       this.setData({
         percentage: (this.data.ready / this.data.questionList.length) * 100
       })
+    },
+    'isNight': function (newValue) {
+      console.log('is', newValue);
     }
   },
   /**
@@ -90,13 +102,15 @@
         } else {
           return false
         }
-      } else {
+      } else if (typeof data == 'object') {
         const answer = data.find((item) => item.length > 0)
         if (answer) {
           return true
         } else {
           return false
         }
+      } else {
+        return false
       }
     },
     // // 鏍煎紡鍖栨椂闂�

--
Gitblit v1.9.1