chengjie 3 years ago
parent
commit
bda1203543

+ 2 - 1
app.js

@@ -23,8 +23,9 @@ App({
23
     }
23
     }
24
   },
24
   },
25
   globalData: {
25
   globalData: {
26
-    Version: "1.2.13",
26
+    Version: "1.2.16",
27
     IsProduction: true,
27
     IsProduction: true,
28
+    //IsProduction: false,
28
     ProgramID: 106,
29
     ProgramID: 106,
29
     AppID: "wx313a8f2c0741efe1",
30
     AppID: "wx313a8f2c0741efe1",
30
     ProgramName: "语文识字",
31
     ProgramName: "语文识字",

+ 1 - 1
package4/main/activate.js

@@ -9,7 +9,7 @@ Page({
9
   },
9
   },
10
   onLoad: function (options) {
10
   onLoad: function (options) {
11
     var text0 = "", text1 = "", text2 = "", text3 = "";
11
     var text0 = "", text1 = "", text2 = "", text3 = "";
12
-    text0 = "会员登录";
12
+    text0 = "会员登录";
13
     text1 = "无需注册,微信授权即可登录";
13
     text1 = "无需注册,微信授权即可登录";
14
     text2 = "去登录";
14
     text2 = "去登录";
15
     text3 = "注意:会员登录后可使用付费功能。授权微信用户信息即可一键登录。为保障消费权益,购买后请尽快授权用户信息。登录后才能正常使用统计、排行、我的订单、套装、礼品卡等功能。";
15
     text3 = "注意:会员登录后可使用付费功能。授权微信用户信息即可一键登录。为保障消费权益,购买后请尽快授权用户信息。登录后才能正常使用统计、排行、我的订单、套装、礼品卡等功能。";

+ 3 - 3
package4/main/activate.wxml

@@ -1,10 +1,10 @@
1
 <view class="container FlexColumn" style='height:{{Height}}rpx;'>
1
 <view class="container FlexColumn" style='height:{{Height}}rpx;'>
2
   <image src="../images/accredit.png" class="bg" />
2
   <image src="../images/accredit.png" class="bg" />
3
-  <text class="text0">{{Text0}}</text>
4
-  <text class="text1">{{Text1}}</text>
3
+  <text class="text0">{{Text0}}</text>
4
+  <text class="text1">{{Text1}}</text>
5
   <view class="btn">
5
   <view class="btn">
6
     <button  class="btn1" catchtap="getUserInfo">{{Text2}}</button>
6
     <button  class="btn1" catchtap="getUserInfo">{{Text2}}</button>
7
   </view>
7
   </view>
8
   <view class="line2 {{ipad}}"></view>
8
   <view class="line2 {{ipad}}"></view>
9
-  <text class="text3">{{Text3}}</text>
9
+  <text class="text3">{{Text3}}</text>
10
 </view>
10
 </view>

+ 1 - 1
package4/main/activateFinish.wxml

@@ -15,7 +15,7 @@
15
   <view class="panelItem FlexRow" wx:for="{{ProgramList}}" wx:key="index" wx:if="{{item.IsShow2}}" bindtap='switchProgram' data-appid='{{item.appId}}' data-path='{{item.path}}'>
15
   <view class="panelItem FlexRow" wx:for="{{ProgramList}}" wx:key="index" wx:if="{{item.IsShow2}}" bindtap='switchProgram' data-appid='{{item.appId}}' data-path='{{item.path}}'>
16
     <view class="Left FlexRow">
16
     <view class="Left FlexRow">
17
       <image src='../images/{{item.ImageUrl}}' class="img" />
17
       <image src='../images/{{item.ImageUrl}}' class="img" />
18
-      <view class="title1">
18
+      <view class="title1">
19
         {{item.Name}}
19
         {{item.Name}}
20
       </view>
20
       </view>
21
     </view>
21
     </view>

+ 9 - 9
package4/main/paylist.wxml

@@ -1,14 +1,14 @@
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
   <view style='height:50rpx'></view>
2
   <view style='height:50rpx'></view>
3
-  <view class="panel1 FlexColumn" wx:for="{{PayList}}" wx:key="index" wx:if="{{PayList.length>0}}">
3
+  <view class="panel1 FlexColumn" wx:for="{{PayList}}" wx:key="index" wx:if="{{PayList.length>0}}">
4
     <view class="item0 item FlexRow">
4
     <view class="item0 item FlexRow">
5
       <view class="left FlowColumn">
5
       <view class="left FlowColumn">
6
-        <view class="title0 FlexRow">
7
-          <view class="title0_1">支付时间</view>
6
+        <view class="title0 FlexRow">
7
+          <view class="title0_1">支付时间</view>
8
           <view>{{item.PayEndTime}}</view>
8
           <view>{{item.PayEndTime}}</view>
9
         </view>
9
         </view>
10
-        <view class="title0 FlexRow">
11
-          <view class="title0_1">交易单号</view>
10
+        <view class="title0 FlexRow">
11
+          <view class="title0_1">交易单号</view>
12
           <view>{{item.TradeNo}}</view>
12
           <view>{{item.TradeNo}}</view>
13
         </view>
13
         </view>
14
       </view>
14
       </view>
@@ -19,10 +19,10 @@
19
       <view class="item FlexRow">
19
       <view class="item FlexRow">
20
         <view class="left FlexRow">
20
         <view class="left FlexRow">
21
           <image src='../images/{{item.ImageName}}.png' class="img" />
21
           <image src='../images/{{item.ImageName}}.png' class="img" />
22
-          <view class="title1">
22
+          <view class="title1">
23
             {{item.Name}}
23
             {{item.Name}}
24
           </view>
24
           </view>
25
-          <view class="title2">
25
+          <view class="title2">
26
           </view>
26
           </view>
27
         </view>
27
         </view>
28
         <view class="right">
28
         <view class="right">
@@ -37,10 +37,10 @@
37
       <view class="item FlexRow">
37
       <view class="item FlexRow">
38
         <view class="left FlexRow">
38
         <view class="left FlexRow">
39
           <image src='../images/{{itemChild.ImageName}}' class="img" />
39
           <image src='../images/{{itemChild.ImageName}}' class="img" />
40
-          <view class="title1">
40
+          <view class="title1">
41
             {{itemChild.ProductName}}
41
             {{itemChild.ProductName}}
42
           </view>
42
           </view>
43
-          <view class="title2">
43
+          <view class="title2">
44
           </view>
44
           </view>
45
         </view>
45
         </view>
46
         <view class="right">
46
         <view class="right">

+ 2 - 2
pages/index/index.js

@@ -25,7 +25,7 @@ Page({
25
         console.log("SourceID:" + options.SourceID);
25
         console.log("SourceID:" + options.SourceID);
26
         app.globalData.SourceID = options.SourceID;
26
         app.globalData.SourceID = options.SourceID;
27
       }
27
       }
28
-      // 扫码介绍人
28
+      // 扫码介绍人
29
       if (options.scene) {
29
       if (options.scene) {
30
         var scene = decodeURIComponent(options.scene);
30
         var scene = decodeURIComponent(options.scene);
31
         console.log("scene:" + scene);
31
         console.log("scene:" + scene);
@@ -177,7 +177,7 @@ Page({
177
   getHanzi: function (callback) {
177
   getHanzi: function (callback) {
178
     var that = this;
178
     var that = this;
179
     var time = wx.getStorageSync("HanziUpdateTime");
179
     var time = wx.getStorageSync("HanziUpdateTime");
180
-    server.getData('GetHanziAll?UpdateTime=' + time, function (data) {
180
+    server.getData('GetHanziAll0124?UpdateTime=' + time, function (data) {
181
       if (data) {
181
       if (data) {
182
         if (data.List) {
182
         if (data.List) {
183
           var arr = common.Decrypt(data.List);
183
           var arr = common.Decrypt(data.List);

+ 1 - 1
pages/main/accredit.js

@@ -9,7 +9,7 @@ Page({
9
   },
9
   },
10
   onLoad: function (options) {
10
   onLoad: function (options) {
11
     var text0 = "", text1 = "", text2 = "", text3 = "";
11
     var text0 = "", text1 = "", text2 = "", text3 = "";
12
-    text0 = "会员登录";
12
+    text0 = "会员登录";
13
     text1 = "无需注册,微信授权即可登录";
13
     text1 = "无需注册,微信授权即可登录";
14
     text2 = "去登录";
14
     text2 = "去登录";
15
     text3 = "注意:会员登录后可使用付费功能。授权微信用户信息即可一键登录。为保障消费权益,购买后请尽快授权用户信息。登录后才能正常使用统计、排行、我的订单、套装、礼品卡等功能。";
15
     text3 = "注意:会员登录后可使用付费功能。授权微信用户信息即可一键登录。为保障消费权益,购买后请尽快授权用户信息。登录后才能正常使用统计、排行、我的订单、套装、礼品卡等功能。";

+ 3 - 3
pages/main/accredit.wxml

@@ -1,10 +1,10 @@
1
 <view class="container FlexColumn" style='height:{{Height}}rpx;'>
1
 <view class="container FlexColumn" style='height:{{Height}}rpx;'>
2
   <image src="../images/accredit.png" class="bg" />
2
   <image src="../images/accredit.png" class="bg" />
3
-  <text class="text0">{{Text0}}</text>
4
-  <text class="text1">{{Text1}}</text>
3
+  <text class="text0">{{Text0}}</text>
4
+  <text class="text1">{{Text1}}</text>
5
   <view class="btn">
5
   <view class="btn">
6
     <button open-type="getUserInfo" class="btn1" bindgetuserinfo="goto">{{Text2}}</button>
6
     <button open-type="getUserInfo" class="btn1" bindgetuserinfo="goto">{{Text2}}</button>
7
   </view>
7
   </view>
8
   <view class="line2 {{ipad}}"></view>
8
   <view class="line2 {{ipad}}"></view>
9
-  <text class="text3">{{Text3}}</text>
9
+  <text class="text3">{{Text3}}</text>
10
 </view>
10
 </view>

+ 5 - 5
pages/main/detail.js

@@ -12,7 +12,7 @@ Page({
12
   data: {
12
   data: {
13
     IsAutoPlay: true,//是否自动播放
13
     IsAutoPlay: true,//是否自动播放
14
     IsAutoPage: false,//是否自动翻页
14
     IsAutoPage: false,//是否自动翻页
15
-    SortTitle: "课本一致",//排序
15
+    SortTitle: "课本一致",//排序
16
     PlayChecked: "checked",
16
     PlayChecked: "checked",
17
     PageChecked: "",
17
     PageChecked: "",
18
     IsFinished: false,//是否练会了
18
     IsFinished: false,//是否练会了
@@ -489,7 +489,7 @@ Page({
489
   getImageDownload: function () {
489
   getImageDownload: function () {
490
     var that = this;
490
     var that = this;
491
     wx.showLoading({
491
     wx.showLoading({
492
-      title: '请稍等',
492
+      title: '请稍等',
493
     })
493
     })
494
     server.getData('SearchHanzi?Word=' + that.data.List[that.data.CurrentIndex].Name, function (data) {
494
     server.getData('SearchHanzi?Word=' + that.data.List[that.data.CurrentIndex].Name, function (data) {
495
       setTimeout(function () {
495
       setTimeout(function () {
@@ -551,7 +551,7 @@ Page({
551
       }
551
       }
552
     }
552
     }
553
   },
553
   },
554
-  //显示设置菜单
554
+  //显示设置菜单
555
   showSettingMenu: function (e) {
555
   showSettingMenu: function (e) {
556
     var status = e.currentTarget.dataset.status;
556
     var status = e.currentTarget.dataset.status;
557
     this.setData({
557
     this.setData({
@@ -777,7 +777,7 @@ Page({
777
       that.animateOpacity(0, "animationData", 500);
777
       that.animateOpacity(0, "animationData", 500);
778
     }, 1000);
778
     }, 1000);
779
   },
779
   },
780
-  //动画淡入淡出
780
+  //动画淡入淡出
781
   animateOpacity: function (opacity, obj, duration) {
781
   animateOpacity: function (opacity, obj, duration) {
782
     var animation = wx.createAnimation({
782
     var animation = wx.createAnimation({
783
       duration: duration,
783
       duration: duration,
@@ -810,7 +810,7 @@ Page({
810
           that.setRemind("取消", "");
810
           that.setRemind("取消", "");
811
         }
811
         }
812
         else {
812
         else {
813
-          that.setRemind("添加到复习", "Remind2");
813
+          that.setRemind("添加到复习", "Remind2");
814
         }
814
         }
815
 
815
 
816
         server.postData('UpdateHanziReview', {
816
         server.postData('UpdateHanziReview', {

+ 21 - 21
pages/main/detail.wxml

@@ -62,24 +62,24 @@
62
     <view class="title FlexRow">
62
     <view class="title FlexRow">
63
       <view class="title1">汉字结构</view>
63
       <view class="title1">汉字结构</view>
64
     </view>
64
     </view>
65
-    <view class="content FlexColumn">
66
-      <view class="content1 FlexRow">
67
-        <view class="left">部首</view>
65
+    <view class="content FlexColumn">
66
+      <view class="content1 FlexRow">
67
+        <view class="left">部首</view>
68
         <view class="right">{{Detail.BuShou}}</view>
68
         <view class="right">{{Detail.BuShou}}</view>
69
       </view>
69
       </view>
70
       <view class="line2 FlexRow">
70
       <view class="line2 FlexRow">
71
         <view class="line3"></view>
71
         <view class="line3"></view>
72
       </view>
72
       </view>
73
-      <view class="content1 FlexRow">
74
-        <view class="left">笔画</view>
73
+      <view class="content1 FlexRow">
74
+        <view class="left">笔画</view>
75
         <view class="right">{{Detail.BiHua}}</view>
75
         <view class="right">{{Detail.BiHua}}</view>
76
       </view>
76
       </view>
77
     </view>
77
     </view>
78
     <view class="title FlexRow">
78
     <view class="title FlexRow">
79
-      <view class="title1">基本释义</view>
79
+      <view class="title1">基本释义</view>
80
     </view>
80
     </view>
81
     <view class="content FlexColumn">
81
     <view class="content FlexColumn">
82
-      <view class="content2 FlexColumn" wx:for="{{Detail.PinYin}}" wx:key="index" wx:for-item="item">
82
+      <view class="content2 FlexColumn" wx:for="{{Detail.PinYin}}" wx:key="index" wx:for-item="item">
83
         <view class="pinyin2 FlexRow" wx:if="{{Detail.PinYin.length>1}}">[
83
         <view class="pinyin2 FlexRow" wx:if="{{Detail.PinYin.length>1}}">[
84
           <view class="pinyin3">{{item.pinyin}}</view>]</view>
84
           <view class="pinyin3">{{item.pinyin}}</view>]</view>
85
         <text class="explain FlexColumn" wx:for="{{item.explain}}" wx:key="i" wx:for-item="itemChild">{{itemChild}}</text>
85
         <text class="explain FlexColumn" wx:for="{{item.explain}}" wx:key="i" wx:for-item="itemChild">{{itemChild}}</text>
@@ -89,22 +89,22 @@
89
       <view class="title1">相关组词</view>
89
       <view class="title1">相关组词</view>
90
     </view>
90
     </view>
91
     <view class="content FlexColumn">
91
     <view class="content FlexColumn">
92
-      <view class="content2 FlexRow">
92
+      <view class="content2 FlexRow">
93
         <text class="combineWords" wx:for="{{Detail.CombineWords}}" wx:key="i">{{item}}</text>
93
         <text class="combineWords" wx:for="{{Detail.CombineWords}}" wx:key="i">{{item}}</text>
94
       </view>
94
       </view>
95
     </view>
95
     </view>
96
     <view class="title FlexRow" wx:if="{{Detail.Antonym || Detail.Synonym}}">
96
     <view class="title FlexRow" wx:if="{{Detail.Antonym || Detail.Synonym}}">
97
       <view class="title1">近反义词</view>
97
       <view class="title1">近反义词</view>
98
     </view>
98
     </view>
99
-    <view class="content FlexColumn">
100
-      <view class="content1 FlexRow" wx:if="{{Detail.Antonym}}">
101
-        <view class="left">反义词</view>
99
+    <view class="content FlexColumn">
100
+      <view class="content1 FlexRow" wx:if="{{Detail.Antonym}}">
101
+        <view class="left">反义词</view>
102
         <view class="right">{{Detail.Antonym}}</view>
102
         <view class="right">{{Detail.Antonym}}</view>
103
       </view>
103
       </view>
104
       <view class="line2 FlexRow" wx:if="{{Detail.Synonym}}">
104
       <view class="line2 FlexRow" wx:if="{{Detail.Synonym}}">
105
         <view class="line3"></view>
105
         <view class="line3"></view>
106
       </view>
106
       </view>
107
-      <view class="content1 FlexRow" wx:if="{{Detail.Synonym}}">
107
+      <view class="content1 FlexRow" wx:if="{{Detail.Synonym}}">
108
         <view class="left">近义词</view>
108
         <view class="left">近义词</view>
109
         <view class="right">{{Detail.Synonym}}</view>
109
         <view class="right">{{Detail.Synonym}}</view>
110
       </view>
110
       </view>
@@ -159,7 +159,7 @@
159
 <view class="settingContainer container FlexColumn" style='min-height:{{Height}}rpx;' wx:if="{{IsShowSetting}}">
159
 <view class="settingContainer container FlexColumn" style='min-height:{{Height}}rpx;' wx:if="{{IsShowSetting}}">
160
 
160
 
161
   <view class="title1">
161
   <view class="title1">
162
-    <view class="title1_1">内容</view>
162
+    <view class="title1_1">内容</view>
163
   </view>
163
   </view>
164
   <view class="line FlexColumn">
164
   <view class="line FlexColumn">
165
     <view class="line1"></view>
165
     <view class="line1"></view>
@@ -193,10 +193,10 @@
193
   </view>
193
   </view>
194
 
194
 
195
   <view class="title1">
195
   <view class="title1">
196
-    <view class="title1_1">点读</view>
196
+    <view class="title1_1">点读</view>
197
   </view>
197
   </view>
198
   <view class="title2 FlexRow" bindtap='showSettingMenu' data-status="speaker" wx:if="{{!IsAutoPage}}">
198
   <view class="title2 FlexRow" bindtap='showSettingMenu' data-status="speaker" wx:if="{{!IsAutoPage}}">
199
-    <view class="title2_1">语音</view>
199
+    <view class="title2_1">语音</view>
200
     <view class="title2_2 FlexRow">
200
     <view class="title2_2 FlexRow">
201
       <view>{{SpeakerTitle}}</view>
201
       <view>{{SpeakerTitle}}</view>
202
       <image src='../images/Arrow.png' class="Arrow" />
202
       <image src='../images/Arrow.png' class="Arrow" />
@@ -208,7 +208,7 @@
208
   </view>
208
   </view>
209
   <view class="title2 FlexRow" wx:if="{{!IsAutoPage}}">
209
   <view class="title2 FlexRow" wx:if="{{!IsAutoPage}}">
210
     <view class="title2_1 FlexColumn">
210
     <view class="title2_1 FlexColumn">
211
-      <view>自动播报</view>
211
+      <view>自动播报</view>
212
     </view>
212
     </view>
213
     <switch class='title2_2' checked="{{PlayChecked}}" bindchange="settingPlay" />
213
     <switch class='title2_2' checked="{{PlayChecked}}" bindchange="settingPlay" />
214
   </view>
214
   </view>
@@ -219,7 +219,7 @@
219
 
219
 
220
   <view class="title3 FlexRow" wx:if="{{!IsAutoPage}}">
220
   <view class="title3 FlexRow" wx:if="{{!IsAutoPage}}">
221
     <view class="title2_1 FlexColumn">
221
     <view class="title2_1 FlexColumn">
222
-      <view>组词播报</view>
222
+      <view>组词播报</view>
223
       <view class="title3_2">“中国的国”,以词语形式播报</view>
223
       <view class="title3_2">“中国的国”,以词语形式播报</view>
224
 
224
 
225
     </view>
225
     </view>
@@ -240,7 +240,7 @@
240
   </view>
240
   </view>
241
   <view class="title3 FlexRow">
241
   <view class="title3 FlexRow">
242
     <view class="title2_1 FlexColumn">
242
     <view class="title2_1 FlexColumn">
243
-      <view>连贯演示</view>
243
+      <view>连贯演示</view>
244
       <view class="title3_2">间隔 {{arrIntervalSecond[IntervalSecondIndex]}} 秒连续翻页并播放读音,不能点读</view>
244
       <view class="title3_2">间隔 {{arrIntervalSecond[IntervalSecondIndex]}} 秒连续翻页并播放读音,不能点读</view>
245
     </view>
245
     </view>
246
     <switch class='title2_2' checked="{{PageChecked}}" bindchange="settingPage" />
246
     <switch class='title2_2' checked="{{PageChecked}}" bindchange="settingPage" />
@@ -251,7 +251,7 @@
251
 
251
 
252
   <view class="title2 FlexRow" wx:if="{{IsAutoPage}}">
252
   <view class="title2 FlexRow" wx:if="{{IsAutoPage}}">
253
     <view class="title2_1 FlexColumn">
253
     <view class="title2_1 FlexColumn">
254
-      <view>播放间隔秒数</view>
254
+      <view>播放间隔秒数</view>
255
     </view>
255
     </view>
256
 
256
 
257
     <view class="title2_2 FlexRow">
257
     <view class="title2_2 FlexRow">
@@ -280,7 +280,7 @@
280
     <block wx:if="{{ShowMenu=='sort'}}">
280
     <block wx:if="{{ShowMenu=='sort'}}">
281
       <view class="settingMenuBasic2 FlexColumn">
281
       <view class="settingMenuBasic2 FlexColumn">
282
         <image class="settingMenuIcon" src="../images/303.png" />
282
         <image class="settingMenuIcon" src="../images/303.png" />
283
-        <view class="word2">选择章节内汉字的排列顺序</view>
283
+        <view class="word2">选择章节内汉字的排列顺序</view>
284
       </view>
284
       </view>
285
       <view class="settingMenuBasic FlexColumn" bindtap='settingSort' data-id="false">
285
       <view class="settingMenuBasic FlexColumn" bindtap='settingSort' data-id="false">
286
         <view class="word">课本一致</view>
286
         <view class="word">课本一致</view>
@@ -296,7 +296,7 @@
296
     <block wx:if="{{ShowMenu=='speaker'}}">
296
     <block wx:if="{{ShowMenu=='speaker'}}">
297
       <view class="settingMenuBasic2 FlexColumn">
297
       <view class="settingMenuBasic2 FlexColumn">
298
         <image class="settingMenuIcon" src="../images/130.png" />
298
         <image class="settingMenuIcon" src="../images/130.png" />
299
-        <view class="word2">选择语音风格</view>
299
+        <view class="word2">选择语音风格</view>
300
       </view>
300
       </view>
301
       <block wx:for="{{SpeakerArray}}" wx:key="index">
301
       <block wx:for="{{SpeakerArray}}" wx:key="index">
302
         <view style='height:2rpx'></view>
302
         <view style='height:2rpx'></view>

+ 2 - 13
pages/main/index.js

@@ -60,7 +60,7 @@ Page({
60
         Url: "../main/list?id=12",
60
         Url: "../main/list?id=12",
61
       },
61
       },
62
     ],
62
     ],
63
-    NickName: "陌生用户",
63
+    NickName: "陌生用户",
64
     IsMember: 1,
64
     IsMember: 1,
65
     NewUserNumber: 2,
65
     NewUserNumber: 2,
66
     AvatarUrl: "",
66
     AvatarUrl: "",
@@ -68,7 +68,6 @@ Page({
68
     ReviewCount: "0",
68
     ReviewCount: "0",
69
     FinishedCount: "0",
69
     FinishedCount: "0",
70
     IsAccredit: false,
70
     IsAccredit: false,
71
-    IsRemind: false,
72
     IsMemberForeverRemind: 0,
71
     IsMemberForeverRemind: 0,
73
     IsMiaoguoAD: false,
72
     IsMiaoguoAD: false,
74
     IsMiaoguoAD2:0,
73
     IsMiaoguoAD2:0,
@@ -94,17 +93,7 @@ Page({
94
       NickName: app.globalData.userInfo.NickName,
93
       NickName: app.globalData.userInfo.NickName,
95
       AvatarUrl: app.globalData.userInfo.AvatarUrl,
94
       AvatarUrl: app.globalData.userInfo.AvatarUrl,
96
     });
95
     });
97
-
98
-    if (app.globalData.userInfo.NickName=="陌生用户" && app.globalData.userInfo.IsShow>0) {
99
-      this.setData({
100
-        IsRemind:true,
101
-      });
102
-    }
103
-    else{
104
-      this.setData({
105
-        IsRemind:false,
106
-      });
107
-    }
96
+    
108
     if (wx.getStorageSync("HasActivate") == 1) {
97
     if (wx.getStorageSync("HasActivate") == 1) {
109
       wx.navigateTo({
98
       wx.navigateTo({
110
         url: '../../package4/main/activate',
99
         url: '../../package4/main/activate',

+ 3 - 230
pages/main/index.wxml

@@ -1,221 +1,10 @@
1
 <view class="container FlexColumn" style='min-height:{{Height}}rpx;'>
1
 <view class="container FlexColumn" style='min-height:{{Height}}rpx;'>
2
-  <!-- <view class="index0 FlexColumn">
3
-    <image src='../images/home_banner_header_sz.png' class="home_banner_header_sz" bindtap='goto' data-id="topAD" data-url='../../package4/main/newuser' wx:if="{{IsMiaoguoAD && IsMember==1 && IsShow==1}}" />
4
-    <view class="index1 FlexRow">
5
-      <view class="{{NavClass1}} nav FlexColumn" bindtap='selectNav' data-id="1">
6
-        <image src='../images/02003.png' class="img3" />
7
-      </view>
8
-      <image src='../images/02001.png' class="img" />
9
-      <view class="{{NavClass2}} nav FlexColumn" bindtap='selectNav' data-id="2">
10
-        <image src='../images/02002.png' class="img2" />
11
-      </view>
12
-      <image src='../images/02004.gif' class="hand" wx:if="{{IsRemind}}" bindtap='selectNav' data-id="2" />
13
-    </view>
14
-  </view>
15
-  <block wx:if="{{NavClass2=='nav2'}}">
16
-    <view class="index2 FlexRow">
17
-      <view class="index2_1 FlexRow">
18
-        <view class="btn" bindtap="goto" data-url="../main/list?id=1">
19
-          <view class="btn1">
20
-            <view class="panel1 FlexRow">
21
-              <image src='../images/02005.png' class="img" />
22
-            </view>
23
-            <view class="panel2 FlexRow">
24
-              <image src='../images/02009.png' class="img2" />
25
-            </view>
26
-          </view>
27
-        </view>
28
-        <view class="btn" bindtap="goto" data-url="../main/list?id=2">
29
-          <view class="btn1">
30
-            <view class="panel1 FlexRow">
31
-              <image src='../images/02006.png' class="img" />
32
-            </view>
33
-            <view class="panel2 FlexRow">
34
-              <image src='../images/02010.png' class="img2" />
35
-            </view>
36
-          </view>
37
-        </view>
38
-        <view class="btn" bindtap="goto" data-url="../main/list?id=3">
39
-          <view class="btn1">
40
-            <view class="panel1 FlexRow">
41
-              <image src='../images/02007.png' class="img" />
42
-            </view>
43
-            <view class="panel2 FlexRow">
44
-              <image src='../images/02011.png' class="img2" />
45
-            </view>
46
-          </view>
47
-        </view>
48
-        <view class="btn" bindtap="goto" data-url="../main/list?id=4">
49
-          <view class="btn1">
50
-            <view class="panel1 FlexRow">
51
-              <image src='../images/02008.png' class="img" />
52
-            </view>
53
-            <view class="panel2 FlexRow">
54
-              <image src='../images/02012.png' class="img2" />
55
-            </view>
56
-          </view>
57
-        </view>
58
-        <view class="btn" bindtap="goto" data-url="../main/list?id=5">
59
-          <view class="btn1">
60
-            <view class="panel1 FlexRow">
61
-              <image src='../images/02031.png' class="img" />
62
-            </view>
63
-            <view class="panel2 FlexRow">
64
-              <image src='../images/02032.png' class="img2" />
65
-            </view>
66
-          </view>
67
-        </view>
68
-        <view class="btn" bindtap="goto" data-url="../main/list?id=6">
69
-          <view class="btn1">
70
-            <view class="panel1 FlexRow">
71
-              <image src='../images/02035.png' class="img" />
72
-            </view>
73
-            <view class="panel2 FlexRow">
74
-              <image src='../images/02036.png' class="img2" />
75
-            </view>
76
-          </view>
77
-        </view>
78
-        <view class="btn" bindtap="goto" data-url="../main/list?id=7">
79
-          <view class="btn1">
80
-            <view class="panel1 FlexRow">
81
-              <image src='../images/02037.png' class="img" />
82
-            </view>
83
-            <view class="panel2 FlexRow">
84
-              <image src='../images/02038.png' class="img2" />
85
-            </view>
86
-          </view>
87
-        </view>
88
-        <view class="btn" bindtap="goto" data-url="../main/list?id=8">
89
-          <view class="btn1">
90
-            <view class="panel1 FlexRow">
91
-              <image src='../images/02041.png' class="img" />
92
-            </view>
93
-            <view class="panel2 FlexRow">
94
-              <image src='../images/02042.png' class="img2" />
95
-            </view>
96
-          </view>
97
-        </view>
98
-        <view class="btn" bindtap="goto" data-url="../main/list?id=9">
99
-          <view class="btn1">
100
-            <view class="panel1 FlexRow">
101
-              <image src='../images/02039.png' class="img" />
102
-            </view>
103
-            <view class="panel2 FlexRow">
104
-              <image src='../images/02040.png' class="img2" />
105
-            </view>
106
-          </view>
107
-        </view>
108
-        <view class="btn" bindtap="goto" data-url="../main/list?id=10">
109
-          <view class="btn1">
110
-            <view class="panel1 FlexRow">
111
-              <image src='../images/02043.png' class="img" />
112
-            </view>
113
-            <view class="panel2 FlexRow">
114
-              <image src='../images/02044.png' class="img2" />
115
-            </view>
116
-          </view>
117
-        </view>
118
-        <view class="btn" bindtap="goto" data-url="../main/list?id=11">
119
-          <view class="btn1">
120
-            <view class="panel1 FlexRow">
121
-              <image src='../images/02045.png' class="img" />
122
-            </view>
123
-            <view class="panel2 FlexRow">
124
-              <image src='../images/02046.png' class="img2" />
125
-            </view>
126
-          </view>
127
-        </view>
128
-        <view class="btn" bindtap="goto" data-url="../main/list?id=12">
129
-          <view class="btn1">
130
-            <view class="panel1 FlexRow">
131
-              <image src='../images/02047.png' class="img" />
132
-            </view>
133
-            <view class="panel2 FlexRow">
134
-              <image src='../images/02048.png' class="img2" />
135
-            </view>
136
-          </view>
137
-        </view>
138
-      </view>
139
-    </view>
140
-    <view class="index7 FlexRow">
141
-      <image src='../images/02017.png' class="imgWave" />
142
-    </view>
143
-    <view class="index8 FlexColumn">
144
-      <image src='../images/02013.png' class="img" />
145
-      <view class="index8_1" bindtap='gotoSearch'>
146
-        输入一个字
147
-      </view>
148
-    </view>
149
-
150
-    <view class="index3 FlexColumn">
151
-      <image src='{{AvatarUrl}}' class="Avatar" bindtap="gotoMemberCenter">
152
-        <view class="gear FlexRow">
153
-          <image src='../images/02022.png' class="img" />
154
-        </view>
155
-      </image>
156
-      <view class="NickName" bindtap="gotoMemberCenter">{{NickName}}</view>
157
-      <view class="Member2 Member" wx:if="{{IsMember==0}}" bindtap="gotoMemberCenter">非会员</view>
158
-      <view class="Member" wx:if="{{IsMember==1}}" bindtap="gotoMemberCenter">付费会员</view>
159
-      <view class="index3_0 FlexRow">
160
-        <view class="index3_1 FlexColumn">
161
-          <view class="index3_1_1 FlexRow">
162
-            <view class="number" wx:if="{{!IsAccredit}}">-</view>
163
-            <view class="number" wx:if="{{IsAccredit}}">{{DayNumber}}</view>
164
-          </view>
165
-          <view class="index3_1_2 FlexRow">持续天数
166
-          </view>
167
-        </view>
168
-
169
-        <view class="index3_1 FlexColumn">
170
-          <view class="index3_1_1 FlexRow">
171
-            <view class="number" wx:if="{{!IsAccredit}}">-</view>
172
-            <view class="number" wx:if="{{IsAccredit}}">{{FinishedCount}}</view>
173
-          </view>
174
-          <view class="index3_1_2 FlexRow">已学章节
175
-          </view>
176
-        </view>
177
-        <view class="index3_1 FlexColumn">
178
-          <view class="index3_1_1 FlexRow">
179
-            <view class="number" wx:if="{{!IsAccredit}}">-</view>
180
-            <view class="number" wx:if="{{IsAccredit}}">{{HanziNumber}}</view>
181
-          </view>
182
-          <view class="index3_1_2 FlexRow">总共识字
183
-          </view>
184
-        </view>
185
-      </view>
186
-      <view class="btn5 btn3 btn" wx:if="{{ReviewCount==0}}" bindtap="gotoReview">
187
-        <view class="btn4 btn1">复习</view>
188
-      </view>
189
-      <view class="btn8 btn6 btn" wx:if="{{ReviewCount>0}}" bindtap="gotoReview">
190
-        <view class="btn7 btn1"> 复习
191
-          <view class="ReviewCount">{{ReviewCount}}</view>
192
-        </view>
193
-      </view>
194
-      <view class="btn8 btn6 btn" bindtap="gotoTest">
195
-        <view class="btn7 btn1">测试</view>
196
-      </view>
197
-
198
-      <button class="Circle FlexColumn" open-type="share">
199
-        <image src='../images/02015.png' class="Share" />
200
-        <view class="">分享</view>
201
-      </button>
202
-    </view>
203
-  </block>
204
-
205
-  <block wx:if="{{NavClass1=='nav2'}}">
206
-    <view class="index6 FlexColumn">
207
-      <image wx:if="{{item.ImageUrl}}" src='../images/{{item.ImageUrl}}' class="btn2" wx:for="{{ListProgram}}" wx:key="index" bindtap='switchProgram' data-appid='{{item.appId}}' data-path='{{item.path}}' />
208
-    </view>
209
-    <view style="height:100rpx;"></view>
210
-  </block>
211
-  <view class="index5 FlexColumn" wx:if="{{NavClass1!='nav2' && IsShow==1}}">
212
-    <image mode="widthFix" src='../images/home_banner_footer.png' class="home_banner" bindtap='goto' data-url='../../package4/main/newuser' />
213
-  </view> -->
2
+  
214
   <view class="panelTop FlexRow">
3
   <view class="panelTop FlexRow">
215
     <view class="Avatar FlexColumn">
4
     <view class="Avatar FlexColumn">
216
       <image src='../images/userface_default.png' class="AvatarImage" bindtap="gotoMemberCenter">
5
       <image src='../images/userface_default.png' class="AvatarImage" bindtap="gotoMemberCenter">
217
       </image>
6
       </image>
218
-      <image wx:if="{{!IsRemind}}" src='{{AvatarUrl}}' class="AvatarImage1" bindtap="gotoMemberCenter">
7
+      <image src='{{AvatarUrl}}' class="AvatarImage1" bindtap="gotoMemberCenter">
219
       </image>
8
       </image>
220
     </view>
9
     </view>
221
     
10
     
@@ -227,7 +16,7 @@
227
     <view class="panelTop1 FlexColumn">
16
     <view class="panelTop1 FlexColumn">
228
       <view class="number" wx:if="{{!IsAccredit}}">-</view>
17
       <view class="number" wx:if="{{!IsAccredit}}">-</view>
229
       <view class="number" wx:if="{{IsAccredit}}">{{FinishedCount}}</view>
18
       <view class="number" wx:if="{{IsAccredit}}">{{FinishedCount}}</view>
230
-      <view class="panelTop11 FlexRow">已学章节</view>
19
+      <view class="panelTop11 FlexRow">已学章节</view>
231
     </view>
20
     </view>
232
     <view class="panelTop1 FlexColumn">
21
     <view class="panelTop1 FlexColumn">
233
       <view class="number" wx:if="{{!IsAccredit}}">-</view>
22
       <view class="number" wx:if="{{!IsAccredit}}">-</view>
@@ -235,7 +24,6 @@
235
       <view class="panelTop11 FlexRow">总共识字</view>
24
       <view class="panelTop11 FlexRow">总共识字</view>
236
     </view>
25
     </view>
237
     <image src='../images/home_header_bg.png' class="home_header_bg" />
26
     <image src='../images/home_header_bg.png' class="home_header_bg" />
238
-    <image wx:if="{{IsRemind}}" src='../images/message_home_01.png' class="message_home_01" />
239
   </view>
27
   </view>
240
   <view class="panelTop2 FlexRow" wx:if="{{IsMember==0 && IsShow==1}}" bindtap="goto" data-url="../../package4/main/buyad">
28
   <view class="panelTop2 FlexRow" wx:if="{{IsMember==0 && IsShow==1}}" bindtap="goto" data-url="../../package4/main/buyad">
241
     <view class="panelTop21">帐户已过期,点这里升级到正式版</view>
29
     <view class="panelTop21">帐户已过期,点这里升级到正式版</view>
@@ -335,21 +123,6 @@
335
           
123
           
336
 </view>
124
 </view>
337
 
125
 
338
-<!-- <view class="HelpInfo2 FlexColumn" style='height:{{Height}}rpx;' wx:if="{{IsMiaoguoAD2==1}}">
339
-  <view class="btn" bindtap='goto' data-url='../../package4/main/newuser' data-id="topAD">
340
-    <view class="btn1 FlexColumn">
341
-      <image src='../images/home_banner_window.png' class="home_banner_window" />
342
-      <view class="btn2">了解一下</view>
343
-    </view>
344
-  </view>
345
-  <view class="close2 FlexColumn" bindtap='close' data-num="1">
346
-    以后再看
347
-  </view>
348
-  <view class="close FlexColumn" bindtap='close' data-num="0">
349
-    <image src='../images/02024.png' class="closeImage" />
350
-  </view>
351
-</view> -->
352
-
353
 <view class="HelpInfo2 FlexColumn" style='height:{{Height}}rpx;' wx:if="{{IsMiaoguoAD2==1}}">
126
 <view class="HelpInfo2 FlexColumn" style='height:{{Height}}rpx;' wx:if="{{IsMiaoguoAD2==1}}">
354
   <view class="btn">
127
   <view class="btn">
355
     <view class="btn1 FlexColumn" catchtap="showMiaoguo">
128
     <view class="btn1 FlexColumn" catchtap="showMiaoguo">

+ 5 - 19
pages/main/list.js

@@ -8,7 +8,7 @@ Page({
8
   data: {
8
   data: {
9
   },
9
   },
10
   onLoad: function (options) {
10
   onLoad: function (options) {
11
-    var bookID = options.id;
11
+    var bookID = Number(options.id)+60;
12
     this.setData({
12
     this.setData({
13
       Height: common.getSystemHeight(),
13
       Height: common.getSystemHeight(),
14
       NavClass1: "nav1",
14
       NavClass1: "nav1",
@@ -17,7 +17,6 @@ Page({
17
       BookID: bookID,
17
       BookID: bookID,
18
       IsShow: app.globalData.userInfo.IsShow,
18
       IsShow: app.globalData.userInfo.IsShow,
19
     });
19
     });
20
-    common.getStorageValue(this, "IsRemind", true, function () { });
21
   },
20
   },
22
   onShow: function () {
21
   onShow: function () {
23
     if (app.globalData.IsRefresh) {
22
     if (app.globalData.IsRefresh) {
@@ -82,27 +81,16 @@ Page({
82
       }
81
       }
83
     }
82
     }
84
     var imgNum = this.data.BookID;
83
     var imgNum = this.data.BookID;
85
-    if (imgNum == 5)
86
-      imgNum = "11";
87
-    else if (imgNum == 6)
88
-      imgNum = "12";
89
-    else
90
-      imgNum = "0" + imgNum;
91
-    
84
+        
92
     this.setData({
85
     this.setData({
93
       List: result.Units,
86
       List: result.Units,
94
     });
87
     });
95
 
88
 
96
-    if (Number(imgNum)<=6){
97
-      this.setData({
98
-        topImage: "../images/040" + imgNum + ".png"
99
-      });
100
-    }
101
-    else{
89
+    if (Number(imgNum)<=64){
90
+
102
       this.setData({
91
       this.setData({
103
-        IsRemind:false,
92
+        topImage: "../images/0400" + (Number(imgNum)-60).toString() + ".png"
104
       });
93
       });
105
-      wx.setStorageSync('IsRemind', false);
106
     }
94
     }
107
 
95
 
108
     wx.setNavigationBarTitle({
96
     wx.setNavigationBarTitle({
@@ -125,9 +113,7 @@ Page({
125
         NavClass1: "nav2",
113
         NavClass1: "nav2",
126
         NavClass2: "nav1",
114
         NavClass2: "nav1",
127
         IsShowNav1: false,
115
         IsShowNav1: false,
128
-        IsRemind:false
129
       });
116
       });
130
-      wx.setStorageSync('IsRemind', false);
131
     }
117
     }
132
   },
118
   },
133
   goto: function (e) {
119
   goto: function (e) {

+ 4 - 6
pages/main/list.wxml

@@ -27,16 +27,16 @@
27
             <image wx:if="{{IsShow==0 && item.IsLocked==0 && !item.IsFinished}}" src='../images/04007.png' class="img04007" />
27
             <image wx:if="{{IsShow==0 && item.IsLocked==0 && !item.IsFinished}}" src='../images/04007.png' class="img04007" />
28
             <image wx:if="{{IsShow==0 && item.IsLocked==0 && item.IsFinished}}" src='../images/04006.png' class="img04007" />
28
             <image wx:if="{{IsShow==0 && item.IsLocked==0 && item.IsFinished}}" src='../images/04006.png' class="img04007" />
29
             <image wx:if="{{IsShow==0 && item.IsLocked==1}}" src='../images/04007.png' class="img04007" />
29
             <image wx:if="{{IsShow==0 && item.IsLocked==1}}" src='../images/04007.png' class="img04007" />
30
-            <view class="title">{{item.Example}}</view>
30
+            <view class="title">{{item.Title}}</view>
31
           </view>
31
           </view>
32
           <view class="right FlexColumn">
32
           <view class="right FlexColumn">
33
             <view class="right1 FlexRow">
33
             <view class="right1 FlexRow">
34
-              <view class="line"></view>
35
-              <view class="title2">{{item.Name}}</view>
34
+              <view class="line"></view>
35
+              <view class="title2">{{item.Name}}</view>
36
             </view>
36
             </view>
37
             <view class="right2 FlexRow">
37
             <view class="right2 FlexRow">
38
               <image src='../images/04008.png' class="img04008" />
38
               <image src='../images/04008.png' class="img04008" />
39
-              <view class="title3">{{item.WordLength}}个</view>
39
+              <view class="title3">{{item.WordLength}}个</view>
40
             </view>
40
             </view>
41
           </view>
41
           </view>
42
         </view>
42
         </view>
@@ -61,6 +61,4 @@
61
     <view class="line4 line">
61
     <view class="line4 line">
62
     </view>
62
     </view>
63
   </block>
63
   </block>
64
-  <image src='../images/02004.gif' class="hand" wx:if="{{IsRemind}}" />
65
-
66
 </view>
64
 </view>

+ 2 - 2
pages/main/review.wxml

@@ -2,7 +2,7 @@
2
 <view class="container FlexColumn" wx:if="{{!IsEdit && List.length>0}}" style='min-height:{{Height}}rpx;'>
2
 <view class="container FlexColumn" wx:if="{{!IsEdit && List.length>0}}" style='min-height:{{Height}}rpx;'>
3
   <view class="panel FlexRow">
3
   <view class="panel FlexRow">
4
     <view class="title">复习内容</view>
4
     <view class="title">复习内容</view>
5
-    <view class="btn" bindtap='startEdit'>整理</view>
5
+    <view class="btn" bindtap='startEdit'>整理</view>
6
   </view>
6
   </view>
7
   <view class="panel2 panel FlexRow" wx:for="{{List}}" wx:key="index" bindtap='gotoReview' data-id="{{index}}">
7
   <view class="panel2 panel FlexRow" wx:for="{{List}}" wx:key="index" bindtap='gotoReview' data-id="{{index}}">
8
     <view class="Name">{{item.Name}}</view>
8
     <view class="Name">{{item.Name}}</view>
@@ -36,6 +36,6 @@
36
   <view style='height:150rpx'></view>
36
   <view style='height:150rpx'></view>
37
   <view class="bottom2 bottom FlexColumn" bindtap='cancelHanzi'>
37
   <view class="bottom2 bottom FlexColumn" bindtap='cancelHanzi'>
38
     <view>取消复习</view>
38
     <view>取消复习</view>
39
-    <view class="text1">已选 {{SelectedCount}} 个汉字</view>
39
+    <view class="text1">已选 {{SelectedCount}} 个汉字</view>
40
   </view>
40
   </view>
41
 </view>
41
 </view>

+ 1 - 1
pages/main/setcombine.wxml

@@ -15,7 +15,7 @@
15
   <view style='height:200rpx;'></view>
15
   <view style='height:200rpx;'></view>
16
   <view class="bottom FlexColumn" bindtap='save'>
16
   <view class="bottom FlexColumn" bindtap='save'>
17
     <view class="bottom1 FlexRow">
17
     <view class="bottom1 FlexRow">
18
-      完成
18
+      完成
19
     </view>
19
     </view>
20
   </view>
20
   </view>
21
 </view>
21
 </view>

+ 1 - 1
pages/main/test.js

@@ -146,7 +146,7 @@ Page({
146
     }
146
     }
147
     content = '您孩子的识字数大约是' + count + '个,建议从《' + book+'》学习起。';
147
     content = '您孩子的识字数大约是' + count + '个,建议从《' + book+'》学习起。';
148
     if (count == 0) {
148
     if (count == 0) {
149
-      content = '您孩子的识字数未知,建议从《' + book +'》学习起。';
149
+      content = '您孩子的识字数未知,建议从《' + book +'》学习起。';
150
     }
150
     }
151
     if (isFinished == 1) {
151
     if (isFinished == 1) {
152
       content = '您孩子的识字数大约是' + count + '个,实在太优秀了!建议自行搜索文字学习。';
152
       content = '您孩子的识字数大约是' + count + '个,实在太优秀了!建议自行搜索文字学习。';

+ 2 - 2
pages/main/test.wxml

@@ -3,7 +3,7 @@
3
 
3
 
4
   <view class="panelTop0 FlexRow">
4
   <view class="panelTop0 FlexRow">
5
     <view class='left'>得分:{{AnswerTrue}} / {{List.length}}</view>
5
     <view class='left'>得分:{{AnswerTrue}} / {{List.length}}</view>
6
-    <view class='right'>错误:{{AnswerError}} / {{AnswerErrorMax}}</view>
6
+    <view class='right'>错误:{{AnswerError}} / {{AnswerErrorMax}}</view>
7
   </view>
7
   </view>
8
 
8
 
9
   <view class="panelTop FlexRow">
9
   <view class="panelTop FlexRow">
@@ -16,7 +16,7 @@
16
 
16
 
17
     <view class="Name">{{item.options}}</view>
17
     <view class="Name">{{item.options}}</view>
18
   </view>
18
   </view>
19
-  <view class="bottom FlexRow" >
19
+  <view class="bottom FlexRow" >
20
     <text class="bottom1" bindtap='getResult'>退出\n测试</text>
20
     <text class="bottom1" bindtap='getResult'>退出\n测试</text>
21
     <view class="bottom2" bindtap='gotoOK' data-id="0">确认</view>
21
     <view class="bottom2" bindtap='gotoOK' data-id="0">确认</view>
22
   </view>
22
   </view>

+ 20 - 26
project.config.json

@@ -1,79 +1,73 @@
1
 {
1
 {
2
-  "description": "项目配置文件",
2
+  "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
3
   "setting": {
3
   "setting": {
4
     "urlCheck": false,
4
     "urlCheck": false,
5
     "es6": true,
5
     "es6": true,
6
     "postcss": true,
6
     "postcss": true,
7
     "minified": true,
7
     "minified": true,
8
     "newFeature": true,
8
     "newFeature": true,
9
+    "scopeDataCheck": false,
9
     "checkInvalidKey": true,
10
     "checkInvalidKey": true,
10
     "checkSiteMap": true,
11
     "checkSiteMap": true,
11
     "uploadWithSourceMap": true,
12
     "uploadWithSourceMap": true,
12
     "useMultiFrameRuntime": true,
13
     "useMultiFrameRuntime": true,
13
-    "useApiHook": true,
14
-    "useApiHostProcess": true,
14
+    "useApiHook": false,
15
+    "useApiHostProcess": false,
15
     "babelSetting": {
16
     "babelSetting": {
16
       "ignore": [],
17
       "ignore": [],
17
       "disablePlugins": [],
18
       "disablePlugins": [],
18
       "outputPath": ""
19
       "outputPath": ""
19
     },
20
     },
20
-    "bundle": false,
21
-    "useIsolateContext": true,
22
-    "useCompilerModule": true,
23
-    "userConfirmedUseCompilerModuleSwitch": false,
21
+    "useIsolateContext": false,
24
     "userConfirmedBundleSwitch": false,
22
     "userConfirmedBundleSwitch": false,
25
     "packNpmManually": false,
23
     "packNpmManually": false,
26
     "packNpmRelationList": [],
24
     "packNpmRelationList": [],
27
-    "minifyWXSS": true
25
+    "minifyWXSS": true,
26
+    "disableUseStrict": false,
27
+    "minifyWXML": true,
28
+    "showES6CompileOption": false,
29
+    "useCompilerPlugins": false,
30
+    "ignoreUploadUnusedFiles": true,
31
+    "useStaticServer": true
28
   },
32
   },
29
   "compileType": "miniprogram",
33
   "compileType": "miniprogram",
30
   "libVersion": "2.3.0",
34
   "libVersion": "2.3.0",
31
   "appid": "wx313a8f2c0741efe1",
35
   "appid": "wx313a8f2c0741efe1",
32
   "projectname": "%E8%AF%86%E5%AD%97",
36
   "projectname": "%E8%AF%86%E5%AD%97",
33
-  "isGameTourist": false,
34
   "simulatorType": "wechat",
37
   "simulatorType": "wechat",
35
   "simulatorPluginLibVersion": {},
38
   "simulatorPluginLibVersion": {},
36
   "condition": {
39
   "condition": {
37
-    "search": {
38
-      "list": []
39
-    },
40
-    "conversation": {
41
-      "list": []
42
-    },
43
-    "plugin": {
44
-      "list": []
45
-    },
46
-    "game": {
47
-      "currentL": -1,
48
-      "list": []
49
-    },
50
     "miniprogram": {
40
     "miniprogram": {
51
       "list": [
41
       "list": [
52
         {
42
         {
53
-          "id": -1,
54
           "name": "首页",
43
           "name": "首页",
55
           "pathName": "pages/main/index",
44
           "pathName": "pages/main/index",
56
           "query": ""
45
           "query": ""
57
         },
46
         },
58
         {
47
         {
59
-          "id": -1,
60
           "name": "列表",
48
           "name": "列表",
61
           "pathName": "pages/main/list",
49
           "pathName": "pages/main/list",
62
           "query": ""
50
           "query": ""
63
         },
51
         },
64
         {
52
         {
65
-          "id": 2,
66
           "name": "详情页",
53
           "name": "详情页",
67
           "pathName": "pages/main/detail",
54
           "pathName": "pages/main/detail",
68
           "query": "bookid=1&unitid=1&wordid=0"
55
           "query": "bookid=1&unitid=1&wordid=0"
69
         },
56
         },
70
         {
57
         {
71
-          "id": -1,
72
           "name": "\b搜索",
58
           "name": "\b搜索",
73
           "pathName": "pages/main/search",
59
           "pathName": "pages/main/search",
74
           "query": ""
60
           "query": ""
75
         }
61
         }
76
       ]
62
       ]
77
     }
63
     }
64
+  },
65
+  "packOptions": {
66
+    "ignore": [],
67
+    "include": []
68
+  },
69
+  "editorSetting": {
70
+    "tabIndent": "insertSpaces",
71
+    "tabSize": 2
78
   }
72
   }
79
 }
73
 }

+ 13 - 0
utils/cryptojs.js

@@ -1,3 +1,16 @@
1
+import BlockModes from '../utils/lib/BlockModes';
2
+import DES from '../utils/lib/DES';
3
+import AES from '../utils/lib/AES';
4
+import HMAC from '../utils/lib/HMAC';
5
+import MARC4 from '../utils/lib/MARC4';
6
+import MD5 from '../utils/lib/MD5';
7
+import PBKDF2 from '../utils/lib/PBKDF2';
8
+import PBKDF2Async from '../utils/lib/PBKDF2Async';
9
+import Rabbit from '../utils/lib/Rabbit';
10
+import SHA1 from '../utils/lib/SHA1';
11
+import SHA256 from '../utils/lib/SHA256';
12
+import CryptoMath from '../utils/lib/CryptoMath';
13
+
1
 var Crypto = exports.Crypto = require('./lib/Crypto').Crypto;
14
 var Crypto = exports.Crypto = require('./lib/Crypto').Crypto;
2
 
15
 
3
 [ 'CryptoMath'
16
 [ 'CryptoMath'

+ 4 - 4
utils/main.js

@@ -15,7 +15,7 @@ function getData(url, callback) {
15
     },
15
     },
16
     fail: function () {
16
     fail: function () {
17
       wx.showToast({
17
       wx.showToast({
18
-        title: '网络故障,请稍候再试!',
18
+        title: '网络故障,请稍候再试!',
19
         duration: 3000
19
         duration: 3000
20
       });
20
       });
21
     },
21
     },
@@ -37,7 +37,7 @@ function postData(url, postData, callback) {
37
     },
37
     },
38
     fail: function () {
38
     fail: function () {
39
       wx.showToast({
39
       wx.showToast({
40
-        title: '网络故障,请稍候再试!',
40
+        title: '网络故障,请稍候再试!',
41
         duration: 3000
41
         duration: 3000
42
       });
42
       });
43
     },
43
     },
@@ -96,7 +96,7 @@ function payMoney(payType, buyType, money, detail, callback) {
96
                 }
96
                 }
97
                 else {
97
                 else {
98
                   wx.showToast({
98
                   wx.showToast({
99
-                    title: '服务器忙,请稍候再试!',
99
+                    title: '服务器忙,请稍候再试!',
100
                     duration: 3000
100
                     duration: 3000
101
                   });
101
                   });
102
                 }
102
                 }
@@ -108,7 +108,7 @@ function payMoney(payType, buyType, money, detail, callback) {
108
       } else {
108
       } else {
109
         console.log('获取用户登录态失败!' + res.errMsg);
109
         console.log('获取用户登录态失败!' + res.errMsg);
110
         wx.showToast({
110
         wx.showToast({
111
-          title: '服务器忙,请稍候再试!',
111
+          title: '服务器忙,请稍候再试!',
112
           duration: 3000
112
           duration: 3000
113
         });
113
         });
114
       }
114
       }

+ 1 - 1
utils/pinyin.js

@@ -84,7 +84,7 @@ const getPinyinArray = function () {
84
     ['bu4', 'bù', ['不']],
84
     ['bu4', 'bù', ['不']],
85
     ['bu5', 'bu', ['']],
85
     ['bu5', 'bu', ['']],
86
     ['ca1', 'cā', ['擦']],
86
     ['ca1', 'cā', ['擦']],
87
-    ['ca3', 'cǎ', ['礤']],
87
+    ['ca3', 'cǎ', ['礤']],
88
     ['cai1', 'cāi', ['猜']],
88
     ['cai1', 'cāi', ['猜']],
89
     ['cai2', 'cái', ['才']],
89
     ['cai2', 'cái', ['才']],
90
     ['cai3', 'cǎi', ['彩']],
90
     ['cai3', 'cǎi', ['彩']],

+ 1 - 1
utils/util.js

@@ -216,7 +216,7 @@ function checkError(err) {
216
     case 504:
216
     case 504:
217
     case 505:
217
     case 505:
218
       wx.showToast({
218
       wx.showToast({
219
-        title: '网络故障,请稍候再试!',
219
+        title: '网络故障,请稍候再试!',
220
         duration: 3000
220
         duration: 3000
221
       });
221
       });
222
       break;
222
       break;