chengjie 6 years ago
parent
commit
2366505ef0

File diff suppressed because it is too large
+ 48 - 48
app.js


+ 1 - 0
app.json

@@ -49,6 +49,7 @@
49 49
     "pages/other/tips",
50 50
     "pages/other/help",
51 51
     "pages/other/paycustom",
52
+    "pages/other/annualreport",
52 53
     "pages/other/pay"
53 54
     
54 55
   ],

BIN
pages/images/examine_subject_a007.png


BIN
pages/images/examine_subject_b001.png


BIN
pages/images/examine_subject_b002.png


BIN
pages/images/examine_subject_b003.png


BIN
pages/images/universalpic_words_blue_30x30.png


+ 31 - 22
pages/main/default.js

@@ -71,25 +71,34 @@ Page({
71 71
               }
72 72
             }
73 73
             else if (app.globalData.userInfo.IsMember && app.globalData.userInfo.IsShow == 1) {
74
-              var productServiceTime = common.formatDateCHS(common.formatTime(new Date(app.globalData.userInfo.ProductServiceTime)));
75
-              var today = common.formatDateCHS(common.formatTime(new Date()));
76
-              if (productServiceTime < today) {
77
-                wx.redirectTo({
78
-                  url: '../other/userbook',
79
-                });
80
-              }
81
-              else if (app.globalData.userInfo.ClassDayNumber < 0) {
82
-                wx.redirectTo({
83
-                  url: '../other/userbook',
84
-                });
85
-              }
86
-              else if (app.globalData.GotoUrl) {
87
-                //console.log(app.globalData.GotoUrl);
74
+              if (app.globalData.GotoUrl.indexOf("../other/pay?PayType=6")>=0){
88 75
                 wx.navigateTo({
89 76
                   url: app.globalData.GotoUrl,
90 77
                 });
91 78
                 app.globalData.GotoUrl = "";
92 79
               }
80
+              else{
81
+                var productServiceTime = common.formatDateCHS(common.formatTime(new Date(app.globalData.userInfo.ProductServiceTime)));
82
+                var today = common.formatDateCHS(common.formatTime(new Date()));
83
+                if (productServiceTime < today) {
84
+                  wx.redirectTo({
85
+                    url: '../other/userbook',
86
+                  });
87
+                }
88
+                else if (app.globalData.userInfo.ClassDayNumber < 0) {
89
+                  wx.redirectTo({
90
+                    url: '../other/userbook',
91
+                  });
92
+                }
93
+                else if (app.globalData.GotoUrl) {
94
+                  //console.log(app.globalData.GotoUrl);
95
+                  wx.navigateTo({
96
+                    url: app.globalData.GotoUrl,
97
+                  });
98
+                  app.globalData.GotoUrl = "";
99
+                }
100
+              }
101
+              
93 102
             }
94 103
             else if (app.globalData.userInfo.IsShow == 0) {
95 104
               main.buildInitData(function () { });
@@ -267,15 +276,15 @@ Page({
267 276
   },
268 277
   checkMemory: function () {
269 278
     wx.onMemoryWarning(function () {
270
-      wx.showModal({
271
-        title: '手机内存不足',
272
-        content: '请先清理内存再用秒过。内存不足会导致小程序异常或被迫退出。',
273
-        showCancel: false,
274
-        confirmText: '知道了',
275
-        success: function (res) {
279
+      // wx.showModal({
280
+      //   title: '手机内存不足',
281
+      //   content: '请先清理内存再用秒过。内存不足会导致小程序异常或被迫退出。',
282
+      //   showCancel: false,
283
+      //   confirmText: '知道了',
284
+      //   success: function (res) {
276 285
 
277
-        }
278
-      });
286
+      //   }
287
+      // });
279 288
     });
280 289
   },
281 290
   onShareAppMessage: function () {

+ 1 - 1
pages/main/detail.wxss

@@ -239,6 +239,7 @@
239 239
 
240 240
 .panelItem .textNormal {
241 241
   min-height: 50rpx;
242
+  overflow:hidden; 
242 243
 }
243 244
 
244 245
 .panelItem .textNormal2 {
@@ -595,7 +596,6 @@
595 596
   text-align: center;
596 597
 }
597 598
 
598
-
599 599
 .Canvas{
600 600
   width: 600px; 
601 601
   height: 360px;

+ 5 - 1
pages/main/searchCard.js

@@ -52,7 +52,11 @@ Page({
52 52
       url: '../other/userbook',
53 53
     })
54 54
   },
55
-
55
+  gotoAnnualReport: function (e) {
56
+    wx.navigateTo({
57
+      url: '../other/annualreport',
58
+    })
59
+  },
56 60
   getList: function (e) {
57 61
     wx.showLoading({
58 62
       title: '请稍候',

+ 12 - 1
pages/main/searchCard.wxml

@@ -47,7 +47,7 @@
47 47
     <view class='panelBtn FlexColumn'>
48 48
       <view class="panelItem FlexRow" bindtap="getList" data-id="1">
49 49
         <view class="panelItem1">
50
-          任务清单
50
+          今天剩余任务
51 51
         </view>
52 52
         <view class="panelItem2 FlexRow">
53 53
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
@@ -66,6 +66,17 @@
66 66
       </view>
67 67
     </view>
68 68
     <view class='lineFooter'></view>
69
+    <view class='panelBtn FlexColumn'>
70
+      <view class="panelItem FlexRow" bindtap="gotoAnnualReport">
71
+        <view class="panelItem1">
72
+          2019年度报告
73
+        </view>
74
+        <view class="panelItem2 FlexRow">
75
+          <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
76
+        </view>
77
+      </view>
78
+    </view>
79
+    <view class='lineFooter'></view>
69 80
   </view>
70 81
   <view class='panelBottom FlexColumn'>
71 82
 

+ 2 - 1
pages/main/searchCardList.js

@@ -7,7 +7,8 @@ var arrOrder = [
7 7
   {},
8 8
   { Name: "最近添加", Value: "ac.MiaoguoCardID desc", CSS: "numberContainerFooter1121Select" },
9 9
   { Name: "较早添加", Value: "ac.MiaoguoCardID asc" },
10
-  { Name: "练习次数", Value: "ac.LearnNumber desc,ac.MiaoguoCardID desc" },
10
+  { Name: "练习较多", Value: "ac.LearnNumber desc,ac.MiaoguoCardID desc" },
11
+  { Name: "练习较少", Value: "ac.LearnNumber,ac.MiaoguoCardID" },
11 12
   { Name: "最近练习", Value: "ac.LastTime desc" },
12 13
 ];
13 14
 

+ 3 - 2
pages/main/searchCardList.wxml

@@ -23,6 +23,7 @@
23 23
   <block wx:if="{{List.length>0}}">
24 24
     <view style='width:100%;height:120rpx;margin-top:0rpx;' wx:if="{{!Search}}"></view>
25 25
     <view style='width:100%;height:250rpx;margin-top:0rpx;' wx:if="{{Search}}"></view>
26
+    <view class="remind" wx:if="{{IsToday}}">内容仅供参考。任务由系统实时生成,题卡并不固定。</view>
26 27
     <block wx:for="{{List}}" wx:key="index">
27 28
       <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
28 29
         <view class="lineWidth720"></view>
@@ -39,8 +40,8 @@
39 40
             </view>
40 41
             <view class="panelItem2 FlexColumn">
41 42
               <view wx:if="{{OrderType<=2}}">{{item.CreateTimeStr}}</view>
42
-              <view wx:if="{{OrderType==3}}">{{item.LearnNumber}}次</view>
43
-              <view wx:if="{{OrderType==4}}">{{item.LastTimeStr}}</view>
43
+              <view wx:if="{{OrderType==3 || OrderType==4}}">{{item.LearnNumber}}次</view>
44
+              <view wx:if="{{OrderType==5}}">{{item.LastTimeStr}}</view>
44 45
               <view class='panelItem21'>
45 46
                 <image class="universalpic_fav_default_gray_26x24" src='../images/universalpic_fav_default_gray_26x24.png' wx:if="{{item.IsCollect==1}}" />
46 47
               </view>

+ 9 - 0
pages/main/searchCardList.wxss

@@ -61,6 +61,15 @@
61 61
   height: 30rpx;
62 62
 }
63 63
 
64
+.remind{
65
+  width:100%;
66
+  text-align: center;
67
+  margin-bottom: 20rpx;
68
+  font-size: 24rpx;
69
+  font-weight: 400;
70
+  color:#787878;
71
+}
72
+
64 73
 .ScrollView {
65 74
   width: 100%;
66 75
   height: 136rpx;

+ 4 - 2
pages/main/searchWeb2.wxml

@@ -275,8 +275,10 @@
275 275
 
276 276
   <!-- 英文原文 -->
277 277
   <block wx:if="{{Result.ENG.Word && Result.ENG.Word.length>0 && !Result.CHN.HanZi}}">
278
-    <view class="panelTitle FlexRow">
279
-      <view class="panelTitle1">搜索内容</view>
278
+    <view class="panelTitle0 panelTitle FlexColumn">
279
+      <view class="panelTitle3">搜索内容</view>
280
+      <view class="panelTitle4" wx:if="{{Result.ENG.WordFrequency}}">该单词在{{Result.ENG.WordFrequency.Max}}常用词汇范围内</view>
281
+      <view style="height:30rpx"></view>
280 282
     </view>
281 283
     <view class="panelItem FlexRow">
282 284
       <view class="{{CSS.ENG_Word.Css1}} panelItemFrame FlexRow" bindtap='getInputData' data-type="normal" data-content="{{Result.ENG.Word}}" data-css="ENG_Word">

+ 16 - 0
pages/main/searchWeb2.wxss

@@ -4,6 +4,11 @@
4 4
   justify-content: space-between;
5 5
 }
6 6
 
7
+.panelTitle0 {
8
+  justify-content: flex-start;
9
+  align-items: flex-start;
10
+}
11
+
7 12
 .panelTitle .panelTitle1 {
8 13
   font-size: 32rpx;
9 14
   margin-left: 30rpx;
@@ -23,6 +28,17 @@
23 28
   border:1rpx solid #9B9B9B;
24 29
 }
25 30
 
31
+.panelTitle .panelTitle3 {
32
+  font-size: 32rpx;
33
+  margin-left: 30rpx;
34
+}
35
+
36
+.panelTitle .panelTitle4 {
37
+  font-size: 24rpx;
38
+  color:#787878;
39
+  margin-left: 30rpx;
40
+}
41
+
26 42
 .panelItem {
27 43
   width: 100%;
28 44
   justify-content: flex-start;

+ 34 - 0
pages/other/annualreport.js

@@ -0,0 +1,34 @@
1
+import common from '../../utils/util';
2
+import main from '../../utils/main';
3
+
4
+const app = getApp();
5
+
6
+
7
+Page({
8
+  data: {
9
+    ImagePath: app.globalData.uploadImageUrl,
10
+  },
11
+  onLoad: function (options) {
12
+    var that = this;
13
+    
14
+    that.setData({
15
+      Containnerheight: main.getWindowHeight(),
16
+    });
17
+
18
+    var userid=app.globalData.userInfo.UserID;
19
+    main.getData("GetAnnualReport?UserID=" + userid, function (data) {
20
+      if (data){
21
+        that.setData({
22
+          Data:data,
23
+        });
24
+      }
25
+    });
26
+  },
27
+  onShareAppMessage: function () {
28
+    return {
29
+      title: app.globalData.ShareTitle,
30
+      path: app.globalData.SharePath + '?LessonID=all&UserID=' + app.globalData.userInfo.UserID,
31
+      imageUrl: app.globalData.ShareImage,
32
+    }
33
+  },
34
+})

+ 7 - 0
pages/other/annualreport.json

@@ -0,0 +1,7 @@
1
+{
2
+  "navigationBarTitleText": "年度报告",
3
+  "navigationBarBackgroundColor": "#F9B65F",
4
+  "navigationBarTextStyle": "white",
5
+  "backgroundColorBottom":"#D85458",
6
+  "backgroundColorTop": "#F9B65F"
7
+}

+ 128 - 0
pages/other/annualreport.wxml

@@ -0,0 +1,128 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+	<image src="{{ImagePath}}web/report_20191231_01.png" class="panelTop" />
3
+	<view class="panelMain FlexColumn">
4
+		<view class="text1">自{{Data.StartDate}}以来</view>
5
+		<view class="text2">年度报告的数据统计截止于{{Data.EndDate}}</view>
6
+		<view class="line1"></view>
7
+		<view class="panelItem FlexRow">
8
+			<view class="text3">勤勉力已领先</view>
9
+			<view class="text4">{{Data.Hard}}的用户</view>
10
+		</view>
11
+		<view class="line1"></view>
12
+		<view class="panelItem FlexRow">
13
+			<view class="text3">练习天数</view>
14
+			<view class="text4">{{Data.DayNum}}天</view>
15
+		</view>
16
+		<view class="line1"></view>
17
+		<view class="panelItem FlexRow">
18
+			<view class="text3">回想次数</view>
19
+			<view class="text4">{{Data.RememberNum}}次</view>
20
+		</view>
21
+		<view class="text5">所有题卡总练习次数</view>
22
+		<view class="line1"></view>
23
+		<view class="panelItem FlexRow">
24
+			<view class="text3">群接力</view>
25
+			<view class="text4">{{Data.ShareNum}}次</view>
26
+		</view>
27
+		<view class="line1"></view>
28
+		<view class="text6">练习时间</view>
29
+		<view class="line1"></view>
30
+		<view class="panelItem FlexRow">
31
+			<view class="text3">总用时</view>
32
+			<view class="text4">{{Data.PracticeTime}}</view>
33
+		</view>
34
+		<view class="line1"></view>
35
+		<view class="text7">有练习的月份</view>
36
+		<block wx:for="{{Data.PracticeMonth}}" wx:key="index">
37
+			<view class="panelItem FlexRow">
38
+				<view class="text3">{{item.MonthName}}</view>
39
+				<view class="text4">{{item.PracticeTime}}分钟</view>
40
+			</view>
41
+			<view class="line1"></view>
42
+		</block>
43
+		<view class="text6">题卡健康</view>
44
+		<view class="line1"></view>
45
+		<view class="panelItem FlexRow">
46
+			<view class="text3">题卡总数</view>
47
+			<view class="text4">{{Data.CardNum}}张</view>
48
+		</view>
49
+		<view class="line1"></view>
50
+		<view class="panelItem FlexRow">
51
+			<view class="text3">新题卡</view>
52
+			<view class="text4">{{Data.NewCardNum}}张</view>
53
+		</view>
54
+		<view class="line1"></view>
55
+		<view class="panelItem FlexRow">
56
+			<view class="text3">没有添加题卡的月份</view>
57
+			<view class="text4">{{Data.CardNull}}</view>
58
+		</view>
59
+		<view class="line1"></view>
60
+		<view class="text6">记忆评价</view>
61
+		<view class="panelItem FlexRow">
62
+			<view class="text3">点击红色按键占比</view>
63
+			<view class="text4">{{Data.MemoryEvaluation.Red}}</view>
64
+		</view>
65
+		<view class="line1"></view>
66
+		<view class="panelItem FlexRow">
67
+			<view class="text3">点击黄色按键占比</view>
68
+			<view class="text4">{{Data.MemoryEvaluation.Yellow}}</view>
69
+		</view>
70
+		<view class="line1"></view>
71
+		<view class="panelItem FlexRow">
72
+			<view class="text3">点击绿色按键占比</view>
73
+			<view class="text4">{{Data.MemoryEvaluation.Green}}</view>
74
+		</view>
75
+		<view class="line1"></view>
76
+		<view class="panelItem FlexRow">
77
+			<view class="text3">点击蓝色按键占比</view>
78
+			<view class="text4">{{Data.MemoryEvaluation.Blue}}</view>
79
+		</view>
80
+		<view class="line1"></view>
81
+		<view class="panelItem FlexRow">
82
+			<view class="text3">搁置(未做评价)</view>
83
+			<view class="text4">{{Data.MemoryEvaluation.Shelve}}</view>
84
+		</view>
85
+		<view class="line1"></view>
86
+		<view class="text6 FlexRow">
87
+			<image src="{{ImagePath}}web/universalpic_help_orange_26x26.png" class="help" />
88
+			<view>急需了解的知识</view>
89
+		</view>
90
+		<view class="panelItem FlexRow">
91
+			<view class="text3">题卡建议数量</view>
92
+			<view class="text4">
93
+				<image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray" />
94
+			</view>
95
+		</view>
96
+		<view class="line1"></view>
97
+		<view class="panelItem FlexRow">
98
+			<view class="text3">1分钟做完和0任务量的处理</view>
99
+			<view class="text4">
100
+				<image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray" />
101
+			</view>
102
+		</view>
103
+		<view class="line1"></view>
104
+		<view class="panelItem FlexRow">
105
+			<view class="text3">建议把记忆评价命名方式改为“再现间隔”</view>
106
+			<view class="text4">
107
+				<image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray" />
108
+			</view>
109
+		</view>
110
+		<view class="line1"></view>
111
+		<view class="panelItem FlexRow">
112
+			<view class="text3">过度点蓝的成因和危害</view>
113
+			<view class="text4">
114
+				<image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray" />
115
+			</view>
116
+		</view>
117
+		<view class="line1"></view>
118
+		<view class="panelItem FlexRow">
119
+			<view class="text3">什么是群接力</view>
120
+			<view class="text4">
121
+				<image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray" />
122
+			</view>
123
+		</view>
124
+		<view class="line1"></view>
125
+		<image src="{{ImagePath}}web/report_20191231_03.png" class="report_20191231_03" />
126
+		<view class="footer"></view>
127
+	</view>
128
+</view>

+ 99 - 0
pages/other/annualreport.wxss

@@ -0,0 +1,99 @@
1
+page{
2
+  background-color: #D85458;
3
+}
4
+.container{
5
+  width:100%;
6
+  background-image: linear-gradient(#F9B65F, #D85458);
7
+}
8
+
9
+.panelTop{
10
+  width:670rpx;
11
+  height:322rpx;
12
+  margin-top: 40rpx;
13
+}
14
+
15
+.panelMain{
16
+  width:670rpx;
17
+  background-color: #fff;
18
+  border-bottom-left-radius: 40rpx;
19
+  border-bottom-right-radius: 40rpx;
20
+  margin-bottom: 40rpx;
21
+}
22
+.panelMain .text1{
23
+  margin-top: 80rpx;
24
+  width:590rpx;
25
+  text-align: right;
26
+  font-size: 28rpx;
27
+  font-weight: 400;
28
+}
29
+.panelMain .text2{
30
+  width:590rpx;
31
+  text-align: right;
32
+  font-size: 20rpx;
33
+  font-weight: 500;
34
+  color:#787878;
35
+}
36
+.panelMain .line1{
37
+  width:590rpx;
38
+  height:1rpx;
39
+  background-color: rgba(167,158,152,0.4);
40
+  margin-top: 30rpx;
41
+}
42
+
43
+.panelMain .panelItem{
44
+  width:590rpx;
45
+  margin-top: 30rpx;
46
+  justify-content: space-between;
47
+}
48
+
49
+.panelMain .text3{
50
+  font-size: 28rpx;
51
+  font-weight: 400;
52
+}
53
+.panelMain .text4{
54
+  font-size: 28rpx;
55
+  font-weight: 500;
56
+  color:#FE6659;
57
+}
58
+.panelMain .text5{
59
+  width:590rpx;
60
+  font-size: 20rpx;
61
+  font-weight: 500;
62
+  color:#787878;
63
+}
64
+.panelMain .text6{
65
+  width:590rpx;
66
+  font-size: 32rpx;
67
+  font-weight: 500;
68
+  color:#F2905D;
69
+  margin-top: 50rpx;
70
+  justify-content: flex-start;
71
+}
72
+.panelMain .text7{
73
+  width:590rpx;
74
+  font-size: 28rpx;
75
+  font-weight: 400;
76
+  margin-top: 30rpx;
77
+}
78
+
79
+.help{
80
+  width:26rpx;
81
+  height:26rpx;
82
+  margin-right: 10rpx;
83
+}
84
+
85
+.universalpic_indicator_right_gray{
86
+  width:16rpx;
87
+  height:26rpx;
88
+}
89
+
90
+.report_20191231_03{
91
+  width:590rpx;
92
+  height:224rpx;
93
+  margin-top: 60rpx;
94
+}
95
+
96
+.footer{
97
+  width:590rpx;
98
+  height:60rpx;
99
+}

+ 1 - 1
pages/other/paycustom.js

@@ -60,7 +60,7 @@ Page({
60 60
     path += "&Price=" + that.data.Price;
61 61
     path += "&Remark=" + that.data.Remark;
62 62
     var time = common.formatTime(new Date());
63
-    //console.log(path);
63
+    console.log(path);
64 64
     return {
65 65
       title: "点开续费 "+time,
66 66
       path: path,

+ 52 - 12
pages/test/index.js

@@ -51,6 +51,7 @@ Page({
51 51
       GradeArr: [
52 52
         {
53 53
           Name: "一年级",
54
+          Name2: "语文一年级",
54 55
           Select: "Select",
55 56
           List: [
56 57
             {
@@ -74,6 +75,7 @@ Page({
74 75
         },
75 76
         {
76 77
           Name: "二年级",
78
+          Name2: "语文二年级",
77 79
           Select: "",
78 80
           List: [
79 81
             {
@@ -97,6 +99,7 @@ Page({
97 99
         },
98 100
         {
99 101
           Name: "三年级",
102
+          Name2: "语文三年级",
100 103
           Select: "",
101 104
           List: [
102 105
             {
@@ -118,12 +121,29 @@ Page({
118 121
             },
119 122
           ]
120 123
         },
124
+        {
125
+          Name: "四年级",
126
+          Name2: "语文四年级",
127
+          Select: "",
128
+          List: [
129
+            {
130
+              ID: 7,
131
+              Type: "Shizi",
132
+              Name: "语文识字",
133
+              Name2: "上学期",
134
+              Finish: 0,
135
+              Total: 16,
136
+              Image: "../images/examine_subject_a007.png"
137
+            },
138
+          ]
139
+        },
121 140
         // {
122
-        //   Name: "四年级",
141
+        //   Name: "五年级",
142
+        //   Name2: "语文五年级",
123 143
         //   Select: "",
124 144
         //   List: [
125 145
         //     {
126
-        //       ID: 7,
146
+        //       ID: 9,
127 147
         //       Type: "Shizi",
128 148
         //       Name: "语文识字",
129 149
         //       Name2: "上学期",
@@ -134,11 +154,12 @@ Page({
134 154
         //   ]
135 155
         // },
136 156
         // {
137
-        //   Name: "五年级",
157
+        //   Name: "六年级",
158
+        //   Name2: "语文六年级",
138 159
         //   Select: "",
139 160
         //   List: [
140 161
         //     {
141
-        //       ID: 9,
162
+        //       ID: 11,
142 163
         //       Type: "Shizi",
143 164
         //       Name: "语文识字",
144 165
         //       Name2: "上学期",
@@ -149,20 +170,39 @@ Page({
149 170
         //   ]
150 171
         // },
151 172
         // {
152
-        //   Name: "六年级",
173
+        //   Name: "英语常用词",
174
+        //   Name2: "英语常用词",
153 175
         //   Select: "",
154 176
         //   List: [
155 177
         //     {
156
-        //       ID: 11,
157
-        //       Type: "Shizi",
158
-        //       Name: "语文识字",
159
-        //       Name2: "上学期",
178
+        //       ID: 13,
179
+        //       Type: "Word",
180
+        //       Name: "常用词1",
181
+        //       Name2: "词汇1~220",
160 182
         //       Finish: 0,
161
-        //       Total: 16,
162
-        //       Image: "../images/examine_subject_a005.png"
183
+        //       Total: 22,
184
+        //       Image: "../images/examine_subject_b001.png"
185
+        //     },
186
+        //     {
187
+        //       ID: 14,
188
+        //       Type: "Word",
189
+        //       Name: "常用词2",
190
+        //       Name2: "词汇221~500",
191
+        //       Finish: 0,
192
+        //       Total: 28,
193
+        //       Image: "../images/examine_subject_b002.png"
194
+        //     },
195
+        //     {
196
+        //       ID: 15,
197
+        //       Type: "Word",
198
+        //       Name: "常用词3",
199
+        //       Name2: "词汇500~1000",
200
+        //       Finish: 0,
201
+        //       Total: 25,
202
+        //       Image: "../images/examine_subject_b003.png"
163 203
         //     },
164 204
         //   ]
165
-        // }
205
+        // },
166 206
       ],
167 207
     })
168 208
     var userid = app.globalData.userInfo.UserID;

+ 3 - 3
pages/test/index.wxml

@@ -1,6 +1,6 @@
1 1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2 2
   <view class="panelTop FlexRow" bindtap="showSelectGrade">
3
-    <view class="panelTop1">{{GradeArr[TestSelectGrade].Name}}</view>
3
+    <view class="panelTop1">{{GradeArr[TestSelectGrade].Name2}}</view>
4 4
     <view class="panelTop2 FlexRow">
5 5
       <image class="universalpic_menu_blue_26x26" src="../images/universalpic_menu_blue_26x26.png"></image>
6 6
       <view>首选年级</view>
@@ -75,9 +75,9 @@
75 75
       <image class="universalpic_people_black_30x30" src='../images/universalpic_people_black_30x30.png' />
76 76
       <view class='numberContainerFooter11 FlexColumn'>
77 77
         <view class='numberContainerFooter111'>选择年级</view>
78
-        <view class='numberContainerFooter113'>目前仅小学阶段如下年级开放试用</view>
78
+        <view class='numberContainerFooter113'>目前仅小学阶段如下科目开放试用</view>
79 79
         <view class='numberContainerFooter112 FlexRow'>
80
-          <view class='numberContainerFooter1121{{item.Select}}' wx:for="{{GradeArr}}" wx:key="index" catchtap='onSelectGrade' data-value='{{index}}'>{{item.Name}}</view>
80
+          <view class='numberContainerFooter1121{{item.Select}}' wx:for="{{GradeArr}}" wx:key="index" catchtap='onSelectGrade' data-value='{{index}}'>{{item.Name2}}</view>
81 81
         </view>
82 82
       </view>
83 83
     </view>

+ 1 - 1
pages/test/index.wxss

@@ -265,7 +265,7 @@
265 265
 }
266 266
 .numberContainerFooter101{
267 267
   width:100%;
268
-  height: 276rpx;
268
+  height: 376rpx;
269 269
   justify-content: flex-start;
270 270
   align-items: flex-start;
271 271
 }

+ 61 - 3
pages/test/item.js

@@ -44,9 +44,12 @@ Page({
44 44
 
45 45
     if (options.type)
46 46
       that.init2(options);
47
-    else
48
-      that.init(options);
49
-
47
+    else{
48
+      if (options.bookid<=12)
49
+        that.init(options);
50
+      else
51
+      that.initEng(options);
52
+    }
50 53
     that.getColor();
51 54
 
52 55
     isFinished = 0;
@@ -70,6 +73,7 @@ Page({
70 73
         for (var k = 0; k < words.length; k++) {
71 74
           var taskInfo = {
72 75
             FontSize: 144,
76
+            TagWidth:136,
73 77
             Content: [
74 78
               { ContentType: 0, Content: [] },
75 79
               { ContentType: 1, Content: [] },
@@ -190,6 +194,60 @@ Page({
190 194
       }
191 195
     });
192 196
 
197
+  },
198
+  initEng: function (options) {
199
+    var that = this;
200
+    that.setData({
201
+      TaskInfo: {},
202
+      TestType: options.testtype,
203
+      TestName1: options.name1,
204
+      TestName2: options.name2,
205
+    });
206
+    var arrEnglist=wx.getStorageSync("EnglishAll");
207
+    if (arrEnglist)
208
+      arrEnglist=JSON.parse(arrEnglist);
209
+    else
210
+      arrEnglist=[];
211
+    var wordStr="";
212
+    for(var i=0;i<arrEnglist.length;i++){
213
+      if (arrEnglist[i].ID==Number(options.bookid)){
214
+        for(var j=0;j<arrEnglist[i].Units.length;j++){
215
+          if (arrEnglist[i].Units[j].ID==options.unitsid){
216
+            wordStr=arrEnglist[i].Units[j].Words.join(",");
217
+            break;
218
+          }
219
+        }
220
+      }
221
+    }
222
+    main.getData('GetTestEnglishWords?UserID='+app.globalData.userInfo.UserID+'&Words=' + wordStr, function (data) {
223
+      if (data) {
224
+        TaskList = [];
225
+        var words = data;
226
+        for (var k = 0; k < words.length; k++) {
227
+          var taskInfo = words[k];
228
+
229
+          taskInfo.TagWidth=216;
230
+          taskInfo.ContentNew = main.changeStringToView(taskInfo.Content);
231
+          TaskList.push(taskInfo);
232
+        }
233
+
234
+        TaskList = common.randomArray(TaskList);
235
+
236
+        that.setData({
237
+          TaskInfo: TaskList[0],
238
+          TaskLength: TaskList.length,
239
+          CurrentIndex: 0,
240
+        });
241
+
242
+        common.getStorageValue(that, "TestAutioPlay", 1, function () { 
243
+          if (that.data.TestAutioPlay == 1 && that.data.TestType == "write") {
244
+            that.playSound({ currentTarget: { dataset: { content: TaskList[that.data.CurrentIndex].ReadString } } })
245
+          }
246
+        });
247
+      }
248
+    });
249
+
250
+    
193 251
   },
194 252
   //进入下一张题卡
195 253
   gotoNext: function (e) {

+ 1 - 1
pages/test/item.wxml

@@ -37,7 +37,7 @@
37 37
     </view>
38 38
   </view>
39 39
   <view style='width:100%;height:120rpx;'></view>
40
-  <template is="CardShow" data="{{Color:Color,Field:TaskInfo.ContentNew.Field,Tags:TaskInfo.ContentNew.Tags,IsShowAnswer:IsShowAnswer,TagWidth:136,FontSize:TaskInfo.FontSize}}" />
40
+  <template is="CardShow" data="{{Color:Color,Field:TaskInfo.ContentNew.Field,Tags:TaskInfo.ContentNew.Tags,IsShowAnswer:IsShowAnswer,TagWidth:TaskInfo.TagWidth,FontSize:TaskInfo.FontSize}}" />
41 41
   <view style='width:100%;height:180rpx;'></view>
42 42
 
43 43
   <!-- 下方按钮 -->

+ 6 - 1
pages/test/list.js

@@ -12,6 +12,7 @@ Page({
12 12
   onLoad: function(options) {
13 13
     var that = this;
14 14
     that.setData({
15
+      BookID:options.id,
15 16
       Containnerheight: main.getWindowHeight(),
16 17
       Name1: options.name1,
17 18
     });
@@ -36,7 +37,11 @@ Page({
36 37
     wx.setNavigationBarTitle({
37 38
       title: name
38 39
     });
39
-    var arr = wx.getStorageSync("HanziAll");
40
+    var arr = [];
41
+    if (that.data.BookID==13 || that.data.BookID==14 || that.data.BookID==15)
42
+      arr = wx.getStorageSync("EnglishAll");
43
+    else if (that.data.BookID<=12)
44
+      arr = wx.getStorageSync("HanziAll");
40 45
     var testReportList = wx.getStorageSync("UserTestReport");
41 46
     arr = JSON.parse(arr);
42 47
     var id = Number(options.id);

+ 89 - 76
pages/test/list.wxml

@@ -1,87 +1,100 @@
1 1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
-  <view class="text1">请对照课本选择字组</view>
3
-  <block wx:for="{{List}}" wx:key="index">
4
-    <view class="PanelItem FlexColumn" bindtap="onShowFrame" data-id="{{item.ID}}">
5
-      <view class="PanelItem1 FlexRow">
6
-        <view class="left FlexRow">
7
-          <view class="Word FlexRow">
8
-            <image class="img" src="{{ImagePath}}web/test/{{item.Words[0].Name}}.png" />
9
-          </view>
10
-          <view class="Title FlexRow">
11
-            {{item.Name}}
12
-          </view>
13
-        </view>
14
-        <view class="right FlexColumn">
15
-          <view class="right1 FlexRow">
16
-            <image wx:if="{{item.TestTypeRead==1}}" class="examine_willread_gray_22x22" src="../images/examine_willread_green_22x22.png"></image>
17
-            <image wx:if="{{!item.TestTypeRead}}" class="examine_willread_gray_22x22" src="../images/examine_willread_gray_22x22.png"></image>
18
-            <image wx:if="{{item.TestTypeWrite==1}}" class="examine_willwrite_gray_22x22" src="../images/examine_willwrite_green_22x22.png"></image>
19
-            <image wx:if="{{!item.TestTypeWrite}}" class="examine_willwrite_gray_22x22" src="../images/examine_willwrite_gray_22x22.png"></image>
20
-          </view>
21
-          <view class="right2">{{item.Words.length}}个字</view>
22
-        </view>
23
-      </view>
24
-      <view class="lineWidthAll FlexRow">
25
-        <view class="lineWidth720"></view>
26
-      </view>
27
-      <text class="PanelItem2">
28
-        {{item.WordList}}
29
-      </text>
30
-    </view>
31
-  </block>
32
-  <view style="height:50rpx;"></view>
2
+	<view class="text1" wx:if="{{BookID<=12}}">请对照课本选择字组</view>
3
+	<view class="text1" wx:if="{{BookID>12}}">将词汇等分成若干单元以便分批检验,分割方法并无特殊含义</view>
4
+
5
+	<block wx:for="{{List}}" wx:key="index">
6
+		<view class="PanelItem FlexColumn" bindtap="onShowFrame" data-id="{{item.ID}}">
7
+			<view class="PanelItem1 FlexRow">
8
+				<view class="left FlexRow">
9
+					<view class="Word FlexRow" wx:if="{{BookID<=12}}">
10
+						<image class="img" src="{{ImagePath}}web/test/{{item.Words[0].Name}}.png" />
11
+					</view>
12
+					<view class="Title FlexRow">
13
+						{{item.Name}}
14
+					</view>
15
+				</view>
16
+				<view class="right FlexColumn">
17
+					<view class="right1 FlexRow">
18
+						<image wx:if="{{item.TestTypeRead==1}}" class="examine_willread_gray_22x22" src="../images/examine_willread_green_22x22.png"></image>
19
+						<image wx:if="{{!item.TestTypeRead}}" class="examine_willread_gray_22x22" src="../images/examine_willread_gray_22x22.png"></image>
20
+						<image wx:if="{{BookID<=12 && item.TestTypeWrite==1}}" class="examine_willwrite_gray_22x22" src="../images/examine_willwrite_green_22x22.png"></image>
21
+						<image wx:if="{{BookID<=12 && !item.TestTypeWrite}}" class="examine_willwrite_gray_22x22" src="../images/examine_willwrite_gray_22x22.png"></image>
22
+					</view>
23
+					<view class="right2">{{item.Words.length}}个字</view>
24
+				</view>
25
+			</view>
26
+			<view class="lineWidthAll FlexRow" wx:if="{{BookID<=12}}">
27
+				<view class="lineWidth720"></view>
28
+			</view>
29
+			<text class="PanelItem2" wx:if="{{BookID<=12}}">
30
+			{{item.WordList}}
31
+			</text>
32
+		</view>
33
+	</block>
34
+	<view style="height:50rpx;"></view>
33 35
 </view>
34 36
 
35 37
 
36 38
 <!-- 跳出 -->
37 39
 <view wx:if="{{IsSelect}}" class="SelectContainer FlexColumn" style='height:{{Containnerheight}}rpx;'>
38
-  <view class="SelectContainer1 FlexColumn">
39
-    <image src="../images/examine_subjecticon_01.png" class="examine_subjecticon_01" />
40
-    <view class="SelectContainer1Text1">{{SelectItem.Name}}</view>
41
-    <view class="SelectContainer1Text2">检验哪个方面</view>
40
+	<view class="SelectContainer1 FlexColumn">
41
+		<image src="../images/examine_subjecticon_01.png" class="examine_subjecticon_01" />
42
+		<view class="SelectContainer1Text1">{{SelectItem.Name}}</view>
43
+		<view class="SelectContainer1Text2">检验哪个方面</view>
42 44
 
43
-    <view class="btnPanel0 FlexRow" bindtap="goto" data-url="./wordlist?unitsid={{UnitsID}}&id={{SelectItem.ID}}">
44
-      <image src="../images/universalpic_word_blue_30x30.png" class="universalpic_word_blue_30x30" />
45
-      <view class="SelectContainer1Text4">查看字表</view>
46
-    </view>
45
+		<block wx:if="{{BookID<=12}}">
46
+			<view class="btnPanel0 FlexRow" bindtap="goto" data-url="./wordlist?type=CHN&unitsid={{UnitsID}}&id={{SelectItem.ID}}">
47
+				<image src="../images/universalpic_word_blue_30x30.png" class="universalpic_word_blue_30x30" />
48
+				<view class="SelectContainer1Text4">查看字表</view>
49
+			</view>
50
+		</block>
51
+		<block wx:if="{{BookID>12}}">
52
+			<view class="btnPanel0 FlexRow" bindtap="goto" data-url="./wordlist?type=ENG&unitsid={{UnitsID}}&id={{SelectItem.ID}}">
53
+				<image src="../images/universalpic_words_blue_30x30.png" class="universalpic_word_blue_30x30" />
54
+				<view class="SelectContainer1Text4">查看词表</view>
55
+			</view>
56
+		</block>
57
+		<view class="btnPanel FlexRow">
58
+			
59
+			<view wx:if="{{SelectItem.TestTypeReadFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.ReadReportID}}" data-url="./item?testtype=read&bookid={{BookID}}&unitsid={{SelectItem.ID}}&name1={{Name1}}&name2={{SelectItem.Name}}">
60
+				<image src="../images/examine_willread_gray_30x30.png" class="examine_willread_gray_30x30" />
61
+				<view class="SelectContainer1Text3">会念</view>
62
+			</view>
47 63
 
48
-    <view class="btnPanel FlexRow">
49
-      <view wx:if="{{SelectItem.TestTypeReadFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.ReadReportID}}" data-url="./item?testtype=read&unitsid={{SelectItem.ID}}&name1={{Name1}}&name2={{SelectItem.Name}}">
50
-        <image src="../images/examine_willread_gray_30x30.png" class="examine_willread_gray_30x30" />
51
-        <view class="SelectContainer1Text3">会念</view>
52
-      </view>
53
-      
54
-      <view wx:if="{{!SelectItem.TestTypeReadFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.ReadReportID}}" data-type="continue">
55
-        <image src="../images/examine_willread_green_30x30.png" class="examine_willread_gray_30x30" />
56
-        <view class="SelectContainer1Text3">会念 继续检验</view>
57
-      </view>
58
-      
59
-      <view wx:if="{{SelectItem.TestTypeWriteFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.WriteReportID}}" data-url="./item?testtype=write&unitsid={{SelectItem.ID}}&name1={{Name1}}&name2={{SelectItem.Name}}">
60
-        <image src="../images/examine_willwrite_gray_27x27.png" class="examine_willwrite_gray_27x27" />
61
-        <view class="SelectContainer1Text3">会写</view>
62
-      </view>
64
+			<view wx:if="{{!SelectItem.TestTypeReadFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.ReadReportID}}" data-type="continue">
65
+				<image src="../images/examine_willread_green_30x30.png" class="examine_willread_gray_30x30" />
66
+				<view class="SelectContainer1Text3">会念 继续检验</view>
67
+			</view>
63 68
 
64
-      <view wx:if="{{!SelectItem.TestTypeWriteFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.WriteReportID}}" data-type="continue">
65
-        <image src="../images/examine_willwrite_green_27x27.png" class="examine_willwrite_gray_27x27" />
66
-        <view class="SelectContainer1Text3">会写 继续检验</view>
67
-      </view>
68
-      
69
-    </view>
69
+			<block wx:if="{{BookID<=12}}">
70
+				<view wx:if="{{SelectItem.TestTypeWriteFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.WriteReportID}}" data-url="./item?testtype=write&unitsid={{SelectItem.ID}}&name1={{Name1}}&name2={{SelectItem.Name}}">
71
+					<image src="../images/examine_willwrite_gray_27x27.png" class="examine_willwrite_gray_27x27" />
72
+					<view class="SelectContainer1Text3">会写</view>
73
+				</view>
70 74
 
71
-    <view class="btnPanel2 FlexRow">
72
-      <view wx:if="{{SelectItem.TestTypeReadFinished}}" class="btnPanel21"></view>
73
-      <view wx:if="{{!SelectItem.TestTypeReadFinished}}" class="btnPanel21" bindtap="gotoTestReportInfo" data-id="{{SelectItem.ReadReportID}}"  data-type="restart" >
74
-        重新开始
75
-      </view>
75
+				<view wx:if="{{!SelectItem.TestTypeWriteFinished}}" class="btn FlexRow" bindtap="gotoTestReportInfo" data-id="{{SelectItem.WriteReportID}}" data-type="continue">
76
+					<image src="../images/examine_willwrite_green_27x27.png" class="examine_willwrite_gray_27x27" />
77
+					<view class="SelectContainer1Text3">会写 继续检验</view>
78
+				</view>
79
+			</block>
76 80
 
77
-      <view wx:if="{{SelectItem.TestTypeWriteFinished}}" class="btnPanel21"></view>
78
-      <view wx:if="{{!SelectItem.TestTypeWriteFinished}}" class="btnPanel21" bindtap="gotoTestReportInfo" data-id="{{SelectItem.WriteReportID}}"  data-type="restart">
79
-        重新开始
80
-      </view>
81
-    </view>
82
-    
83
-    <view class="close FlexRow" bindtap="onClose">
84
-      <image src="../images/universalpic_close_black_24x24.png" class="universalpic_close_black_24x24" />
85
-    </view>
86
-  </view>
87
-</view>
81
+
82
+		</view>
83
+
84
+		<view class="btnPanel2 FlexRow">
85
+			<view wx:if="{{SelectItem.TestTypeReadFinished}}" class="btnPanel21"></view>
86
+			<view wx:if="{{!SelectItem.TestTypeReadFinished}}" class="btnPanel21" bindtap="gotoTestReportInfo" data-id="{{SelectItem.ReadReportID}}" data-type="restart">
87
+				重新开始
88
+			</view>
89
+
90
+			<view wx:if="{{SelectItem.TestTypeWriteFinished}}" class="btnPanel21"></view>
91
+			<view wx:if="{{!SelectItem.TestTypeWriteFinished}}" class="btnPanel21" bindtap="gotoTestReportInfo" data-id="{{SelectItem.WriteReportID}}" data-type="restart">
92
+				重新开始
93
+			</view>
94
+		</view>
95
+
96
+		<view class="close FlexRow" bindtap="onClose">
97
+			<image src="../images/universalpic_close_black_24x24.png" class="universalpic_close_black_24x24" />
98
+		</view>
99
+	</view>
100
+</view>

+ 5 - 4
pages/test/list.wxss

@@ -11,7 +11,7 @@
11 11
 
12 12
 .PanelItem{
13 13
   width:100%;
14
-  height:263rpx;
14
+  /* height:263rpx; */
15 15
   background-color: #fff;
16 16
   justify-content: flex-start;
17 17
   border-bottom: 1rpx solid #D2D2D2;
@@ -35,15 +35,16 @@
35 35
   text-align: center;
36 36
   line-height: 75rpx;
37 37
   font-size: 46rpx;
38
+  margin-right: 30rpx;
38 39
 }
39 40
 
40 41
 .Title{
41
-  margin-left: 30rpx;
42 42
   font-size:30rpx;
43 43
   color:#1e1e1e;
44 44
 }
45 45
 .right{
46 46
   margin-right: 30rpx;
47
+  align-items: flex-end;
47 48
 }
48 49
 
49 50
 .right1{
@@ -56,12 +57,12 @@
56 57
 .examine_willread_gray_22x22{
57 58
   width:22rpx;
58 59
   height:22rpx;
59
-  margin-right: 20rpx;
60 60
 }
61 61
 
62 62
 .examine_willwrite_gray_22x22{
63 63
   width:22rpx;
64 64
   height:22rpx;
65
+  margin-left: 20rpx;
65 66
 }
66 67
 
67 68
 .right2{
@@ -71,11 +72,11 @@
71 72
 
72 73
 .PanelItem2{
73 74
   width: 690rpx;
74
-  height:86rpx;
75 75
   text-align: left;
76 76
   font-size:24rpx;
77 77
   font-weight: 400;
78 78
   color:#787878;
79
+  margin-bottom: 30rpx;
79 80
 }
80 81
 
81 82
 .SelectContainer{

+ 7 - 1
pages/test/wordlist.js

@@ -11,11 +11,17 @@ Page({
11 11
     var that = this;
12 12
     that.setData({
13 13
       Containnerheight: main.getWindowHeight(),
14
+      ShowType:options.type,
14 15
     });
15 16
 
16 17
     var words=[];
17 18
     var unitsName="";
18
-    var arr = wx.getStorageSync("HanziAll");
19
+    var arr =[];
20
+    if (options.type=="CHN")
21
+      arr= wx.getStorageSync("HanziAll");
22
+    else
23
+      arr= wx.getStorageSync("EnglishAll");
24
+    
19 25
     arr = JSON.parse(arr);
20 26
     var unitsid = Number(options.unitsid);
21 27
     var id = Number(options.id);

+ 7 - 1
pages/test/wordlist.wxml

@@ -4,11 +4,17 @@
4 4
     <view class="text2">{{Words.length}}个字</view>
5 5
   </view>
6 6
   <view class="panelMain FlexColumn">
7
-    <view class="panelMain1 FlexRow">
7
+    <view class="panelMain1 FlexRow" wx:if="{{ShowType=='CHN'}}">
8 8
       <view class="item" wx:for="{{Words}}" wx:key="index" >
9 9
       {{item.Name}}
10 10
       </view>
11 11
     </view>
12
+
13
+    <view class="panelMain1 FlexRow" wx:if="{{ShowType=='ENG'}}">
14
+      <view class="item2" wx:for="{{Words}}" wx:key="index" >
15
+      {{item}}
16
+      </view>
17
+    </view>
12 18
   </view>
13 19
   <view style="height:100rpx;"></view>
14 20
 </view>

+ 10 - 0
pages/test/wordlist.wxss

@@ -35,4 +35,14 @@
35 35
   line-height: 110rpx;
36 36
   font-size:48rpx;
37 37
   font-weight: 400;
38
+}
39
+.item2{
40
+  height:110rpx;
41
+  background-color: #fff;
42
+  margin: 0 30rpx 30rpx 0;
43
+  text-align: center;
44
+  line-height: 110rpx;
45
+  font-size:36rpx;
46
+  font-weight: 400;
47
+  padding: 0 30rpx;
38 48
 }

+ 8 - 1
project.config.json

@@ -117,8 +117,15 @@
117 117
 					"id": 8,
118 118
 					"name": "pages/index/index",
119 119
 					"pathName": "pages/index/index",
120
-					"query": "type=bebound&ParentUserID=1&BindTime=2019/12/10 17:20:54&NickName=程杰&AvatarUrl=https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83epkAJy0WEvyOEzLtHQ6BPV39ubS692yN5Qq30hic8hKTl0FmbuYGeaib1Uiaypic7GYfL15iczyWaUSK1Q/132",
120
+					"query": "type=paycustom&PayUserID=1&DayNumber=365&Price=199&Remark=111",
121 121
 					"scene": 1007
122
+				},
123
+				{
124
+					"id": -1,
125
+					"name": "pages/other/annualreport",
126
+					"pathName": "pages/other/annualreport",
127
+					"query": "",
128
+					"scene": null
122 129
 				}
123 130
 			]
124 131
 		}

+ 4 - 1
utils/main.js

@@ -942,13 +942,16 @@ function getHanzi(callback) {
942 942
     mask: true,
943 943
   });
944 944
   var time = wx.getStorageSync("HanziUpdateTime");
945
-  getData('GetHanziAll?UpdateTime=' + time, function (data) {
945
+  getData('GetHanziAll?HasEnglish=true&UpdateTime=' + time, function (data) {
946 946
     wx.hideLoading();
947 947
     if (data) {
948 948
       var arr = [];
949 949
       if (data.List) {
950 950
         arr = common.Decrypt(data.List);
951 951
         wx.setStorageSync("HanziAll", arr);
952
+
953
+        var arrEng = common.Decrypt(data.EngList);
954
+        wx.setStorageSync("EnglishAll", arrEng);
952 955
         wx.setStorageSync("HanziUpdateTime", data.UpdateTime);
953 956
       }
954 957
       else {