chengjie 6 년 전
부모
커밋
a42c0f0898
65개의 변경된 파일1099개의 추가작업 그리고 234개의 파일을 삭제
  1. 12 5
      app.js
  2. 3 0
      app.json
  3. BIN
      marketing/images/promotion_leaflet_a01.png
  4. BIN
      pages/images/examine_clipboard_200x200.png
  5. BIN
      pages/images/examine_clipboard_80x80.png
  6. BIN
      pages/images/examine_loading_200x200.gif
  7. BIN
      pages/images/examine_subject_a001.png
  8. BIN
      pages/images/examine_subject_a002.png
  9. BIN
      pages/images/examine_subject_a003.png
  10. BIN
      pages/images/examine_subject_a004.png
  11. BIN
      pages/images/examine_subject_a005.png
  12. BIN
      pages/images/examine_subject_a006.png
  13. BIN
      pages/images/examine_subjecticon_01.png
  14. BIN
      pages/images/examine_willread_gray_22x22.png
  15. BIN
      pages/images/examine_willread_gray_30x30.png
  16. BIN
      pages/images/examine_willread_green_22x22.png
  17. BIN
      pages/images/examine_willread_green_30x30.png
  18. BIN
      pages/images/examine_willwrite_gray_22x22.png
  19. BIN
      pages/images/examine_willwrite_gray_27x27.png
  20. BIN
      pages/images/examine_willwrite_green_22x22.png
  21. BIN
      pages/images/examine_willwrite_green_27x27.png
  22. BIN
      pages/images/universalpic_bookmark_blue_40x40.png
  23. BIN
      pages/images/universalpic_checked_gray_14x12.png
  24. BIN
      pages/images/universalpic_close_black_24x24.png
  25. BIN
      pages/images/universalpic_menu_blue_26x26.png
  26. BIN
      pages/images/universalpic_people_black_30x30.png
  27. BIN
      pages/images/universalpic_ribbon_white_96x120.png
  28. BIN
      pages/images/universalpic_word_blue_30x30.png
  29. BIN
      pages/images/universalpic_wrong_gray_12x12.png
  30. 39 23
      pages/main/add.js
  31. 20 10
      pages/main/add.wxml
  32. 29 6
      pages/main/add.wxss
  33. 1 0
      pages/main/default.js
  34. 1 1
      pages/main/default.wxml
  35. 7 1
      pages/main/default.wxss
  36. 4 0
      pages/main/detail.js
  37. 11 4
      pages/main/preview.js
  38. 7 3
      pages/main/preview.wxml
  39. 15 1
      pages/main/preview.wxss
  40. 1 0
      pages/main/searchCard.js
  41. 2 0
      pages/main/searchCard.wxml
  42. 6 0
      pages/main/searchCard.wxss
  43. 7 1
      pages/main/searchCardList.js
  44. 15 2
      pages/main/searchWeb2.js
  45. 1 1
      pages/main/searchWeb2.wxml
  46. 0 19
      pages/other/activity.js
  47. 0 11
      pages/other/activity.wxml
  48. 8 6
      pages/other/binding.js
  49. 15 81
      pages/test/index.js
  50. 1 1
      pages/test/index.json
  51. 70 11
      pages/test/index.wxml
  52. 283 33
      pages/test/index.wxss
  53. 33 0
      pages/test/list.js
  54. 3 0
      pages/test/list.json
  55. 59 0
      pages/test/list.wxml
  56. 158 0
      pages/test/list.wxss
  57. 23 0
      pages/test/report.js
  58. 3 0
      pages/test/report.json
  59. 64 0
      pages/test/report.wxml
  60. 110 0
      pages/test/report.wxss
  61. 23 0
      pages/test/wordlist.js
  62. 3 0
      pages/test/wordlist.json
  63. 13 0
      pages/test/wordlist.wxml
  64. 38 0
      pages/test/wordlist.wxss
  65. 11 14
      project.config.json

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 12 - 5
app.js


+ 3 - 0
app.json

@@ -5,7 +5,10 @@
5 5
     "pages/index/openSetting",
6 6
 
7 7
     "pages/test/index",
8
+    "pages/test/list",
8 9
     "pages/test/item",
10
+    "pages/test/wordlist",
11
+    "pages/test/report",
9 12
 
10 13
     "pages/main/default",
11 14
     "pages/main/cardInfo",

BIN
marketing/images/promotion_leaflet_a01.png


BIN
pages/images/examine_clipboard_200x200.png


BIN
pages/images/examine_clipboard_80x80.png


BIN
pages/images/examine_loading_200x200.gif


BIN
pages/images/examine_subject_a001.png


BIN
pages/images/examine_subject_a002.png


BIN
pages/images/examine_subject_a003.png


BIN
pages/images/examine_subject_a004.png


BIN
pages/images/examine_subject_a005.png


BIN
pages/images/examine_subject_a006.png


BIN
pages/images/examine_subjecticon_01.png


BIN
pages/images/examine_willread_gray_22x22.png


BIN
pages/images/examine_willread_gray_30x30.png


BIN
pages/images/examine_willread_green_22x22.png


BIN
pages/images/examine_willread_green_30x30.png


BIN
pages/images/examine_willwrite_gray_22x22.png


BIN
pages/images/examine_willwrite_gray_27x27.png


BIN
pages/images/examine_willwrite_green_22x22.png


BIN
pages/images/examine_willwrite_green_27x27.png


BIN
pages/images/universalpic_bookmark_blue_40x40.png


BIN
pages/images/universalpic_checked_gray_14x12.png


BIN
pages/images/universalpic_close_black_24x24.png


BIN
pages/images/universalpic_menu_blue_26x26.png


BIN
pages/images/universalpic_people_black_30x30.png


BIN
pages/images/universalpic_ribbon_white_96x120.png


BIN
pages/images/universalpic_word_blue_30x30.png


BIN
pages/images/universalpic_wrong_gray_12x12.png


+ 39 - 23
pages/main/add.js

@@ -34,6 +34,7 @@ var recorderManager;
34 34
 var tempRecorderFile = "";
35 35
 var innerAudioContext;
36 36
 var isViolate = false; //是否是违禁词
37
+var isFirstAdd=true;//是第一个填加
37 38
 
