chengjie лет назад: 4
Родитель
Сommit
15f1e44cb0
4 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      app.js
  2. 1 1
      pages/test/item.js
  3. 1 1
      pages/test/report.js
  4. 1 1
      utils/constant.js

+ 1 - 1
app.js

@@ -1,6 +1,6 @@
1 1
 App({
2 2
   globalData: {
3
-    Version: "2.1.8",
3
+    Version: "2.1.9",
4 4
     IsProduction: true,
5 5
     ShareTitle: "高效学习从秒过开始",
6 6
     SharePath: "pages/index/index",

+ 1 - 1
pages/test/item.js

@@ -155,7 +155,7 @@ Page({
155 155
           var taskInfo = list[k];
156 156
           
157 157
           taskInfo.TagWidth=336;
158
-          if (taskInfo.Word.length>9)
158
+          if (taskInfo.Word.length>8)
159 159
             taskInfo.FontSize=48;
160 160
           else
161 161
             taskInfo.FontSize=64;

+ 1 - 1
pages/test/report.js

@@ -171,7 +171,7 @@ Page({
171 171
           var obj = {};
172 172
           obj.Field1 = item.Content[1].Content;
173 173
           obj.Field2 = item.Content[2].Content;
174
-          if (item.Content[3].Content)
174
+          if (item.Content[3] && item.Content[3].Content)
175 175
             obj.Field3 = item.Content[3].Content;
176 176
           else
177 177
             obj.Field3="";

+ 1 - 1
utils/constant.js

@@ -342,7 +342,7 @@ module.exports = {
342 342
       Image: "../images/examine_subject_a005.png"
343 343
     }, {
344 344
       ID: 29,
345
-      Type: "Shizi",
345
+      Type: "Shici",
346 346
       Name: "语文古诗文",
347 347
       Name2: "上学期",
348 348
       Finish: 0,