38 39
 Page({
39 40
   data: {
@@ -44,7 +45,8 @@ Page({
44 45
     HighlighterSign: "[光]",
45 46
     IsPracticeTime: false,
46 47
     IsRecorder: false,
47
-    PracticeTimeArr: PracticeTimeArr
48
+    PracticeTimeArr: PracticeTimeArr,
49
+    IsIPhoneX: app.globalData.IsIPhoneX,
48 50
   },
49 51
   onReady: function() {
50 52
     recorderManager = wx.getRecorderManager();
@@ -93,6 +95,7 @@ Page({
93 95
     app.globalData.TempMiaoguoCardID = that.data.MiaoguoCardID;
94 96
 
95 97
     isViolate = false;
98
+    isFirstAdd = true;
96 99
   },
97 100
   onShow: function() {
98 101
     var that = this;
@@ -145,7 +148,7 @@ Page({
145 148
   },
146 149
   onHide: function() {
147 150
     //用于恢复未保存的新题卡
148
-    console.log("onHide");
151
+    //console.log("onHide");
149 152
     var that = this;
150 153
     if (!that.data.HiddenFieldEdit) {
151 154
       that.updateField();
@@ -307,6 +310,7 @@ Page({
307 310
                   });
308 311
 
309 312
                   if (that.data.UpdateType == "add2") {
313
+                    isFirstAdd = false;
310 314
                     that.initAddCard();
311 315
                   }
312 316
 
@@ -439,7 +443,7 @@ Page({
439 443
       //console.log(arrResult.length);
440 444
       if (arrResult.length >= arrSource.length) {
441 445
         wx.hideLoading();
442
-        console.log("arrResult:" + JSON.stringify(arrResult));
446
+        //console.log("arrResult:" + JSON.stringify(arrResult));
443 447
 
444 448
         clearInterval(interval);
445 449
         var success = true;
@@ -584,10 +588,18 @@ Page({
584 588
   },
585 589
   onGotoList: function() {
586 590
     var that = this;
587
-    if (that.data.Field[1] != "" && that.data.Field[2] != "" && that.data.Field[2] != "") {
591
+    if (isFirstAdd == true || !that.data.Field) {
592
+      wx.showModal({
593
+        title: '无法查看上一张',
594
+        content: '本功能是在批量添加题卡时快速回看上一张题卡。现在是本批的第一张,没有上一张。',
595
+        confirmText: '知道了',
596
+        showCancel: false,
597
+      });
598
+    }
599
+    else if (that.data.Field[1].length > 0 || that.data.Field[2].length > 0 || that.data.Field[2].length > 0) {
588 600
       wx.showModal({
589 601
         title: '尚未保存',
590
-        content: '即将前往“全部题卡”,但当前题卡尚未保存,按继续将放弃保存。',
602
+        content: '即将“查看上一张题卡”,但当前题卡尚未保存,按继续将放弃保存。',
591 603
         confirmText: '继续',
592 604
         success(res) {
593 605
           if (res.confirm) {
@@ -595,7 +607,8 @@ Page({
595 607
           }
596 608
         }
597 609
       });
598
-    } else {
610
+    } 
611
+    else {
599 612
       goto();
600 613
     }
601 614
 
@@ -611,8 +624,11 @@ Page({
611 624
         wx.hideLoading();
612 625
         if (data) {
613 626
           app.globalData.CardList = data.List;
614
-          wx.redirectTo({
615
-            url: './searchCardList?type=0&Count=' + data.Count,
627
+          that.setData({
628
+            UpdateType: "add",
629
+          });
630
+          wx.navigateTo({
631
+            url: './searchCardList?type=2&Count=' + data.Count,
616 632
           })
617 633
         }
618 634
       });
@@ -632,10 +648,10 @@ Page({
632 648
     else if (that.data.PracticeTimeStr == PracticeTimeArr[4].Name)
633 649
       LimitTime = common.formatTime(common.addDate("m", 3, new Date(that.data.LimitTime)));
634 650
 
635
-    console.log(that.data.LimitTime);
636
-    console.log(new Date(that.data.LimitTime));
637
-    console.log(common.addDate("w", 1, new Date(that.data.LimitTime)));
638
-    console.log(LimitTime);
651
+    //console.log(that.data.LimitTime);
652
+    //console.log(new Date(that.data.LimitTime));
653
+    //console.log(common.addDate("w", 1, new Date(that.data.LimitTime)));
654
+    //console.log(LimitTime);
639 655
     return LimitTime
640 656
   },
641 657
 
@@ -658,7 +674,7 @@ Page({
658 674
   },
659 675
   //加符号
660 676
   addSymbol: function(e) {
661
-    console.log("addSymbol");
677
+    //console.log("addSymbol");
662 678
     isEdit = true;
663 679
     var that = this;
664 680
 
@@ -693,13 +709,13 @@ Page({
693 709
       btnName ="(     )";
694 710
     else if (btnName == "_")
695 711
       btnName = "_____";
696
-    console.log("addSymbol_btnName:" + btnName);
712
+    //console.log("addSymbol_btnName:" + btnName);
697 713
 
698 714
     if (!this.data.Focus) {
699 715
       var obj = { detail: {cursor:tempCursor}};
700 716
       this.onBindblur(obj);
701 717
     }
702
-    console.log("addSymbol:" + this.data.FieldContent);
718
+    //console.log("addSymbol:" + this.data.FieldContent);
703 719
 
704 720
     setTimeout(function() {
705 721
       that.setData({
@@ -722,7 +738,7 @@ Page({
722 738
     if (app.globalData.IsAndroid && !isEdit) {
723 739
       setTimeout(function() {
724 740
         isEdit = true;
725
-        console.log("onBindblur2:" + isEdit);
741
+        //console.log("onBindblur2:" + isEdit);
726 742
       }, 500);
727 743
       return;
728 744
     }
@@ -730,7 +746,7 @@ Page({
730 746
     if (app.globalData.IsAndroid && !isEdit) {
731 747
       setTimeout(function() {
732 748
         isEdit = true;
733
-        console.log("onBindblur2:" + isEdit);
749
+        //console.log("onBindblur2:" + isEdit);
734 750
       }, 500);
735 751
     }
736 752
     //console.log("onBindblur:"+isEdit);
@@ -738,7 +754,7 @@ Page({
738 754
     this.updateField();
739 755
     tempCursor = e.detail.cursor;
740 756
     
741
-    console.log("tempCursor:" + tempCursor);
757
+    //console.log("tempCursor:" + tempCursor);
742 758
     if (tempCursor == undefined)
743 759
       tempCursor = this.data["FieldContent"].length;
744 760
     var str1 = "",
@@ -747,9 +763,9 @@ Page({
747 763
       str1 = this.data.FieldContent.substr(0, tempCursor);
748 764
       str2 = this.data.FieldContent.substring(tempCursor, this.data.FieldContent.length);
749 765
     }
750
-    console.log("str1:" + str1);
751
-    console.log("btnName:" + btnName);
752
-    console.log("str2:" + str2);
766
+    //console.log("str1:" + str1);
767
+    //console.log("btnName:" + btnName);
768
+    //console.log("str2:" + str2);
753 769
     var cur = 0;
754 770
     if (btnName){
755 771
       cur = 1;
@@ -932,8 +948,8 @@ Page({
932 948
           wx.getImageInfo({
933 949
             src: res.tempFilePaths[0],
934 950
             success(res) {
935
-              console.log(res.width)
936
-              console.log(res.height)
951
+              //console.log(res.width)
952
+              //console.log(res.height)
937 953
               if (tempCursor == undefined)
938 954
                 tempCursor = that.data.FieldContent.length;
939 955
               var str1 = "",

+ 20 - 10
pages/main/add.wxml

@@ -3,8 +3,7 @@
3 3
     <view class="panelTopLeft FlexRow" catchtap="onSearch">
4 4
       <view class="add">+</view> 资料
5 5
     </view>
6
-    <view class='panelTopRight FlexRow' catchtap='onGotoList' wx:if="{{UpdateType=='add' || UpdateType=='add2'}}">
7
-      <image src='../images/universalpic_card_gray_26x26.png' class="universalpic_card_gray_26x26" />
6
+    <view class='panelTopRight FlexRow'>
8 7
     </view>
9 8
   </view>
10 9
   <view style='height:120rpx'></view>
@@ -17,7 +16,8 @@
17 16
     </view>
18 17
     <view class="panelItem FlexRow" bindtap='gotoAddItem' data-fieldid="{{itemParent}}">
19 18
       <view class="panelItem11 FlexColumn">
20
-        <view class="number">{{itemParent}}</view>
19
+        <view class="number2 number" wx:if="{{!Field[itemParent] || Field[itemParent].length==0}}">{{itemParent}}</view>
20
+        <view class="number" wx:if="{{Field[itemParent] && Field[itemParent].length>0}}">{{itemParent}}</view>
21 21
       </view>
22 22
       <view class="panelItem21 FlexRow">
23 23
         <text class="textNull" wx:if="{{!Field[itemParent] || Field[itemParent].length==0}}">
@@ -79,7 +79,7 @@
79 79
       <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
80 80
     </view>
81 81
   </view>
82
-  
82
+
83 83
   <view class="panelTimePlan0 panelTimePlan FlexRow" bindtap="showPracticeTime" wx:if="{{!IsShowPracticeTimeStart}}">
84 84
     <view class="panelItem1 FlexRow">
85 85
       <image src='../images/universalpic_clock_white_24x24.png' class="universalpic_clock_gray_24x24" />
@@ -92,13 +92,23 @@
92 92
   </view>
93 93
   <view style='height:300rpx;'></view>
94 94
 
95
-  <view class='panelSave FlexRow'>
96
-    <view class="panelSave1" bindtap="onPreview">
97
-      预览
98
-    </view>
99
-    <view class='panelSave2' bindtap="saveCard">
100
-      保存
95
+  <view class='panelSave FlexColumn'>
96
+    <view class="panelSave00 FlexRow">
97
+      <view class="panelSave1" catchtap='onGotoList' wx:if="{{UpdateType=='add' || UpdateType=='add2'}}">
98
+        复查
99
+      </view>
100
+      <view class="panelSave1" catchtap='onClose' wx:if="{{UpdateType!='add' && UpdateType!='add2'}}">
101
+        复查
102
+      </view>
103
+      <view class='panelSave2' bindtap="saveCard">
104
+        保存
105
+      </view>
106
+      <view class="panelSave1" bindtap="onPreview">
107
+        预览
108
+      </view>
101 109
     </view>
110
+
111
+    <view class="iphone10plus" wx:if="{{IsIPhoneX}}"></view>
102 112
   </view>
103 113
 </view>
104 114
 

+ 29 - 6
pages/main/add.wxss

@@ -113,6 +113,12 @@
113 113
   font-weight: 400;
114 114
 }
115 115
 
116
+.iphone10plus{
117
+  width:100%;
118
+  height:30rpx;
119
+  background-color: #fff;
120
+}
121
+
116 122
 .panelItem0 {
117 123
   height: 133rpx;
118 124
 }
@@ -132,12 +138,21 @@
132 138
   font-family: 'Roboto-Black';
133 139
   font-size: 24rpx;
134 140
   width: 40rpx;
141
+  height: 40rpx;
135 142
   background-color: #0071ef;
136 143
   border-radius: 50%;
137 144
   text-align: center;
138 145
   line-height: 40rpx;
139 146
   color: #fff;
140 147
 }
148
+.panelItem .number2 {
149
+  background-color: #fff;
150
+  border:1rpx solid #0071EF;
151
+  width: 38rpx;
152
+  height:38rpx;
153
+  line-height: 38rpx;
154
+  color: #0071ef;
155
+}
141 156
 
142 157
 .panelItem2 {
143 158
   margin-right: 30rpx;
@@ -252,19 +267,27 @@
252 267
   margin: 0 30rpx 0 20rpx;
253 268
 }
254 269
 
255
-
256
-
257 270
 .panelSave {
258 271
   width: 100%;
259 272
   background-color: #fff;
260 273
   position: fixed;
261 274
   bottom: 0;
262
-  height: 120rpx;
263 275
   z-index: 10;
264
-  justify-content: space-between;
265 276
   border-top: 1rpx solid #d2d2d2;
266 277
 }
267 278
 
279
+.panelSave .panelSave00 {
280
+  width: 100%;
281
+  height: 120rpx;
282
+  justify-content: space-between;
283
+}
284
+
285
+.iphone10plus{
286
+  width:100%;
287
+  height:30rpx;
288
+  background-color: #fff;
289
+}
290
+
268 291
 .panelSave .panelSave1 {
269 292
   width: 128rpx;
270 293
   line-height: 120rpx;
@@ -274,7 +297,7 @@
274 297
 }
275 298
 
276 299
 .panelSave .panelSave2 {
277
-  width: 602rpx;
300
+  width: 494rpx;
278 301
   background-color: #fff;
279 302
   border:1rpx solid #9B9B9B;
280 303
   color:#0071EF;
@@ -283,7 +306,7 @@
283 306
   height:80rpx;
284 307
   border-radius: 10rpx;
285 308
   font-size:32rpx;
286
-  margin:0 20rpx 0 0;
309
+  margin:0 10rpx 0 10rpx;
287 310
 }
288 311
 
289 312
 .universalpic_card_gray_26x26{

+ 1 - 0
pages/main/default.js

@@ -12,6 +12,7 @@ Page({
12 12
     IsStart: 0,
13 13
     IsShowMarketing: 1,
14 14
     IsMaintain:0,
15
+    IsIPhoneX: app.globalData.IsIPhoneX,
15 16
   },
16 17
   onPullDownRefresh: function () {
17 18
     wx.redirectTo({

+ 1 - 1
pages/main/default.wxml

@@ -35,8 +35,8 @@
35 35
         <image class="program_tabbar_study_default" src='../images/program_tabbar_note_default.png' />
36 36
         <view>题卡</view>
37 37
       </view>
38
-
39 38
     </view>
39
+    <view class="iphone10plus" wx:if="{{IsIPhoneX}}"></view>
40 40
   </view>
41 41
 </view>
42 42
 <view wx:if="{{IsTempCardNoSaved}}" class="TempCardNoSaved container FlexColumn" style='height:{{Containnerheight}}rpx;'>

+ 7 - 1
pages/main/default.wxss

@@ -53,7 +53,7 @@
53 53
 
54 54
 .panelBottom {
55 55
   position: fixed;
56
-  bottom: 0;
56
+  bottom:0;
57 57
   width: 100%;
58 58
 }
59 59
 
@@ -85,6 +85,12 @@
85 85
   background-color: #fff;
86 86
 }
87 87
 
88
+.iphone10plus{
89
+  width:100%;
90
+  height:30rpx;
91
+  background-color: #fff;
92
+}
93
+
88 94
 .panelBottom11 {
89 95
   flex:1;
90 96
   font-size:20rpx;

+ 4 - 0
pages/main/detail.js

@@ -150,6 +150,10 @@ Page({
150 150
       innerAudioContext1.stop();
151 151
     }
152 152
   },
153
+  onHide:function(e){
154
+    console.log("Hide:"+e);
155
+    this.onClose();
156
+  },
153 157
   onPullDownRefresh: function () {
154 158
     this.onShowAnswer({
155 159
       currentTarget: {

+ 11 - 4
pages/main/preview.js

@@ -143,9 +143,7 @@ Page({
143 143
   onPullDownRefresh: function () {
144 144
     var that = this;
145 145
     if (that.data.ShowType == "play") {
146
-      that.setData({
147
-        IsShowAnswer: [0, 0],
148
-      });
146
+      that.onHideAnswer();
149 147
     }
150 148
     wx.stopPullDownRefresh();
151 149
   },
@@ -217,7 +215,11 @@ Page({
217 215
     }
218 216
 
219 217
     var IsShowAnswer = [1, 1];
220
-    if (that.data.ShowType == "play") {
218
+    if (that.data.ShowType == "show"){
219
+      if (that.data.IsShowAnswer)
220
+        IsShowAnswer = that.data.IsShowAnswer;
221
+    }
222
+    else if (that.data.ShowType == "play") {
221 223
       IsShowAnswer = [0, 0];
222 224
       if (this.data.CurrentIndex <= 0) {
223 225
         prevId = 0;
@@ -556,6 +558,11 @@ Page({
556 558
     }
557 559
 
558 560
   },
561
+  onHideAnswer: function () {
562
+    this.setData({
563
+      IsShowAnswer: [0, 0]
564
+    });
565
+  },
559 566
   onShowAnswer: function () {
560 567
     this.setData({
561 568
       IsShowAnswer: [1, 1]

+ 7 - 3
pages/main/preview.wxml

@@ -63,9 +63,13 @@
63 63
       <view class='btn1 FlexRow' catchtap="previewNext" data-id="{{PrevID}}" wx:if="{{PrevID>0}}">
64 64
         <image class="universalpic_next_gray_30x30" src='../images/universalpic_prev_gray_30x30.png' />
65 65
       </view>
66
-      <view class='btn2 FlexRow'>
67
-        <button class="btn21" open-type='share'>分享给大家</button>
66
+      <view class='btn22 FlexRow' wx:if="{{IsShowAnswer[0]==1}}" catchtouchstart='onHideAnswer'>
67
+        隐藏答案
68
+      </view>
69
+      <view class='btn22 FlexRow' wx:if="{{IsShowAnswer[0]==0}}" catchtouchstart='onShowAnswer'>
70
+        显示答案
68 71
       </view>
72
+      <button class="btn21" open-type='share'>分享给大家</button>
69 73
       <view class='btn1 FlexRow' catchtap="previewNext" data-id="{{NextID}}" wx:if="{{NextID>0}}">
70 74
         <image class="universalpic_next_gray_30x30" src='../images/universalpic_next_gray_30x30.png' />
71 75
       </view>
@@ -77,7 +81,7 @@
77 81
         <image class="universalpic_home_gray_36x36" src='../images/universalpic_home_gray_36x36.png' />
78 82
       </view>
79 83
       <view class='btn2 FlexRow'>
80
-        <button class="btn21" catchtap="copyCard">另存为我的题卡</button>
84
+        <button class="btn23 btn21" catchtap="copyCard">另存为我的题卡</button>
81 85
       </view>
82 86
       
83 87
       <view class='btn1'></view>

+ 15 - 1
pages/main/preview.wxss

@@ -393,16 +393,30 @@
393 393
 .btn21 {
394 394
   font-size: 48rpx;
395 395
   color: #D2D2D2;
396
-  text-align: center;
396
+  text-align: right;
397 397
   padding-left: 0;
398 398
   padding-right: 0;
399 399
   background-color: #181a21;
400
+  width: 294rpx;
401
+  line-height: 120rpx;
400 402
 }
401 403
 
402 404
 .btn21::after {
403 405
   border: 0px;
404 406
 }
405 407
 
408
+
409
+.btn22 {
410
+  width: 160rpx;
411
+  line-height: 120rpx;
412
+  text-align: center;
413
+  font-size:36rpx;
414
+}
415
+
416
+.btn23 {
417
+  width: 400rpx;
418
+}
419
+
406 420
 .panelSaveShare{
407 421
   justify-content: space-between;
408 422
 }

+ 1 - 0
pages/main/searchCard.js

@@ -5,6 +5,7 @@ const app = getApp();
5 5
 
6 6
 Page({
7 7
   data: {
8
+    IsIPhoneX: app.globalData.IsIPhoneX,
8 9
   },
9 10
   onLoad: function () {
10 11
     var that = this;

+ 2 - 0
pages/main/searchCard.wxml

@@ -85,5 +85,7 @@
85 85
         <view class='text5'>题卡</view>
86 86
       </view>
87 87
     </view>
88
+
89
+    <view class="iphone10plus" wx:if="{{IsIPhoneX}}"></view>
88 90
   </view>
89 91
 </view>

+ 6 - 0
pages/main/searchCard.wxss

@@ -110,4 +110,10 @@
110 110
 .text6{
111 111
   font-size:28rpx;
112 112
   margin-left: 20rpx;
113
+}
114
+
115
+.iphone10plus{
116
+  width:100%;
117
+  height:30rpx;
118
+  background-color: #fff;
113 119
 }

+ 7 - 1
pages/main/searchCardList.js

@@ -51,6 +51,7 @@ Page({
51 51
       IsToday: IsToday,
52 52
       Count: count,
53 53
       Containnerheight: main.getWindowHeight(),
54
+      PageType:options.type,
54 55
     });
55 56
   },
56 57
   onShow: function () {
@@ -131,6 +132,12 @@ Page({
131 132
             List: list,
132 133
             HasPage: hasPage,
133 134
           });
135
+
136
+          if (that.data.PageType === "2") {
137
+            wx.redirectTo({
138
+              url: './preview?type=show&id=' + list[0].MiaoguoCardID,
139
+            })
140
+          }
134 141
         }
135 142
       });
136 143
     }
@@ -153,7 +160,6 @@ Page({
153 160
         List: list,
154 161
         HasPage: hasPage,
155 162
       });
156
-
157 163
     }
158 164
 
159 165
     wx.hideLoading();

+ 15 - 2
pages/main/searchWeb2.js

@@ -180,8 +180,21 @@ Page({
180 180
                 str = item.Content;
181 181
             }
182 182
 
183
-            if (list[i].Content[item.Number].Content)
184
-              str = "\n\n" + str;
183
+            if (this.data.Result && this.data.Result.CHN && this.data.Result.CHN.PinYin && this.data.Result.CHN.PinYin.length == 1){
184
+              if (item.Tag=="释义"){
185
+                str=str.substr(str.indexOf("[/读]")+4);
186
+              }
187
+            }
188
+
189
+            if (list[i].Content[item.Number].Content){
190
+              if (item.Tag == "组词" || item.Tag == "近义词" || item.Tag == "反义词"){
191
+                str = " " + str;
192
+              }
193
+              else{
194
+                str = "\n\n" + str;
195
+              }
196
+            }
197
+              
185 198
             list[i].Content[item.Number].Content += str;
186 199
 
187 200
           }

+ 1 - 1
pages/main/searchWeb2.wxml

@@ -131,7 +131,7 @@
131 131
       <view class="panelTitle1">中文释义</view>
132 132
     </view>
133 133
     <view class="panelItem FlexRow">
134
-      <view class="{{CSS['CHN_PinYin_explain_'+index].Css1}} panelItemFrame FlexRow" wx:for="{{Result.CHN.PinYin}}" wx:key="pinyin" bindtap='getInputData' data-type="normal" data-content="{{item.explain}}" data-css="CHN_PinYin_explain_{{index}}" data-tag="释义">
134
+      <view class="{{CSS['CHN_PinYin_explain_'+index].Css1}} panelItemFrame FlexRow" wx:for="{{Result.CHN.PinYin}}" wx:key="pinyin" bindtap='getInputData' data-type="normal" data-content="[读]{{item.pinyin}}[/读]\n{{item.explain}}" data-css="CHN_PinYin_explain_{{index}}" data-tag="释义">
135 135
         <view class="{{CSS['CHN_PinYin_explain_'+index].Css2}} panelSelect0">{{CSS['CHN_PinYin_explain_'+index].Number}}</view>
136 136
         <text class="text1"><block wx:if="{{Result.CHN.PinYin.length>1}}">
137 137
         [{{item.pinyin}}]\n 

+ 0 - 19
pages/other/activity.js

@@ -71,25 +71,6 @@ Page({
71 71
         });
72 72
       }
73 73
     }
74
-    else if (activityID == 3) {
75
-
76
-      var EndTime1 = common.formatDateENG(EndTime,"/");
77
-      EndTime1 = new Date(EndTime1 + " 00:00:00");
78
-      var dayNumber = common.diffDate("d", new Date(common.formatTime(new Date(), "/", true) + " 00:00:00"), EndTime1)+1;
79
-      if (dayNumber < 0) {
80
-        that.setData({
81
-          ShowNone: true,
82
-        });
83
-      }
84
-      else {
85
-        if (dayNumber == 1)
86
-          dayNumber = "今";
87
-        that.setData({
88
-          DayNumber: dayNumber,
89
-        });
90
-      }
91
-
92
-    }
93 74
 
94 75
     that.setData({
95 76
       Containnerheight: main.getWindowHeight(),

+ 0 - 11
pages/other/activity.wxml

@@ -15,17 +15,6 @@
15 15
     <text class="text1">条款:领取后请在活动时间内完成续费,逾期无效。</text>
16 16
     <text class="text3">续费次日起7天内可退款。</text>
17 17
   </block>
18
-  <block wx:if="{{ActivityID=='3'}}">
19
-    <text class="EndTime">截止日期\n{{EndTime}}</text>
20
-
21
-    <view class="btn" wx:if="{{BtnShow==0}}" bindtap="getCoupon" data-coupontype="133" data-limittime="{{EndTime}}">领券</view>
22
-    <view class="panel1 FlexRow" wx:if="{{BtnShow==1}}">
23
-      <view class="panel11">已领取,{{DayNumber}}天内有效,</view>
24
-      <view class="panel12" bindtap="gotoPay" data-paytype="3" data-enddate="{{EndTime}}">去续费</view>
25
-    </view>
26
-    <text class="text1">条款:领取后请在活动时间内完成续费,逾期无效。</text>
27
-    <text class="text3">续费次日起7天内可退款。</text>
28
-  </block>
29 18
   <view style="height:100rpx"></view>
30 19
 </view>
31 20
 

+ 8 - 6
pages/other/binding.js

@@ -83,12 +83,14 @@ Page({
83 83
     }
84 84
   },
85 85
   shareFinished: function () {
86
-    wx.showModal({
87
-      title: '等待对方接受邀请',
88
-      content: '请尽快与对方联系确认邀请',
89
-      showCancel: false,
90
-      confirmText: "知道了",
91
-    });
86
+    setTimeout(function(){
87
+      wx.showModal({
88
+        title: '等待对方接受邀请',
89
+        content: '请尽快与对方联系确认邀请',
90
+        showCancel: false,
91
+        confirmText: "知道了",
92
+      });
93
+    },3000);
92 94
   },
93 95
   gotoBinding: function () {
94 96
     var that = this;

+ 15 - 81
pages/test/index.js

@@ -5,87 +5,9 @@ const app = getApp();
5 5
 
6 6
 Page({
7 7
   data: {
8
-    MainList: [
9
-      {
10
-        Category: "数学口算",
11
-        List: [
12
-          {
13
-            ID: 1,
14
-            Name: "加减口算",
15
-          }, {
16
-            ID: 2,
17
-            Name: "乘除口算",
18
-          },
19
-        ]
20
-      },
21
-      {
22
-        Category: "语文识字",
23
-        List: [
24
-          {
25
-            ID: 1,
26
-            Name: "一年级上学期",
27
-          }, {
28
-            ID: 2,
29
-            Name: "一年级下学期",
30
-          }, {
31
-            ID: 3,
32
-            Name: "二年级上学期",
33
-          }, {
34
-            ID: 4,
35
-            Name: "二年级下学期",
36
-          }, {
37
-            ID: 5,
38
-            Name: "三年级上学期",
39
-          }, {
40
-            ID: 6,
41
-            Name: "三年级下学期",
42
-          },
43
-        ]
44
-      }, {
45
-        Category: "语文写字",
46
-        List: [
47
-          {
48
-            ID: 1,
49
-            Name: "一年级上学期",
50
-          }, {
51
-            ID: 2,
52
-            Name: "一年级下学期",
53
-          }, {
54
-            ID: 3,
55
-            Name: "二年级上学期",
56
-          }, {
57
-            ID: 4,
58
-            Name: "二年级下学期",
59
-          }, {
60
-            ID: 5,
61
-            Name: "三年级上学期",
62
-          }, {
63
-            ID: 6,
64
-            Name: "三年级下学期",
65
-          },
66
-        ]
67
-      }, {
68
-        Category: "英语单词",
69
-        List: [
70
-          {
71
-            ID: 1,
72
-            Name: "动物",
73
-          }, {
74
-            ID: 1,
75
-            Name: "食物",
76
-          }, {
77
-            ID: 1,
78
-            Name: "人体",
79
-          }, {
80
-            ID: 1,
81
-            Name: "交通工具",
82
-          }, {
83
-            ID: 1,
84
-            Name: "家具",
85
-          },
86
-        ]
87
-      },
88
-    ]
8
+    List:[1],
9
+    IsSelectGrade:false,
10
+    GradeArr: [{ Name: "一年级" }, { Name: "二年级" }, { Name: "三年级"}],
89 11
   },
90 12
   onLoad: function (options) {
91 13
     var that = this;
@@ -93,6 +15,18 @@ Page({
93 15
       Containnerheight: main.getWindowHeight(),
94 16
     });
95 17
   },
18
+  showSelectGrade: function () {
19
+    var that = this;
20
+    that.setData({
21
+      IsSelectGrade: true,
22
+    });
23
+  },
24
+  closeSelectGrade:function(){
25
+    var that = this;
26
+    that.setData({
27
+      IsSelectGrade: false,
28
+    });
29
+  },
96 30
   onShareAppMessage: function () {
97 31
     return {
98 32
       title: app.globalData.ShareTitle,

+ 1 - 1
pages/test/index.json

@@ -1,3 +1,3 @@
1 1
 {
2
-  "navigationBarTitleText": "测一测"
2
+  "navigationBarTitleText": "知识检验"
3 3
 }

+ 70 - 11
pages/test/index.wxml

@@ -1,21 +1,80 @@
1 1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
-  <block wx:for="{{MainList}}" wx:key="index">
3
-    <view class="panelTitle FlexRow">
4
-      <view class="panelTitle1">{{item.Category}}</view>
5
-      <view class="panelTitle2"></view>
2
+  <view class="panelTop FlexRow" bindtap="showSelectGrade">
3
+    <view class="panelTop1">一年级</view>
4
+    <view class="panelTop2 FlexRow">
5
+      <image class="universalpic_menu_blue_26x26" src="../images/universalpic_menu_blue_26x26.png"></image>
6
+      <view>首选年级</view>
6 7
     </view>
7
-    <block wx:for="{{item.List}}" wx:key="indexChild" wx:for-item="itemChild">
8
+  </view>
9
+  <view style="height:106rpx;"></view>
10
+  <scroll-view scroll-x="true" class="panelCard FlexRow">
11
+    <view class="Card">
12
+      <image class="examine_subject_a001" src="../images/examine_subject_a001.png"></image>
13
+      <view class="Card1">语文识字</view>
14
+      <view class="Card2">上学期</view>
15
+      <view class="Card3">已检验</view>
16
+      <view class="Card4 FlexRow">
17
+        <view class="Progress FlexRow"><view class="Progress1"></view></view>
18
+        <view class="Number">12%</view>
19
+      </view>
20
+    </view>
21
+    <view class="Card FlexColumn">
22
+    </view>
23
+    <view class="Card FlexColumn">
24
+    </view>
25
+    <view class="Card0"></view>
26
+  </scroll-view>
27
+  <view class="panelList FlexColumn">
28
+    <view class="panelListTitle FlexRow">
29
+      <view>检验报告</view>
30
+    </view>
31
+    <block wx:if="{{List.length==0}}">
32
+      <image class="examine_clipboard_80x80" src="../images/examine_clipboard_80x80.png"></image>
33
+      <text class="panelListContent">您还没有做过知识检验,选择科目开始检验吧,\n检验后的报告将显示在这里。</text>
34
+    </block>
35
+
36
+    <block wx:if="{{List.length>0}}" wx:for="{{[1,2,3,2,3,2,3,2,3]}}">
8 37
       <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
9 38
         <view class="lineWidth720"></view>
10 39
       </view>
11
-      <view class="panelItem FlexRow" bindtap='goto' data-url="./item?id=">
12
-        <view class="panelItem1">{{itemChild.Name}}</view>
13
-        <view class="panelItem2 FlexRow">
14
-          <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
40
+      <view class="Item FlexRow">
41
+        <view class="Item1 FlexColumn">
42
+          <view class="ItemTitle">汉语拼音 9-13</view>
43
+          <view class="ItemTitle2">语文识字 上学期</view>
44
+        </view>        
45
+        <view class="Item2 FlexColumn">
46
+          <view class="ItemDate">12月12日</view>
47
+          <view class="ItemNumber FlexRow">
48
+            <image class="examine_willread_gray_22x22" src="../images/examine_willread_gray_22x22.png"></image>
49
+            <image class="universalpic_checked_gray_14x12" src="../images/universalpic_checked_gray_14x12.png"></image>
50
+            <view class="Number2">10</view>
51
+            <image class="universalpic_wrong_gray_12x12" src="../images/universalpic_wrong_gray_12x12.png"></image>
52
+            <view class="Number3">5</view>
53
+          </view>
15 54
         </view>
16 55
       </view>
17 56
     </block>
57
+
58
+  </view>
59
+</view>
60
+
61
+<!-- 更多功能 -->
62
+<view wx:if="{{IsSelectGrade}}" class="numberContainer FlexColumn" style='height:{{Containnerheight}}rpx;'>
63
+  <view class="numberContainerFooter1 FlexColumn">
18 64
     <view class='lineFooter'></view>
19
-  </block>
20
-  <view style='width:100%;height:100rpx;'></view>
65
+    <view class='numberContainerFooter101 FlexRow'>
66
+      <image class="universalpic_people_black_30x30" src='../images/universalpic_people_black_30x30.png' />
67
+      <view class='numberContainerFooter11 FlexColumn'>
68
+        <view class='numberContainerFooter111'>选择年级</view>
69
+        <view class='numberContainerFooter113'>目前仅小学阶段如下年级开放试用</view>
70
+        <view class='numberContainerFooter112 FlexRow'>
71
+          <view class='numberContainerFooter1121' wx:for="{{GradeArr}}" wx:key="index" catchtap='onPracticeTime' data-value='{{item.Name}}'>{{item.Name}}</view>
72
+        </view>
73
+      </view>
74
+    </view>
75
+  </view>
76
+  <view class='lineFooter'></view>
77
+  <view class="numberContaineFooter FlexRow" catchtap='closeSelectGrade'>
78
+    <view>关闭</view>
79
+  </view>
21 80
 </view>

+ 283 - 33
pages/test/index.wxss

@@ -1,61 +1,311 @@
1
-.panelTitle{
1
+.container{
2
+  background-color: #fff;
3
+}
4
+.panelTop{
2 5
   width:100%;
3
-  margin-top: 50rpx;
4 6
   justify-content: space-between;
7
+  height:106rpx;
8
+  background-color: #fff;
9
+  position: fixed;
10
+  z-index: 10;
11
+  top:0;
5 12
 }
6
-.panelTitle .panelTitle1{
13
+
14
+.panelTop1{
7 15
   font-size:32rpx;
8 16
   margin-left: 30rpx;
9
-  margin-bottom: 30rpx;
10 17
 }
11
-.panelTitle .panelTitle2{
12
-  font-size:28rpx;
18
+
19
+.panelTop2{
20
+  font-size:24rpx;
21
+  color:#0071EF;
13 22
   margin-right: 30rpx;
14
-  background-color: #1e1e1e;
15
-  color:#fff;
16
-  border-radius: 22rpx;
17
-  text-align: center;
18
-  padding: 0 20rpx;
19
-  margin-bottom: 32rpx;
20 23
 }
21 24
 
22
-.panelItem{
25
+.universalpic_menu_blue_26x26{
26
+  width:26rpx;
27
+  height:26rpx;
28
+  margin-right: 10rpx;
29
+}
30
+
31
+.panelCard{
23 32
   width:100%;
24
-  justify-content: space-between;
25
-  font-size:28rpx;
26
-  height:100rpx;
33
+  height:443rpx;
34
+  background-color: #F0F0F0;
35
+  display: flex;
36
+  white-space: nowrap;
37
+}
38
+
39
+.Card{
40
+  width:308rpx;
41
+  height:343rpx;
42
+  border-radius: 10rpx;
27 43
   background-color: #fff;
44
+  display: inline-block;
45
+  margin: 50rpx 0 0 30rpx;
46
+  position: relative;
28 47
 }
29
-.panelItem0{
30
-  height:133rpx;
48
+.Card0{
49
+  width:30rpx;
50
+  height:343rpx;
51
+  display: inline-block;
52
+}
53
+
54
+.examine_subject_a001{
55
+  width:80rpx;
56
+  height:80rpx;
57
+  position: absolute;
58
+  top:40rpx;
59
+  left:30rpx;
60
+}
61
+
62
+.Card1{
63
+  font-size:32rpx;
64
+  position: absolute;
65
+  top:150rpx;
66
+  left:30rpx;
31 67
 }
32
-.panelItem00{
33
-  margin-top: 50rpx;
34
-  line-height: 100rpx;
68
+.Card2{
35 69
   font-size:28rpx;
70
+  position: absolute;
71
+  top:195rpx;
72
+  left:30rpx;
73
+  font-weight: 400;
74
+}
75
+.Card3{
76
+  font-size:20rpx;
77
+  position: absolute;
78
+  top:249rpx;
79
+  left:30rpx;
80
+  font-weight: 400;
81
+}
82
+.Card4{
83
+  width:248rpx;
84
+  position: absolute;
85
+  top:275rpx;
86
+  left:30rpx;
87
+  justify-content: space-between;
88
+}
89
+.Progress{
90
+  width:160rpx;
91
+  height:10rpx;
92
+  border-radius: 5rpx;
93
+  background-color: #F0F0F0;
94
+  justify-content: flex-start;
95
+}
96
+.Progress1{
97
+  width:100rpx;
98
+  height:10rpx;
99
+  border-radius: 5rpx;
100
+  background-color: #34BD88;
101
+}
102
+.Number{
103
+  font-family: 'Roboto-Black';
104
+  font-size:32rpx;
105
+}
106
+
107
+.panelList{
108
+  width:100%;
109
+  background-color: #fff;
110
+  align-items: flex-start;
111
+}
112
+
113
+.panelListTitle{
114
+  font-size:32rpx;
115
+  margin: 0 0 0 30rpx;
116
+  width:100%;
117
+  height:115rpx;
118
+  justify-content: flex-start;
119
+}
120
+
121
+.examine_clipboard_80x80{
122
+  width:80rpx;
123
+  height:80rpx;
124
+  margin: 10rpx 0 0 30rpx;
125
+}
126
+
127
+.panelListContent{
128
+  width:100%;
129
+  margin: 30rpx 0 0 30rpx;
130
+  font-size:24rpx;
36 131
   font-weight: 400;
37
-  justify-content: center;
38 132
 }
39 133
 
40
-.panelItem .panelItem1{
41
-  margin-left: 30rpx;
134
+.Item{
135
+  width:100%;
136
+  height:136rpx;
137
+  justify-content: space-between;
138
+}
139
+.Item1{
140
+  margin: 0 0 0 30rpx;
141
+  align-items: flex-start;
142
+}
143
+
144
+.ItemTitle{
145
+  font-size:30rpx;
42 146
   font-weight: 400;
43 147
 }
44
-.panelItem .panelItem2{
45
-  margin-right: 30rpx;
46
-  color:#787878;
148
+.ItemTitle2{
149
+  font-size:24rpx;
47 150
   font-weight: 400;
151
+  color:#787878;
48 152
 }
49 153
 
50
-.Arrow{
51
-  width:16rpx;
52
-  height:26rpx;
53
-  margin-left: 30rpx;
154
+.Item2{
155
+  margin: 0 30rpx 0 0;
156
+  align-items: flex-end;
157
+  color:#787878;
158
+}
159
+
160
+.ItemDate{
161
+  font-size:24rpx;
162
+  margin-bottom: 10rpx;
163
+}
164
+.examine_willread_gray_22x22{
165
+  width:22rpx;
166
+  height:22rpx;
167
+  margin-right: 30rpx;
168
+}
169
+.examine_willwrite_gray_22x22{
170
+  width:22rpx;
171
+  height:22rpx;
172
+  margin-right: 30rpx;
173
+}
174
+.universalpic_checked_gray_14x12{
175
+  width:14rpx; 
176
+  height:12rpx;
177
+}
178
+.Number2{
179
+  margin: 0 30rpx 0 10rpx;
180
+  font-family: 'Roboto-Black';
181
+  font-size:24rpx;
182
+}
183
+.universalpic_wrong_gray_12x12{
184
+  width:12rpx;
185
+  height:12rpx;
186
+}
187
+.Number3{
188
+  margin: 0 0 0 10rpx;
189
+  font-family: 'Roboto-Black';
190
+  font-size:24rpx;
191
+}
192
+
193
+
194
+.numberContainer {
195
+  width: 100%;
196
+  justify-content: flex-start;
197
+  align-items: flex-start;
198
+  position: fixed;
199
+  top: 0;
200
+  background-color: #fff;
201
+  color:#1e1e1e;
202
+  z-index: 20;
203
+  border-top: 1 solid #fff;
204
+}
205
+
206
+.universalpic_people_black_30x30{
207
+  width:30rpx;
208
+  height:30rpx;
209
+  margin: 50rpx 20rpx 0 30rpx;
210
+}
211
+.numberContainer .numberContaineFooter{
212
+  width: 100%;
213
+  position: fixed;
214
+  bottom: 0;
215
+  align-items: flex-start;
216
+  font-size: 36rpx;
217
+  border-top: 1rpx solid rgba(0, 0, 0, 0.2);
218
+  text-align: center;
219
+  line-height: 131rpx;
220
+}
221
+.numberContainer .numberContaineFooter2{
222
+  color:#B3443B;
223
+  font-weight: 500;
224
+}
225
+
226
+.universalpic_sequence_black_30x30_2{
227
+  margin: 50rpx 20rpx 0 30rpx;
228
+}
229
+
230
+.numberContainerFooter1{
231
+  width:100%;
232
+  position: fixed;
233
+  bottom:131rpx;
54 234
 }
55 235
 
236
+.numberContainerFooter102{
237
+  width:100%;
238
+  height: 132rpx;
239
+  justify-content: flex-start;
240
+}
241
+.numberContainerFooter103{
242
+  width:100%;
243
+  height: 111rpx;
244
+  justify-content: flex-start;
245
+}
246
+.numberContainerFooter104{
247
+  width:100%;
248
+  height: 100rpx;
249
+  justify-content: flex-start;
250
+}
251
+.numberContainerFooter101{
252
+  width:100%;
253
+  height: 276rpx;
254
+  justify-content: flex-start;
255
+  align-items: flex-start;
256
+}
257
+
258
+.universalpic_edit_gray_25x25{
259
+  width: 25rpx; 
260
+  height: 25rpx;
261
+  margin: 0 30rpx 0 30rpx;
262
+}
263
+
264
+.universalpic_bell_gray_30x30{
265
+  width:30rpx;
266
+  height:30rpx;
267
+  margin: 40rpx 20rpx 0 30rpx;
268
+}
269
+.universalpic_typesize_gray_30x18{
270
+  width: 30rpx; 
271
+  height: 18rpx;
272
+  margin: 57rpx 20rpx 0 30rpx;
273
+}
274
+
275
+.numberContainerFooter11{
276
+  align-items: flex-start;
277
+  margin-top: 40rpx;
278
+}
56 279
 
57
-.text1{
280
+.numberContainerFooter111{
281
+  font-size:36rpx;
282
+  font-weight: 400;
283
+}
284
+.numberContainerFooter1111{
285
+  margin-top: 40rpx;
286
+}
287
+.numberContainerFooter113{
58 288
   font-size:24rpx;
289
+  font-weight: 400;
290
+}
291
+
292
+.numberContainerFooter112{
293
+  justify-content: flex-start;
294
+  flex-wrap: wrap;
295
+}
296
+
297
+.numberContainerFooter1121{
298
+  line-height:73rpx;
299
+  border:3rpx solid #D2D2D2;
300
+  border-radius: 10rpx;
59 301
   text-align: center;
60
-  color:#787878;
302
+  margin: 30rpx 30rpx 0 0;
303
+  font-size:24rpx;
304
+  padding: 0 30rpx;
305
+}
306
+
307
+.numberContainerFooter1121Select{
308
+  border:3rpx solid #0071EF;
309
+  color:#fff;
310
+  background-color: #0071EF;
61 311
 }

+ 33 - 0
pages/test/list.js

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

+ 3 - 0
pages/test/list.json

@@ -0,0 +1,3 @@
1
+{
2
+  "navigationBarTitleText": "语文识字 上学期"
3
+}

+ 59 - 0
pages/test/list.wxml

@@ -0,0 +1,59 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="text1">请对照课本选择字组</view>
3
+  <block wx:for="{{[1,2,3,4]}}" wx:key="index">
4
+    <view class="PanelItem FlexColumn" bindtap="onShow" data-id="{{index}}">
5
+      <view class="PanelItem1 FlexRow">
6
+        <view class="left FlexRow">
7
+          <view class="Word FlexRow">
8
+            天
9
+          </view>
10
+          <view class="Title FlexRow">
11
+            识字 1-5
12
+          </view>
13
+        </view>
14
+        <view class="right FlexColumn">
15
+          <view class="right1 FlexRow">
16
+            <image class="examine_willread_gray_22x22" src="../images/examine_willread_gray_22x22.png"></image>
17
+            <image class="examine_willwrite_green_22x22" src="../images/examine_willwrite_green_22x22.png"></image>
18
+          </view>
19
+          <view class="right2">38个字</view>
20
+        </view>
21
+      </view>
22
+      <view class="lineWidthAll FlexRow">
23
+        <view class="lineWidth720"></view>
24
+      </view>
25
+      <text class="PanelItem2 FlexRow">
26
+      统、根、据、这、一、结、果、计、算、题、卡、今、后、的、练、习、时、间、每、次、打、分、务、求、准、确、这、会…
27
+      </text>
28
+    </view>
29
+  </block>
30
+  <view style="height:50rpx;"></view>
31
+</view>
32
+
33
+
34
+<!-- 跳出 -->
35
+<view wx:if="{{IsSelect}}" class="SelectContainer FlexColumn" style='height:{{Containnerheight}}rpx;'>
36
+  <view class="SelectContainer1 FlexColumn">
37
+    <image src="../images/examine_subjecticon_01.png" class="examine_subjecticon_01" />
38
+    <view class="SelectContainer1Text1">识字 1-4</view>
39
+    <view class="SelectContainer1Text2">检验哪个方面</view>
40
+    <view class="btnPanel FlexRow">
41
+      <view class="btn FlexRow">
42
+        <image src="../images/examine_willread_gray_30x30.png" class="examine_willread_gray_30x30" />
43
+        <view class="SelectContainer1Text3">会念</view>
44
+      </view>
45
+      <view class="btn FlexRow">
46
+        <image src="../images/examine_willwrite_gray_27x27.png" class="examine_willwrite_gray_27x27" />
47
+        <view class="SelectContainer1Text3">会写</view>
48
+      </view>
49
+    </view>
50
+    <view class="btnPanel FlexRow">
51
+      <image src="../images/universalpic_word_blue_30x30.png" class="universalpic_word_blue_30x30" />
52
+      <view class="SelectContainer1Text4">查看字表</view>
53
+    </view>
54
+
55
+    <view class="close FlexRow" bindtap="onClose">
56
+      <image src="../images/universalpic_close_black_24x24.png" class="universalpic_close_black_24x24" />
57
+    </view>
58
+  </view>
59
+</view>

+ 158 - 0
pages/test/list.wxss

@@ -0,0 +1,158 @@
1
+.container{
2
+  background-color: #F0F0F0;
3
+}
4
+
5
+.text1{
6
+  margin: 50rpx 0 30rpx 0;
7
+  font-size:24rpx;
8
+  color:#787878;
9
+  font-weight: 400;
10
+}
11
+
12
+.PanelItem{
13
+  width:100%;
14
+  height:263rpx;
15
+  background-color: #fff;
16
+  justify-content: flex-start;
17
+  border-bottom: 1rpx solid #D2D2D2;
18
+  margin-bottom: 50rpx;
19
+}
20
+.PanelItem1{
21
+  width:100%;
22
+  justify-content: space-between;
23
+  margin-top: 30rpx;
24
+  margin-bottom: 30rpx;
25
+}
26
+
27
+.left{
28
+  margin-left: 30rpx;
29
+}
30
+
31
+.Word{
32
+  width:75rpx;
33
+  background-color: #F0F0F0;
34
+  color:#787878;
35
+  text-align: center;
36
+  line-height: 75rpx;
37
+  font-size: 46rpx;
38
+}
39
+
40
+.Title{
41
+  margin-left: 30rpx;
42
+  font-size:30rpx;
43
+  color:#1e1e1e;
44
+}
45
+.right{
46
+  margin-right: 30rpx;
47
+}
48
+
49
+.right1{
50
+  margin-bottom: 15rpx;
51
+}
52
+
53
+.examine_willread_gray_22x22{
54
+  width:22rpx;
55
+  height:22rpx;
56
+  margin-right: 20rpx;
57
+}
58
+
59
+.examine_willwrite_green_22x22{
60
+  width:22rpx;
61
+  height:22rpx;
62
+}
63
+
64
+.right2{
65
+  font-size: 20rpx;
66
+  color:#787878;
67
+}
68
+
69
+.PanelItem2{
70
+  width: 690rpx;
71
+  height:86rpx;
72
+  text-align: left;
73
+  font-size:24rpx;
74
+  font-weight: 400;
75
+  color:#787878;
76
+}
77
+
78
+.SelectContainer{
79
+  background-color: rgba(0,0,0,0.7);
80
+  position: fixed;
81
+  width:100%;
82
+  top:0;
83
+}
84
+
85
+.SelectContainer .SelectContainer1{
86
+  width:710rpx;
87
+  height:613rpx;
88
+  border-radius: 10rpx;
89
+  background-color: #F8F8F8;
90
+  position: relative;
91
+}
92
+
93
+.examine_subjecticon_01{
94
+  width:80rpx;
95
+  height:80rpx;
96
+}
97
+
98
+.SelectContainer1Text1{
99
+  font-size:36rpx;
100
+  margin-top: 20rpx;
101
+}
102
+
103
+.SelectContainer1Text2{
104
+  font-size:28rpx;
105
+  font-weight: 400;
106
+}
107
+
108
+.SelectContainer1Text3{
109
+  font-size:36rpx;
110
+  margin-left: 10rpx;
111
+  color:#787878;
112
+}
113
+
114
+.btnPanel{
115
+  margin-top: 60rpx;
116
+}
117
+
118
+.btn{
119
+  width:315rpx;
120
+  height:110rpx;
121
+  border-radius: 10rpx;
122
+  background-color: #fff;
123
+  border:1rpx solid #9B9B9B;
124
+  margin: 0 10rpx;
125
+}
126
+
127
+
128
+.examine_willread_gray_30x30{
129
+  width:30rpx;
130
+  height:30rpx;
131
+}
132
+.examine_willwrite_gray_27x27{
133
+  width:27rpx;
134
+  height:27rpx;
135
+}
136
+
137
+.universalpic_word_blue_30x30{
138
+  width:30rpx;
139
+  height:30rpx;
140
+}
141
+
142
+.SelectContainer1Text4{
143
+  font-size:24rpx;
144
+  margin-left: 10rpx;
145
+  color:#0071EF;
146
+}
147
+
148
+.close{
149
+  width:100rpx;
150
+  height:100rpx;
151
+  position: absolute;
152
+  top:0;
153
+  right:0;
154
+}
155
+.universalpic_close_black_24x24{
156
+  width:24rpx;
157
+  height:24rpx;
158
+}

+ 23 - 0
pages/test/report.js

@@ -0,0 +1,23 @@
1
+import common from '../../utils/util';
2
+import main from '../../utils/main';
3
+
4
+const app = getApp();
5
+
6
+Page({
7
+  data: {
8
+    IsSelect: true,
9
+  },
10
+  onLoad: function (options) {
11
+    var that = this;
12
+    that.setData({
13
+      Containnerheight: main.getWindowHeight(),
14
+    });
15
+  },
16
+  onShareAppMessage: function () {
17
+    return {
18
+      title: app.globalData.ShareTitle,
19
+      path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
20
+      imageUrl: app.globalData.ShareImage,
21
+    }
22
+  },
23
+})

+ 3 - 0
pages/test/report.json

@@ -0,0 +1,3 @@
1
+{
2
+  "navigationBarTitleText": "报告"
3
+}

+ 64 - 0
pages/test/report.wxml

@@ -0,0 +1,64 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="panelTop FlexColumn">
3
+    <view class="text1">答错3个 跳过1个</view>
4
+    <view class="text2">选择题目可一键生成题卡</view>
5
+  </view>
6
+  <view class="panelItem FlexRow">
7
+    <view class="panelItem1 FlexRow">
8
+      <view class="text3">答错的题目</view>
9
+      <image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray" />
10
+    </view>
11
+    <view class="btn FlexRow">
12
+      <view class="circle"></view>
13
+      <view class="text4">五彩缤纷</view>
14
+    </view>
15
+    <view class="btn FlexRow">
16
+      <view class="circle"></view>
17
+      <view class="text4">五彩缤纷</view>
18
+    </view>
19
+    <view class="btn FlexRow">
20
+      <view class="circle"></view>
21
+      <view class="text4">五彩缤纷</view>
22
+    </view>
23
+    <view class="btn FlexRow">
24
+      <view class="circle"></view>
25
+      <view class="text4">五彩缤纷</view>
26
+    </view>
27
+    <view class="btn FlexRow">
28
+      <view class="circle"></view>
29
+      <view class="text4">五彩缤纷</view>
30
+    </view>
31
+    <view class="btn FlexRow">
32
+      <view class="circle"></view>
33
+      <view class="text4">五彩缤纷</view>
34
+    </view>
35
+    <view class="btn FlexRow">
36
+      <view class="circle"></view>
37
+      <view class="text4">五彩缤纷</view>
38
+    </view>
39
+    <view class="btn FlexRow">
40
+      <view class="circle"></view>
41
+      <view class="text4">五彩缤纷</view>
42
+    </view>
43
+    <view class="btn2 btn FlexRow">
44
+      <image src="../images/universalpic_checked_white_22x17.png" class="universalpic_checked_white_22x17" />
45
+      <view class="text4">秒过</view>
46
+    </view>
47
+  </view>
48
+
49
+  <view class="panelItem FlexRow">
50
+    <view class="panelItem1 FlexRow">
51
+      <view class="text3">跳过的题目</view>
52
+      <image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray2" />
53
+    </view>
54
+  </view>
55
+
56
+  <view class="panelFooter FlexRow">
57
+    <view class="btn3 btn FlexRow">
58
+      生成题卡
59
+    </view>
60
+    <view class="btn4 btn3 btn FlexRow">
61
+      关闭
62
+    </view>
63
+  </view>
64
+</view>

+ 110 - 0
pages/test/report.wxss

@@ -0,0 +1,110 @@
1
+.panelTop{
2
+  width:100%;
3
+  align-items: flex-start;
4
+}
5
+.text1{
6
+  margin-top: 50rpx;
7
+  margin-left: 30rpx;
8
+  font-size:32rpx;
9
+}
10
+.text2{
11
+  margin-bottom: 30rpx;
12
+  margin-left: 30rpx;
13
+  font-size:24rpx;
14
+  font-weight: 400;
15
+}
16
+
17
+.panelItem{
18
+  width:100%;
19
+  justify-content: flex-start;
20
+  align-items: flex-start;
21
+  background-color: #fff;
22
+  flex-wrap: wrap;
23
+  margin-bottom: 50rpx;
24
+  padding-bottom: 40rpx;
25
+}
26
+
27
+.panelItem1{
28
+  width:100%;
29
+  justify-content: space-between;
30
+}
31
+
32
+.text3{
33
+  margin-top: 40rpx;
34
+  margin-left: 30rpx;
35
+  font-size:28rpx;
36
+  font-weight: 400;
37
+}
38
+
39
+.universalpic_indicator_right_gray{
40
+  width:16rpx;
41
+  height:26rpx;
42
+  transform:rotate(-90deg);
43
+  margin-top: 40rpx;
44
+  margin-right: 30rpx;
45
+}
46
+
47
+.universalpic_indicator_right_gray2{
48
+  width:16rpx;
49
+  height:26rpx;
50
+  transform:rotate(90deg);
51
+  margin-top: 40rpx;
52
+  margin-right: 30rpx;
53
+}
54
+
55
+.btn{
56
+  border:1rpx solid #9B9B9B;
57
+  height:100rpx;
58
+  border-radius: 10rpx;
59
+  margin: 30rpx 0 0 30rpx;
60
+  padding: 0 30rpx;
61
+  color:#1e1e1e;
62
+}
63
+
64
+.btn2{
65
+  border:1rpx solid #0071EF;
66
+  background-color: #0071EF;
67
+  color:#fff;
68
+}
69
+
70
+.circle{
71
+  width:34rpx;
72
+  height:34rpx;
73
+  border-radius: 50%;
74
+  background-color: #F8F8F8;
75
+  border:3rpx solid #d2d2d2;
76
+}
77
+
78
+.universalpic_checked_white_22x17{
79
+  width:22rpx;
80
+  height:17rpx;
81
+}
82
+
83
+.text4{
84
+  margin-left: 20rpx;
85
+  font-size:28rpx;
86
+  font-weight: 400;
87
+}
88
+
89
+.panelFooter{
90
+  width:100%;
91
+  height:120rpx;
92
+  background-color: #fff;
93
+  position: fixed;
94
+  z-index: 10;
95
+  bottom:0;
96
+}
97
+
98
+.btn3{
99
+  width:270rpx;
100
+  height:80rpx;
101
+  color:#0071EF;
102
+  font-size:32rpx;
103
+  text-align: center;
104
+  line-height: 80rpx;
105
+  margin: 0 15rpx;
106
+}
107
+
108
+.btn4{
109
+  color:#1e1e1e;
110
+}

+ 23 - 0
pages/test/wordlist.js

@@ -0,0 +1,23 @@
1
+import common from '../../utils/util';
2
+import main from '../../utils/main';
3
+
4
+const app = getApp();
5
+
6
+Page({
7
+  data: {
8
+    IsSelect: true,
9
+  },
10
+  onLoad: function (options) {
11
+    var that = this;
12
+    that.setData({
13
+      Containnerheight: main.getWindowHeight(),
14
+    });
15
+  },
16
+  onShareAppMessage: function () {
17
+    return {
18
+      title: app.globalData.ShareTitle,
19
+      path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
20
+      imageUrl: app.globalData.ShareImage,
21
+    }
22
+  },
23
+})

+ 3 - 0
pages/test/wordlist.json

@@ -0,0 +1,3 @@
1
+{
2
+  "navigationBarTitleText": "字表"
3
+}

+ 13 - 0
pages/test/wordlist.wxml

@@ -0,0 +1,13 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="panelTop FlexRow">
3
+    <view class="text1">识字 1-5</view>
4
+    <view class="text2">38个字</view>
5
+  </view>
6
+  <view class="panelMain FlexColumn">
7
+    <view class="panelMain1 FlexRow">
8
+      <view class="item" wx:for="{{[1,1,1,1,1,1,1,1,1,1,11,1,1,1,1,1,1,1,1,11,1,1,1,1,1,1,1,1,11,1,1,1,1,1,1,1,1,1]}}" >
9
+      天
10
+      </view>
11
+    </view>
12
+  </view>
13
+</view>

+ 38 - 0
pages/test/wordlist.wxss

@@ -0,0 +1,38 @@
1
+.panelTop{
2
+  width:100%;
3
+  height:106rpx;
4
+  justify-content: space-between;
5
+  background-color: #fff;
6
+}
7
+.text1{
8
+  margin-left: 30rpx;
9
+  font-size:32rpx;
10
+}
11
+.text2{
12
+  margin-right: 30rpx;
13
+  font-size:24rpx;
14
+  color:#787878;
15
+}
16
+
17
+.panelMain{
18
+  width:100%;
19
+  justify-content: flex-start;
20
+}
21
+.panelMain1{
22
+  width:720rpx;
23
+  flex-wrap: wrap;
24
+  justify-content: flex-start;
25
+  align-items: flex-start;
26
+  margin-top: 50rpx;
27
+  margin-left: 30rpx;
28
+}
29
+.item{
30
+  width:110rpx;
31
+  height:110rpx;
32
+  background-color: #fff;
33
+  margin: 0 6rpx 6rpx 0;
34
+  text-align: center;
35
+  line-height: 110rpx;
36
+  font-size:48rpx;
37
+  font-weight: 400;
38
+}

+ 11 - 14
project.config.json

@@ -48,8 +48,12 @@
48 48
 			"currentL": -1,
49 49
 			"list": []
50 50
 		},
51
+		"gamePlugin": {
52
+			"current": -1,
53
+			"list": []
54
+		},
51 55
 		"miniprogram": {
52
-			"current": 9,
56
+			"current": -1,
53 57
 			"list": [
54 58
 				{
55 59
 					"id": 0,
@@ -102,24 +106,17 @@
102 106
 				},
103 107
 				{
104 108
 					"id": 7,
105
-					"name": "pages/main/symbolsetting",
106
-					"pathName": "pages/main/symbolsetting",
109
+					"name": "pages/test/report",
110
+					"pathName": "pages/test/report",
107 111
 					"query": "",
108 112
 					"scene": null
109 113
 				},
110 114
 				{
111
-					"id": 9,
112
-					"name": "pages/index/index",
115
+					"id": 8,
116
+					"name": "/pages/index/index",
113 117
 					"pathName": "pages/index/index",
114
-					"query": "",
115
-					"scene": 1047
116
-				},
117
-				{
118
-					"id": -1,
119
-					"name": "pages/test/index",
120
-					"pathName": "pages/test/index",
121
-					"query": "",
122
-					"scene": null
118
+					"query": "type=bebound&ParentUserID=2&NickName=一二",
119
+					"scene": 1007
123 120
 				}
124 121
 			]
125 122
 		}