chengjie 4 years ago
parent
commit
d766ca8301
66 changed files with 2806 additions and 1199 deletions
  1. 1 1
      app.js
  2. 23 2
      app.json
  3. BIN
      pages/images/universalpic_errorpic_black_30x30.png
  4. BIN
      pages/images/universalpic_exclamation_orange_40x40.png
  5. 446 416
      pages/main/add.js
  6. 192 223
      pages/main/add.wxml
  7. 3 11
      pages/main/add.wxss
  8. 1 1
      pages/main/addInfomationDetail.js
  9. 316 274
      pages/main/detail.js
  10. 2 2
      pages/main/detail.wxml
  11. 0 7
      pages/main/detail.wxss
  12. 48 1
      pages/main/mainlist.js
  13. 35 9
      pages/main/mainlist.wxml
  14. 53 1
      pages/main/mainlist.wxss
  15. 51 139
      pages/test/index.js
  16. 1 0
      pages/test/item.js
  17. 10 4
      pages/test/item.wxml
  18. 10 1
      pages/test/item.wxss
  19. 16 6
      pages/test/list.js
  20. 2 2
      pages/test/list.wxml
  21. 5 11
      pages/test/report.js
  22. 1 3
      pages/test/report.wxml
  23. BIN
      pages_agent/images/promotion_index_code.png
  24. BIN
      pages_agent/images/promotion_index_message.png
  25. BIN
      pages_agent/images/promotion_index_rules.png
  26. BIN
      pages_agent/images/promotion_partner_home_title01.png
  27. BIN
      pages_agent/images/promotion_user_home_title01.png
  28. BIN
      pages_agent/images/promotion_user_home_title02.png
  29. BIN
      pages_agent/images/promotion_user_home_title03.png
  30. BIN
      pages_agent/images/promotion_user_profile_bg.png
  31. BIN
      pages_agent/images/universalpic_indicator_right_deepgray.png
  32. 66 0
      pages_agent/main/enter.js
  33. 5 0
      pages_agent/main/enter.json
  34. 13 0
      pages_agent/main/enter.wxml
  35. 40 0
      pages_agent/main/enter.wxss
  36. 29 0
      pages_agent/main/index.js
  37. 4 0
      pages_agent/main/index.json
  38. 22 0
      pages_agent/main/index.wxml
  39. 30 0
      pages_agent/main/index.wxss
  40. 24 0
      pages_agent/main/message.js
  41. 4 0
      pages_agent/main/message.json
  42. 38 0
      pages_agent/main/message.wxml
  43. 61 0
      pages_agent/main/message.wxss
  44. 24 0
      pages_agent/main/message_info.js
  45. 4 0
      pages_agent/main/message_info.json
  46. 11 0
      pages_agent/main/message_info.wxml
  47. 30 0
      pages_agent/main/message_info.wxss
  48. 66 0
      pages_agent/main/userinfo.js
  49. 5 0
      pages_agent/main/userinfo.json
  50. 64 0
      pages_agent/main/userinfo.wxml
  51. 88 0
      pages_agent/main/userinfo.wxss
  52. 27 0
      pages_agent/promotion/earnings.js
  53. 4 0
      pages_agent/promotion/earnings.json
  54. 115 0
      pages_agent/promotion/earnings.wxml
  55. 237 0
      pages_agent/promotion/earnings.wxss
  56. 27 0
      pages_agent/promotion/earnings_list.js
  57. 4 0
      pages_agent/promotion/earnings_list.json
  58. 45 0
      pages_agent/promotion/earnings_list.wxml
  59. 86 0
      pages_agent/promotion/earnings_list.wxss
  60. 27 0
      pages_agent/promotion/user_index.js
  61. 8 0
      pages_agent/promotion/user_index.json
  62. 105 0
      pages_agent/promotion/user_index.wxml
  63. 135 0
      pages_agent/promotion/user_index.wxss
  64. 2 43
      project.private.config.json
  65. 48 42
      utils/constant.js
  66. 92 0
      utils/main.js

+ 1 - 1
app.js

@@ -1,6 +1,6 @@
1
 App({
1
 App({
2
   globalData: {
2
   globalData: {
3
-    Version: "2.1.48",
3
+    Version: "2.1.58",
4
     IsProduction: true,
4
     IsProduction: true,
5
     //IsProduction: false,
5
     //IsProduction: false,
6
     ShareTitle: "高效学习从秒过开始",
6
     ShareTitle: "高效学习从秒过开始",

+ 23 - 2
app.json

@@ -3,8 +3,6 @@
3
     
3
     
4
     "pages/index/index",
4
     "pages/index/index",
5
     "pages/main/health",
5
     "pages/main/health",
6
-    
7
-    
8
     "pages/main/folderEdit",
6
     "pages/main/folderEdit",
9
     "pages/main/folderIcon",
7
     "pages/main/folderIcon",
10
 
8
 
@@ -77,6 +75,29 @@
77
     "resizable": false,
75
     "resizable": false,
78
     "enablePullDownRefresh": false
76
     "enablePullDownRefresh": false
79
   },
77
   },
78
+  "subPackages": [
79
+    {
80
+      "root": "pages_agent",
81
+      "pages": [
82
+        "promotion/earnings_list",
83
+        "promotion/earnings",
84
+        "promotion/user_index",
85
+        "main/message_info",
86
+        "main/message",
87
+        "main/userinfo",
88
+        "main/enter",
89
+        "main/index"
90
+      ]
91
+    }
92
+  ],
93
+  "preloadRule": {
94
+    "pages_agent/main/index": {
95
+      "network": "all",
96
+      "packages": [
97
+        "pages_agent"
98
+      ]
99
+    }
100
+  },
80
   "requiredBackgroundModes": [
101
   "requiredBackgroundModes": [
81
     "audio"
102
     "audio"
82
   ],
103
   ],

BIN
pages/images/universalpic_errorpic_black_30x30.png


BIN
pages/images/universalpic_exclamation_orange_40x40.png


File diff suppressed because it is too large
+ 446 - 416
pages/main/add.js


+ 192 - 223
pages/main/add.wxml

@@ -5,7 +5,7 @@
5
 	<view class="panelTop FlexRow" style="top:{{topBarHeight+topBarHeightIPad}}rpx;">
5
 	<view class="panelTop FlexRow" style="top:{{topBarHeight+topBarHeightIPad}}rpx;">
6
 		<view class="panelLeft FlexRow">
6
 		<view class="panelLeft FlexRow">
7
 			<view class='panelTop1 FlexRow' catchtap='onClose'>
7
 			<view class='panelTop1 FlexRow' catchtap='onClose'>
8
-				放弃
8
+				<text wx:if="{{BtnSaveSelectCss}}">放弃</text><text wx:if="{{!BtnSaveSelectCss}}">返回</text>
9
 			</view>
9
 			</view>
10
 		</view>
10
 		</view>
11
 		<view class="panelRight FlexRow">
11
 		<view class="panelRight FlexRow">
@@ -53,16 +53,13 @@
53
 						</text>
53
 						</text>
54
 
54
 
55
 						<view class="sound FlexRow" wx:if="{{item.Type=='sound'}}">
55
 						<view class="sound FlexRow" wx:if="{{item.Type=='sound'}}">
56
-							<image class="universalpic_read_mark_black_20x20"
57
-								src='../images/universalpic_read_mark_black_20x20.png' />
56
+							<image class="universalpic_read_mark_black_20x20" src='../images/universalpic_read_mark_black_20x20.png' />
58
 						</view>
57
 						</view>
59
 						<text class="textPinyin" wx:if="{{item.Type=='sound'}}">{{item.Content}}</text>
58
 						<text class="textPinyin" wx:if="{{item.Type=='sound'}}">{{item.Content}}</text>
60
 						<view class="panelRecorder FlexRow" wx:if="{{item.Type=='recorder'}}">
59
 						<view class="panelRecorder FlexRow" wx:if="{{item.Type=='recorder'}}">
61
-							<image class="universalpic_read_mark_black_20x20"
62
-								src='../images/universalpic_read_mark_black_20x20.png' />
60
+							<image class="universalpic_read_mark_black_20x20" src='../images/universalpic_read_mark_black_20x20.png' />
63
 						</view>
61
 						</view>
64
-						<image class="imageFree" mode="widthFix" wx:if="{{item.Type=='image'}}" src='{{item.Content}}'
65
-							binderror="onBindError" />
62
+						<image class="imageFree" mode="widthFix" wx:if="{{item.Type=='image'}}" src='{{item.Content}}' binderror="onBindError" />
66
 						<view class="textBr" wx:if="{{item.Type=='br'}}"></view>
63
 						<view class="textBr" wx:if="{{item.Type=='br'}}"></view>
67
 						<text class="textReturn" wx:if="{{item.Type=='return'}}"></text>
64
 						<text class="textReturn" wx:if="{{item.Type=='return'}}"></text>
68
 					</block>
65
 					</block>
@@ -73,14 +70,12 @@
73
 		<view class="panelItemCircleBottom"></view>
70
 		<view class="panelItemCircleBottom"></view>
74
 	</view>
71
 	</view>
75
 
72
 
76
-	<view class="panelItem0 FlexColumn"
77
-		wx:if="{{(CardType===0 || CardType===1 || CardType===-1 || FolderID || LimitTime || FontSize) && UpdateType!='edit1'}}">
73
+	<view class="panelItem0 FlexColumn" wx:if="{{(CardType===0 || CardType===1 || CardType===-1 || FolderID || LimitTime || FontSize) && UpdateType!='edit1'}}">
78
 		<view class="panelItemCircleTop"></view>
74
 		<view class="panelItemCircleTop"></view>
79
 		<block wx:if="{{CardType===0 || CardType===1 || CardType===-1}}">
75
 		<block wx:if="{{CardType===0 || CardType===1 || CardType===-1}}">
80
 			<view class="panelTimePlan FlexRow" catchtap="showPanel" data-type="cardtype">
76
 			<view class="panelTimePlan FlexRow" catchtap="showPanel" data-type="cardtype">
81
 				<view class="panelItem1 FlexRow">
77
 				<view class="panelItem1 FlexRow">
82
-					<image src='../images/universalpic_practisemodel_black_30x28.png'
83
-						class="universalpic_practisemodel_black_30x28" />
78
+					<image src='../images/universalpic_practisemodel_black_30x28.png' class="universalpic_practisemodel_black_30x28" />
84
 					<view class="panelTimePlan1">{{PracticeCardType}}</view>
79
 					<view class="panelTimePlan1">{{PracticeCardType}}</view>
85
 				</view>
80
 				</view>
86
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
81
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
@@ -96,9 +91,9 @@
96
 					<image src='../images/universalpic_cardlist_black_30x28.png' class="universalpic_cardlist_black_30x28" />
91
 					<image src='../images/universalpic_cardlist_black_30x28.png' class="universalpic_cardlist_black_30x28" />
97
 					<view class="panelTimePlan1">{{FolderName}}</view>
92
 					<view class="panelTimePlan1">{{FolderName}}</view>
98
 				</view>
93
 				</view>
99
-				
94
+
100
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
95
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
101
-				
96
+
102
 			</view>
97
 			</view>
103
 		</block>
98
 		</block>
104
 
99
 
@@ -111,9 +106,9 @@
111
 					<image src='../images/universalpic_plan_6dots_black_30x32.png' class="universalpic_plan_6dots_black_30x32" />
106
 					<image src='../images/universalpic_plan_6dots_black_30x32.png' class="universalpic_plan_6dots_black_30x32" />
112
 					<view class="panelTimePlan1">{{PracticeTimeStr}}</view>
107
 					<view class="panelTimePlan1">{{PracticeTimeStr}}</view>
113
 				</view>
108
 				</view>
114
-				
109
+
115
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
110
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
116
-				
111
+
117
 			</view>
112
 			</view>
118
 		</block>
113
 		</block>
119
 
114
 
@@ -153,7 +148,7 @@
153
 				复查
148
 				复查
154
 			</view>
149
 			</view>
155
 			<view class="panelSave1" wx:if="{{UpdateType!='add' && UpdateType!='add2'}}">
150
 			<view class="panelSave1" wx:if="{{UpdateType!='add' && UpdateType!='add2'}}">
156
-				
151
+
157
 			</view>
152
 			</view>
158
 			<view class='{{BtnSaveSelectCss}} panelSave2' bindtap="saveCard">
153
 			<view class='{{BtnSaveSelectCss}} panelSave2' bindtap="saveCard">
159
 				保存
154
 				保存
@@ -168,16 +163,11 @@
168
 </view>
163
 </view>
169
 
164
 
170
 <!-- 自动记号 -->
165
 <!-- 自动记号 -->
171
-<view wx:if="{{IsTagShow}}" class="numberContainer FlexColumn"
172
-	style='height:{{Containnerheight}}rpx;top:{{topBarHeight}}rpx;'>
173
-	<view class="panelTop FlexRow"  style="top:{{topBarHeight}}rpx;">
174
-    <view class="panelLeft FlexRow" catchtap="closeTagShow">
175
-			<view class="panelTop1 FlexRow"><image class="universalpic_close_black_24x24" src='../images/universalpic_close_black_24x24.png' /></view>
176
-    </view>
177
-    <view class='panelRight FlexRow' catchtap='deleteItem' data-type="3">
178
-      <view class="panelTop1">确定</view> 
179
-    </view>
180
-  </view>
166
+<view wx:if="{{IsTagShow}}" class="numberContainer FlexColumn" style='height:{{Containnerheight}}rpx;top:{{topBarHeight}}rpx;'>
167
+	<view class="panelTop FlexRow" style="top:{{topBarHeight}}rpx;">
168
+		<view class="panelSaveTag3" catchtap="closeTagShow">取消</view>
169
+		<view class="panelSaveTag3" catchtap='deleteItem' data-type="3">确定</view>
170
+	</view>
181
 	<view class="line"></view>
171
 	<view class="line"></view>
182
 	<view class="panelItem FlexColumn" style="margin-top:{{topBarHeight}}rpx;">
172
 	<view class="panelItem FlexColumn" style="margin-top:{{topBarHeight}}rpx;">
183
 		<view class="panelTitle FlexRow">
173
 		<view class="panelTitle FlexRow">
@@ -191,12 +181,10 @@
191
 		</view>
181
 		</view>
192
 		<view class='panelTag FlexRow'>
182
 		<view class='panelTag FlexRow'>
193
 			<block wx:for="{{TagTemp}}" wx:key="indexTag" wx:for-index="indexTag">
183
 			<block wx:for="{{TagTemp}}" wx:key="indexTag" wx:for-index="indexTag">
194
-				<view wx:if="{{indexTag!=TagIndex}}" class="panelTag1 FlexRow" catchtap='deleteItem' data-id="{{indexTag}}"
195
-					data-type="1">
184
+				<view wx:if="{{indexTag!=TagIndex}}" class="panelTag1 FlexRow" catchtap='deleteItem' data-id="{{indexTag}}" data-type="1">
196
 					<view class="tag1">{{item}}</view>
185
 					<view class="tag1">{{item}}</view>
197
 				</view>
186
 				</view>
198
-				<view wx:if="{{indexTag==TagIndex}}" class="panelTag2 panelTag1 FlexRow" catchtap='deleteItem'
199
-					data-id="{{indexTag}}" data-type="2">
187
+				<view wx:if="{{indexTag==TagIndex}}" class="panelTag2 panelTag1 FlexRow" catchtap='deleteItem' data-id="{{indexTag}}" data-type="2">
200
 					<view class="tag1">{{item}}</view>
188
 					<view class="tag1">{{item}}</view>
201
 					<image src='../images/universalpic_del_white_14x14.png' class="universalpic_del_white_14x14" />
189
 					<image src='../images/universalpic_del_white_14x14.png' class="universalpic_del_white_14x14" />
202
 				</view>
190
 				</view>
@@ -206,197 +194,178 @@
206
 </view>
194
 </view>
207
 
195
 
208
 <!-- 字段编辑 -->
196
 <!-- 字段编辑 -->
209
-<view class="addItem container FlexColumn" style='height:{{Containnerheight}}rpx; top:{{topBarHeight+topBarHeightIPad}}rpx;'
210
-	hidden='{{HiddenFieldEdit || IsRecorder}}'>
197
+<view class="addItem container FlexColumn" style='height:{{Containnerheight}}rpx; top:{{topBarHeight+topBarHeightIPad}}rpx;' hidden='{{HiddenFieldEdit || IsRecorder}}'>
211
 	<view class="panelItemTag FlexRow">
198
 	<view class="panelItemTag FlexRow">
212
 
199
 
213
-		<view class="panelSaveTag0 FlexRow" catchtap="closeAddItem" data-idsave="false">
214
-			<image class="universalpic_close_black_24x24" src='../images/universalpic_close_black_24x24.png' />
215
-		</view>
216
-
217
-
218
-		<view class="panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{LineSign}}" hidden="{{LineSign=='[/线]'}}">
219
-			<image class="universalpic_underline_default_20x40" src='../images/universalpic_underline_default_20x40.png' />
220
-		</view>
221
-		<view class="panelSaveTag2 panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{LineSign}}"
222
-			hidden="{{LineSign=='[线]'}}">
223
-			<image class="universalpic_underline_activate_60x40" src='../images/universalpic_underline_activate_60x40.png' />
224
-		</view>
225
-
226
-		<view class="panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{HighlighterSign}}"
227
-			hidden="{{HighlighterSign=='[/光]'}}">
228
-			<image class="universalpic_backcolor_default_20x40" src='../images/universalpic_backcolor_default_20x40.png' />
229
-		</view>
230
-		<view class="panelSaveTag2 panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{HighlighterSign}}"
231
-			hidden="{{HighlighterSign=='[光]'}}">
232
-			<image class="universalpic_backcolor_activate_60x40" src='../images/universalpic_backcolor_activate_60x40.png' />
200
+		<view class="panelSaveTag3 panelSaveTag0 FlexRow" catchtap="closeAddItem" data-idsave="false">
201
+			<view class="panelSaveTag311">取消</view>
233
 		</view>
202
 		</view>
234
 
203
 
235
-		<view class="panelSaveTag1 FlexRow" catchtap="uploadImageField" wx:if="{{IsShow==1}}">
236
-			<image class="universalpic_picture_black_30x30" src='../images/universalpic_picture_black_30x30.png' />
237
-		</view>
204
+		<view class="FlexRow">
205
+			<view class="panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{LineSign}}" hidden="{{LineSign=='[/线]'}}">
206
+				<image class="universalpic_underline_default_20x40" src='../images/universalpic_underline_default_20x40.png' />
207
+			</view>
208
+			<view class="panelSaveTag2 panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{LineSign}}" hidden="{{LineSign=='[线]'}}">
209
+				<image class="universalpic_underline_activate_60x40" src='../images/universalpic_underline_activate_60x40.png' />
210
+			</view>
238
 
211
 
239
-		<view class="panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{SoundSign}}" hidden="{{SoundSign=='[/读]'}}">
240
-			<image class="universalpic_soundwave_default_32x22" src='../images/universalpic_soundwave_default_32x22.png' />
241
-		</view>
242
-		<view class="panelSaveTag2 panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{SoundSign}}"
243
-			hidden="{{SoundSign=='[读]'}}">
244
-			<image class="universalpic_soundwave_activate_32x22" src='../images/universalpic_soundwave_activate_32x22.png' />
245
-		</view>
212
+			<view class="panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{HighlighterSign}}" hidden="{{HighlighterSign=='[/光]'}}">
213
+				<image class="universalpic_backcolor_default_20x40" src='../images/universalpic_backcolor_default_20x40.png' />
214
+			</view>
215
+			<view class="panelSaveTag2 panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{HighlighterSign}}" hidden="{{HighlighterSign=='[光]'}}">
216
+				<image class="universalpic_backcolor_activate_60x40" src='../images/universalpic_backcolor_activate_60x40.png' />
217
+			</view>
246
 
218
 
219
+			<view class="panelSaveTag1 FlexRow" catchtap="uploadImageField" wx:if="{{IsShow==1}}">
220
+				<image class="universalpic_picture_black_30x30" src='../images/universalpic_picture_black_30x30.png' />
221
+			</view>
247
 
222
 
248
-		<view class="panelSaveTag11 panelSaveTag1 FlexRow" catchtap="recorderAccredit" wx:if="{{IsShow==1}}">
249
-			<image class="universalpic_microphone_black_20x30" src='../images/universalpic_microphone_black_20x30.png' />
250
-		</view>
223
+			<view class="panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{SoundSign}}" hidden="{{SoundSign=='[/读]'}}">
224
+				<image class="universalpic_soundwave_default_32x22" src='../images/universalpic_soundwave_default_32x22.png' />
225
+			</view>
226
+			<view class="panelSaveTag2 panelSaveTag1 FlexRow" catchtap="addSymbol" data-id="{{SoundSign}}" hidden="{{SoundSign=='[读]'}}">
227
+				<image class="universalpic_soundwave_activate_32x22" src='../images/universalpic_soundwave_activate_32x22.png' />
228
+			</view>
251
 
229
 
252
-		<!-- <view class="panelSaveTag3 FlexRow" catchtap="onSearchField">
253
-			加资料
230
+			<view class="panelSaveTag11 panelSaveTag1 FlexRow" catchtap="recorderAccredit" wx:if="{{IsShow==1}}">
231
+				<image class="universalpic_microphone_black_20x30" src='../images/universalpic_microphone_black_20x30.png' />
232
+			</view>
254
 		</view>
233
 		</view>
255
 
234
 
256
-		<view class="panelSaveTag31 panelSaveTag3 panelSaveTag0 FlexRow" catchtap="closeAddItem" data-idsave="true">
257
-			确定
258
-		</view> -->
259
-
260
-		<view class="panelSaveTag31 panelSaveTag3 panelSaveTag0 FlexRow" catchtap="closeAddItem" data-idsave="true">
235
+		<view class="panelSaveTag3 panelSaveTag0 FlexRow" catchtap="closeAddItem" data-idsave="true">
261
 			<view class="panelSaveTag311">确定</view>
236
 			<view class="panelSaveTag311">确定</view>
262
 		</view>
237
 		</view>
263
 	</view>
238
 	</view>
264
 	<view class='lineFooter'></view>
239
 	<view class='lineFooter'></view>
265
 	<view class='panelInput'>
240
 	<view class='panelInput'>
266
-		<textarea class="input" style="height:{{InputHeight+topBarHeightIPad2}}rpx;" maxlength='-1' show-confirm-bar="true"
267
-			value="{{FieldContent}}" focus="{{Focus}}" cursor="{{Cursor}}" 
268
-			bindinput="bindinputField" bindblur="onBindblur" bindfocus="onBindFocus" data-id='{{FieldNumber}}' />
269
-		</view>
270
-  <view class='lineFooter'></view>
271
-  <view class='panelBtnItem FlexColumn'>
272
-    <scroll-view scroll-x="true" class="panelBtnSmall" bindscroll="bindscrollHandler">
273
-      <view class="btn0"></view>
274
-      <view class="btn" catchtap="addSymbol" wx:for="{{SymbolMain}}" wx:key="index" data-id="{{item.Name}}">{{item.Name}}</view>
275
-      <view class="btn2 btn" catchtap="goto" data-url="../main/symbolsetting">更多</view>
276
-    </scroll-view>
277
-    <view class='lineFooter'></view>
278
-  </view>
241
+		<textarea class="input" style="height:{{InputHeight+topBarHeightIPad2}}rpx;" maxlength='-1' show-confirm-bar="true" value="{{FieldContent}}" focus="{{Focus}}" cursor="{{Cursor}}" bindinput="bindinputField" bindblur="onBindblur" bindfocus="onBindFocus" data-id='{{FieldNumber}}' />
242
+	</view>
243
+	<view class='lineFooter'></view>
244
+	<view class='panelBtnItem FlexColumn'>
245
+		<scroll-view scroll-x="true" class="panelBtnSmall" bindscroll="bindscrollHandler">
246
+			<view class="btn0"></view>
247
+			<view class="btn" catchtap="addSymbol" wx:for="{{SymbolMain}}" wx:key="index" data-id="{{item.Name}}">{{item.Name}}</view>
248
+			<view class="btn2 btn" catchtap="goto" data-url="../main/symbolsetting">更多</view>
249
+		</scroll-view>
250
+		<view class='lineFooter'></view>
251
+	</view>
279
 </view>
252
 </view>
280
 
253
 
281
 <!-- 录音功能 -->
254
 <!-- 录音功能 -->
282
 <view wx:if="{{IsRecorder}}" class="numberContainer FlexColumn" style='height:{{Containnerheight}}rpx;top:{{topBarHeight}}rpx;'>
255
 <view wx:if="{{IsRecorder}}" class="numberContainer FlexColumn" style='height:{{Containnerheight}}rpx;top:{{topBarHeight}}rpx;'>
283
-  <view class="panelTop FlexRow"  style="top:{{topBarHeight}}rpx;">
284
-    <view class="panelLeft FlexRow" catchtap="closeRecorder">
285
-			<view class="panelTop1 FlexRow"><image class="universalpic_close_black_24x24" src='../images/universalpic_close_black_24x24.png' /></view>
286
-    </view>
287
-    <view class='panelRight FlexRow' catchtap='btnRecorderSave'>
288
-      <view class="panelTop1">上传</view> 
289
-    </view>
290
-  </view>
291
-  <view class='RecorderPanel2 FlexRow' wx:if="{{!FieldContent}}">
292
-    <image class="edit_voicerecorder_illus" src='../images/edit_voicerecorder_illus.png' />
293
-  </view>
294
-  <view class="RecorderPanel3 FlexColumn" wx:if="{{FieldContent}}" style='height:{{Containnerheight-449}}rpx;top:{{topBarHeight+100}}rpx;'>
295
-    <view class='RecorderPanel31 FlexColumn'>
296
-      <text class='RecorderPanel311'>以下内容来自题卡段落\n只要提前写进段落,就能在录音时方便照读。</text>
256
+	<view class="panelTop FlexRow" style="top:{{topBarHeight}}rpx;">
257
+		<view class="panelSaveTag3" catchtap="closeRecorder">取消</view>
258
+		<view class="panelSaveTag3" catchtap='btnRecorderSave'>上传</view>
259
+	</view>
260
+	<view class='RecorderPanel2 FlexRow' wx:if="{{!FieldContent}}">
261
+		<image class="edit_voicerecorder_illus" src='../images/edit_voicerecorder_illus.png' />
262
+	</view>
263
+	<view class="RecorderPanel3 FlexColumn" wx:if="{{FieldContent}}" style='height:{{Containnerheight-449}}rpx;top:{{topBarHeight+100}}rpx;'>
264
+		<view class='RecorderPanel31 FlexColumn'>
265
+			<text class='RecorderPanel311'>以下内容来自题卡段落\n只要提前写进段落,就能在录音时方便照读。</text>
297
 		</view>
266
 		</view>
298
 		<view class="panelLine2"></view>
267
 		<view class="panelLine2"></view>
299
-    <textarea class="RecorderPanel32" maxlength='-1' value="{{FieldContent}}" fixed="true"/>
300
-  </view>
301
-  <view class='RecorderPanel1 FlexColumn'>
302
-    <view class='RecorderPanel11 FlexRow'>
303
-      <view class='{{RecorderTimeCss}} RecorderPanel112'>{{RecorderTime}}</view>
304
-    </view>
305
-    <view class='btnRecorderStart FlexRow' hover-start-time="50" hover-class="btnRecorderEnd" catchtouchstart='btnRecorderStart' catchtouchend='btnRecorderEnd' wx:if="{{!IsRecorderFinished}}">
306
-      <view class="symbol1" wx:if="{{RecorderTimeCss!='RecorderPanel1121'}}">●</view>
307
-      <view>{{BtnRecorderName}}</view>
308
-    </view>
309
-    <view class='RecorderPanel12 FlexRow' wx:if="{{IsRecorderFinished}}">
310
-      <view class='btnRecorderStart2 btnRecorderStart FlexRow' hover-class="btnRecorderEnd" catchtap='showRecorder'>
311
-        <view class="symbol1">●</view>
312
-      	<view>重录</view>
313
-      </view>
314
-      <view class='btnRecorderStart2 btnRecorderStart FlexRow' catchtap='btnRecorderPlay'>
315
-        <view class="symbol2" wx:if="{{RecorderPlayName=='播放'}}">▶︎</view>
316
-        <view class="symbol2" wx:if="{{RecorderPlayName=='停止'}}">■</view>
317
-        <view>{{RecorderPlayName}}</view>
318
-      </view>
319
-    </view>
320
-  </view>
268
+		<textarea class="RecorderPanel32" maxlength='-1' value="{{FieldContent}}" fixed="true" />
269
+	</view>
270
+	<view class='RecorderPanel1 FlexColumn'>
271
+		<view class='RecorderPanel11 FlexRow'>
272
+			<view class='{{RecorderTimeCss}} RecorderPanel112'>{{RecorderTime}}</view>
273
+		</view>
274
+		<view class='btnRecorderStart FlexRow' hover-start-time="50" hover-class="btnRecorderEnd" catchtouchstart='btnRecorderStart' catchtouchend='btnRecorderEnd' wx:if="{{!IsRecorderFinished}}">
275
+			<view class="symbol1" wx:if="{{RecorderTimeCss!='RecorderPanel1121'}}">●</view>
276
+			<view>{{BtnRecorderName}}</view>
277
+		</view>
278
+		<view class='RecorderPanel12 FlexRow' wx:if="{{IsRecorderFinished}}">
279
+			<view class='btnRecorderStart2 btnRecorderStart FlexRow' hover-class="btnRecorderEnd" catchtap='showRecorder'>
280
+				<view class="symbol1">●</view>
281
+				<view>重录</view>
282
+			</view>
283
+			<view class='btnRecorderStart2 btnRecorderStart FlexRow' catchtap='btnRecorderPlay'>
284
+				<view class="symbol2" wx:if="{{RecorderPlayName=='播放'}}">▶︎</view>
285
+				<view class="symbol2" wx:if="{{RecorderPlayName=='停止'}}">■</view>
286
+				<view>{{RecorderPlayName}}</view>
287
+			</view>
288
+		</view>
289
+	</view>
321
 </view>
290
 </view>
322
 
291
 
323
 <!-- 菜单 -->
292
 <!-- 菜单 -->
324
 <view wx:if="{{IsShowMenu}}" class="panelMenu container FlexColumn" style='height:{{Containnerheight}}rpx; top:{{topBarHeight}}rpx;'>
293
 <view wx:if="{{IsShowMenu}}" class="panelMenu container FlexColumn" style='height:{{Containnerheight}}rpx; top:{{topBarHeight}}rpx;'>
325
 	<view class="panelMenu0 FlexColumn">
294
 	<view class="panelMenu0 FlexColumn">
326
 		<view class="panelMenu12 panelMenu1 FlexColumn">
295
 		<view class="panelMenu12 panelMenu1 FlexColumn">
327
-		<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="cardtype">
328
-			<view class="Arrow"></view>
329
-		  <view>练习模式</view>
330
-		  <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
331
-		</view>
332
-		<view class="panelMenuLine"></view>
333
-		<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="folder">
334
-			<view class="Arrow"></view>
335
-		  <view>卡单</view>
336
-		  <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
337
-		</view>
338
-		<block wx:if="{{CardType!=-1}}">
296
+			<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="cardtype">
297
+				<view class="Arrow"></view>
298
+				<view>练习模式</view>
299
+				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
300
+			</view>
339
 			<view class="panelMenuLine"></view>
301
 			<view class="panelMenuLine"></view>
340
-			<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="limittime">
302
+			<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="folder">
341
 				<view class="Arrow"></view>
303
 				<view class="Arrow"></view>
342
-				<view>到期时间</view>
304
+				<view>卡单</view>
343
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
305
 				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
344
 			</view>
306
 			</view>
345
-		</block>
346
-		
347
-		<view class="panelMenuLine"></view>
348
-		<view class="panelMenu1 FlexRow" catchtap="setCollect">
349
-			<view></view>
350
-			<view wx:if="{{IsCollect==0}}">加注星标</view>
351
-			<view wx:if="{{IsCollect==1}}">清除星标</view>
352
-			<view></view>
353
-		</view>
354
-		<view class="panelMenuLine"></view>
355
-		<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="fontsize">
356
-			<view class="Arrow"></view>
357
-		  <view>字号</view>
358
-		  <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
307
+			<block wx:if="{{CardType!=-1}}">
308
+				<view class="panelMenuLine"></view>
309
+				<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="limittime">
310
+					<view class="Arrow"></view>
311
+					<view>到期时间</view>
312
+					<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
313
+				</view>
314
+			</block>
315
+
316
+			<view class="panelMenuLine"></view>
317
+			<view class="panelMenu1 FlexRow" catchtap="setCollect">
318
+				<view></view>
319
+				<view wx:if="{{IsCollect==0}}">加注星标</view>
320
+				<view wx:if="{{IsCollect==1}}">清除星标</view>
321
+				<view></view>
322
+			</view>
323
+			<view class="panelMenuLine"></view>
324
+			<view class="panelMenu1 FlexRow" catchtap="showPanel" data-type="fontsize">
325
+				<view class="Arrow"></view>
326
+				<view>字号</view>
327
+				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
328
+			</view>
329
+
359
 		</view>
330
 		</view>
360
-		
361
-	</view>
362
-	<view class="panelMenu11 panelMenu1" wx:if="{{UpdateType!='add' && UpdateType!='add2' && UpdateType!='add3'}}" catchtap="deleteCard">删除题卡</view>
363
-	<view class="panelMenu10 panelMenu1" catchtap="hiddenPanel">取消</view>
331
+		<view class="panelMenu11 panelMenu1" wx:if="{{UpdateType!='add' && UpdateType!='add2' && UpdateType!='add3'}}" catchtap="deleteCard">删除题卡</view>
332
+		<view class="panelMenu10 panelMenu1" catchtap="hiddenPanel">取消</view>
364
 	</view>
333
 	</view>
365
-	
334
+
366
 </view>
335
 </view>
367
 
336
 
368
 <view wx:if="{{IsHelp}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;top:{{topBarHeight}}rpx;'>
337
 <view wx:if="{{IsHelp}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;top:{{topBarHeight}}rpx;'>
369
-  <view class="HelpPanel1 FlexColumn" style="bottom:{{topBarHeightIPad}}rpx;">
370
-    <view class="HelpPanel11 FlexRow">
371
-      <view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
372
-        <image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
373
-      </view>
374
-      <view></view>
375
-    </view>
376
-    <swiper class="HelpPanel2" indicator-dots="true" autoplay="true" interval="10000" duration="500">
377
-      <block wx:for="{{HelpArr}}" wx:key="*this">
378
-        <swiper-item>
379
-          <view class="HelpPanel12 FlexColumn">
380
-            <image src='{{ImagePath}}web/{{item}}.png?0' class="{{item}}" />
381
-          </view>
382
-        </swiper-item>
383
-      </block>
384
-    </swiper>
385
-  </view>
338
+	<view class="HelpPanel1 FlexColumn" style="bottom:{{topBarHeightIPad}}rpx;">
339
+		<view class="HelpPanel11 FlexRow">
340
+			<view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
341
+				<image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
342
+			</view>
343
+			<view></view>
344
+		</view>
345
+		<swiper class="HelpPanel2" indicator-dots="true" autoplay="true" interval="10000" duration="500">
346
+			<block wx:for="{{HelpArr}}" wx:key="*this">
347
+				<swiper-item>
348
+					<view class="HelpPanel12 FlexColumn">
349
+						<image src='{{ImagePath}}web/{{item}}.png?0' class="{{item}}" />
350
+					</view>
351
+				</swiper-item>
352
+			</block>
353
+		</swiper>
354
+	</view>
386
 </view>
355
 </view>
387
 
356
 
388
 <view wx:if="{{IsFontsize}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
357
 <view wx:if="{{IsFontsize}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
389
-  <view class="HelpPanel1 FlexColumn">
390
-    <view class="HelpPanel11 FlexRow">
391
-      <view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
392
-        <image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
393
-      </view>
394
-      <view class="HelpPanel112" catchtap="saveFontSize">
358
+	<view class="HelpPanel1 FlexColumn">
359
+		<view class="HelpPanel11 FlexRow">
360
+			<view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
361
+				<image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
362
+			</view>
363
+			<view class="HelpPanel112" catchtap="saveFontSize">
395
 				确定
364
 				确定
396
 			</view>
365
 			</view>
397
-    </view>
398
-    <view class="HelpPanel3 HelpPanel2 FlexColumn" >
399
-      <view class="panelTitle2 FlexColumn">
366
+		</view>
367
+		<view class="HelpPanel3 HelpPanel2 FlexColumn">
368
+			<view class="panelTitle2 FlexColumn">
400
 				<view class="panelTitle21">调整题卡「字号」</view>
369
 				<view class="panelTitle21">调整题卡「字号」</view>
401
 				<view class="panelTitle22">只有段落1可调整字号,默认字号为「标准」</view>
370
 				<view class="panelTitle22">只有段落1可调整字号,默认字号为「标准」</view>
402
 			</view>
371
 			</view>
@@ -404,22 +373,22 @@
404
 			<view class="MenuBtn FlexRow">
373
 			<view class="MenuBtn FlexRow">
405
 				<view class="{{item.Selected}} MenuBtn1" wx:for="{{FontSizeArr}}" wx:key="index" catchtap="setFontSize" data-fontsize="{{item.Value}}">{{item.Name}}</view>
374
 				<view class="{{item.Selected}} MenuBtn1" wx:for="{{FontSizeArr}}" wx:key="index" catchtap="setFontSize" data-fontsize="{{item.Value}}">{{item.Name}}</view>
406
 			</view>
375
 			</view>
407
-    </view>
408
-  </view>
376
+		</view>
377
+	</view>
409
 </view>
378
 </view>
410
 
379
 
411
 <view wx:if="{{IsFolder}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
380
 <view wx:if="{{IsFolder}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
412
-  <view class="HelpPanel1 FlexColumn"  style="bottom:{{topBarHeightIPad-38}}rpx;">
413
-    <view class="HelpPanel11 FlexRow">
414
-      <view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
415
-        <image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
416
-      </view>
417
-      <view class="HelpPanel112" catchtap="setFolder">
381
+	<view class="HelpPanel1 FlexColumn" style="bottom:{{topBarHeightIPad-38}}rpx;">
382
+		<view class="HelpPanel11 FlexRow">
383
+			<view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
384
+				<image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
385
+			</view>
386
+			<view class="HelpPanel112" catchtap="setFolder">
418
 				确定
387
 				确定
419
 			</view>
388
 			</view>
420
-    </view>
421
-    <view class="HelpPanel4 HelpPanel2 FlexColumn" >
422
-      <view class="panelTitle20 panelTitle2 FlexColumn">
389
+		</view>
390
+		<view class="HelpPanel4 HelpPanel2 FlexColumn">
391
+			<view class="panelTitle20 panelTitle2 FlexColumn">
423
 				<view class="panelTitle21">选择所属「卡单」</view>
392
 				<view class="panelTitle21">选择所属「卡单」</view>
424
 				<view class="panelTitle22">一张题卡只能属于一张卡单或不属于任何卡单</view>
393
 				<view class="panelTitle22">一张题卡只能属于一张卡单或不属于任何卡单</view>
425
 			</view>
394
 			</view>
@@ -427,7 +396,7 @@
427
 				<view class="MenuBtn3 MenuBtn1 FlexRow" catchtap="goto" data-url="./folderEdit?type=add">
396
 				<view class="MenuBtn3 MenuBtn1 FlexRow" catchtap="goto" data-url="./folderEdit?type=add">
428
 					<view>新建卡单</view>
397
 					<view>新建卡单</view>
429
 					<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
398
 					<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
430
-    		</view>
399
+				</view>
431
 				<view class="{{NullFolder}} MenuBtn2 MenuBtn1" catchtap="selectFolder" data-id="0">不属于任何卡单</view>
400
 				<view class="{{NullFolder}} MenuBtn2 MenuBtn1" catchtap="selectFolder" data-id="0">不属于任何卡单</view>
432
 			</view>
401
 			</view>
433
 			<scroll-view scroll-y="true" class="MenuList FlexColumn">
402
 			<scroll-view scroll-y="true" class="MenuList FlexColumn">
@@ -437,21 +406,21 @@
437
 				</view>
406
 				</view>
438
 			</scroll-view>
407
 			</scroll-view>
439
 		</view>
408
 		</view>
440
-  </view>
409
+	</view>
441
 </view>
410
 </view>
442
 
411
 
443
 <view wx:if="{{IsLimitTime}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
412
 <view wx:if="{{IsLimitTime}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
444
-  <view class="HelpPanel1 FlexColumn">
445
-    <view class="HelpPanel11 FlexRow">
446
-      <view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
447
-        <image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
448
-      </view>
449
-      <view class="HelpPanel112" catchtap="setLimitTime">
413
+	<view class="HelpPanel1 FlexColumn">
414
+		<view class="HelpPanel11 FlexRow">
415
+			<view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
416
+				<image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
417
+			</view>
418
+			<view class="HelpPanel112" catchtap="setLimitTime">
450
 				确定
419
 				确定
451
 			</view>
420
 			</view>
452
-    </view>
453
-    <view class="HelpPanel5 HelpPanel2 FlexColumn" >
454
-      <view class="panelTitle20 panelTitle2 FlexColumn">
421
+		</view>
422
+		<view class="HelpPanel5 HelpPanel2 FlexColumn">
423
+			<view class="panelTitle20 panelTitle2 FlexColumn">
455
 				<view class="panelTitle21">修改题卡「到期时间」</view>
424
 				<view class="panelTitle21">修改题卡「到期时间」</view>
456
 				<view class="panelTitle23 panelTitle21">{{PracticeTimeStrTemp}}</view>
425
 				<view class="panelTitle23 panelTitle21">{{PracticeTimeStrTemp}}</view>
457
 				<view class="panelTitle22">到期时间就是下次练习的时间,一般情况无须更改</view>
426
 				<view class="panelTitle22">到期时间就是下次练习的时间,一般情况无须更改</view>
@@ -463,30 +432,30 @@
463
 			</view>
432
 			</view>
464
 			<picker class="Picker" mode="date" value="{{Today}}" end="2050-01-01" bindchange="selectLimitTime2">
433
 			<picker class="Picker" mode="date" value="{{Today}}" end="2050-01-01" bindchange="selectLimitTime2">
465
 				<view class="MenuBtn5 MenuBtn1 FlexRow">
434
 				<view class="MenuBtn5 MenuBtn1 FlexRow">
466
-				<view class="panelLeft FlexRow">
467
-					<image src='../images/universalpic_bell_black_30x30.png' class="universalpic_bell_black_30x30_2" />
468
-    			<view>指定具体日期</view>
435
+					<view class="panelLeft FlexRow">
436
+						<image src='../images/universalpic_bell_black_30x30.png' class="universalpic_bell_black_30x30_2" />
437
+						<view>指定具体日期</view>
438
+					</view>
439
+					<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
469
 				</view>
440
 				</view>
470
-				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
471
-			</view>
472
-      </picker>
441
+			</picker>
473
 			<view class="panelHeight100"></view>
442
 			<view class="panelHeight100"></view>
474
-    </view>
475
-  </view>
443
+		</view>
444
+	</view>
476
 </view>
445
 </view>
477
 
446
 
478
 <view wx:if="{{IsCardType}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
447
 <view wx:if="{{IsCardType}}" class="HelpContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
479
-  <view class="HelpPanel1 FlexColumn">
480
-    <view class="HelpPanel11 FlexRow">
481
-      <view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
482
-        <image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
483
-      </view>
484
-      <view class="HelpPanel112" catchtap="setCardType">
448
+	<view class="HelpPanel1 FlexColumn">
449
+		<view class="HelpPanel11 FlexRow">
450
+			<view class="HelpPanel111 FlexRow" catchtap="hiddenPanel">
451
+				<image src='../images/universalpic_close_black_24x24.png' class="universalpic_close_black_24x24" />
452
+			</view>
453
+			<view class="HelpPanel112" catchtap="setCardType">
485
 				确定
454
 				确定
486
 			</view>
455
 			</view>
487
-    </view>
488
-    <view class="HelpPanel6 HelpPanel2 FlexColumn" >
489
-      <view class="panelTitle20 panelTitle2 FlexColumn">
456
+		</view>
457
+		<view class="HelpPanel6 HelpPanel2 FlexColumn">
458
+			<view class="panelTitle20 panelTitle2 FlexColumn">
490
 				<view class="panelTitle21">变更题卡所属「练习模式」</view>
459
 				<view class="panelTitle21">变更题卡所属「练习模式」</view>
491
 			</view>
460
 			</view>
492
 			<view class="{{CardTypeCss.NormalCss}} MenuBtn6 MenuBtn1 FlexRow" catchtap="selectCardType" data-cardtype="0" data-disabled="{{CardTypeCss.NormalCss}}">
461
 			<view class="{{CardTypeCss.NormalCss}} MenuBtn6 MenuBtn1 FlexRow" catchtap="selectCardType" data-cardtype="0" data-disabled="{{CardTypeCss.NormalCss}}">
@@ -506,7 +475,7 @@
506
 					<view>紧急练习</view>
475
 					<view>紧急练习</view>
507
 					<view class="panelTitle22{{CardTypeCss.UrgentCss}}">针对基础知识在短期内强化的临时措施</view>
476
 					<view class="panelTitle22{{CardTypeCss.UrgentCss}}">针对基础知识在短期内强化的临时措施</view>
508
 				</view>
477
 				</view>
509
-				<view class="disabled FlexRow" wx:if="{{CardNumberUrgent>=200}}" >
478
+				<view class="disabled FlexRow" wx:if="{{CardNumberUrgent>=200}}">
510
 					<image src='../images/universalpic_stop_black_20x20.png' class="universalpic_stop_black_20x20" />
479
 					<image src='../images/universalpic_stop_black_20x20.png' class="universalpic_stop_black_20x20" />
511
 					<view class="disabled1">容量已满请先移出一部分题卡</view>
480
 					<view class="disabled1">容量已满请先移出一部分题卡</view>
512
 				</view>
481
 				</view>
@@ -516,13 +485,13 @@
516
 					<view>归档</view>
485
 					<view>归档</view>
517
 					<view class="MenuBtn71">用于「暂停练习的题卡」和「预备日后练习的题卡」。归档的题卡不属于任何练习模式,不会被练习。秒过推荐做法:不练习的归档,不需要的删除。</view>
486
 					<view class="MenuBtn71">用于「暂停练习的题卡」和「预备日后练习的题卡」。归档的题卡不属于任何练习模式,不会被练习。秒过推荐做法:不练习的归档,不需要的删除。</view>
518
 				</view>
487
 				</view>
519
-				<switch class="switch" color="#5282FA" checked="{{CardTypeTemp==-1}}" bindchange="selectCardType"/>
488
+				<switch class="switch" color="#5282FA" checked="{{CardTypeTemp==-1}}" bindchange="selectCardType" />
520
 			</view>
489
 			</view>
521
 			<view class="MenuBtn80 MenuBtn8 FlexRow">
490
 			<view class="MenuBtn80 MenuBtn8 FlexRow">
522
 				<image src='../images/universalpic_infor_green_40x40.png' class="universalpic_infor_green_40x40" />
491
 				<image src='../images/universalpic_infor_green_40x40.png' class="universalpic_infor_green_40x40" />
523
 				<view>模式更改后,原本的旧题卡会变成新题卡且无法撤销。</view>
492
 				<view>模式更改后,原本的旧题卡会变成新题卡且无法撤销。</view>
524
 			</view>
493
 			</view>
525
 			<view class="panelHeight100_green"></view>
494
 			<view class="panelHeight100_green"></view>
526
-    </view>
527
-  </view>
495
+		</view>
496
+	</view>
528
 </view>
497
 </view>

+ 3 - 11
pages/main/add.wxss

@@ -426,6 +426,7 @@ page{
426
   width: 100%;
426
   width: 100%;
427
   height: 100rpx;
427
   height: 100rpx;
428
   background-color: #fff;
428
   background-color: #fff;
429
+  justify-content: space-between;
429
 }
430
 }
430
 
431
 
431
 
432
 
@@ -498,20 +499,11 @@ page{
498
 }
499
 }
499
 
500
 
500
 .panelSaveTag3 {
501
 .panelSaveTag3 {
501
-  width: 110rpx;
502
+  width: 90rpx;
502
   font-size:28rpx;
503
   font-size:28rpx;
503
   text-align: center;
504
   text-align: center;
504
   line-height: 80rpx;
505
   line-height: 80rpx;
505
-}
506
-
507
-.panelSaveTag31 {
508
-  margin:0 10rpx 0 65rpx;
509
-  width: 150rpx;
510
-  justify-content: flex-end;
511
-}
512
-
513
-.panelSaveTag311 {
514
-  margin-right:17rpx;
506
+  margin: 0 20rpx;
515
 }
507
 }
516
 
508
 
517
 .line1 {
509
 .line1 {

+ 1 - 1
pages/main/addInfomationDetail.js

@@ -243,7 +243,7 @@ Page({
243
 
243
 
244
             if (list[i].Content[item.Number].Content){
244
             if (list[i].Content[item.Number].Content){
245
               if (item.Tag == "组词" || item.Tag == "近义词" || item.Tag == "反义词"){
245
               if (item.Tag == "组词" || item.Tag == "近义词" || item.Tag == "反义词"){
246
-                str = " " + str;
246
+                str = "\n" + str;
247
               }
247
               }
248
               else{
248
               else{
249
                 str = "\n\n" + str;
249
                 str = "\n\n" + str;

+ 316 - 274
pages/main/detail.js

@@ -50,7 +50,8 @@ Page({
50
     IsAutoSound: false, //是否设置了自动播放
50
     IsAutoSound: false, //是否设置了自动播放
51
     IsAutoSoundStart: false, //是否开始自动播放
51
     IsAutoSoundStart: false, //是否开始自动播放
52
     Title: "",
52
     Title: "",
53
-    FontSizeArray: constant.arrFontSize, 
53
+    FontSizeArray: constant.arrFontSize,
54
+    IsBuildReport:false,
54
   },
55
   },
55
   onReady: function () {
56
   onReady: function () {
56
     var that = this;
57
     var that = this;
@@ -85,6 +86,7 @@ Page({
85
     }
86
     }
86
 
87
 
87
     that.setData({
88
     that.setData({
89
+      IsBuildReport:false,
88
       Containnerheight: height,
90
       Containnerheight: height,
89
       Containnerheight2: height - height2,
91
       Containnerheight2: height - height2,
90
       IsShowAnswer: [0, 0],
92
       IsShowAnswer: [0, 0],
@@ -98,6 +100,7 @@ Page({
98
 
100
 
99
     this.audioCtx = wx.createAudioContext('myAudio');
101
     this.audioCtx = wx.createAudioContext('myAudio');
100
 
102
 
103
+    this.startTask();
101
 
104
 
102
     this.getList();
105
     this.getList();
103
 
106
 
@@ -165,6 +168,10 @@ Page({
165
     clearTimeout(timeoutHide);
168
     clearTimeout(timeoutHide);
166
     //console.log("显示");
169
     //console.log("显示");
167
   },
170
   },
171
+  startTask: function () {
172
+    var url = 'StartMiaoguoTask?UserID=' + app.globalData.userInfo.UserID;
173
+    main.getData(url, function (data) {});
174
+  },
168
   onUnload: function () {
175
   onUnload: function () {
169
     clearInterval(intervalSound);
176
     clearInterval(intervalSound);
170
     clearTimeout(timeoutEveryCard);
177
     clearTimeout(timeoutEveryCard);
@@ -177,7 +184,7 @@ Page({
177
     }
184
     }
178
   },
185
   },
179
   onHide: function (e) {
186
   onHide: function (e) {
180
-    //console.log("隐藏");
187
+    console.log("隐藏");
181
     var that = this;
188
     var that = this;
182
     if (isExit) {
189
     if (isExit) {
183
       timeoutHide = setTimeout(function () {
190
       timeoutHide = setTimeout(function () {
@@ -305,9 +312,9 @@ Page({
305
       that.autoAudioPlayInit();
312
       that.autoAudioPlayInit();
306
       taskInfo = TaskList[0];
313
       taskInfo = TaskList[0];
307
 
314
 
308
-      
315
+
309
       common.getStorageValue(that, "IsFolderPractice", 0, function () {
316
       common.getStorageValue(that, "IsFolderPractice", 0, function () {
310
-        if (that.data.IsFolderPractice==1)
317
+        if (that.data.IsFolderPractice == 1)
311
           that.onShowFolder();
318
           that.onShowFolder();
312
       });
319
       });
313
     }
320
     }
@@ -365,13 +372,13 @@ Page({
365
     if (!(clicktype && clicktype == "all" && app.globalData.ClickType == 0)) {
372
     if (!(clicktype && clicktype == "all" && app.globalData.ClickType == 0)) {
366
 
373
 
367
       var start = e.currentTarget.dataset.start;
374
       var start = e.currentTarget.dataset.start;
368
-      
375
+
369
       if (!(that.data.NumberNew == 0 &&
376
       if (!(that.data.NumberNew == 0 &&
370
           that.data.NumberReview == 0 &&
377
           that.data.NumberReview == 0 &&
371
           that.data.NumberHistory == 0) && !that.data.IsShowNumberInfo) {
378
           that.data.NumberHistory == 0) && !that.data.IsShowNumberInfo) {
372
 
379
 
373
         if (!that.data.IsShowAnswer)
380
         if (!that.data.IsShowAnswer)
374
-          that.data.IsShowAnswer=[0,0];
381
+          that.data.IsShowAnswer = [0, 0];
375
         var recommend = 0;
382
         var recommend = 0;
376
         if (start) {
383
         if (start) {
377
           that.data.IsShowAnswer[0] = 0;
384
           that.data.IsShowAnswer[0] = 0;
@@ -383,10 +390,10 @@ Page({
383
           if (that.data.IsShowAnswer[0] == 0 && that.data.IsShowAnswer[1] == 0) {
390
           if (that.data.IsShowAnswer[0] == 0 && that.data.IsShowAnswer[1] == 0) {
384
             that.data.IsShowAnswer[0] = 1;
391
             that.data.IsShowAnswer[0] = 1;
385
 
392
 
386
-            if (TaskList[0].ContentNew && TaskList[0].ContentNew.Field && TaskList[0].ContentNew.Field.length>0){
393
+            if (TaskList[0].ContentNew && TaskList[0].ContentNew.Field && TaskList[0].ContentNew.Field.length > 0) {
387
               if (TaskList[0].ContentNew.Field[3].length == 0) {
394
               if (TaskList[0].ContentNew.Field[3].length == 0) {
388
                 that.data.IsShowAnswer[1] = 1;
395
                 that.data.IsShowAnswer[1] = 1;
389
-  
396
+
390
                 if (!that.data.TaskInfo.IsNew)
397
                 if (!that.data.TaskInfo.IsNew)
391
                   recommend = getRecommendTime();
398
                   recommend = getRecommendTime();
392
                 that.setData({
399
                 that.setData({
@@ -394,7 +401,7 @@ Page({
394
                 });
401
                 });
395
               }
402
               }
396
             }
403
             }
397
-            
404
+
398
           } else if (that.data.IsShowAnswer[0] && !that.data.IsShowAnswer[1]) {
405
           } else if (that.data.IsShowAnswer[0] && !that.data.IsShowAnswer[1]) {
399
             that.data.IsShowAnswer[1] = 1;
406
             that.data.IsShowAnswer[1] = 1;
400
 
407
 
@@ -410,35 +417,32 @@ Page({
410
         });
417
         });
411
         that.autoAudioPlayInit();
418
         that.autoAudioPlayInit();
412
 
419
 
413
-        if (that.data.IsShowAnswer[0]==1 && that.data.IsShowAnswer[1]==0) {
420
+        if (that.data.IsShowAnswer[0] == 1 && that.data.IsShowAnswer[1] == 0) {
414
           startScroll(2);
421
           startScroll(2);
415
-        }
416
-        else if (that.data.IsShowAnswer[0]==1 && that.data.IsShowAnswer[1]==1) {
417
-          if (that.data.TaskInfo.Content[3].Content){
422
+        } else if (that.data.IsShowAnswer[0] == 1 && that.data.IsShowAnswer[1] == 1) {
423
+          if (that.data.TaskInfo.Content[3].Content) {
418
             startScroll(3);
424
             startScroll(3);
419
-          }
420
-          else{
425
+          } else {
421
             startScroll(2);
426
             startScroll(2);
422
           }
427
           }
423
         }
428
         }
424
       }
429
       }
425
 
430
 
426
-      function startScroll(t){
427
-        var num=0;
428
-        setHeight("#ViewField1",function(h1){
429
-          num+=h1;
430
-          setHeight("#ViewFieldTag",function(hTag){
431
-            if (hTag>0)
432
-              num+=hTag+60;
431
+      function startScroll(t) {
432
+        var num = 0;
433
+        setHeight("#ViewField1", function (h1) {
434
+          num += h1;
435
+          setHeight("#ViewFieldTag", function (hTag) {
436
+            if (hTag > 0)
437
+              num += hTag + 60;
433
             //console.log("hTag:"+(hTag));
438
             //console.log("hTag:"+(hTag));
434
-            
435
-            setHeight("#ViewField2",function(h2){
436
-              if (t==2){
437
-                if (h2>(app.globalData.systemInfo.screenHeight/3))
439
+
440
+            setHeight("#ViewField2", function (h2) {
441
+              if (t == 2) {
442
+                if (h2 > (app.globalData.systemInfo.screenHeight / 3))
438
                   scroll(num);
443
                   scroll(num);
439
-              }
440
-              else{
441
-                num+=h2+20;
444
+              } else {
445
+                num += h2 + 20;
442
                 scroll(num);
446
                 scroll(num);
443
               }
447
               }
444
             });
448
             });
@@ -446,14 +450,13 @@ Page({
446
         });
450
         });
447
       }
451
       }
448
 
452
 
449
-      function setHeight(obj,callback) {
453
+      function setHeight(obj, callback) {
450
         var query = wx.createSelectorQuery().in(that);
454
         var query = wx.createSelectorQuery().in(that);
451
         query.select(obj).boundingClientRect(function (res) {
455
         query.select(obj).boundingClientRect(function (res) {
452
-          if (res && res.height){
456
+          if (res && res.height) {
453
             //console.log(obj+".height:"+res.height);
457
             //console.log(obj+".height:"+res.height);
454
             callback(res.height);
458
             callback(res.height);
455
-          }
456
-          else{
459
+          } else {
457
             callback(0);
460
             callback(0);
458
           }
461
           }
459
         }).exec();
462
         }).exec();
@@ -566,40 +569,45 @@ Page({
566
     var btnnumber = e.currentTarget.dataset.btnnumber;
569
     var btnnumber = e.currentTarget.dataset.btnnumber;
567
     //若是“挪到最后”
570
     //若是“挪到最后”
568
     if (btnnumber == 2) {
571
     if (btnnumber == 2) {
569
-      if (TaskList.length>0){
572
+      if (TaskList.length > 0) {
570
         var card = TaskList.splice(0, 1);
573
         var card = TaskList.splice(0, 1);
571
         card[0].IsFinally = true;
574
         card[0].IsFinally = true;
572
         card[0].LimitTime = common.formatTime(new Date(), "/", true) + " 23:59:59";
575
         card[0].LimitTime = common.formatTime(new Date(), "/", true) + " 23:59:59";
573
         TaskList.push(card[0]);
576
         TaskList.push(card[0]);
574
-  
575
-        if (currentFolderID>=0){
576
-          that.setCurrentFolder({currentTarget:{dataset:{folderid:currentFolderID}}});
577
+
578
+        if (currentFolderID >= 0) {
579
+          that.setCurrentFolder({
580
+            currentTarget: {
581
+              dataset: {
582
+                folderid: currentFolderID
583
+              }
584
+            }
585
+          });
577
         }
586
         }
578
-        
587
+
579
         that.setData({
588
         that.setData({
580
           IsShowAnswer: [0, 0],
589
           IsShowAnswer: [0, 0],
581
           TaskInfo: TaskList[0],
590
           TaskInfo: TaskList[0],
582
           CanUndo: 1,
591
           CanUndo: 1,
583
           Recommend: 0,
592
           Recommend: 0,
584
-          Title:"",
593
+          Title: "",
585
         });
594
         });
586
         if (that.data.IsShowOtherButton)
595
         if (that.data.IsShowOtherButton)
587
-            that.closeOtherButton();
588
-  
596
+          that.closeOtherButton();
597
+
589
         wx.showToast({
598
         wx.showToast({
590
           title: '挪到最后',
599
           title: '挪到最后',
591
           mask: true,
600
           mask: true,
592
           image: "../images/universalpic_movetoend_white_120x120.png",
601
           image: "../images/universalpic_movetoend_white_120x120.png",
593
         });
602
         });
594
         that.setSoundFile(3);
603
         that.setSoundFile(3);
595
-      }
596
-      else{
604
+      } else {
597
         that.setFinallyResult();
605
         that.setFinallyResult();
598
       }
606
       }
599
     } else {
607
     } else {
600
       //若是没有选择了卡单,或者刚刚选择卡单
608
       //若是没有选择了卡单,或者刚刚选择卡单
601
       if (currentFolderID == -1 || !currentFolderStart) {
609
       if (currentFolderID == -1 || !currentFolderStart) {
602
-        
610
+
603
         var time = e.currentTarget.dataset.time;
611
         var time = e.currentTarget.dataset.time;
604
         //处理当前卡片进入历史数组
612
         //处理当前卡片进入历史数组
605
         var finishCard = {};
613
         var finishCard = {};
@@ -683,7 +691,7 @@ Page({
683
               TaskList[0].IsReview = true;
691
               TaskList[0].IsReview = true;
684
               delete TaskList[0].IsNew;
692
               delete TaskList[0].IsNew;
685
               delete TaskList[0].IsHistory;
693
               delete TaskList[0].IsHistory;
686
-              
694
+
687
               TaskList.push(TaskList[0]);
695
               TaskList.push(TaskList[0]);
688
             }
696
             }
689
             //若是天月年
697
             //若是天月年
@@ -731,7 +739,7 @@ Page({
731
 
739
 
732
         wx.setStorageSync("ListTaskFinished", listTaskFinished);
740
         wx.setStorageSync("ListTaskFinished", listTaskFinished);
733
         TaskList.shift();
741
         TaskList.shift();
734
-        
742
+
735
       }
743
       }
736
 
744
 
737
       that.data.NumberNew = 0;
745
       that.data.NumberNew = 0;
@@ -754,18 +762,18 @@ Page({
754
             var card = TaskList.splice(i, 1);
762
             var card = TaskList.splice(i, 1);
755
             TaskList.unshift(card[0]);
763
             TaskList.unshift(card[0]);
756
           }
764
           }
757
-        } 
765
+        }
758
       }
766
       }
759
 
767
 
760
       currentFolderStart = false;
768
       currentFolderStart = false;
761
       //若选择了卡单
769
       //若选择了卡单
762
-      var bFolder=false;
763
-      if (currentFolderID>=0){
764
-        for(var i=0;i<TaskList.length;i++){
765
-          if (TaskList[i].FolderID==currentFolderID && !TaskList[i].IsFinally){
770
+      var bFolder = false;
771
+      if (currentFolderID >= 0) {
772
+        for (var i = 0; i < TaskList.length; i++) {
773
+          if (TaskList[i].FolderID == currentFolderID && !TaskList[i].IsFinally) {
766
             var card = TaskList.splice(i, 1);
774
             var card = TaskList.splice(i, 1);
767
             TaskList.unshift(card[0]);
775
             TaskList.unshift(card[0]);
768
-            bFolder=true;
776
+            bFolder = true;
769
             break;
777
             break;
770
           }
778
           }
771
         }
779
         }
@@ -784,15 +792,15 @@ Page({
784
       if (that.data.NumberNew == 0 &&
792
       if (that.data.NumberNew == 0 &&
785
         that.data.NumberReview == 0 &&
793
         that.data.NumberReview == 0 &&
786
         that.data.NumberHistory == 0) {
794
         that.data.NumberHistory == 0) {
787
-        
788
-          that.setFinallyResult();
795
+
796
+        that.setFinallyResult();
789
       }
797
       }
790
       //没有完成任务
798
       //没有完成任务
791
       else {
799
       else {
792
 
800
 
793
         //如果卡单内题卡已经练习完毕,则重新选择卡单
801
         //如果卡单内题卡已经练习完毕,则重新选择卡单
794
-        if (currentFolderID>=0 && !bFolder){
795
-          currentFolderID=-1;
802
+        if (currentFolderID >= 0 && !bFolder) {
803
+          currentFolderID = -1;
796
           that.onShowFolder();
804
           that.onShowFolder();
797
         }
805
         }
798
 
806
 
@@ -862,7 +870,7 @@ Page({
862
 
870
 
863
     }, app.globalData.CardWaitTimeMax * 60 * 1000);
871
     }, app.globalData.CardWaitTimeMax * 60 * 1000);
864
   },
872
   },
865
-  setFinallyResult:function(){
873
+  setFinallyResult: function () {
866
     var that = this;
874
     var that = this;
867
     that.setData({
875
     that.setData({
868
       IsShowAnswer: [0, 0],
876
       IsShowAnswer: [0, 0],
@@ -927,6 +935,14 @@ Page({
927
           Title: "报告",
935
           Title: "报告",
928
         });
936
         });
929
 
937
 
938
+        if (speed1 == "0张题卡" && speed2 == "0秒" && duration.toString() == "1") {
939
+          wx.showModal({
940
+            title: '提醒',
941
+            showCancel: false,
942
+            confirmText: '知道了',
943
+            content: "也许您已经发现「报告」上的数据有些异样。这是由于本次练习从昨天开始到今天结束,发生了「跨天」的情况。虽然报告内容不够正确,但练习数据不会受到影响,这个问题将在日后得到改善。请不用担心。"
944
+          });
945
+        }
930
       }
946
       }
931
     });
947
     });
932
   },
948
   },
@@ -957,13 +973,12 @@ Page({
957
   showImage: function (e) {
973
   showImage: function (e) {
958
     var name = e.currentTarget.dataset.name;
974
     var name = e.currentTarget.dataset.name;
959
     if (name && name.length > 5) {
975
     if (name && name.length > 5) {
960
-      if (name.indexOf("tmp")>=0){
976
+      if (name.indexOf("tmp") >= 0) {
961
         wx.previewImage({
977
         wx.previewImage({
962
           current: name,
978
           current: name,
963
           urls: [name],
979
           urls: [name],
964
         });
980
         });
965
-      }
966
-      else{
981
+      } else {
967
         wx.previewImage({
982
         wx.previewImage({
968
           current: name,
983
           current: name,
969
           urls: arrImage
984
           urls: arrImage
@@ -971,15 +986,15 @@ Page({
971
       }
986
       }
972
     }
987
     }
973
   },
988
   },
974
-  onFontSize: function (e) { 
975
-    var value = e.currentTarget.dataset.value; 
976
-    TaskList[0].FontSize = value; 
977
-    this.setData({ 
978
-      TaskInfo: TaskList[0], 
979
-      IsMore: false, 
980
-      Title:"", 
981
-    }); 
982
-  }, 
989
+  onFontSize: function (e) {
990
+    var value = e.currentTarget.dataset.value;
991
+    TaskList[0].FontSize = value;
992
+    this.setData({
993
+      TaskInfo: TaskList[0],
994
+      IsMore: false,
995
+      Title: "",
996
+    });
997
+  },
983
   onBindError: function (e) {
998
   onBindError: function (e) {
984
     var that = this;
999
     var that = this;
985
     var serverUrl = e.currentTarget.dataset.serverurl;
1000
     var serverUrl = e.currentTarget.dataset.serverurl;
@@ -1004,7 +1019,7 @@ Page({
1004
 
1019
 
1005
     clearTimeout(intervalRefresh);
1020
     clearTimeout(intervalRefresh);
1006
     intervalRefresh = setTimeout(function () {
1021
     intervalRefresh = setTimeout(function () {
1007
-      if (TaskList && TaskList[0]){
1022
+      if (TaskList && TaskList[0]) {
1008
         TaskList[0].ContentNew = main.changeStringToView(TaskList[0].Content);
1023
         TaskList[0].ContentNew = main.changeStringToView(TaskList[0].Content);
1009
         that.setData({
1024
         that.setData({
1010
           TaskInfo: TaskList[0],
1025
           TaskInfo: TaskList[0],
@@ -1024,63 +1039,67 @@ Page({
1024
     });
1039
     });
1025
   },
1040
   },
1026
   onMore: function () {
1041
   onMore: function () {
1027
-    for (var i = 0; i < this.data.FontSizeArray.length; i++) { 
1028
-      if (this.data.FontSizeArray[i].Value == this.data.TaskInfo.FontSize) 
1029
-        this.data.FontSizeArray[i].CSS = "color:#1E1E1E;background-color:" + this.data.Color.LineColor + ";border:3rpx solid " + this.data.Color.LineColor + ";"; 
1030
-      else 
1031
-        this.data.FontSizeArray[i].CSS = ""; 
1032
-    } 
1033
-    this.setData({ 
1034
-      IsMore: true, 
1035
-      FontSizeArray: this.data.FontSizeArray, 
1036
-      Title: "调节", 
1042
+    for (var i = 0; i < this.data.FontSizeArray.length; i++) {
1043
+      if (this.data.FontSizeArray[i].Value == this.data.TaskInfo.FontSize)
1044
+        this.data.FontSizeArray[i].CSS = "color:#1E1E1E;background-color:" + this.data.Color.LineColor + ";border:3rpx solid " + this.data.Color.LineColor + ";";
1045
+      else
1046
+        this.data.FontSizeArray[i].CSS = "";
1047
+    }
1048
+    this.setData({
1049
+      IsMore: true,
1050
+      FontSizeArray: this.data.FontSizeArray,
1051
+      Title: "调节",
1037
     });
1052
     });
1038
     clearTimeout(timeoutEveryCard);
1053
     clearTimeout(timeoutEveryCard);
1039
   },
1054
   },
1040
-  showOtherButton:function(){
1055
+  showOtherButton: function () {
1041
     var animation = wx.createAnimation();
1056
     var animation = wx.createAnimation();
1042
 
1057
 
1043
     this.animation = animation;
1058
     this.animation = animation;
1044
 
1059
 
1045
-    animation.translate(-710+'rpx', 0).step({ duration: 200 });
1060
+    animation.translate(-710 + 'rpx', 0).step({
1061
+      duration: 200
1062
+    });
1046
 
1063
 
1047
     this.setData({
1064
     this.setData({
1048
-      animationData:animation.export(),
1049
-      IsShowOtherButton:true,
1065
+      animationData: animation.export(),
1066
+      IsShowOtherButton: true,
1050
     });
1067
     });
1051
   },
1068
   },
1052
-  closeOtherButton:function(){
1069
+  closeOtherButton: function () {
1053
     var animation = wx.createAnimation();
1070
     var animation = wx.createAnimation();
1054
 
1071
 
1055
     this.animation = animation;
1072
     this.animation = animation;
1056
 
1073
 
1057
-    animation.translate(0, 0).step({ duration: 200 });
1074
+    animation.translate(0, 0).step({
1075
+      duration: 200
1076
+    });
1058
 
1077
 
1059
     this.setData({
1078
     this.setData({
1060
-      animationData:animation.export(),
1061
-      IsShowOtherButton:false,
1079
+      animationData: animation.export(),
1080
+      IsShowOtherButton: false,
1062
     });
1081
     });
1063
   },
1082
   },
1064
   onShowFolder: function () {
1083
   onShowFolder: function () {
1065
     for (var j = 0; j < FolderList.length; j++) {
1084
     for (var j = 0; j < FolderList.length; j++) {
1066
       FolderList[j].Total = 0;
1085
       FolderList[j].Total = 0;
1067
       for (var i = 0; i < TaskList.length; i++) {
1086
       for (var i = 0; i < TaskList.length; i++) {
1068
-        if (TaskList[i].FolderID == FolderList[j].FolderID 
1069
-          && !TaskList[i].IsFinally) {
1087
+        if (TaskList[i].FolderID == FolderList[j].FolderID &&
1088
+          !TaskList[i].IsFinally) {
1070
           FolderList[j].Total++;
1089
           FolderList[j].Total++;
1071
         }
1090
         }
1072
       }
1091
       }
1073
     }
1092
     }
1074
-    var FolderListLength=FolderList.length;
1093
+    var FolderListLength = FolderList.length;
1075
     for (var j = 0; j < FolderList.length; j++) {
1094
     for (var j = 0; j < FolderList.length; j++) {
1076
-      if (FolderList[j].Total == 0){
1095
+      if (FolderList[j].Total == 0) {
1077
         FolderListLength--;
1096
         FolderListLength--;
1078
       }
1097
       }
1079
     }
1098
     }
1080
 
1099
 
1081
-    var IsFinallyCount=0;
1100
+    var IsFinallyCount = 0;
1082
     for (var j = 0; j < TaskList.length; j++) {
1101
     for (var j = 0; j < TaskList.length; j++) {
1083
-      if (TaskList[j].IsFinally){
1102
+      if (TaskList[j].IsFinally) {
1084
         IsFinallyCount++;
1103
         IsFinallyCount++;
1085
       }
1104
       }
1086
     }
1105
     }
@@ -1090,8 +1109,8 @@ Page({
1090
       IsShowNumberInfo: false,
1109
       IsShowNumberInfo: false,
1091
       IsMore: false,
1110
       IsMore: false,
1092
       FolderList: FolderList,
1111
       FolderList: FolderList,
1093
-      FolderListLength:FolderListLength,
1094
-      IsFinallyCount:IsFinallyCount,
1112
+      FolderListLength: FolderListLength,
1113
+      IsFinallyCount: IsFinallyCount,
1095
       Title: " ",
1114
       Title: " ",
1096
     });
1115
     });
1097
   },
1116
   },
@@ -1128,6 +1147,10 @@ Page({
1128
 
1147
 
1129
   buildShareImage: function () {
1148
   buildShareImage: function () {
1130
     var that = this;
1149
     var that = this;
1150
+
1151
+    that.setData({
1152
+      IsBuildReport:true,
1153
+    });
1131
     wx.showLoading({
1154
     wx.showLoading({
1132
       title: '生成中',
1155
       title: '生成中',
1133
     });
1156
     });
@@ -1141,162 +1164,180 @@ Page({
1141
     //console.log(avatarUrl);
1164
     //console.log(avatarUrl);
1142
 
1165
 
1143
     wx.downloadFile({
1166
     wx.downloadFile({
1144
-      url: avatarUrl, // 仅为示例,并非真实的资源
1145
-      success(res) {
1167
+      url: avatarUrl, 
1168
+      success(resDownload) {
1146
         // 只要服务器有响应数据,就会把响应内容写入文件并进入 success 回调,业务需要自行判断是否下载到了想要的内容
1169
         // 只要服务器有响应数据,就会把响应内容写入文件并进入 success 回调,业务需要自行判断是否下载到了想要的内容
1147
-        if (res.statusCode === 200) {
1148
-
1149
-          // const query = wx.createSelectorQuery();
1150
-          // query.select('#shareCanvas')
1151
-          //   .fields({ node: true, size: true })
1152
-          //   .exec((res) => {
1153
-          //     const canvas0 = res[0].node;
1154
-          //     const canvas = canvas0.getContext('2d');
1155
-
1156
-          //     const dpr = wx.getSystemInfoSync().pixelRatio;
1157
-          //     canvas0.width = res[0].width * dpr;
1158
-          //     canvas0.height = res[0].height * dpr;
1159
-          //     canvas.scale(dpr, dpr);
1160
-
1161
-          //     canvas.fillRect(360, 0, 600, 360);
1162
-
1163
-          //     //canvas.drawImage(res.tempFilePath, 0, 0, 360, 360);
1164
-          //     //canvas.drawImage("../images/universalpic_screenshot_jl_bgimage_360x360.png", 0, 0, 360, 360);
1165
-          //     canvas.fillStyle = "#ffffff";
1166
-          //     //canvas.setTextBaseline('top');
1167
-          //     canvas.setFontSize(24);
1168
-          //     canvas.fillText(app.globalData.userInfo.NickName, 30, 282);
1169
-
1170
-          //     var today = common.formatTime(new Date(), ".", true);
1171
-          //     canvas.setFontSize(18);
1172
-          //     canvas.fillText(today, 30, 315);
1173
-
1174
-          //     canvas.setFontSize(20);
1175
-          //     canvas.fillText("秒过学习", 390, 30);
1176
-          //     canvas.setFontSize(44);
1177
-          //     canvas.fillText("勤勉接力", 390, 58);
1178
-          //     canvas.setFontSize(20);
1179
-          //     canvas.fillText("见证成长", 390, 120);
1180
-
1181
-          //     canvas.setFontSize(68);
1182
-          //     if (!that.data.TodayTime)
1183
-          //       that.data.TodayTime = 0;
1184
-
1185
-          //     canvas.fillText(that.data.TodayTime, 390, 148);
1186
-
1187
-          //     canvas.font = "normal 500 68px caption";
1188
-          //     var metrics = canvas.measureText(that.data.TodayTime.toString());
1189
-          //     //console.log(JSON.stringify(metrics));
1190
-
1191
-          //     var h = 179;
1192
-          //     if (app.globalData.IsIOS)
1193
-          //       h = 176;
1194
-          //     canvas.font = "normal 500 32px caption";
1195
-          //     canvas.fillText("分钟", 393 + Math.round(metrics.width), h);
1196
-
1197
-
1198
-          //     canvas.setFontSize(20);
1199
-          //     canvas.fillText("迄今已接力", 390, 267);
1200
-          //     canvas.setFontSize(32);
1201
-          //     canvas.fillText(app.globalData.TaskToday.DayNumber + "次", 390, 295);
1202
-          //     //console.log("生成前");
1203
-          //     canvas.draw(1, function (n) {
1204
-          //       //console.log("生成后1");
1205
-          //       wx.canvasToTempFilePath({
1206
-          //         x: 0,
1207
-          //         y: 0,
1208
-          //         width: 600,
1209
-          //         height: 360,
1210
-          //         destWidth: 600,
1211
-          //         destHeight: 360,
1212
-          //         canvasId: 'shareCanvas',
1213
-          //         success: function (res2) {
1214
-          //           wx.hideLoading();
1215
-          //           //console.log("生成后2");
1216
-          //           wx.previewImage({
1217
-          //             current: res2.tempFilePath, // 当前显示图片的http链接
1218
-          //             urls: [res2.tempFilePath] // 需要预览的图片http链接列表
1219
-          //           });
1220
-
1221
-          //           main.getData("ShareMiaoguoTask?UserID=" + app.globalData.userInfo.UserID, function (data) {});
1222
-          //         },
1223
-          //         fail: function (e) {
1224
-          //           wx.hideLoading();
1225
-          //           //console.log("生成错误:"+e);
1226
-          //         }
1227
-          //       })
1228
-          //     });
1229
-          //   });
1230
-
1231
-          var canvas = wx.createCanvasContext("shareCanvas", that);
1232
-          canvas.setFillStyle(main.getShareImageBackColor());
1233
-          canvas.fillRect(360, 0, 600, 360);
1234
-          canvas.drawImage(res.tempFilePath, 0, 0, 360, 360);
1235
-          canvas.drawImage("../images/universalpic_screenshot_jl_bgimage_360x360.png", 0, 0, 360, 360);
1236
-          canvas.fillStyle = "#ffffff";
1237
-          canvas.setTextBaseline('top');
1238
-          canvas.setFontSize(24);
1239
-          canvas.fillText(app.globalData.userInfo.NickName, 30, 282);
1240
-
1241
-          var today = common.formatTime(new Date(), ".", true);
1242
-          canvas.setFontSize(18);
1243
-          canvas.fillText(today, 30, 315);
1244
-
1245
-          canvas.setFontSize(20);
1246
-          canvas.fillText("秒过学习", 390, 30);
1247
-          canvas.setFontSize(44);
1248
-          canvas.fillText("勤勉接力", 390, 58);
1249
-          canvas.setFontSize(20);
1250
-          canvas.fillText("见证成长", 390, 120);
1251
-
1252
-          canvas.setFontSize(68);
1253
-          if (!that.data.TodayTime)
1254
-            that.data.TodayTime = 0;
1255
-
1256
-          canvas.fillText(that.data.TodayTime, 390, 148);
1257
-
1258
-          canvas.font = "normal 500 68px caption";
1259
-          var metrics = canvas.measureText(that.data.TodayTime.toString());
1260
-          //console.log(JSON.stringify(metrics));
1261
-
1262
-          var h = 179;
1263
-          if (app.globalData.IsIOS)
1264
-            h = 176;
1265
-          canvas.font = "normal 500 32px caption";
1266
-          canvas.fillText("分钟", 393 + Math.round(metrics.width), h);
1267
-
1268
-
1269
-          canvas.setFontSize(20);
1270
-          canvas.fillText("迄今已接力", 390, 267);
1271
-          canvas.setFontSize(32);
1272
-          canvas.fillText(app.globalData.TaskToday.DayNumber + "次", 390, 295);
1273
-          //console.log("生成前");
1274
-          canvas.draw(1, function (n) {
1275
-            //console.log("生成后1");
1276
-            wx.canvasToTempFilePath({
1277
-              x: 0,
1278
-              y: 0,
1279
-              width: 600,
1280
-              height: 360,
1281
-              destWidth: 600,
1282
-              destHeight: 360,
1283
-              canvasId: 'shareCanvas',
1284
-              success: function (res2) {
1285
-                wx.hideLoading();
1286
-                //console.log("生成后2");
1287
-                wx.previewImage({
1288
-                  current: res2.tempFilePath, // 当前显示图片的http链接
1289
-                  urls: [res2.tempFilePath] // 需要预览的图片http链接列表
1290
-                });
1170
+        if (resDownload.statusCode === 200) {
1291
 
1171
 
1292
-                main.getData("ShareMiaoguoTask?UserID=" + app.globalData.userInfo.UserID, function (data) {});
1293
-              },
1294
-              fail: function (e) {
1295
-                wx.hideLoading();
1296
-                //console.log("生成错误:"+e);
1297
-              }
1172
+          const query = wx.createSelectorQuery();
1173
+          query.select('#shareCanvas')
1174
+            .fields({
1175
+              node: true,
1176
+              size: true
1298
             })
1177
             })
1299
-          });
1178
+            .exec((res) => {
1179
+              const canvas = res[0].node;
1180
+              const ctx = canvas.getContext('2d');
1181
+
1182
+              const dpr = wx.getSystemInfoSync().pixelRatio;
1183
+              canvas.width = res[0].width * dpr;
1184
+              canvas.height = res[0].height * dpr;
1185
+              ctx.scale(dpr, dpr);
1186
+
1187
+              var img = canvas.createImage();
1188
+              img.src = resDownload.tempFilePath;
1189
+              img.onerror = err =>{
1190
+                  console.log(err);
1191
+              };
1192
+              img.onload = e => {
1193
+                ctx.drawImage(img, 0, 0, 360, 360);
1194
+                var img2 = canvas.createImage();
1195
+                img2.src = "../images/universalpic_screenshot_jl_bgimage_360x360.png";
1196
+                img2.onload = e => {
1197
+                  ctx.drawImage(img2, 0, 0, 360, 360);
1198
+
1199
+                  ctx.fillStyle = main.getShareImageBackColor();
1200
+                  
1201
+                  ctx.fillRect(360, 0, 240, 360);
1202
+
1203
+                  ctx.fillStyle = "#ffffff";
1204
+                  ctx.font = "24px";
1205
+                  ctx.fillText(app.globalData.userInfo.NickName, 30, 306);
1206
+
1207
+                  var today = common.formatTime(new Date(), ".", true);
1208
+                  ctx.font = "18px";
1209
+                  ctx.fillText(today, 30, 335);
1210
+
1211
+                  ctx.font = "20px";
1212
+                  ctx.fillText("秒过学习", 390, 40);
1213
+                  ctx.font = "44px";
1214
+                  ctx.fillText("勤勉接力", 390, 88);
1215
+                  ctx.font = "20px";
1216
+                  ctx.fillText("见证成长", 390, 140);
1217
+
1218
+                  ctx.font = "68px";
1219
+                  if (!that.data.TodayTime)
1220
+                    that.data.TodayTime = 0;
1221
+
1222
+                  ctx.fillText(that.data.TodayTime, 390, 209);
1223
+
1224
+                  ctx.font = "normal 500 68px caption";
1225
+                  var metrics = ctx.measureText(that.data.TodayTime.toString());
1226
+                  //console.log(JSON.stringify(metrics));
1227
+
1228
+                  var h = 209;
1229
+                  if (app.globalData.IsIOS)
1230
+                    h = 206;
1231
+                  ctx.font = "normal 500 32px caption";
1232
+                  ctx.fillText("分钟", 393 + Math.round(metrics.width), h);
1233
+
1234
+
1235
+                  ctx.font = "20px";
1236
+                  ctx.fillText("迄今已接力", 390, 295);
1237
+
1238
+                  ctx.font = "32px";
1239
+                  ctx.fillText(app.globalData.TaskToday.DayNumber + "次", 390, 333);
1240
+                  //console.log("生成前");
1241
+                  setTimeout(function () {
1242
+                    //console.log("生成后1");
1243
+                    wx.canvasToTempFilePath({
1244
+                      x: 0,
1245
+                      y: 0,
1246
+                      width: 600,
1247
+                      height: 360,
1248
+                      destWidth: 600,
1249
+                      destHeight: 360,
1250
+                      canvas: canvas,
1251
+                      success: function (res2) {
1252
+                        wx.hideLoading();
1253
+                        //console.log("生成后2");
1254
+                        wx.previewImage({
1255
+                          current: res2.tempFilePath, // 当前显示图片的http链接
1256
+                          urls: [res2.tempFilePath] // 需要预览的图片http链接列表
1257
+                        });
1258
+
1259
+                        main.getData("ShareMiaoguoTask?UserID=" + app.globalData.userInfo.UserID, function (data) {});
1260
+                      },
1261
+                      fail: function (e) {
1262
+                        wx.hideLoading();
1263
+                        //console.log("生成错误:"+e);
1264
+                      }
1265
+                    })
1266
+                  }, 500);
1267
+                };
1268
+              };
1269
+
1270
+            });
1271
+
1272
+          // var canvas = wx.createCanvasContext("shareCanvas", that);
1273
+          // canvas.setFillStyle(main.getShareImageBackColor());
1274
+          // canvas.fillRect(360, 0, 600, 360);
1275
+          // canvas.drawImage(res.tempFilePath, 0, 0, 360, 360);
1276
+          // canvas.drawImage("../images/universalpic_screenshot_jl_bgimage_360x360.png", 0, 0, 360, 360);
1277
+          // canvas.fillStyle = "#ffffff";
1278
+          // canvas.setTextBaseline('top');
1279
+          // canvas.setFontSize(24);
1280
+          // canvas.fillText(app.globalData.userInfo.NickName, 30, 282);
1281
+
1282
+          // var today = common.formatTime(new Date(), ".", true);
1283
+          // canvas.setFontSize(18);
1284
+          // canvas.fillText(today, 30, 315);
1285
+
1286
+          // canvas.setFontSize(20);
1287
+          // canvas.fillText("秒过学习", 390, 30);
1288
+          // canvas.setFontSize(44);
1289
+          // canvas.fillText("勤勉接力", 390, 58);
1290
+          // canvas.setFontSize(20);
1291
+          // canvas.fillText("见证成长", 390, 120);
1292
+
1293
+          // canvas.setFontSize(68);
1294
+          // if (!that.data.TodayTime)
1295
+          //   that.data.TodayTime = 0;
1296
+
1297
+          // canvas.fillText(that.data.TodayTime, 390, 148);
1298
+
1299
+          // canvas.font = "normal 500 68px caption";
1300
+          // var metrics = canvas.measureText(that.data.TodayTime.toString());
1301
+          // //console.log(JSON.stringify(metrics));
1302
+
1303
+          // var h = 179;
1304
+          // if (app.globalData.IsIOS)
1305
+          //   h = 176;
1306
+          // canvas.font = "normal 500 32px caption";
1307
+          // canvas.fillText("分钟", 393 + Math.round(metrics.width), h);
1308
+
1309
+
1310
+          // canvas.setFontSize(20);
1311
+          // canvas.fillText("迄今已接力", 390, 267);
1312
+          // canvas.setFontSize(32);
1313
+          // canvas.fillText(app.globalData.TaskToday.DayNumber + "次", 390, 295);
1314
+          // //console.log("生成前");
1315
+          // canvas.draw(1, function (n) {
1316
+          //   //console.log("生成后1");
1317
+          //   wx.canvasToTempFilePath({
1318
+          //     x: 0,
1319
+          //     y: 0,
1320
+          //     width: 600,
1321
+          //     height: 360,
1322
+          //     destWidth: 600,
1323
+          //     destHeight: 360,
1324
+          //     canvasId: 'shareCanvas',
1325
+          //     success: function (res2) {
1326
+          //       wx.hideLoading();
1327
+          //       //console.log("生成后2");
1328
+          //       wx.previewImage({
1329
+          //         current: res2.tempFilePath, // 当前显示图片的http链接
1330
+          //         urls: [res2.tempFilePath] // 需要预览的图片http链接列表
1331
+          //       });
1332
+
1333
+          //       main.getData("ShareMiaoguoTask?UserID=" + app.globalData.userInfo.UserID, function (data) {});
1334
+          //     },
1335
+          //     fail: function (e) {
1336
+          //       wx.hideLoading();
1337
+          //       //console.log("生成错误:"+e);
1338
+          //     }
1339
+          //   })
1340
+          // });
1300
         } else {
1341
         } else {
1301
           wx.hideLoading();
1342
           wx.hideLoading();
1302
         }
1343
         }
@@ -1308,14 +1349,14 @@ Page({
1308
   },
1349
   },
1309
   saveCardType: function (event) {
1350
   saveCardType: function (event) {
1310
     var that = this;
1351
     var that = this;
1311
-    var foldertype=event.currentTarget.dataset.foldertype;
1352
+    var foldertype = event.currentTarget.dataset.foldertype;
1312
     var url = 'UpdateMiaoguoCardType?UserID=' + app.globalData.userInfo.UserID;
1353
     var url = 'UpdateMiaoguoCardType?UserID=' + app.globalData.userInfo.UserID;
1313
     url += "&CardType=-1";
1354
     url += "&CardType=-1";
1314
-    url += "&FolderType="+foldertype;
1355
+    url += "&FolderType=" + foldertype;
1315
     url += "&ID=" + TaskList[0].MiaoguoCardID;
1356
     url += "&ID=" + TaskList[0].MiaoguoCardID;
1316
     main.getData(url, function (data) {
1357
     main.getData(url, function (data) {
1317
       TaskList.splice(0, 1);
1358
       TaskList.splice(0, 1);
1318
-      if (TaskList.length>0){
1359
+      if (TaskList.length > 0) {
1319
         that.setData({
1360
         that.setData({
1320
           TaskInfo: TaskList[0],
1361
           TaskInfo: TaskList[0],
1321
           IsShowAnswer: [0, 0],
1362
           IsShowAnswer: [0, 0],
@@ -1323,33 +1364,31 @@ Page({
1323
         if (that.data.IsShowOtherButton)
1364
         if (that.data.IsShowOtherButton)
1324
           that.closeOtherButton();
1365
           that.closeOtherButton();
1325
         that.closeNumberContainner();
1366
         that.closeNumberContainner();
1326
-        if (foldertype==1){
1367
+        if (foldertype == 1) {
1327
           wx.showToast({
1368
           wx.showToast({
1328
             title: '不练习',
1369
             title: '不练习',
1329
             mask: true,
1370
             mask: true,
1330
             image: "../images/universalpic_exclamation_white_120x120.png",
1371
             image: "../images/universalpic_exclamation_white_120x120.png",
1331
           });
1372
           });
1332
-          app.globalData.FolderList=[];
1333
-        }
1334
-        else{
1373
+          app.globalData.FolderList = [];
1374
+        } else {
1335
           wx.showToast({
1375
           wx.showToast({
1336
             title: '归档成功',
1376
             title: '归档成功',
1337
             mask: true,
1377
             mask: true,
1338
             image: "../images/universalpic_cupboard_white_120x120.png",
1378
             image: "../images/universalpic_cupboard_white_120x120.png",
1339
           });
1379
           });
1340
         }
1380
         }
1341
-        
1381
+
1342
         that.setSoundFile(3);
1382
         that.setSoundFile(3);
1343
-      }
1344
-      else{
1383
+      } else {
1345
         that.setFinallyResult();
1384
         that.setFinallyResult();
1346
       }
1385
       }
1347
-      
1386
+
1348
     });
1387
     });
1349
   },
1388
   },
1350
-  saveIsFolderPractice:function(e){
1389
+  saveIsFolderPractice: function (e) {
1351
     var that = this;
1390
     var that = this;
1352
-    var IsFolderPractice = that.data.IsFolderPractice==0 ? 1 : 0;
1391
+    var IsFolderPractice = that.data.IsFolderPractice == 0 ? 1 : 0;
1353
     that.setData({
1392
     that.setData({
1354
       IsFolderPractice: IsFolderPractice,
1393
       IsFolderPractice: IsFolderPractice,
1355
     });
1394
     });
@@ -1389,7 +1428,7 @@ Page({
1389
           fieldNumber = 2;
1428
           fieldNumber = 2;
1390
         if (that.data.IsShowAnswer[1] == 1 && taskInfo.ContentNew.Field[3].length > 0)
1429
         if (that.data.IsShowAnswer[1] == 1 && taskInfo.ContentNew.Field[3].length > 0)
1391
           fieldNumber = 3;
1430
           fieldNumber = 3;
1392
-        if (taskInfo.ContentNew && taskInfo.ContentNew.Field && taskInfo.ContentNew.Field.length>0)
1431
+        if (taskInfo.ContentNew && taskInfo.ContentNew.Field && taskInfo.ContentNew.Field.length > 0)
1393
           field = taskInfo.ContentNew.Field[fieldNumber];
1432
           field = taskInfo.ContentNew.Field[fieldNumber];
1394
         arrAutoAudio = [];
1433
         arrAutoAudio = [];
1395
         for (var i = 0; i < field.length; i++) {
1434
         for (var i = 0; i < field.length; i++) {
@@ -1452,9 +1491,11 @@ Page({
1452
     }
1491
     }
1453
   },
1492
   },
1454
   audioBindError: function (err) {
1493
   audioBindError: function (err) {
1455
-    console.log(err);
1456
-    innerAudioContext1.src = tempPlayUrlLocal;
1457
-    innerAudioContext1.play();
1494
+    //console.log(err);
1495
+    if (innerAudioContext1 && innerAudioContext1.src) {
1496
+      innerAudioContext1.src = tempPlayUrlLocal;
1497
+      innerAudioContext1.play();
1498
+    }
1458
   },
1499
   },
1459
 
1500
 
1460
   playSound: function (e) {
1501
   playSound: function (e) {
@@ -1518,8 +1559,8 @@ Page({
1518
         fail(err) {
1559
         fail(err) {
1519
           wx.hideLoading();
1560
           wx.hideLoading();
1520
 
1561
 
1521
-          if (url.indexOf("sp0.baidu.com")>0){
1522
-            var soundmark=url.substring(url.indexOf("text=")+5,url.indexOf("&spd"));
1562
+          if (url.indexOf("sp0.baidu.com") > 0) {
1563
+            var soundmark = url.substring(url.indexOf("text=") + 5, url.indexOf("&spd"));
1523
             url = app.globalData.audioUrlYoudao;
1564
             url = app.globalData.audioUrlYoudao;
1524
             url = url.replace("[word]", soundmark);
1565
             url = url.replace("[word]", soundmark);
1525
             tempPlayUrlLocal = url;
1566
             tempPlayUrlLocal = url;
@@ -1536,14 +1577,15 @@ Page({
1536
       isPlaying = false;
1577
       isPlaying = false;
1537
     }
1578
     }
1538
   },
1579
   },
1539
-  showBishunOrKaiti:function(e){
1540
-    var that=this;
1580
+  showBishunOrKaiti: function (e) {
1581
+    var that = this;
1541
     main.downloadBishunKaitiImage(
1582
     main.downloadBishunKaitiImage(
1542
       e.currentTarget.dataset.url,
1583
       e.currentTarget.dataset.url,
1543
       e.currentTarget.dataset.serverurl,
1584
       e.currentTarget.dataset.serverurl,
1544
       e.currentTarget.dataset.type,
1585
       e.currentTarget.dataset.type,
1545
-      that.data.TaskInfo.ContentNew.Field,function(fields){
1546
-        that.data.TaskInfo.ContentNew.Field=fields;
1586
+      that.data.TaskInfo.ContentNew.Field,
1587
+      function (fields) {
1588
+        that.data.TaskInfo.ContentNew.Field = fields;
1547
         that.setData({
1589
         that.setData({
1548
           TaskInfo: that.data.TaskInfo,
1590
           TaskInfo: that.data.TaskInfo,
1549
         });
1591
         });
@@ -1562,8 +1604,8 @@ Page({
1562
   getBarInfo(e) {
1604
   getBarInfo(e) {
1563
     var h = e.detail.topBarHeight;
1605
     var h = e.detail.topBarHeight;
1564
     h = h * 2;
1606
     h = h * 2;
1565
-    if (app.globalData.IsIPad){
1566
-      h+=25;
1607
+    if (app.globalData.IsIPad) {
1608
+      h += 25;
1567
     }
1609
     }
1568
     this.setData({
1610
     this.setData({
1569
       topBarHeight: h,
1611
       topBarHeight: h,

+ 2 - 2
pages/main/detail.wxml

@@ -335,7 +335,7 @@
335
   </view>
335
   </view>
336
 </view>
336
 </view>
337
 
337
 
338
-<canvas class='Canvas' canvas-id="shareCanvas"></canvas>
339
-<!-- <canvas class='Canvas' type="2d" id="shareCanvas"></canvas> -->
338
+<!-- <canvas style="width:600px;height:360px;background-color: {{Color.BackColor}};" canvas-id="shareCanvas"></canvas> -->
339
+<canvas wx:if="{{IsBuildReport}}" type="2d" style="width:600px;height:360px;background-color: {{Color.BackColor}};" id="shareCanvas"></canvas>
340
 
340
 
341
 <audio hidden='true' src="{{AudioSrc}}" id="myAudio" bindended="audioBindEnded" binderror="audioBindError"></audio>
341
 <audio hidden='true' src="{{AudioSrc}}" id="myAudio" bindended="audioBindEnded" binderror="audioBindError"></audio>

+ 0 - 7
pages/main/detail.wxss

@@ -669,13 +669,6 @@ page{
669
   text-align: center;
669
   text-align: center;
670
 }
670
 }
671
 
671
 
672
-.Canvas{
673
-  width: 600px; 
674
-  height: 360px;
675
-  position: fixed;
676
-  left:760rpx;
677
-}
678
-
679
 /* 更多功能 */
672
 /* 更多功能 */
680
 .numberContainerFooter1{
673
 .numberContainerFooter1{
681
   width:100%;
674
   width:100%;

+ 48 - 1
pages/main/mainlist.js

@@ -65,6 +65,7 @@ Page({
65
     PrintID: 0, //打印ID
65
     PrintID: 0, //打印ID
66
     CardShowDetail: 0, //0 创建时间 1 修改时间 2到期时间 3练习时间 4练习次数
66
     CardShowDetail: 0, //0 创建时间 1 修改时间 2到期时间 3练习时间 4练习次数
67
     FolderListCss:"",//卡单时列表样式
67
     FolderListCss:"",//卡单时列表样式
68
+    HasNullImage:0,//有没有未上传成功的空图
68
   },
69
   },
69
   onLoad: function (options) {
70
   onLoad: function (options) {
70
     var that = this;
71
     var that = this;
@@ -379,6 +380,7 @@ Page({
379
     } else {
380
     } else {
380
       that.setData({
381
       that.setData({
381
         List: list,
382
         List: list,
383
+        HasNullImage:0,
382
       });
384
       });
383
     }
385
     }
384
 
386
 
@@ -406,6 +408,29 @@ Page({
406
       return result;
408
       return result;
407
     }
409
     }
408
     
410
     
411
+  },
412
+  getNullImageList:function(){
413
+    var that=this;
414
+    var list=that.data.List;
415
+    var arr=[];
416
+    var count=0;
417
+    for(var i=0;i<list.length;i++){
418
+      if (list[i].IsNullImage){
419
+        arr.push(list[i]);
420
+        count++;
421
+      }
422
+    }
423
+    app.globalData.CardList=arr;
424
+    that.setData({
425
+      List:arr,
426
+      Count:count,
427
+      HasPage:false,
428
+      HasNullImage:2,
429
+    });
430
+    wx.setNavigationBarTitle({
431
+      title: "遗失图片的题卡"
432
+    });
433
+
409
   },
434
   },
410
   onPreview: function (e) {
435
   onPreview: function (e) {
411
     var id = e.currentTarget.dataset.id;
436
     var id = e.currentTarget.dataset.id;
@@ -422,11 +447,26 @@ Page({
422
 
447
 
423
     var serverUrl = e.currentTarget.dataset.serverurl;
448
     var serverUrl = e.currentTarget.dataset.serverurl;
424
     wx.downloadFile({
449
     wx.downloadFile({
425
-      url: serverUrl, // 仅为示例,并非真实的资源
450
+      url: serverUrl, 
426
       success(res) {
451
       success(res) {
427
         if (res.statusCode === 200) {
452
         if (res.statusCode === 200) {
428
           main.saveTempImage(serverUrl, res.tempFilePath);
453
           main.saveTempImage(serverUrl, res.tempFilePath);
429
         }
454
         }
455
+        else{
456
+          var list=that.data.List;
457
+          for(var i=0;i<list.length;i++){
458
+            if (list[i].MiaoguoCardID==id)
459
+              list[i].IsNullImage=true;
460
+          }
461
+
462
+          that.setData({
463
+            HasNullImage:1,
464
+            List:list,
465
+          });
466
+          wx.pageScrollTo({
467
+            scrollTop: 0,
468
+          });
469
+        }
430
       }
470
       }
431
     });
471
     });
432
   },
472
   },
@@ -1126,6 +1166,13 @@ Page({
1126
       url: './' + url,
1166
       url: './' + url,
1127
     })
1167
     })
1128
   },
1168
   },
1169
+  showHelpImage:function(){
1170
+    var url=app.globalData.uploadImageUrl+"web/update_image_mathod.png";
1171
+    wx.previewImage({
1172
+      current: url, // 当前显示图片的http链接
1173
+      urls: [url] // 需要预览的图片http链接列表
1174
+    });
1175
+  },
1129
   onShareAppMessage: function () {
1176
   onShareAppMessage: function () {
1130
     return {
1177
     return {
1131
       title: app.globalData.ShareTitle,
1178
       title: app.globalData.ShareTitle,

+ 35 - 9
pages/main/mainlist.wxml

@@ -32,9 +32,9 @@
32
         </view>
32
         </view>
33
         <view wx:if="{{!IsFilter && (CardType==-2 || IsToday==1 || IsToday==2 || Search || PrintID)}}" class='panelTop5'>
33
         <view wx:if="{{!IsFilter && (CardType==-2 || IsToday==1 || IsToday==2 || Search || PrintID)}}" class='panelTop5'>
34
         </view>
34
         </view>
35
-        <view wx:if="{{!IsFilter && !IsCollect && !FolderID }}" class="panelTop2">{{Count}}张</view>
36
-        <view wx:if="{{!IsFilter && (IsCollect || FolderID)}}" class="panelTop21" bindtap="showSelectCardType">{{CardTypeStr}} {{Count}} 张</view>
37
-        <image wx:if="{{!IsFilter && (IsCollect || FolderID)}}" class="universalpic_arrow_down_black_14x10_0"
35
+        <view wx:if="{{!IsFilter && !IsCollect && !FolderID || HasNullImage==2}}" class="panelTop2">{{Count}}张</view>
36
+        <view wx:if="{{!IsFilter && (IsCollect || FolderID) && HasNullImage!=2}}" class="panelTop21" bindtap="showSelectCardType">{{CardTypeStr}} {{Count}} 张</view>
37
+        <image wx:if="{{!IsFilter && (IsCollect || FolderID) && HasNullImage!=2}}" class="universalpic_arrow_down_black_14x10_0"
38
           src='../images/universalpic_arrow_down_black_14x10.png' bindtap="showSelectCardType" />
38
           src='../images/universalpic_arrow_down_black_14x10.png' bindtap="showSelectCardType" />
39
         <block wx:if="{{IsFilter}}">
39
         <block wx:if="{{IsFilter}}">
40
           <view class='{{item[2]}} panelTop4' wx:for="{{FilterArr}}" wx:key="index" catchtap='gotoNextPage' data-id="0" data-iscollect="{{item[4]}}" data-cardtype="{{item[3]}}">
40
           <view class='{{item[2]}} panelTop4' wx:for="{{FilterArr}}" wx:key="index" catchtap='gotoNextPage' data-id="0" data-iscollect="{{item[4]}}" data-cardtype="{{item[3]}}">
@@ -44,7 +44,7 @@
44
       </view>
44
       </view>
45
 
45
 
46
       <view class="panelRight FlexRow">
46
       <view class="panelRight FlexRow">
47
-        <view class='panelTop1 FlexRow' bindtap="goto" data-url="./folderEdit?type=edit&FolderID={{FolderID}}" wx:if="{{FolderID}}">
47
+        <view class='panelTop1 FlexRow' bindtap="goto" data-url="./folderEdit?type=edit&FolderID={{FolderID}}" wx:if="{{FolderID && HasNullImage!=2}}">
48
           <view class="panelTop3">编辑</view>
48
           <view class="panelTop3">编辑</view>
49
         </view>
49
         </view>
50
         <view wx:if="{{(CardType==0 || CardType==1 || CardType==-1 || IsCollect==1) && !FolderID}}" class='panelTop1 FlexRow'
50
         <view wx:if="{{(CardType==0 || CardType==1 || CardType==-1 || IsCollect==1) && !FolderID}}" class='panelTop1 FlexRow'
@@ -56,7 +56,7 @@
56
             src='../images/universalpic_arrow_updown_black_26x22.png' />
56
             src='../images/universalpic_arrow_updown_black_26x22.png' />
57
         </view>
57
         </view>
58
         <view class='panelTop1 FlexRow' bindtap='addCard'
58
         <view class='panelTop1 FlexRow' bindtap='addCard'
59
-          wx:if="{{(CardType==2 || CardType==0 || CardType==1 || CardType==-1) && !IsToday && !PrintID}}">
59
+          wx:if="{{(CardType==2 || CardType==0 || CardType==1 || CardType==-1) && !IsToday && !PrintID && HasNullImage!=2}}">
60
           <image class="universalpic_magnifier_black_30x30" src='../images/universalpic_add_black_30x30.png' />
60
           <image class="universalpic_magnifier_black_30x30" src='../images/universalpic_add_black_30x30.png' />
61
         </view>
61
         </view>
62
       </view>
62
       </view>
@@ -66,7 +66,7 @@
66
   <view class="Null1"></view>
66
   <view class="Null1"></view>
67
   
67
   
68
   <!-- 有卡单的情况 -->
68
   <!-- 有卡单的情况 -->
69
-  <block wx:if="{{FolderID}}">
69
+  <block wx:if="{{FolderID && HasNullImage!=2}}">
70
     <view class="panelFolder FlexColumn" style="background-color:{{ColorName}};">
70
     <view class="panelFolder FlexColumn" style="background-color:{{ColorName}};">
71
       <image class="cardlist_huawen_750x500" src='{{ImagePath}}web/cardlist_huawen_750x500.png' />
71
       <image class="cardlist_huawen_750x500" src='{{ImagePath}}web/cardlist_huawen_750x500.png' />
72
       <image class="iconClass" src='{{ImagePath}}web/{{IconName}}-big.png' />
72
       <image class="iconClass" src='{{ImagePath}}web/{{IconName}}-big.png' />
@@ -82,14 +82,36 @@
82
       class="panelHelpText">在本清单中用「到期时间」排序时,您的题卡数量可能变少。由于题卡归档后不被练习没有到期时间概念,所以不能以到期时间排序,去除归档题卡总数就减少了。日常和紧急题卡不受影响,可以正常排序。</text>
82
       class="panelHelpText">在本清单中用「到期时间」排序时,您的题卡数量可能变少。由于题卡归档后不被练习没有到期时间概念,所以不能以到期时间排序,去除归档题卡总数就减少了。日常和紧急题卡不受影响,可以正常排序。</text>
83
   </view>
83
   </view>
84
   <view class="panelHelp1 panelHelp FlexRow" wx:if="{{CardType==1 && !IsToday}}">
84
   <view class="panelHelp1 panelHelp FlexRow" wx:if="{{CardType==1 && !IsToday}}">
85
-    <image class="universalpic_exclamation_orange_40x40" src='../images/universalpic_infor_green_40x40.png' />
85
+    <image class="universalpic_exclamation_orange_40x40" src='../images/universalpic_exclamation_orange_40x40.png' />
86
     <text class="panelHelpText">紧急练习最多容纳200张题卡,属于临时强化措施不能取代日常练习,一般练习1个月建议停用或者更换一批题卡。经常使用请常换常新。</text>
86
     <text class="panelHelpText">紧急练习最多容纳200张题卡,属于临时强化措施不能取代日常练习,一般练习1个月建议停用或者更换一批题卡。经常使用请常换常新。</text>
87
   </view>
87
   </view>
88
   <view class="panelHelp1 panelHelp FlexRow" wx:if="{{CardType==-2}}">
88
   <view class="panelHelp1 panelHelp FlexRow" wx:if="{{CardType==-2}}">
89
-    <image class="universalpic_exclamation_orange_40x40" src='../images/universalpic_infor_green_40x40.png' />
89
+    <image class="universalpic_exclamation_orange_40x40" src='../images/universalpic_exclamation_orange_40x40.png' />
90
     <text class="panelHelpText">题卡自删除之日起3个月后会自动清理,也可手动放回原处。\n小建议:不练的题卡请归档,彻底不要的再删除。</text>
90
     <text class="panelHelpText">题卡自删除之日起3个月后会自动清理,也可手动放回原处。\n小建议:不练的题卡请归档,彻底不要的再删除。</text>
91
   </view>
91
   </view>
92
 
92
 
93
+  <view class="panelHelp2 FlexColumn" wx:if="{{HasNullImage==1}}" bindtap="getNullImageList">
94
+    <view class="panelHelp21 FlexRow">
95
+      <image class="universalpic_exclamation_orange_40x40_2 universalpic_exclamation_orange_40x40" src='../images/universalpic_exclamation_orange_40x40.png' />
96
+      <text class="panelHelpText2 panelHelpText">在数据维护时发现,一些题卡的图片不见了。可能是在制作过程中遗失了图片。</text>
97
+    </view>
98
+    <view class="panelHelp22 FlexRow">
99
+      <view class="panelHelp221">查看题卡</view>
100
+      <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
101
+		</view>
102
+  </view>
103
+
104
+  <view class="panelHelp2 FlexColumn" wx:if="{{HasNullImage==2}}" bindtap="showHelpImage">
105
+    <view class="panelHelp21 FlexRow">
106
+      <image class="universalpic_exclamation_orange_40x40_2 universalpic_exclamation_orange_40x40" src='../images/universalpic_exclamation_orange_40x40.png' />
107
+      <text class="panelHelpText2 panelHelpText">这些题卡的图片遗失了。请修改题卡,去掉老图片信息,建议从相册重新上传图片。</text>
108
+    </view>
109
+    <view class="panelHelp22 FlexRow">
110
+      <view class="panelHelp221">如何更换题卡图片</view>
111
+      <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
112
+		</view>
113
+  </view>
114
+
93
   <view class="panelList FlexColumn">
115
   <view class="panelList FlexColumn">
94
 
116
 
95
     <block wx:if="{{List.length>0}}" wx:for="{{List}}" wx:key="index">
117
     <block wx:if="{{List.length>0}}" wx:for="{{List}}" wx:key="index">
@@ -102,8 +124,12 @@
102
           <view class="panelListItem FlexColumn" bindtap='onPreview' data-id="{{item.MiaoguoCardID}}">
124
           <view class="panelListItem FlexColumn" bindtap='onPreview' data-id="{{item.MiaoguoCardID}}">
103
             <view class="panelListItem1 FlexRow">
125
             <view class="panelListItem1 FlexRow">
104
               <image class="panelListItem1Image" mode="aspectFill" src='{{item.ImageUrlTemp}}'
126
               <image class="panelListItem1Image" mode="aspectFill" src='{{item.ImageUrlTemp}}'
105
-                wx:if="{{item.ImageUrlServer}}" binderror="onBindError" data-id="{{item.MiaoguoCardID}}"
127
+                wx:if="{{!item.IsNullImage && item.ImageUrlServer}}" binderror="onBindError" data-id="{{item.MiaoguoCardID}}"
106
                 data-serverurl="{{item.ImageUrlServer}}" />
128
                 data-serverurl="{{item.ImageUrlServer}}" />
129
+              <view class="panelListItem1ImageNull panelListItem1Image FlexColumn" wx:if="{{item.IsNullImage}}">
130
+                <image class="universalpic_errorpic_black_30x30" src='../images/universalpic_errorpic_black_30x30.png' />
131
+              </view>
132
+              
107
               <view class="panelListItem11 FlexColumn">
133
               <view class="panelListItem11 FlexColumn">
108
                 <view class="panelListItem11Name1">
134
                 <view class="panelListItem11Name1">
109
                   {{item.Content[1].ContentStr}}
135
                   {{item.Content[1].ContentStr}}

+ 53 - 1
pages/main/mainlist.wxss

@@ -135,15 +135,50 @@
135
 }
135
 }
136
 
136
 
137
 .panelHelp1{
137
 .panelHelp1{
138
-  background-color: #E3FCF3;
138
+  background-color: #FFE4B6;
139
 }
139
 }
140
 
140
 
141
+.panelHelp2{
142
+  width: 710rpx;
143
+  height:206rpx;
144
+  margin-top: 60rpx;
145
+  margin-bottom: 40rpx;
146
+}
147
+
148
+.panelHelp21{
149
+  width: 100%;
150
+  height:116rpx;
151
+  border-top-left-radius: 20rpx;
152
+  border-top-right-radius: 20rpx;
153
+  background-color: #FFE4B6;
154
+}
155
+
156
+.panelHelp22{
157
+  width: 100%;
158
+  height:90rpx;
159
+  border-bottom-left-radius: 20rpx;
160
+  border-bottom-right-radius: 20rpx;
161
+  background-color: #fff;
162
+  justify-content: space-between;
163
+}
164
+
165
+
166
+
167
+.Arrow{
168
+  width:16rpx;
169
+  height:26rpx;
170
+  margin:0 30rpx;
171
+}
141
 .universalpic_exclamation_orange_40x40{
172
 .universalpic_exclamation_orange_40x40{
142
   width:40rpx;
173
   width:40rpx;
143
   height:40rpx;
174
   height:40rpx;
144
   margin-left: 30rpx;
175
   margin-left: 30rpx;
145
   margin-top: 30rpx;
176
   margin-top: 30rpx;
146
 }
177
 }
178
+.universalpic_exclamation_orange_40x40_2{
179
+  margin-left: 0rpx;
180
+  margin-top: 0rpx;
181
+}
147
 
182
 
148
 .panelHelpText{
183
 .panelHelpText{
149
   width:620rpx;
184
   width:620rpx;
@@ -153,6 +188,16 @@
153
   margin: 30rpx 0 30rpx 30rpx;
188
   margin: 30rpx 0 30rpx 30rpx;
154
 }
189
 }
155
 
190
 
191
+
192
+.panelHelpText2{
193
+  width:580rpx;
194
+}
195
+
196
+.panelHelp221{
197
+  font-size:28rpx;
198
+  font-weight: 400;
199
+  margin: 0 0 0 30rpx;
200
+}
156
 /* ************************************** */
201
 /* ************************************** */
157
 .panelFolder{
202
 .panelFolder{
158
   width:100%;
203
   width:100%;
@@ -262,6 +307,13 @@
262
   margin-right: 30rpx;
307
   margin-right: 30rpx;
263
   border-radius: 6rpx;
308
   border-radius: 6rpx;
264
 }
309
 }
310
+.panelListItem1ImageNull{
311
+  background-color: #F2F2F2;
312
+}
313
+.universalpic_errorpic_black_30x30{
314
+  width:30rpx;
315
+  height:30rpx;
316
+}
265
 
317
 
266
 .panelListItem11{
318
 .panelListItem11{
267
   max-width: 650rpx;
319
   max-width: 650rpx;

+ 51 - 139
pages/test/index.js

@@ -3,26 +3,26 @@ import main from '../../utils/main';
3
 import constant from '../../utils/constant';
3
 import constant from '../../utils/constant';
4
 
4
 
5
 const app = getApp();
5
 const app = getApp();
6
-var testGradeArr=constant.testGradeArr;
6
+
7
 
7
 
8
 Page({
8
 Page({
9
   data: {
9
   data: {
10
     List: [],
10
     List: [],
11
     TestSelectGrade: 0,
11
     TestSelectGrade: 0,
12
     IsIPhoneX: app.globalData.IsIPhoneX,
12
     IsIPhoneX: app.globalData.IsIPhoneX,
13
-    IsIPad:app.globalData.IsIPad,
14
-    ScrollLeft:0,
13
+    IsIPad: app.globalData.IsIPad,
14
+    ScrollLeft: 0,
15
   },
15
   },
16
   onLoad: function (options) {
16
   onLoad: function (options) {
17
-    if (options.UserID){
18
-      app.globalData.userInfo={};
19
-      app.globalData.userInfo.UserID=options.UserID;
17
+    if (options.UserID) {
18
+      app.globalData.userInfo = {};
19
+      app.globalData.userInfo.UserID = options.UserID;
20
     }
20
     }
21
 
21
 
22
     var that = this;
22
     var that = this;
23
     that.setData({
23
     that.setData({
24
       Containnerheight: main.getWindowHeight(),
24
       Containnerheight: main.getWindowHeight(),
25
-      Subject:"CHN",
25
+      Subject: "CHN",
26
     });
26
     });
27
 
27
 
28
     main.getHanzi(function (arr) {
28
     main.getHanzi(function (arr) {
@@ -36,8 +36,8 @@ Page({
36
   onShow: function () {
36
   onShow: function () {
37
     this.getTestReportList();
37
     this.getTestReportList();
38
   },
38
   },
39
-  selectSubject:function(e){
40
-    var subject=e.currentTarget.dataset.type;
39
+  selectSubject: function (e) {
40
+    var subject = e.currentTarget.dataset.type;
41
     var that = this;
41
     var that = this;
42
     that.setData({
42
     that.setData({
43
       Subject: subject,
43
       Subject: subject,
@@ -45,20 +45,17 @@ Page({
45
   },
45
   },
46
   goto: function (e) {
46
   goto: function (e) {
47
     var url = e.currentTarget.dataset.url;
47
     var url = e.currentTarget.dataset.url;
48
-    if (url=="../other/userbook"){
48
+    if (url == "../other/userbook") {
49
 
49
 
50
-    }
51
-    else if (e.currentTarget.dataset.type=="Shici"){
52
-      var name1=e.currentTarget.dataset.name1;
53
-      name1=name1.replace("语文古诗文","语文");
54
-      url="./item?testtype=recite&name1="+name1+"&bookid="+e.currentTarget.dataset.bookid;
55
-    }
56
-    else if (e.currentTarget.dataset.type=="Word" && e.currentTarget.dataset.bookid==100){
57
-      var name1=e.currentTarget.dataset.name1;
58
-      url="./item?testtype=read&name1="+name1+"&name2=英文字母&bookid=100";
59
-    }
60
-    else if (e.currentTarget.dataset.name1 && e.currentTarget.dataset.bookid){
61
-      url="./list?name1="+e.currentTarget.dataset.name1+"&id="+e.currentTarget.dataset.bookid;
50
+    } else if (e.currentTarget.dataset.type == "Shici") {
51
+      var name1 = e.currentTarget.dataset.name1;
52
+      name1 = name1.replace("语文古诗文", "语文");
53
+      url = "./item?testtype=recite&name1=" + name1 + "&bookid=" + e.currentTarget.dataset.bookid;
54
+    } else if (e.currentTarget.dataset.type == "Word" && e.currentTarget.dataset.bookid == 100) {
55
+      var name1 = e.currentTarget.dataset.name1;
56
+      url = "./item?testtype=read&name1=" + name1 + "&name2=英文字母&bookid=100";
57
+    } else if (e.currentTarget.dataset.name1 && e.currentTarget.dataset.bookid) {
58
+      url = "./list?name1=" + e.currentTarget.dataset.name1 + "&id=" + e.currentTarget.dataset.bookid;
62
     }
59
     }
63
     wx.navigateTo({
60
     wx.navigateTo({
64
       url: url,
61
       url: url,
@@ -66,130 +63,45 @@ Page({
66
   },
63
   },
67
   getTestReportList: function () {
64
   getTestReportList: function () {
68
     var that = this;
65
     var that = this;
69
-    for(var i=0;i<testGradeArr.length;i++){
70
-      for(var j=0;j<testGradeArr[i].List.length;j++){
71
-        testGradeArr[i].List[j].Finish=0;
72
-      }
73
-    }
74
-    that.setData({
75
-      GradeArr: testGradeArr,
76
-    });
66
+    
77
     var userid = app.globalData.userInfo.UserID;
67
     var userid = app.globalData.userInfo.UserID;
78
-    main.getData('GetTestReportList?UserID=' + userid, function (data) {
79
-      if (data) {
80
-        var dataTemp = [];
81
-        for (var i = 0; i < data.length; i++) {
82
-          for (var j = 0; j < dataTemp.length; j++) {
83
-            if (dataTemp[j].Name[0] == data[i].Name[0] &&
84
-              dataTemp[j].Name[1] == data[i].Name[1] &&
85
-              dataTemp[j].TestType == data[i].TestType &&
86
-              data[i].IsFinished == 1
87
-            ) {
88
-              dataTemp.splice(j, 1);
89
-              break;
90
-            }
91
-          }
92
-          dataTemp.push(data[i]);
93
-
94
-          if (data[i].Name[0].indexOf("英语")>=0 || data[i].Name[0].indexOf("语文词语")>=0 || data[i].Name[0].indexOf("识字 上学期")>=0 || data[i].Name[0].indexOf("拼音")>=0 || data[i].Name[1].indexOf("古诗文")>=0){
95
-            if (data[i].TestRightStr){
96
-              data[i].TestRightStr=data[i].TestRightStr.split(",");
97
-            }
98
-            if (data[i].TestWrongStr){
99
-              data[i].TestWrongStr=data[i].TestWrongStr.split(",");
100
-            }          
101
-            if (data[i].TestSkipStr){
102
-              data[i].TestSkipStr=data[i].TestSkipStr.split(",");
103
-            }
104
-            if (data[i].TestExistStr){
105
-              data[i].TestExistStr=data[i].TestExistStr.split(",");
106
-            }
107
-          }
108
-          
109
-          if (!data[i].TestRightStr)
110
-            data[i].TestRightStr="";
111
-          if (!data[i].TestWrongStr)
112
-            data[i].TestWrongStr="";
113
-          if (!data[i].TestSkipStr)
114
-            data[i].TestSkipStr="";
115
-          if (!data[i].TestExistStr)
116
-            data[i].TestExistStr="";
117
-                
118
-        }
68
+    main.GetTestReportList(userid,function (data,GradeArrResult) {
69
+      that.setData({
70
+        TestReport: data,
71
+        GradeArr: GradeArrResult,
72
+      });
73
+      
119
 
74
 
120
-        for (var i = 0; i < dataTemp.length; i++) {
121
-          var name = dataTemp[i].Name[0].split(" ");
122
-          for (var j = 0; j < that.data.GradeArr.length; j++) {
123
-            var item = that.data.GradeArr[j];
124
-            if (name[0] == item.Name) {
125
-              for (var k = 0; k < item.List.length; k++) {
126
-                
127
-                //音标计算进度  
128
-                if (item.List[k].ID==101 && dataTemp[i].BookID==101){
129
-                  for(var n=1;n<=4;n++){
130
-                    if (Number(dataTemp[i].Name[2])==n && dataTemp[i].IsFinished==1)
131
-                      item.List[k].Finish++;
132
-                  }
133
-                }
134
-                //古诗词计算进度
135
-                else if (item.List[k].ID==dataTemp[i].BookID && dataTemp[i].TestType=="recite" && dataTemp[i].IsFinished == 1)
136
-                  item.List[k].Finish=1;
137
-                else{
138
-                  if (name[1] == item.List[k].Name && name[2] == item.List[k].Name2) {
139
-                    if (dataTemp[i].IsFinished == 1)
140
-                      item.List[k].Finish++;
141
-                  }
142
-                }
143
-              }
75
+      common.getStorageValue(that, "TestSelectGrade", 0, function () {
76
+        that.onSelectGrade({
77
+          currentTarget: {
78
+            dataset: {
79
+              value: that.data.TestSelectGrade
144
             }
80
             }
145
           }
81
           }
146
-        }
147
-
148
-        for (var j = 0; j < that.data.GradeArr.length; j++) {
149
-          var item = that.data.GradeArr[j];
150
-          for (var k = 0; k < item.List.length; k++) {
151
-            item.List[k].Finished = Math.round(100 * item.List[k].Finish / item.List[k].Total);
152
-            item.List[k].NameStr=item.List[k].Name.replace("语文","");
153
-          }
154
-        }
155
-
156
-        that.setData({
157
-          TestReport: data,
158
-          GradeArr: that.data.GradeArr,
159
         });
82
         });
160
-        wx.setStorageSync("UserTestReport", data);
161
 
83
 
162
-        common.getStorageValue(that, "TestSelectGrade", 0, function () {
163
-          that.onSelectGrade({
164
-            currentTarget: {
165
-              dataset: {
166
-                value: that.data.TestSelectGrade
167
-              }
168
-            }
84
+        if (that.data.TestSelectGrade < 9) {
85
+          that.setData({
86
+            Subject: "CHN",
169
           });
87
           });
170
-
171
-          if (that.data.TestSelectGrade<9){
88
+          if (that.data.TestSelectGrade > 4) {
172
             that.setData({
89
             that.setData({
173
-              Subject:"CHN",
90
+              ScrollLeft: 500,
174
             });
91
             });
175
-            if (that.data.TestSelectGrade>4){
176
-              that.setData({
177
-                ScrollLeft:500,
178
-              });
179
-            }
180
           }
92
           }
181
-          else{
93
+        } else {
94
+          that.setData({
95
+            Subject: "ENG",
96
+          });
97
+          if (that.data.TestSelectGrade > 11) {
182
             that.setData({
98
             that.setData({
183
-              Subject:"ENG",
99
+              ScrollLeft: 500,
184
             });
100
             });
185
-            if (that.data.TestSelectGrade>11){
186
-              that.setData({
187
-                ScrollLeft:500,
188
-              });
189
-            }
190
           }
101
           }
191
-        });
192
-      }
102
+        }
103
+      });
104
+
193
     });
105
     });
194
   },
106
   },
195
   onSelectGrade: function (e) {
107
   onSelectGrade: function (e) {
@@ -206,18 +118,18 @@ Page({
206
   gotoTestReportInfo: function (e) {
118
   gotoTestReportInfo: function (e) {
207
     var id = e.currentTarget.dataset.id;
119
     var id = e.currentTarget.dataset.id;
208
     var userid = app.globalData.userInfo.UserID;
120
     var userid = app.globalData.userInfo.UserID;
209
-    main.GetTestReportInfo(id,function(data){
210
-        wx.setStorageSync("TestTask", data);
211
-        wx.navigateTo({
212
-          url: "./report?type=edit",
213
-        });
121
+    main.GetTestReportInfo(id, function (data) {
122
+      wx.setStorageSync("TestTask", data);
123
+      wx.navigateTo({
124
+        url: "./report?type=edit",
125
+      });
214
     });
126
     });
215
   },
127
   },
216
   onUnload: function () {
128
   onUnload: function () {
217
     wx.removeStorageSync("UserTestReport");
129
     wx.removeStorageSync("UserTestReport");
218
   },
130
   },
219
   gotoReLaunch: function (e) {
131
   gotoReLaunch: function (e) {
220
-    var url=e.currentTarget.dataset.url;
132
+    var url = e.currentTarget.dataset.url;
221
     wx.reLaunch({
133
     wx.reLaunch({
222
       url: url,
134
       url: url,
223
     });
135
     });

+ 1 - 0
pages/test/item.js

@@ -562,6 +562,7 @@ Page({
562
       TestTask.List = TaskList;
562
       TestTask.List = TaskList;
563
       TestTask.BookID=this.data.BookID;
563
       TestTask.BookID=this.data.BookID;
564
       wx.setStorageSync("TestTask", TestTask);
564
       wx.setStorageSync("TestTask", TestTask);
565
+
565
       wx.redirectTo({
566
       wx.redirectTo({
566
         url: './report?type=new',
567
         url: './report?type=new',
567
       });
568
       });

+ 10 - 4
pages/test/item.wxml

@@ -30,10 +30,10 @@
30
         <view class="panelTopText">自动播报</view>
30
         <view class="panelTopText">自动播报</view>
31
       </block>
31
       </block>
32
       
32
       
33
-      <view class="btnTop FlexRow" catchtap='gotoNext' data-btnnumber="1">
33
+      <!-- <view class="btnTop FlexRow" catchtap='gotoNext' data-btnnumber="1">
34
         <image src="../images/universalpic_shelve_gray_26x26.png" class="universalpic_shelve_gray_26x26" />
34
         <image src="../images/universalpic_shelve_gray_26x26.png" class="universalpic_shelve_gray_26x26" />
35
-      </view>
36
-      <view class="btnTop FlexRow" catchtap='gotoNext' data-btnnumber="-1" >
35
+      </view> -->
36
+      <view class="btnTop2 btnTop FlexRow" catchtap='gotoNext' data-btnnumber="-1" >
37
         <image src="../images/universalpic_undo_gray_26x20.png" class="universalpic_undo_gray_26x20" />
37
         <image src="../images/universalpic_undo_gray_26x20.png" class="universalpic_undo_gray_26x20" />
38
       </view>
38
       </view>
39
     </view>
39
     </view>
@@ -58,7 +58,13 @@
58
           </view>
58
           </view>
59
           <view class="Answer0 btnColor"></view>
59
           <view class="Answer0 btnColor"></view>
60
         </view>
60
         </view>
61
-        <view class="Answer FlexColumn" hover-class='AnswerHover' catchtap='gotoNext' data-btnnumber="4">
61
+        <view class="Answer FlexColumn" hover-class='AnswerHover' catchtap='gotoNext' data-btnnumber="1">
62
+          <view class="btnTime">
63
+            没学过
64
+          </view>
65
+          <view class="Answer4 btnColor"></view>
66
+        </view>
67
+        <view class="AnswerRight Answer FlexColumn" hover-class='AnswerHover' catchtap='gotoNext' data-btnnumber="4">
62
           <view class="btnTime">
68
           <view class="btnTime">
63
             答对
69
             答对
64
           </view>
70
           </view>

+ 10 - 1
pages/test/item.wxss

@@ -63,6 +63,9 @@ page{
63
   background-color: rgba(0,0,0,0.1);
63
   background-color: rgba(0,0,0,0.1);
64
   margin-left: 30rpx;
64
   margin-left: 30rpx;
65
 }
65
 }
66
+.btnTop2{
67
+  margin-left: 60rpx;
68
+}
66
 .universalpic_broadcast_default_gray_34x25{
69
 .universalpic_broadcast_default_gray_34x25{
67
   width:34rpx;
70
   width:34rpx;
68
   height:25rpx;
71
   height:25rpx;
@@ -384,20 +387,22 @@ page{
384
 }
387
 }
385
 
388
 
386
 .Answer {
389
 .Answer {
387
-  flex: 1;
388
   font-size: 28rpx;
390
   font-size: 28rpx;
389
   justify-content: flex-start;
391
   justify-content: flex-start;
390
   height: 140rpx;
392
   height: 140rpx;
393
+  width:180rpx;
391
 }
394
 }
392
 
395
 
393
 .AnswerLeft{
396
 .AnswerLeft{
394
   border-top-left-radius: 20rpx;
397
   border-top-left-radius: 20rpx;
395
   border-bottom-left-radius: 20rpx;
398
   border-bottom-left-radius: 20rpx;
399
+  width:265rpx;
396
 }
400
 }
397
 
401
 
398
 .AnswerRight{
402
 .AnswerRight{
399
   border-top-right-radius: 20rpx;
403
   border-top-right-radius: 20rpx;
400
   border-bottom-right-radius: 20rpx;
404
   border-bottom-right-radius: 20rpx;
405
+  width:265rpx;
401
 }
406
 }
402
 
407
 
403
 .AnswerHover{
408
 .AnswerHover{
@@ -423,6 +428,10 @@ page{
423
   background-color: #ffbc00;
428
   background-color: #ffbc00;
424
 }
429
 }
425
 
430
 
431
+.Answer .Answer4 {
432
+  background-color: #787878;
433
+}
434
+
426
 .Answer .Answer1Recommend {
435
 .Answer .Answer1Recommend {
427
   height: 50rpx;
436
   height: 50rpx;
428
   border-bottom-left-radius: 0;
437
   border-bottom-left-radius: 0;

+ 16 - 6
pages/test/list.js

@@ -4,6 +4,7 @@ import constant from '../../utils/constant';
4
 
4
 
5
 const app = getApp();
5
 const app = getApp();
6
 var isClick = true;
6
 var isClick = true;
7
+var isStart = true;
7
 
8
 
8
 Page({
9
 Page({
9
   data: {
10
   data: {
@@ -26,16 +27,24 @@ Page({
26
         wx.removeStorageSync("CambridgeEngList");
27
         wx.removeStorageSync("CambridgeEngList");
27
         wx.removeStorageSync("PhoneticEngList");
28
         wx.removeStorageSync("PhoneticEngList");
28
         main.getHanzi(function (arr) {
29
         main.getHanzi(function (arr) {
29
-          that.init(options);
30
+          that.init();
30
         });
31
         });
31
       } else {
32
       } else {
32
-        that.init(options);
33
+        that.init();
33
       }
34
       }
35
+      isStart=false;
34
     });
36
     });
35
   },
37
   },
36
-  init: function (options) {
38
+  onUnload:function(){
39
+    isStart = true;
40
+  },
41
+  onShow:function(){
42
+    if (!isStart)
43
+      this.init();
44
+  },
45
+  init: function () {
37
     var that = this;
46
     var that = this;
38
-    var name = options.name1;
47
+    var name = that.data.Name1;
39
     if (name.indexOf(" ") > 0)
48
     if (name.indexOf(" ") > 0)
40
       name = name.substr(name.indexOf(" ") + 1);
49
       name = name.substr(name.indexOf(" ") + 1);
41
     wx.setNavigationBarTitle({
50
     wx.setNavigationBarTitle({
@@ -84,7 +93,7 @@ Page({
84
     if (that.data.BookID < 43 ||that.data.BookID > 44){
93
     if (that.data.BookID < 43 ||that.data.BookID > 44){
85
       arr = JSON.parse(arr);
94
       arr = JSON.parse(arr);
86
     }
95
     }
87
-    var id = Number(options.id);
96
+    var id = that.data.BookID;
88
     
97
     
89
     var testReportList = wx.getStorageSync("UserTestReport");
98
     var testReportList = wx.getStorageSync("UserTestReport");
90
     
99
     
@@ -109,7 +118,7 @@ Page({
109
           list[j].TestTypeWriteFinished = true;
118
           list[j].TestTypeWriteFinished = true;
110
 
119
 
111
           for (var k = 0; k < testReportList.length; k++) {
120
           for (var k = 0; k < testReportList.length; k++) {
112
-            if (testReportList[k].Name[0] == options.name1 &&
121
+            if (testReportList[k].Name[0] == that.data.Name1 &&
113
               testReportList[k].Name[1] == list[j].Name) {
122
               testReportList[k].Name[1] == list[j].Name) {
114
 
123
 
115
               var testRightCount = 0;
124
               var testRightCount = 0;
@@ -146,6 +155,7 @@ Page({
146
             }
155
             }
147
           }
156
           }
148
         }
157
         }
158
+        console.log("List:"+list.length);
149
         that.setData({
159
         that.setData({
150
           List: list,
160
           List: list,
151
           UnitsID: id,
161
           UnitsID: id,

+ 2 - 2
pages/test/list.wxml

@@ -8,9 +8,9 @@
8
 		<view class="PanelItem FlexColumn" bindtap="onShowFrame" data-id="{{item.ID}}">
8
 		<view class="PanelItem FlexColumn" bindtap="onShowFrame" data-id="{{item.ID}}">
9
 			<view class="PanelItem1 FlexRow">
9
 			<view class="PanelItem1 FlexRow">
10
 				<view class="left FlexRow">
10
 				<view class="left FlexRow">
11
-					<view class="Word FlexRow" wx:if="{{ListType!='english' && (BookID<=24)}}">
11
+					<!-- <view class="Word FlexRow" wx:if="{{ListType!='english' && (BookID<=24)}}">
12
 						<image class="img" src="{{ImagePath}}web/test/{{item.Words[0]}}.png" />
12
 						<image class="img" src="{{ImagePath}}web/test/{{item.Words[0]}}.png" />
13
-					</view>
13
+					</view> -->
14
 					<view class="Title FlexRow" wx:if="{{BookID!=44}}">
14
 					<view class="Title FlexRow" wx:if="{{BookID!=44}}">
15
 						{{item.Name}}
15
 						{{item.Name}}
16
 					</view>
16
 					</view>

+ 5 - 11
pages/test/report.js

@@ -62,7 +62,7 @@ Page({
62
         });
62
         });
63
         if (listSkip.length > 0)
63
         if (listSkip.length > 0)
64
           result.push({
64
           result.push({
65
-            Name: "过的题目",
65
+            Name: "没学过的题目",
66
             Expand: 1,
66
             Expand: 1,
67
             List: listSkip
67
             List: listSkip
68
           });
68
           });
@@ -75,7 +75,7 @@ Page({
75
       } else {
75
       } else {
76
         if (listSkip.length > 0) {
76
         if (listSkip.length > 0) {
77
           result.push({
77
           result.push({
78
-            Name: "过的题目",
78
+            Name: "没学过的题目",
79
             Expand: 1,
79
             Expand: 1,
80
             List: listSkip
80
             List: listSkip
81
           });
81
           });
@@ -236,15 +236,8 @@ Page({
236
   },
236
   },
237
   close: function (e) {
237
   close: function (e) {
238
     wx.removeStorageSync("TestTask");
238
     wx.removeStorageSync("TestTask");
239
-    var delta = 2;
240
-    if (this.data.ReportType == "edit")
241
-      delta = 1;
242
-    
243
-    if (this.data.BookID==100 || (this.data.BookID>=25 && this.data.BookID<=36))
244
-      delta = 1;
245
-
246
     wx.navigateBack({
239
     wx.navigateBack({
247
-      delta: delta,
240
+      delta: 1,
248
     });
241
     });
249
   },
242
   },
250
   saveInfo: function (TestTask) {
243
   saveInfo: function (TestTask) {
@@ -287,10 +280,11 @@ Page({
287
     wx.setStorageSync('TestTask', param1);
280
     wx.setStorageSync('TestTask', param1);
288
     
281
     
289
     delete param1.List;
282
     delete param1.List;
290
-
291
     main.postData('InsertTestReport?UserID=' + userid, param1, function (data) {
283
     main.postData('InsertTestReport?UserID=' + userid, param1, function (data) {
292
       if (data){
284
       if (data){
293
         TestReportID = data;
285
         TestReportID = data;
286
+        var userid = app.globalData.userInfo.UserID;
287
+        main.GetTestReportList(userid,function (data,GradeArrResult) {});
294
       }
288
       }
295
     });
289
     });
296
   },
290
   },

+ 1 - 3
pages/test/report.wxml

@@ -1,7 +1,7 @@
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
   <view class="panelTop FlexColumn">
2
   <view class="panelTop FlexColumn">
3
     <view class="text0">{{Name}}</view>
3
     <view class="text0">{{Name}}</view>
4
-    <view class="text1">答对{{NumberRight}}个 答错{{NumberWrong}}个 过{{NumberSkip}}个</view>
4
+    <view class="text1">答对{{NumberRight}}个 答错{{NumberWrong}}个 没学过{{NumberSkip}}个</view>
5
     <view class="text2">选择题目可一键生成题卡</view>
5
     <view class="text2">选择题目可一键生成题卡</view>
6
   </view>
6
   </view>
7
   <view class="panelItem FlexRow" wx:for="{{List}}" wx:key="index">
7
   <view class="panelItem FlexRow" wx:for="{{List}}" wx:key="index">
@@ -34,9 +34,7 @@
34
       <view class="btn3 btn FlexRow" bindtap="buildCard">
34
       <view class="btn3 btn FlexRow" bindtap="buildCard">
35
         生成题卡
35
         生成题卡
36
       </view>
36
       </view>
37
-
38
     </view>
37
     </view>
39
-
40
     <view class="iphone10plus" wx:if="{{IsIPhoneX}}"></view>
38
     <view class="iphone10plus" wx:if="{{IsIPhoneX}}"></view>
41
   </view>
39
   </view>
42
 
40
 

BIN
pages_agent/images/promotion_index_code.png


BIN
pages_agent/images/promotion_index_message.png


BIN
pages_agent/images/promotion_index_rules.png


BIN
pages_agent/images/promotion_partner_home_title01.png


BIN
pages_agent/images/promotion_user_home_title01.png


BIN
pages_agent/images/promotion_user_home_title02.png


BIN
pages_agent/images/promotion_user_home_title03.png


BIN
pages_agent/images/promotion_user_profile_bg.png


BIN
pages_agent/images/universalpic_indicator_right_deepgray.png


+ 66 - 0
pages_agent/main/enter.js

@@ -0,0 +1,66 @@
1
+// pages_agent/main/enter.js
2
+Page({
3
+
4
+  /**
5
+   * 页面的初始数据
6
+   */
7
+  data: {
8
+
9
+  },
10
+
11
+  /**
12
+   * 生命周期函数--监听页面加载
13
+   */
14
+  onLoad: function (options) {
15
+
16
+  },
17
+
18
+  /**
19
+   * 生命周期函数--监听页面初次渲染完成
20
+   */
21
+  onReady: function () {
22
+
23
+  },
24
+
25
+  /**
26
+   * 生命周期函数--监听页面显示
27
+   */
28
+  onShow: function () {
29
+
30
+  },
31
+
32
+  /**
33
+   * 生命周期函数--监听页面隐藏
34
+   */
35
+  onHide: function () {
36
+
37
+  },
38
+
39
+  /**
40
+   * 生命周期函数--监听页面卸载
41
+   */
42
+  onUnload: function () {
43
+
44
+  },
45
+
46
+  /**
47
+   * 页面相关事件处理函数--监听用户下拉动作
48
+   */
49
+  onPullDownRefresh: function () {
50
+
51
+  },
52
+
53
+  /**
54
+   * 页面上拉触底事件的处理函数
55
+   */
56
+  onReachBottom: function () {
57
+
58
+  },
59
+
60
+  /**
61
+   * 用户点击右上角分享
62
+   */
63
+  onShareAppMessage: function () {
64
+
65
+  }
66
+})

+ 5 - 0
pages_agent/main/enter.json

@@ -0,0 +1,5 @@
1
+{
2
+  "navigationBarTitleText": "秒过推广计划",
3
+  "navigationBarBackgroundColor": "#4ACB96",
4
+  "navigationBarTextStyle": "black"
5
+}

+ 13 - 0
pages_agent/main/enter.wxml

@@ -0,0 +1,13 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <!-- <image src='../../pages/images/product_icon_mg_70x70.png' class="product_icon_mg_70x70" /> -->
3
+      
4
+  <view class="panelBottom FlexColumn">
5
+    <view class="panelBottom1 FlexRow">
6
+      <checkbox class="cb" value="cb" checked="true"/>
7
+      <view class="panelBottom11">我已同意</view>
8
+      <view class="panelBottom12">「秒过推广计划规则」</view>
9
+    </view>
10
+    <button class="btn">我要参加</button>
11
+  </view>
12
+  
13
+</view>

+ 40 - 0
pages_agent/main/enter.wxss

@@ -0,0 +1,40 @@
1
+.panelBottom{
2
+  width: 100%;
3
+  background-color: #F2F2F2;
4
+  height:230rpx;
5
+  position: fixed;
6
+  bottom: 0;
7
+  justify-content: flex-start;
8
+}
9
+
10
+.panelBottom1{
11
+  justify-content: flex-start;
12
+  width: 100%;
13
+  margin-top: 30rpx;
14
+}
15
+
16
+.cb{
17
+  margin: 0 10rpx 0 40rpx;
18
+}
19
+
20
+.panelBottom11{
21
+  font-size:24rpx;
22
+  font-weight: 400;
23
+}
24
+.panelBottom12{
25
+  font-size:24rpx;
26
+  font-weight: 500;
27
+  text-decoration:underline;
28
+}
29
+
30
+.btn{
31
+  width:730rpx;
32
+  height:110rpx;
33
+  background-color:#F57C00;
34
+  border-radius: 20rpx;
35
+  text-align: center;
36
+  line-height: 110rpx;
37
+  font-size:48rpx;
38
+  color:#fff;
39
+  margin-top: 30rpx;
40
+}

+ 29 - 0
pages_agent/main/index.js

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

+ 4 - 0
pages_agent/main/index.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "秒过活动",
3
+  "backgroundColor": "#F2F2F2"
4
+}

+ 22 - 0
pages_agent/main/index.wxml

@@ -0,0 +1,22 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="panelHeight"></view>
3
+  <view class="panel1 FlexRow" bindtap='goto'>
4
+    <view class="panel11 FlexRow">
5
+      <image src='../../pages/images/product_icon_mg_70x70.png' class="product_icon_mg_70x70" />
6
+      <view class="panel111">秒过推广计划</view>
7
+    </view>
8
+    <view class="panel12 FlexRow">
9
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
10
+    </view>
11
+  </view>
12
+  <view class="panel1 FlexRow" bindtap='goto'>
13
+    <view class="panel11 FlexRow">
14
+      <image src='../../pages/images/product_icon_mg_70x70.png' class="product_icon_mg_70x70" />
15
+      <view class="panel111">秒过大使计划</view>
16
+    </view>
17
+    <view class="panel12 FlexRow">
18
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
19
+    </view>
20
+  </view>
21
+  
22
+</view>

+ 30 - 0
pages_agent/main/index.wxss

@@ -0,0 +1,30 @@
1
+.panelHeight{
2
+  width:100%;
3
+  height: 60rpx;
4
+}
5
+.panel1{
6
+  width:710rpx;
7
+  height:130rpx;
8
+  border-radius: 20rpx;
9
+  background-color: #fff;
10
+  justify-content: space-between;
11
+  margin-bottom: 30rpx;
12
+}
13
+
14
+.product_icon_mg_70x70{
15
+  width:50rpx;
16
+  height:50rpx;
17
+  border-radius: 10rpx;
18
+  margin:0 20rpx 0 30rpx;
19
+}
20
+
21
+.panel111{
22
+  font-size: 28rpx;
23
+  font-weight: 400;
24
+}
25
+
26
+.Arrow{
27
+  width:16rpx;
28
+  height:26rpx;
29
+  margin-right: 30rpx;
30
+}

+ 24 - 0
pages_agent/main/message.js

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

+ 4 - 0
pages_agent/main/message.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "消息中心",
3
+  "backgroundColor": "#F2F2F2"
4
+}

+ 38 - 0
pages_agent/main/message.wxml

@@ -0,0 +1,38 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="panelHeight"></view>
3
+  <view class="panel1 FlexRow" bindtap='goto'>
4
+    <view class="panel11 FlexColumn">
5
+      <view class="panel110"></view>
6
+      <view class="panel111">新消息未读</view>
7
+      <view class="panel112_1 panel112">平台通知</view>
8
+      <view class="panel113">你推荐的用户退款,以及您需要注意的事项</view>
9
+      <view class="panel114">2021年11月04日</view>
10
+    </view>
11
+    <view class="panel12 FlexRow">
12
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
13
+    </view>
14
+  </view>
15
+  <view class="panel1 FlexRow" bindtap='goto'>
16
+    <view class="panel11 FlexColumn">
17
+      <view class="panel110"></view>
18
+      <view class="panel111">新消息未读</view>
19
+      <view class="panel112_2 panel112">财务通知</view>
20
+      <view class="panel113">审核通过 - 166.24元</view>
21
+      <view class="panel114">2021年11月04日</view>
22
+    </view>
23
+    <view class="panel12 FlexRow">
24
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
25
+    </view>
26
+  </view>
27
+  <view class="panel1 FlexRow" bindtap='goto'>
28
+    <view class="panel11 FlexColumn">
29
+      <view class="panel110"></view>
30
+      <view class="panel112_2 panel112">财务通知</view>
31
+      <view class="panel113">3天后您的资质将失去</view>
32
+      <view class="panel114">2021年11月04日</view>
33
+    </view>
34
+    <view class="panel12 FlexRow">
35
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
36
+    </view>
37
+  </view>
38
+</view>

+ 61 - 0
pages_agent/main/message.wxss

@@ -0,0 +1,61 @@
1
+.panelHeight{
2
+  width:100%;
3
+  height: 60rpx;
4
+}
5
+.panel1{
6
+  width:710rpx;
7
+  border-radius: 20rpx;
8
+  background-color: #fff;
9
+  justify-content: space-between;
10
+  margin-bottom: 30rpx;
11
+}
12
+
13
+.panel11{
14
+  margin-left: 30rpx;
15
+  align-items: flex-start;
16
+  max-width:600rpx;
17
+}
18
+
19
+.panel110{
20
+  margin-top: 30rpx;
21
+}
22
+.panel111{
23
+  margin-top: 10rpx;
24
+  font-size: 24rpx;
25
+  color:#FE6659;
26
+}
27
+.panel112{
28
+  margin-top: 10rpx;
29
+  font-size: 24rpx;
30
+  border-radius: 10rpx;
31
+  width:116rpx;
32
+  height:40rpx;
33
+  line-height: 40rpx;
34
+  color:#fff;
35
+  text-align: center;
36
+}
37
+.panel112_1{
38
+  background-color: #FE6659;
39
+}
40
+.panel112_2{
41
+  background-color: #4D4D4D;
42
+}
43
+.panel113{
44
+  margin-top: 10rpx;
45
+  font-size: 32rpx;
46
+  font-weight: 400;
47
+  color:#1E1E1E;
48
+}
49
+.panel114{
50
+  margin-top: 10rpx;
51
+  font-size: 24rpx;
52
+  font-weight: 400;
53
+  color:#787878;
54
+  margin-bottom: 40rpx;
55
+}
56
+
57
+.Arrow{
58
+  width:16rpx;
59
+  height:26rpx;
60
+  margin-right: 30rpx;
61
+}

+ 24 - 0
pages_agent/main/message_info.js

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

+ 4 - 0
pages_agent/main/message_info.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "消息",
3
+  "backgroundColor": "#fff"
4
+}

+ 11 - 0
pages_agent/main/message_info.wxml

@@ -0,0 +1,11 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <text class="text1">您推荐的用户已退款,以及您需要注意的事项</text>
3
+  <text class="text2">2021年11月04日</text>
4
+  <view class="line"></view>
5
+  <text class="text3">  在iPad上也可以使用秒过。
6
+
7
+  首先,安装微信并登录。首先,把iPad调整为竖屏状态。然后,启动微信就能顺利使用秒过小程序了。
8
+  
9
+  iPad版小程序只能在竖屏情况下运行(在启动微信之前,就必须把iPad调节为竖屏,否则就会反复出现警告信息)。而且,在使用过程中,也必须保持竖屏(请锁住iPad屏幕方向,确保始终处于竖屏状态)。</text>
10
+  
11
+</view>

+ 30 - 0
pages_agent/main/message_info.wxss

@@ -0,0 +1,30 @@
1
+.container{
2
+  background-color: #fff;
3
+}
4
+
5
+.text1{
6
+  width:690rpx;
7
+  margin-top: 60rpx;
8
+  font-size: 48rpx;
9
+  font-weight: 400;
10
+}
11
+.text2{
12
+  width:690rpx;
13
+  margin-top: 30rpx;
14
+  font-size: 24rpx;
15
+  font-weight: 400;
16
+}
17
+
18
+.line{
19
+  width:690rpx;
20
+  height:1rpx;
21
+  background-color: #d2d2d2;
22
+  margin:60rpx 0;
23
+}
24
+
25
+.text3{
26
+  width:690rpx;
27
+  font-size: 30rpx;
28
+  font-weight: 400;
29
+  line-height: 50rpx;
30
+}

+ 66 - 0
pages_agent/main/userinfo.js

@@ -0,0 +1,66 @@
1
+// pages_agent/main/userinfo.js
2
+Page({
3
+
4
+  /**
5
+   * 页面的初始数据
6
+   */
7
+  data: {
8
+
9
+  },
10
+
11
+  /**
12
+   * 生命周期函数--监听页面加载
13
+   */
14
+  onLoad: function (options) {
15
+
16
+  },
17
+
18
+  /**
19
+   * 生命周期函数--监听页面初次渲染完成
20
+   */
21
+  onReady: function () {
22
+
23
+  },
24
+
25
+  /**
26
+   * 生命周期函数--监听页面显示
27
+   */
28
+  onShow: function () {
29
+
30
+  },
31
+
32
+  /**
33
+   * 生命周期函数--监听页面隐藏
34
+   */
35
+  onHide: function () {
36
+
37
+  },
38
+
39
+  /**
40
+   * 生命周期函数--监听页面卸载
41
+   */
42
+  onUnload: function () {
43
+
44
+  },
45
+
46
+  /**
47
+   * 页面相关事件处理函数--监听用户下拉动作
48
+   */
49
+  onPullDownRefresh: function () {
50
+
51
+  },
52
+
53
+  /**
54
+   * 页面上拉触底事件的处理函数
55
+   */
56
+  onReachBottom: function () {
57
+
58
+  },
59
+
60
+  /**
61
+   * 用户点击右上角分享
62
+   */
63
+  onShareAppMessage: function () {
64
+
65
+  }
66
+})

+ 5 - 0
pages_agent/main/userinfo.json

@@ -0,0 +1,5 @@
1
+{
2
+  "navigationBarTitleText": "用户信息",
3
+  "navigationBarBackgroundColor": "#FC7406",
4
+  "navigationBarTextStyle": "white"
5
+}

+ 64 - 0
pages_agent/main/userinfo.wxml

@@ -0,0 +1,64 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="panel1_1 panel1 FlexColumn">
3
+    <image src='../../pages/images/product_icon_mg_70x70.png' class="avatar" />
4
+    <view class="text1">昵称</view>
5
+    <view class="panel11 FlexColumn">
6
+      <view class="text2">正式用户</view>
7
+      <view class="panel111 FlexRow">
8
+        <view class="panel1111 FlexColumn">
9
+          <view class="text3">2021.11.04</view>
10
+          <view class="text4">首次续费时间</view>
11
+        </view>
12
+        <view class="line"></view>
13
+        <view class="panel1111 FlexColumn">
14
+          <view class="text3">2021.11.04</view>
15
+          <view class="text4">首次续费时间</view>
16
+        </view>
17
+      </view>
18
+    </view>
19
+  </view>
20
+  <view class="panel2 FlexColumn">
21
+    <view class="panel2Item FlexRow">
22
+      <view>推广计划资格有效期</view>
23
+      <view>2021年11月04日</view>
24
+    </view>
25
+    <view class="lineWidthAll FlexRow">
26
+      <view class="lineWidth720"></view>
27
+    </view>
28
+    <view class="panel2Item2 panel2Item FlexRow">
29
+      <view>离失去推广收益资格还剩</view>
30
+      <view>1天</view>
31
+      <text class="text5">这里有一段对资格有效期的说明\nARIA vocal collection(15曲)アリア OP, ED, 挿入歌 / 牧野由依, ROUND TABLE feat. Nino, 河井英里 etc.</text>
32
+    </view>
33
+    <view class="lineWidthAll FlexRow">
34
+      <view class="lineWidth720"></view>
35
+    </view>
36
+    <view class="panel2Item FlexRow">
37
+      <view>微信支付平台交易手续费</view>
38
+      <view>0.6%</view>
39
+    </view>
40
+    <view class="lineWidthAll FlexRow">
41
+      <view class="lineWidth720"></view>
42
+    </view>
43
+    <view class="panel2Item FlexRow">
44
+      <view>代缴个人所得税</view>
45
+      <view>6%</view>
46
+    </view>
47
+    <view class="lineWidthAll FlexRow">
48
+      <view class="lineWidth720"></view>
49
+    </view>
50
+    <view class="panel2Item FlexRow">
51
+      <view>收款人微信帐号</view>
52
+      <view>一泓清水@体脂管理</view>
53
+    </view>
54
+    <view class="lineWidthAll FlexRow">
55
+      <view class="lineWidth720"></view>
56
+    </view>
57
+    <view class="panel2Item FlexRow">
58
+      <view>收款帐号真实姓名</view>
59
+      <view>天不怕</view>
60
+    </view>
61
+  </view>    
62
+  
63
+  
64
+</view>

+ 88 - 0
pages_agent/main/userinfo.wxss

@@ -0,0 +1,88 @@
1
+.panel1{
2
+  width: 100%;
3
+  justify-content: flex-start;
4
+  color:#fff;
5
+}
6
+.panel1_1{
7
+  background-color: #FC7406;
8
+}
9
+.panel1_2{
10
+  background-color: #FFB808;
11
+}
12
+.avatar{
13
+  width:200rpx;
14
+  height:200rpx;
15
+  margin-top: 60rpx;
16
+  border-radius: 20rpx;
17
+}
18
+
19
+.text1{
20
+  font-size:32rpx;
21
+  margin-top: 20rpx;
22
+}
23
+
24
+.panel11{
25
+  width:710rpx;
26
+  height:245rpx;
27
+  background-color: #F2F2F2;
28
+  border-radius: 20rpx;
29
+  color:#4D4D4D;
30
+  margin: 60rpx 0 80rpx 0;
31
+  justify-content: flex-start;
32
+
33
+  box-shadow: 0 20rpx 0 0 rgba(0,0,0,0.1);
34
+}
35
+.text2{
36
+  font-size:36rpx;
37
+  margin-top:40rpx;
38
+}
39
+
40
+.panel111{
41
+  margin-top: 20rpx;
42
+  align-items: flex-start;
43
+}
44
+
45
+.panel1111{
46
+  width:300rpx;
47
+  height:85rpx;
48
+}
49
+
50
+.text3{
51
+  font-size:36rpx;
52
+  font-family: 'Roboto-Black';
53
+}
54
+.text4{
55
+  font-size:24rpx;
56
+  margin-top: 10rpx;
57
+}
58
+
59
+.line{
60
+  width:4rpx;
61
+  height:40rpx;
62
+  background-color: #4D4D4D;
63
+}
64
+
65
+.panel2{
66
+  width:100%;
67
+  background-color: #fff;
68
+}
69
+
70
+.panel2Item{
71
+  width:690rpx;
72
+  min-height:100rpx;
73
+  justify-content: space-between;
74
+  font-size: 28rpx;
75
+  font-weight: 400;
76
+  flex-wrap: wrap;
77
+}
78
+
79
+.panel2Item2{
80
+  height:189rpx;
81
+}
82
+
83
+.text5{
84
+  width:690rpx;
85
+  font-size: 20rpx;
86
+  font-weight: 500;
87
+}
88
+

+ 27 - 0
pages_agent/promotion/earnings.js

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

+ 4 - 0
pages_agent/promotion/earnings.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "预估新增收益",
3
+  "backgroundColor": "#F2F2F2"
4
+}

+ 115 - 0
pages_agent/promotion/earnings.wxml

@@ -0,0 +1,115 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="panel1 FlexColumn" bindtap='goto'>
3
+    <view class="panel11 FlexColumn">
4
+      <text class="text1">① 7天退款期,有退款的情况\n② 检查一下是否与您的认知有出入,一旦他人就无法更改了
5
+      </text>
6
+    </view>
7
+    <view class="panel12 FlexRow">
8
+      <view class="text2">详细规则</view>
9
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
10
+    </view>
11
+  </view>
12
+
13
+  <view class="panel4 FlexRow">
14
+    <view class="Left FlexRow">
15
+      <image src='../../pages/images/universalpic_exclamation_orange_40x40.png' class="universalpic_exclamation_orange_40x40" />
16
+      <view class="panel41 FlexColumn">
17
+        <view class="text8">您有1笔退款,返还奖励后,剩余收益可提现。</view>
18
+        <view class="text4">查看退款记录</view>
19
+      </view>
20
+    </view>
21
+    <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
22
+  </view>
23
+
24
+  <view class="panel2 FlexRow">
25
+    <text class="text3"><text class="Number1">24</text> 条记录</text>
26
+    <text class="text7">收益 <text class="Number1">960.00</text></text>
27
+  </view>
28
+  <view class="panel3 FlexColumn">
29
+    <block wx:for="{{[1,2,3,4,5]}}" wx:key="index">
30
+      <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
31
+        <view class="lineWidth720"></view>
32
+      </view>
33
+      <view class="panelItem FlexRow" >
34
+      <view class="Left FlexRow">
35
+        <image src='../../pages/images/product_icon_mg_70x70.png' class="avatar" />
36
+        <view class="panelItem1 FlexColumn">
37
+          <view class="text4">昵称</view>
38
+          <view class="text5">续费 2021年11月04日 08:20</view>
39
+        </view>
40
+      </view>
41
+      <view class="Right FlexColumn">
42
+        <block wx:if="{{false}}">
43
+          <view class="text6">等待生效</view>
44
+          <view class="text5">2021年11月04日 08:20</view>
45
+        </block>
46
+        <view class="Number1" wx:if="{{true}}">30.00</view>
47
+      </view>
48
+    </view>
49
+    </block>
50
+    
51
+  </view>
52
+  <view style="height:150rpx;"></view>
53
+  <view class="panelBottom FlexColumn">
54
+    <view class="btn">申请提现</view>
55
+  </view>
56
+</view>
57
+
58
+<view class="container2 container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
59
+  <view class="panel5 FlexColumn">
60
+    <view class="text51">申请提现</view>
61
+    <view class="panel51 FlexRow">
62
+      <view class="panel511 FlexColumn">
63
+        <view class="text52">176.42</view>
64
+        <view class="text53">提现金额</view>
65
+      </view>
66
+      <view class="panel511 FlexColumn">
67
+        <view class="text52">166.24</view>
68
+        <view class="text53">到账金额</view>
69
+      </view>
70
+    </view>
71
+    <view class="panel52 FlexRow">
72
+      <view class="Left FlexRow">
73
+        <image src='../../pages/images/universalpic_exclamation_orange_40x40.png' class="universalpic_exclamation_orange_40x40" />
74
+        <view class="text53">已扣除因退款返还奖励金额</view>
75
+      </view>
76
+      <view class="text54">24.58</view>
77
+    </view>
78
+    <view class="panel53 FlexRow">
79
+      <view class="text54">微信支付平台交易手续费</view>
80
+      <view class="text54">0.6%</view>
81
+    </view>
82
+    <view class="lineWidthAll FlexRow">
83
+      <view class="lineWidth680"></view>
84
+    </view>
85
+    <view class="panel53 FlexRow">
86
+      <view class="text54">代缴个人所得税</view>
87
+      <view class="text54">0%</view>
88
+    </view>
89
+    <view class="lineWidthAll FlexRow">
90
+      <view class="lineWidth680"></view>
91
+    </view>
92
+    <view class="panel53 FlexRow">
93
+      <view class="text54">收款方式</view>
94
+      <view class="text54">微信钱包</view>
95
+    </view>
96
+    <view class="lineWidthAll FlexRow">
97
+      <view class="lineWidth680"></view>
98
+    </view>
99
+    <view class="panel53 FlexRow">
100
+      <view class="text54">收款人微信帐号</view>
101
+      <view class="text54">ABC</view>
102
+    </view>
103
+    <view class="lineWidthAll FlexRow">
104
+      <view class="lineWidth680"></view>
105
+    </view>
106
+    <view class="panel53 FlexRow">
107
+      <view class="text54">收款人帐号真实姓名</view>
108
+      <view class="text54">张三</view>
109
+    </view>
110
+    <view class="btn2">确认</view>
111
+    
112
+  </view>
113
+  <view class="btnCancel">取消</view>
114
+
115
+</view>

+ 237 - 0
pages_agent/promotion/earnings.wxss

@@ -0,0 +1,237 @@
1
+.panel1{
2
+  width:710rpx;
3
+  border-radius: 20rpx;
4
+  background-color: #fff;
5
+  margin: 60rpx 0;
6
+}
7
+
8
+.panel11{
9
+  width:100%;
10
+  font-size: 22rpx;
11
+  font-weight: 400;
12
+  min-height: 178rpx;
13
+  justify-content: flex-start;
14
+  border-bottom:1rpx solid #e3e3e3;
15
+}
16
+
17
+.text1{
18
+  margin-top: 30rpx;
19
+  width:650rpx;
20
+}
21
+
22
+.panel12{
23
+  width:100%;
24
+  height: 100rpx;
25
+  justify-content: space-between;
26
+}
27
+
28
+.text2{
29
+  font-size: 28rpx;
30
+  font-weight: 400;
31
+  margin-left: 30rpx;
32
+}
33
+
34
+.Arrow{
35
+  width:16rpx;
36
+  height:26rpx;
37
+  margin-right: 30rpx;
38
+}
39
+
40
+.panel4{
41
+  width:710rpx;
42
+  height:143rpx;
43
+  border-radius: 20rpx;
44
+  background-color: #fff;
45
+  margin: 0 0 60rpx 0;
46
+  justify-content: space-between;
47
+}
48
+
49
+.universalpic_exclamation_orange_40x40{
50
+  width:40rpx;
51
+  height:40rpx;
52
+  margin-left: 30rpx;
53
+}
54
+
55
+.panel2{
56
+  width: 100%;
57
+  justify-content: space-between;
58
+}
59
+
60
+.text3{
61
+  margin-left: 30rpx;
62
+  font-size: 32rpx;
63
+  color:#4D4D4D;
64
+}
65
+.text7{
66
+  margin-right: 30rpx;
67
+  font-size: 32rpx;
68
+  color:#4D4D4D;
69
+}
70
+.Number1{
71
+  font-family: 'Roboto-Black';
72
+  font-size:28rpx;
73
+  color:#4D4D4D;
74
+}
75
+
76
+.panel41{
77
+  align-items: flex-start;
78
+  margin-left: 20rpx;
79
+}
80
+.text8{
81
+  font-size: 24rpx;
82
+  color:#1E1E1E;
83
+  margin-bottom: 10rpx;
84
+}
85
+
86
+.panel3{
87
+  width: 100%;
88
+  justify-content: flex-start;
89
+  background-color: #fff;
90
+  margin-top: 30rpx;
91
+}
92
+
93
+.panelItem{
94
+  width: 100%;
95
+  height:141rpx;
96
+  justify-content: space-between;
97
+}
98
+
99
+.avatar{
100
+  width:80rpx;
101
+  height:80rpx;
102
+  border-radius: 20rpx;
103
+  margin-left: 30rpx;
104
+}
105
+
106
+.panelItem1{
107
+  align-items: flex-start;
108
+  margin-left: 20rpx;
109
+}
110
+
111
+.text4{
112
+  font-size: 28rpx;
113
+  color:#4D4D4D;
114
+  font-weight: 400;
115
+}
116
+.text5{
117
+  font-size: 20rpx;
118
+  color:#9B9B9B;
119
+}
120
+.Right{
121
+  margin-right: 30rpx;
122
+  align-items: flex-end;
123
+}
124
+.text6{
125
+  font-size: 24rpx;
126
+  color:#4D4D4D;
127
+}
128
+
129
+.panelBottom{
130
+  width:100%;
131
+  height:131rpx;
132
+  bottom: 0;
133
+  position: fixed;
134
+  background-color: #f2f2f2;
135
+  border-top: 1rpx solid #d2d2d2;
136
+}
137
+
138
+.panelBottom .btn{
139
+  width:730rpx;
140
+  height:110rpx;
141
+  border-radius: 20rpx;
142
+  background-color: #F57C00;
143
+  line-height: 110rpx;
144
+  color:#fff;
145
+  font-size:48rpx;
146
+  text-align: center;
147
+}
148
+
149
+/* 申请提现 */
150
+.container2{
151
+  background-color: rgba(0,0,0,0.8);
152
+  position: fixed;
153
+  top:0;
154
+  z-index: 10;
155
+  width: 100%;
156
+}
157
+
158
+.panel5{
159
+  width: 710rpx;
160
+  border-radius: 20rpx;
161
+  position: fixed;
162
+  bottom:160rpx;
163
+  background-color: #fff;
164
+  min-height: 500rpx;
165
+}
166
+
167
+.btnCancel{
168
+  width:710rpx;
169
+  height:100rpx;
170
+  border-radius: 20rpx;
171
+  text-align: center;
172
+  line-height: 100rpx;
173
+  font-size:28rpx;
174
+  background-color: #fff;
175
+  color: #1e1e1e;
176
+  position: fixed;
177
+  bottom:30rpx;
178
+}
179
+
180
+.text51{
181
+  margin-top: 40rpx;
182
+  font-size: 32rpx;
183
+  color:#4D4D4D;
184
+}
185
+
186
+.panel51{
187
+  margin-top: 10rpx;
188
+  width:100%;
189
+}
190
+
191
+.panel511{
192
+  flex: 1;
193
+}
194
+
195
+.text52{
196
+  font-size: 64rpx;
197
+  color:#4D4D4D;
198
+  font-family: 'Roboto-Black';
199
+}
200
+.text53{
201
+  font-size: 24rpx;
202
+  color:#4D4D4D;
203
+  margin: 0 30rpx 0 20rpx;
204
+  font-weight: 400;
205
+}
206
+
207
+.panel52{
208
+  width: 100%;
209
+  background-color: #FFE4B6;
210
+  height:94rpx;
211
+  justify-content: space-between;
212
+  margin-top: 30rpx;
213
+}
214
+
215
+.text54{
216
+  font-size: 24rpx;
217
+  color:#4D4D4D;
218
+  margin: 0 30rpx 0 30rpx;
219
+  font-weight: 400;
220
+}
221
+
222
+.panel53{
223
+  width: 100%;
224
+  height:94rpx;
225
+  justify-content: space-between;
226
+}
227
+
228
+.btn2{
229
+  width:100%;
230
+  line-height: 127rpx;
231
+  border-bottom-left-radius: 20rpx;
232
+  border-bottom-right-radius: 20rpx;
233
+  background-color: #F57C00;
234
+  text-align: center;
235
+  color:#fff;
236
+  font-size: 48rpx;
237
+}

+ 27 - 0
pages_agent/promotion/earnings_list.js

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

+ 4 - 0
pages_agent/promotion/earnings_list.json

@@ -0,0 +1,4 @@
1
+{
2
+  "navigationBarTitleText": "收益记录",
3
+  "backgroundColor": "#F2F2F2"
4
+}

+ 45 - 0
pages_agent/promotion/earnings_list.wxml

@@ -0,0 +1,45 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <view class="panel1 FlexColumn" bindtap='goto'>
3
+    <view class="text10 text1">等待审核</view>
4
+    <view class="text2">166.24</view>
5
+    <view class="text3">到帐金额</view>
6
+    <view class="line"></view>
7
+    <view class="panel11 FlexColumn">
8
+      <view class="panel111 FlexRow">
9
+        <view class="text4">申请单号</view>
10
+        <view class="text5">123456789</view>
11
+      </view>
12
+      <view class="panel112 FlexRow">
13
+        <view class="text4">申请时间</view>
14
+        <view class="text5">2021年11月04日 08:20</view>
15
+      </view>
16
+    </view>
17
+    <view class="line2"></view>
18
+    <view class="panel12 FlexRow">
19
+      <view class="text6">查看申请单详情</view>
20
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
21
+    </view>
22
+  </view>
23
+
24
+  <view class="panel1 FlexColumn" bindtap='goto'>
25
+    <view class="text1">审核通过</view>
26
+    <view class="text2">66.84</view>
27
+    <view class="text3">到帐金额</view>
28
+    <view class="line"></view>
29
+    <view class="panel11 FlexColumn">
30
+      <view class="panel111 FlexRow">
31
+        <view class="text4">申请单号</view>
32
+        <view class="text5">123456789</view>
33
+      </view>
34
+      <view class="panel112 FlexRow">
35
+        <view class="text4">申请时间</view>
36
+        <view class="text5">2021年11月04日 08:20</view>
37
+      </view>
38
+    </view>
39
+    <view class="line2"></view>
40
+    <view class="panel12 FlexRow">
41
+      <view class="text6">查看申请单详情</view>
42
+      <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
43
+    </view>
44
+  </view>
45
+</view>

+ 86 - 0
pages_agent/promotion/earnings_list.wxss

@@ -0,0 +1,86 @@
1
+.panel1{
2
+  width:711rpx;
3
+  margin-top: 60rpx;
4
+  background-color: #fff;
5
+  border-radius: 20rpx;
6
+}
7
+
8
+.text1{
9
+  font-size: 36rpx;
10
+  margin-top: 40rpx;
11
+  color:#4D4D4D;
12
+}
13
+
14
+.text10{
15
+  color:#FE6659;
16
+}
17
+
18
+.text2{
19
+  font-size: 64rpx;
20
+  margin-top: 10rpx;
21
+  color:#4D4D4D;
22
+  font-family: 'Roboto-Black';
23
+}
24
+
25
+.text3{
26
+  font-size: 28rpx;
27
+  color:#4D4D4D;
28
+}
29
+.line{
30
+  width:650rpx;
31
+  height:1rpx;
32
+  background-color: #e3e3e3;
33
+  margin-top: 30rpx;
34
+}
35
+.panel11{
36
+  width:100%;
37
+  height: 146rpx;
38
+  justify-content: flex-start;
39
+}
40
+
41
+.panel111{
42
+  margin: 30rpx 0 0 0;
43
+  width:650rpx;
44
+  justify-content: flex-start;
45
+}
46
+.panel112{
47
+  margin: 20rpx 0 0 0;
48
+  width:650rpx;
49
+  justify-content: flex-start;
50
+}
51
+
52
+.text4{
53
+  font-size: 24rpx;
54
+  color:#787878;
55
+  font-weight: 400;
56
+}
57
+.text5{
58
+  font-size: 24rpx;
59
+  color:#4D4D4D;
60
+  margin-left: 30rpx;
61
+}
62
+
63
+.panel12{
64
+  width:100%;
65
+  height: 100rpx;
66
+  justify-content: space-between;
67
+}
68
+
69
+.text6{
70
+  font-size: 28rpx;
71
+  columns: #1e1e1e;
72
+  margin-left: 30rpx;
73
+  font-weight: 400;
74
+}
75
+.line2{
76
+  width:100%;
77
+  height:1rpx;
78
+  background-color: #e3e3e3;
79
+}
80
+
81
+.Arrow{
82
+  width:16rpx;
83
+  height:26rpx;
84
+  margin-right: 30rpx;
85
+}
86
+

+ 27 - 0
pages_agent/promotion/user_index.js

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

+ 8 - 0
pages_agent/promotion/user_index.json

@@ -0,0 +1,8 @@
1
+{
2
+  "navigationBarTitleText": "秒过推广计划",
3
+  "navigationBarBackgroundColor": "#FC7406",
4
+  "navigationBarTextStyle": "white",
5
+  "backgroundColorTop":"#FC7406",
6
+  "backgroundColorBottom":"#FC7406",
7
+  "enablePullDownRefresh": true
8
+}

+ 105 - 0
pages_agent/promotion/user_index.wxml

@@ -0,0 +1,105 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+    <image src='../../pages/images/product_icon_mg_70x70.png' class="avatar" />
3
+    <view class="text1">累计收益</view>
4
+    <view class="text2">166.24</view>
5
+    
6
+    <view class="panel1 FlexColumn">
7
+      <view class="panel11 FlexRow">
8
+        <view class="panel111 FlexColumn">
9
+          <view class="text3">60</view>
10
+          <view class="text4 FlexRow">
11
+            <view class="universalpic_indicator_right_deepgray"></view>
12
+            <view>预估新增收益</view>
13
+            <image src='../images/universalpic_indicator_right_deepgray.png' class="universalpic_indicator_right_deepgray" />
14
+          </view>
15
+        </view>
16
+        <view class="line"></view>
17
+        <view class="panel111 FlexColumn">
18
+          <view class="text3">260</view>
19
+          <view class="text4 FlexRow">
20
+            <view class="universalpic_indicator_right_deepgray"></view>
21
+            <view>可提现收益</view>
22
+            <image src='../images/universalpic_indicator_right_deepgray.png' class="universalpic_indicator_right_deepgray" />
23
+          </view>
24
+        </view>
25
+        <view class="line"></view>
26
+        <view class="panel111 FlexColumn">
27
+          <view class="text3">12</view>
28
+          <view class="text4 FlexRow">
29
+            <view class="universalpic_indicator_right_deepgray"></view>
30
+            <view>已结清人数</view>
31
+            <image src='../images/universalpic_indicator_right_deepgray.png' class="universalpic_indicator_right_deepgray" />
32
+          </view>
33
+        </view>
34
+      </view>
35
+      <view class="panel2_0 panel2 FlexRow">
36
+        <view class="panel21 FlexRow">
37
+          收益记录
38
+        </view>
39
+        <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
40
+      </view>
41
+      <view class="panel2_1 panel2 FlexRow">
42
+        <view class="panel21 FlexRow">
43
+          其它情况
44
+        </view>
45
+        <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
46
+      </view>
47
+    </view>
48
+
49
+    <view class="panel1_0 panel1 FlexColumn">
50
+      <view class="text5">潜在收益</view>
51
+      <view class="panel11 FlexRow">
52
+        <view class="panel111 FlexColumn">
53
+          <view class="text3">17</view>
54
+          <view class="text4 FlexRow">
55
+            <view class="universalpic_indicator_right_deepgray"></view>
56
+            <view>新报名</view>
57
+            <image src='../images/universalpic_indicator_right_deepgray.png' class="universalpic_indicator_right_deepgray" />
58
+          </view>
59
+        </view>
60
+        <view class="line"></view>
61
+        <view class="panel111 FlexColumn">
62
+          <view class="text3">0</view>
63
+          <view class="text4 FlexRow">
64
+            <view class="universalpic_indicator_right_deepgray"></view>
65
+            <view>新访客</view>
66
+            <image src='../images/universalpic_indicator_right_deepgray.png' class="universalpic_indicator_right_deepgray" />
67
+          </view>
68
+        </view>
69
+      </view>
70
+    </view>
71
+
72
+    <view class="panel1_0 panel1 FlexColumn">
73
+      <view class="panel11 FlexRow">
74
+        <view class="panel111 FlexColumn">
75
+          <image src='../images/promotion_index_rules.png' class="promotion_index_rules" />
76
+          <view class="text4 FlexRow">
77
+            <view>推广计划规则</view>
78
+          </view>
79
+        </view>
80
+        <view class="line2 line"></view>
81
+        <view class="panel111 FlexColumn">
82
+          <image src='../images/promotion_index_code.png' class="promotion_index_rules" />
83
+          <view class="text4 FlexRow">
84
+            <view>我的推广物料</view>
85
+          </view>
86
+        </view>
87
+        <view class="line2 line"></view>
88
+        <view class="panel111 FlexColumn">
89
+          <image src='../images/promotion_index_message.png' class="promotion_index_rules" />
90
+          <view class="text4 FlexRow">
91
+            <view>消息中心</view>
92
+          </view>
93
+          <view class="textMessage">新消息</view>
94
+        </view>
95
+      </view>
96
+      <view class="panel2_1 panel2 FlexRow">
97
+        <view class="panel21 FlexRow">
98
+          联系客服
99
+        </view>
100
+        <image src='../../pages/images/universalpic_indicator_right_gray.png' class="Arrow" />
101
+      </view>
102
+    </view>
103
+
104
+    <view class="textBottom">返回秒过活动首页</view>
105
+</view>

+ 135 - 0
pages_agent/promotion/user_index.wxss

@@ -0,0 +1,135 @@
1
+.container{
2
+  width: 100%;
3
+  justify-content: flex-start;
4
+  color:#fff;
5
+  background-color: #FC7406;
6
+}
7
+
8
+.avatar{
9
+  width:200rpx;
10
+  height:200rpx;
11
+  margin-top: 60rpx;
12
+  border-radius: 20rpx;
13
+}
14
+
15
+.text1{
16
+  font-size:48rpx;
17
+  margin-top: 30rpx;
18
+}
19
+
20
+.text2{
21
+  font-size:128rpx;
22
+  font-family: 'Roboto-Black';
23
+}
24
+
25
+
26
+.panel1{
27
+  width:710rpx;
28
+  background-color: #F2F2F2;
29
+  border-radius: 20rpx;
30
+  color:#4D4D4D;
31
+  margin: 60rpx 0 0 0;
32
+  justify-content: flex-start;
33
+  box-shadow: 0 20rpx 0 0 rgba(0,0,0,0.1);
34
+}
35
+
36
+.panel11{
37
+  align-items: flex-start;
38
+}
39
+
40
+.panel111{
41
+  width:238rpx;
42
+  height:188rpx;
43
+  justify-content: flex-start;
44
+  position: relative;
45
+}
46
+
47
+.text3{
48
+  font-size:64rpx;
49
+  font-family: 'Roboto-Black';
50
+  color:#1E1E1E;
51
+  margin-top: 40rpx;
52
+}
53
+.text4{
54
+  font-size:24rpx;
55
+  margin-top: 10rpx;
56
+}
57
+
58
+.line{
59
+  width:4rpx;
60
+  height:40rpx;
61
+  background-color: #4D4D4D;
62
+  margin-top: 60rpx;
63
+}
64
+.line2{
65
+  margin-top: 54rpx;
66
+}
67
+
68
+.universalpic_indicator_right_deepgray{
69
+  width:16rpx;
70
+  height:26rpx;
71
+  margin: 0 10rpx;
72
+}
73
+
74
+.panel2{
75
+  width:100%;
76
+  background-color: #F2F2F2;
77
+  justify-content: space-between;
78
+  height: 100rpx;
79
+}
80
+.panel2_0{
81
+  background-color: #2e2e2e; 
82
+  color:#fff;
83
+}
84
+.panel2_1{
85
+  border-top:1rpx solid #e3e3e3;
86
+  border-bottom-left-radius: 20rpx;
87
+  border-bottom-right-radius: 20rpx;
88
+  background-color: #fff;
89
+}
90
+.panel21{
91
+  margin-left: 30rpx;
92
+  font-size: 28rpx;
93
+  font-weight: 400;
94
+}
95
+.Arrow{
96
+  width:16rpx;
97
+  height:26rpx;
98
+  margin-right: 30rpx;
99
+}
100
+
101
+.panel1_0{
102
+  margin-top: 50rpx;
103
+}
104
+
105
+.text5{
106
+  font-size:36rpx;
107
+  margin-top: 40rpx;
108
+}
109
+
110
+.promotion_index_rules{
111
+  width:46rpx;
112
+  height:46rpx;
113
+  margin: 52rpx 0 12rpx 0;
114
+}
115
+
116
+.textMessage{
117
+  position: absolute;
118
+  top:20rpx;
119
+  right:20rpx;
120
+  width:80rpx;
121
+  height:36rpx;
122
+  line-height: 36rpx;
123
+  border-radius: 18rpx;
124
+  background-color: #FE6659;
125
+  text-align: center;
126
+  font-size: 20rpx;
127
+  font-weight: 600;
128
+  color:#fff;
129
+}
130
+
131
+.textBottom{
132
+  font-size:28rpx;
133
+  color:#fff;
134
+  margin: 100rpx 0 60rpx 0;
135
+}

+ 2 - 43
project.private.config.json

@@ -26,41 +26,6 @@
26
           "query": "type=activity&ActivityID=2&EndTime=2019年10月07日&EarlyBirdTimeStart=2019年09月23日&EarlyBirdTimeEnd=2019年10月05日",
26
           "query": "type=activity&ActivityID=2&EndTime=2019年10月07日&EarlyBirdTimeStart=2019年09月23日&EarlyBirdTimeEnd=2019年10月05日",
27
           "scene": 1007
27
           "scene": 1007
28
         },
28
         },
29
-        {
30
-          "id": 3,
31
-          "name": "webview",
32
-          "pathName": "pages/other/webview",
33
-          "query": "UserID=1",
34
-          "scene": 1001
35
-        },
36
-        {
37
-          "id": 4,
38
-          "name": "pages/other/activity",
39
-          "pathName": "pages/other/activity",
40
-          "query": "EndTime=2019-09-01",
41
-          "scene": 1001
42
-        },
43
-        {
44
-          "id": 4,
45
-          "name": "pages/other/paycustom",
46
-          "pathName": "pages/other/paycustom",
47
-          "query": "",
48
-          "scene": null
49
-        },
50
-        {
51
-          "id": 6,
52
-          "name": "用户手册",
53
-          "pathName": "pages/index/index",
54
-          "query": "type=userbook",
55
-          "scene": null
56
-        },
57
-        {
58
-          "id": 6,
59
-          "name": "pages/index/index",
60
-          "pathName": "pages/index/index",
61
-          "query": "type=paycontinue&EndDate=2020-09-15",
62
-          "scene": null
63
-        },
64
         {
29
         {
65
           "id": 7,
30
           "id": 7,
66
           "name": "pages/test/index",
31
           "name": "pages/test/index",
@@ -69,14 +34,8 @@
69
           "scene": null
34
           "scene": null
70
         },
35
         },
71
         {
36
         {
72
-          "name": "pages/index/index",
73
-          "pathName": "pages/index/index",
74
-          "query": "type=video&LessonID=3&LessonPage=5&UserID=1",
75
-          "scene": 1047
76
-        },
77
-        {
78
-          "name": "pages/other/newuser",
79
-          "pathName": "pages/other/newuser",
37
+          "name": "pages_agent/promotion/earnings_list",
38
+          "pathName": "pages_agent/promotion/earnings_list",
80
           "query": "",
39
           "query": "",
81
           "scene": null
40
           "scene": null
82
         }
41
         }

+ 48 - 42
utils/constant.js

@@ -15,6 +15,12 @@ module.exports = {
15
     }, {
15
     }, {
16
       Word: "刚才",
16
       Word: "刚才",
17
       Sound: "(gāng)(cái)",
17
       Sound: "(gāng)(cái)",
18
+    },{
19
+      Word: "吐蕃",
20
+      Sound: "(tǔ)(bō)",
21
+    },{
22
+      Word: "游说",
23
+      Sound: "(yóu)(shuì)",
18
     },
24
     },
19
   ],
25
   ],
20
   arrMenuText: [{
26
   arrMenuText: [{
@@ -585,7 +591,7 @@ module.exports = {
585
       Name: "语文识字",
591
       Name: "语文识字",
586
       Name2: "上学期",
592
       Name2: "上学期",
587
       Finish: 0,
593
       Finish: 0,
588
-      Total: 41,
594
+      Total: 82,
589
       Image: "../images/examine_subject_a001.png"
595
       Image: "../images/examine_subject_a001.png"
590
     }, {
596
     }, {
591
       ID: 13,
597
       ID: 13,
@@ -593,7 +599,7 @@ module.exports = {
593
       Name: "语文写字",
599
       Name: "语文写字",
594
       Name2: "上学期",
600
       Name2: "上学期",
595
       Finish: 0,
601
       Finish: 0,
596
-      Total: 26,
602
+      Total: 52,
597
       Image: "../images/examine_subject_a001.png"
603
       Image: "../images/examine_subject_a001.png"
598
     }, {
604
     }, {
599
       ID: 25,
605
       ID: 25,
@@ -617,7 +623,7 @@ module.exports = {
617
       Name: "语文写字",
623
       Name: "语文写字",
618
       Name2: "下学期",
624
       Name2: "下学期",
619
       Finish: 0,
625
       Finish: 0,
620
-      Total: 28,
626
+      Total: 56,
621
       Image: "../images/examine_subject_a002.png"
627
       Image: "../images/examine_subject_a002.png"
622
     }, {
628
     }, {
623
       ID: 26,
629
       ID: 26,
@@ -640,7 +646,7 @@ module.exports = {
640
       Name: "语文识字",
646
       Name: "语文识字",
641
       Name2: "上学期",
647
       Name2: "上学期",
642
       Finish: 0,
648
       Finish: 0,
643
-      Total: 36,
649
+      Total: 72,
644
       Image: "../images/examine_subject_a003.png"
650
       Image: "../images/examine_subject_a003.png"
645
     }, {
651
     }, {
646
       ID: 15,
652
       ID: 15,
@@ -648,7 +654,7 @@ module.exports = {
648
       Name: "语文写字",
654
       Name: "语文写字",
649
       Name2: "上学期",
655
       Name2: "上学期",
650
       Finish: 0,
656
       Finish: 0,
651
-      Total: 28,
657
+      Total: 56,
652
       Image: "../images/examine_subject_a003.png"
658
       Image: "../images/examine_subject_a003.png"
653
     },{
659
     },{
654
       ID: 45,
660
       ID: 45,
@@ -656,7 +662,7 @@ module.exports = {
656
       Name: "语文词语",
662
       Name: "语文词语",
657
       Name2: "上学期",
663
       Name2: "上学期",
658
       Finish: 0,
664
       Finish: 0,
659
-      Total: 22,
665
+      Total: 52,
660
       Image: "../images/examine_subject_a003.png"
666
       Image: "../images/examine_subject_a003.png"
661
     },{
667
     },{
662
       ID: 27,
668
       ID: 27,
@@ -680,7 +686,7 @@ module.exports = {
680
       Name: "语文写字",
686
       Name: "语文写字",
681
       Name2: "下学期",
687
       Name2: "下学期",
682
       Finish: 0,
688
       Finish: 0,
683
-      Total: 29,
689
+      Total: 58,
684
       Image: "../images/examine_subject_a004.png"
690
       Image: "../images/examine_subject_a004.png"
685
     }, {
691
     }, {
686
       ID: 46,
692
       ID: 46,
@@ -688,7 +694,7 @@ module.exports = {
688
       Name: "语文词语",
694
       Name: "语文词语",
689
       Name2: "下学期",
695
       Name2: "下学期",
690
       Finish: 0,
696
       Finish: 0,
691
-      Total: 23,
697
+      Total: 46,
692
       Image: "../images/examine_subject_a004.png"
698
       Image: "../images/examine_subject_a004.png"
693
     }, {
699
     }, {
694
       ID: 28,
700
       ID: 28,
@@ -711,7 +717,7 @@ module.exports = {
711
       Name: "语文识字",
717
       Name: "语文识字",
712
       Name2: "上学期",
718
       Name2: "上学期",
713
       Finish: 0,
719
       Finish: 0,
714
-      Total: 31,
720
+      Total: 62,
715
       Image: "../images/examine_subject_a005.png"
721
       Image: "../images/examine_subject_a005.png"
716
     }, {
722
     }, {
717
       ID: 17,
723
       ID: 17,
@@ -719,7 +725,7 @@ module.exports = {
719
       Name: "语文写字",
725
       Name: "语文写字",
720
       Name2: "上学期",
726
       Name2: "上学期",
721
       Finish: 0,
727
       Finish: 0,
722
-      Total: 28,
728
+      Total: 40,
723
       Image: "../images/examine_subject_a005.png"
729
       Image: "../images/examine_subject_a005.png"
724
     }, {
730
     }, {
725
       ID: 47,
731
       ID: 47,
@@ -727,7 +733,7 @@ module.exports = {
727
       Name: "语文词语",
733
       Name: "语文词语",
728
       Name2: "上学期",
734
       Name2: "上学期",
729
       Finish: 0,
735
       Finish: 0,
730
-      Total: 17,
736
+      Total: 34,
731
       Image: "../images/examine_subject_a005.png"
737
       Image: "../images/examine_subject_a005.png"
732
     }, {
738
     }, {
733
       ID: 29,
739
       ID: 29,
@@ -751,7 +757,7 @@ module.exports = {
751
       Name: "语文写字",
757
       Name: "语文写字",
752
       Name2: "下学期",
758
       Name2: "下学期",
753
       Finish: 0,
759
       Finish: 0,
754
-      Total: 21,
760
+      Total: 42,
755
       Image: "../images/examine_subject_a006.png"
761
       Image: "../images/examine_subject_a006.png"
756
     }, {
762
     }, {
757
       ID: 48,
763
       ID: 48,
@@ -759,7 +765,7 @@ module.exports = {
759
       Name: "语文词语",
765
       Name: "语文词语",
760
       Name2: "下学期",
766
       Name2: "下学期",
761
       Finish: 0,
767
       Finish: 0,
762
-      Total: 18,
768
+      Total: 36,
763
       Image: "../images/examine_subject_a006.png"
769
       Image: "../images/examine_subject_a006.png"
764
     }, {
770
     }, {
765
       ID: 30,
771
       ID: 30,
@@ -782,7 +788,7 @@ module.exports = {
782
       Name: "语文识字",
788
       Name: "语文识字",
783
       Name2: "上学期",
789
       Name2: "上学期",
784
       Finish: 0,
790
       Finish: 0,
785
-      Total: 31,
791
+      Total: 62,
786
       Image: "../images/examine_subject_a007.png"
792
       Image: "../images/examine_subject_a007.png"
787
     },  {
793
     },  {
788
       ID: 19,
794
       ID: 19,
@@ -790,7 +796,7 @@ module.exports = {
790
       Name: "语文写字",
796
       Name: "语文写字",
791
       Name2: "上学期",
797
       Name2: "上学期",
792
       Finish: 0,
798
       Finish: 0,
793
-      Total: 20,
799
+      Total: 40,
794
       Image: "../images/examine_subject_a007.png"
800
       Image: "../images/examine_subject_a007.png"
795
     },  {
801
     },  {
796
       ID: 49,
802
       ID: 49,
@@ -798,7 +804,7 @@ module.exports = {
798
       Name: "语文词语",
804
       Name: "语文词语",
799
       Name2: "上学期",
805
       Name2: "上学期",
800
       Finish: 0,
806
       Finish: 0,
801
-      Total: 16,
807
+      Total: 32,
802
       Image: "../images/examine_subject_a007.png"
808
       Image: "../images/examine_subject_a007.png"
803
     },  {
809
     },  {
804
       ID: 31,
810
       ID: 31,
@@ -822,7 +828,7 @@ module.exports = {
822
       Name: "语文写字",
828
       Name: "语文写字",
823
       Name2: "下学期",
829
       Name2: "下学期",
824
       Finish: 0,
830
       Finish: 0,
825
-      Total: 20,
831
+      Total: 40,
826
       Image: "../images/examine_subject_a008.png"
832
       Image: "../images/examine_subject_a008.png"
827
     }, {
833
     }, {
828
       ID: 50,
834
       ID: 50,
@@ -830,7 +836,7 @@ module.exports = {
830
       Name: "语文词语",
836
       Name: "语文词语",
831
       Name2: "下学期",
837
       Name2: "下学期",
832
       Finish: 0,
838
       Finish: 0,
833
-      Total: 16,
839
+      Total: 32,
834
       Image: "../images/examine_subject_a008.png"
840
       Image: "../images/examine_subject_a008.png"
835
     }, {
841
     }, {
836
       ID: 32,
842
       ID: 32,
@@ -853,7 +859,7 @@ module.exports = {
853
       Name: "语文识字",
859
       Name: "语文识字",
854
       Name2: "上学期",
860
       Name2: "上学期",
855
       Finish: 0,
861
       Finish: 0,
856
-      Total: 27,
862
+      Total: 54,
857
       Image: "../images/examine_subject_a009.png"
863
       Image: "../images/examine_subject_a009.png"
858
     }, {
864
     }, {
859
       ID: 21,
865
       ID: 21,
@@ -861,7 +867,7 @@ module.exports = {
861
       Name: "语文写字",
867
       Name: "语文写字",
862
       Name2: "上学期",
868
       Name2: "上学期",
863
       Finish: 0,
869
       Finish: 0,
864
-      Total: 21,
870
+      Total: 42,
865
       Image: "../images/examine_subject_a009.png"
871
       Image: "../images/examine_subject_a009.png"
866
     }, {
872
     }, {
867
       ID: 51,
873
       ID: 51,
@@ -869,7 +875,7 @@ module.exports = {
869
       Name: "语文词语",
875
       Name: "语文词语",
870
       Name2: "上学期",
876
       Name2: "上学期",
871
       Finish: 0,
877
       Finish: 0,
872
-      Total: 16,
878
+      Total: 32,
873
       Image: "../images/examine_subject_a009.png"
879
       Image: "../images/examine_subject_a009.png"
874
     }, {
880
     }, {
875
       ID: 33,
881
       ID: 33,
@@ -893,7 +899,7 @@ module.exports = {
893
       Name: "语文写字",
899
       Name: "语文写字",
894
       Name2: "下学期",
900
       Name2: "下学期",
895
       Finish: 0,
901
       Finish: 0,
896
-      Total: 16,
902
+      Total: 32,
897
       Image: "../images/examine_subject_a010.png"
903
       Image: "../images/examine_subject_a010.png"
898
     }, {
904
     }, {
899
       ID: 52,
905
       ID: 52,
@@ -901,7 +907,7 @@ module.exports = {
901
       Name: "语文词语",
907
       Name: "语文词语",
902
       Name2: "下学期",
908
       Name2: "下学期",
903
       Finish: 0,
909
       Finish: 0,
904
-      Total: 12,
910
+      Total: 24,
905
       Image: "../images/examine_subject_a010.png"
911
       Image: "../images/examine_subject_a010.png"
906
     }, {
912
     }, {
907
       ID: 34,
913
       ID: 34,
@@ -926,7 +932,7 @@ module.exports = {
926
         Name: "语文写字",
932
         Name: "语文写字",
927
         Name2: "上学期",
933
         Name2: "上学期",
928
         Finish: 0,
934
         Finish: 0,
929
-        Total: 18,
935
+        Total: 36,
930
         Image: "../images/examine_subject_a011.png"
936
         Image: "../images/examine_subject_a011.png"
931
       }, {
937
       }, {
932
         ID: 53,
938
         ID: 53,
@@ -934,7 +940,7 @@ module.exports = {
934
         Name: "语文词语",
940
         Name: "语文词语",
935
         Name2: "上学期",
941
         Name2: "上学期",
936
         Finish: 0,
942
         Finish: 0,
937
-        Total: 14,
943
+        Total: 28,
938
         Image: "../images/examine_subject_a011.png"
944
         Image: "../images/examine_subject_a011.png"
939
       }, {
945
       }, {
940
         ID: 35,
946
         ID: 35,
@@ -950,7 +956,7 @@ module.exports = {
950
         Name: "语文写字",
956
         Name: "语文写字",
951
         Name2: "下学期",
957
         Name2: "下学期",
952
         Finish: 0,
958
         Finish: 0,
953
-        Total: 12,
959
+        Total: 24,
954
         Image: "../images/examine_subject_a012.png"
960
         Image: "../images/examine_subject_a012.png"
955
       }, {
961
       }, {
956
         ID: 54,
962
         ID: 54,
@@ -958,7 +964,7 @@ module.exports = {
958
         Name: "语文词语",
964
         Name: "语文词语",
959
         Name2: "下学期",
965
         Name2: "下学期",
960
         Finish: 0,
966
         Finish: 0,
961
-        Total: 7,
967
+        Total: 14,
962
         Image: "../images/examine_subject_a012.png"
968
         Image: "../images/examine_subject_a012.png"
963
       }, {
969
       }, {
964
         ID: 36,
970
         ID: 36,
@@ -1084,7 +1090,7 @@ module.exports = {
1084
         Name: "常用单词1",
1090
         Name: "常用单词1",
1085
         Name2: "词汇1~220",
1091
         Name2: "词汇1~220",
1086
         Finish: 0,
1092
         Finish: 0,
1087
-        Total: 22,
1093
+        Total: 44,
1088
         Image: "../images/examine_subject_b001.png"
1094
         Image: "../images/examine_subject_b001.png"
1089
       },
1095
       },
1090
       {
1096
       {
@@ -1093,7 +1099,7 @@ module.exports = {
1093
         Name: "常用单词2",
1099
         Name: "常用单词2",
1094
         Name2: "词汇221~500",
1100
         Name2: "词汇221~500",
1095
         Finish: 0,
1101
         Finish: 0,
1096
-        Total: 28,
1102
+        Total: 56,
1097
         Image: "../images/examine_subject_b002.png"
1103
         Image: "../images/examine_subject_b002.png"
1098
       },
1104
       },
1099
       {
1105
       {
@@ -1102,7 +1108,7 @@ module.exports = {
1102
         Name: "常用单词3",
1108
         Name: "常用单词3",
1103
         Name2: "词汇500~1000",
1109
         Name2: "词汇500~1000",
1104
         Finish: 0,
1110
         Finish: 0,
1105
-        Total: 50,
1111
+        Total: 100,
1106
         Image: "../images/examine_subject_b003.png"
1112
         Image: "../images/examine_subject_b003.png"
1107
       },
1113
       },
1108
       {
1114
       {
@@ -1111,7 +1117,7 @@ module.exports = {
1111
         Name: "常用单词4",
1117
         Name: "常用单词4",
1112
         Name2: "词汇1001~1500",
1118
         Name2: "词汇1001~1500",
1113
         Finish: 0,
1119
         Finish: 0,
1114
-        Total: 50,
1120
+        Total: 100,
1115
         Image: "../images/examine_subject_b004.png"
1121
         Image: "../images/examine_subject_b004.png"
1116
       },
1122
       },
1117
       {
1123
       {
@@ -1120,7 +1126,7 @@ module.exports = {
1120
         Name: "常用单词5",
1126
         Name: "常用单词5",
1121
         Name2: "词汇1501~2000",
1127
         Name2: "词汇1501~2000",
1122
         Finish: 0,
1128
         Finish: 0,
1123
-        Total: 50,
1129
+        Total: 100,
1124
         Image: "../images/examine_subject_b005.png"
1130
         Image: "../images/examine_subject_b005.png"
1125
       },
1131
       },
1126
     ]
1132
     ]
@@ -1136,7 +1142,7 @@ module.exports = {
1136
         Name: "第一册",
1142
         Name: "第一册",
1137
         Name2: "词汇906",
1143
         Name2: "词汇906",
1138
         Finish: 0,
1144
         Finish: 0,
1139
-        Total: 115,
1145
+        Total: 230,
1140
         Image: "../images/examine_subject_c001.png"
1146
         Image: "../images/examine_subject_c001.png"
1141
       },
1147
       },
1142
       {
1148
       {
@@ -1145,7 +1151,7 @@ module.exports = {
1145
         Name: "第二册",
1151
         Name: "第二册",
1146
         Name2: "词汇861",
1152
         Name2: "词汇861",
1147
         Finish: 0,
1153
         Finish: 0,
1148
-        Total: 96,
1154
+        Total: 192,
1149
         Image: "../images/examine_subject_c002.png"
1155
         Image: "../images/examine_subject_c002.png"
1150
       },
1156
       },
1151
       {
1157
       {
@@ -1154,7 +1160,7 @@ module.exports = {
1154
         Name: "第三册",
1160
         Name: "第三册",
1155
         Name2: "词汇1054",
1161
         Name2: "词汇1054",
1156
         Finish: 0,
1162
         Finish: 0,
1157
-        Total: 60,
1163
+        Total: 120,
1158
         Image: "../images/examine_subject_c003.png"
1164
         Image: "../images/examine_subject_c003.png"
1159
       },
1165
       },
1160
       {
1166
       {
@@ -1163,7 +1169,7 @@ module.exports = {
1163
         Name: "第四册",
1169
         Name: "第四册",
1164
         Name2: "词汇777",
1170
         Name2: "词汇777",
1165
         Finish: 0,
1171
         Finish: 0,
1166
-        Total: 46,
1172
+        Total: 92,
1167
         Image: "../images/examine_subject_c004.png"
1173
         Image: "../images/examine_subject_c004.png"
1168
       }
1174
       }
1169
     ]
1175
     ]
@@ -1174,20 +1180,20 @@ module.exports = {
1174
     Select: "",
1180
     Select: "",
1175
     List: [
1181
     List: [
1176
       {
1182
       {
1177
-        ID: 131,
1183
+        ID: 133,
1178
         Type: "Word",
1184
         Type: "Word",
1179
         Name: "KET分类单词",
1185
         Name: "KET分类单词",
1180
-        Name2: "词汇528",
1186
+        Name2: "词汇1144",
1181
         Finish: 0,
1187
         Finish: 0,
1182
-        Total: 17,
1188
+        Total: 48,
1183
         Image: "../images/examine_subject_c001.png"
1189
         Image: "../images/examine_subject_c001.png"
1184
       },{
1190
       },{
1185
-        ID: 132,
1191
+        ID: 134,
1186
         Type: "Word",
1192
         Type: "Word",
1187
         Name: "PET分类单词",
1193
         Name: "PET分类单词",
1188
-        Name2: "词汇1374",
1194
+        Name2: "词汇1907",
1189
         Finish: 0,
1195
         Finish: 0,
1190
-        Total: 54,
1196
+        Total: 46,
1191
         Image: "../images/examine_subject_c002.png"
1197
         Image: "../images/examine_subject_c002.png"
1192
       }
1198
       }
1193
     ]
1199
     ]

+ 92 - 0
utils/main.js

@@ -1562,6 +1562,97 @@ function GetSoundError(str) {
1562
   return result;
1562
   return result;
1563
 }
1563
 }
1564
 
1564
 
1565
+function GetTestReportList(userID,callback){
1566
+  var GradeArr = constant.testGradeArr;
1567
+  for (var i = 0; i < GradeArr.length; i++) {
1568
+    for (var j = 0; j < GradeArr[i].List.length; j++) {
1569
+      GradeArr[i].List[j].Finish = 0;
1570
+    }
1571
+  }
1572
+  getData('GetTestReportList?UserID=' + userID, function (data) {
1573
+    if (data) {
1574
+      var dataTemp = [];
1575
+      for (var i = 0; i < data.length; i++) {
1576
+        for (var j = 0; j < dataTemp.length; j++) {
1577
+          if (dataTemp[j].Name[0] == data[i].Name[0] &&
1578
+            dataTemp[j].Name[1] == data[i].Name[1] &&
1579
+            dataTemp[j].TestType == data[i].TestType &&
1580
+            data[i].IsFinished == 1
1581
+          ) {
1582
+            dataTemp.splice(j, 1);
1583
+            break;
1584
+          }
1585
+        }
1586
+        dataTemp.push(data[i]);
1587
+
1588
+        if (data[i].Name[0].indexOf("英语")>=0 || data[i].Name[0].indexOf("语文词语")>=0 || data[i].Name[0].indexOf("识字 上学期")>=0 || data[i].Name[0].indexOf("拼音")>=0 || data[i].Name[1].indexOf("古诗文")>=0){
1589
+          if (data[i].TestRightStr){
1590
+            data[i].TestRightStr=data[i].TestRightStr.split(",");
1591
+          }
1592
+          if (data[i].TestWrongStr){
1593
+            data[i].TestWrongStr=data[i].TestWrongStr.split(",");
1594
+          }          
1595
+          if (data[i].TestSkipStr){
1596
+            data[i].TestSkipStr=data[i].TestSkipStr.split(",");
1597
+          }
1598
+          if (data[i].TestExistStr){
1599
+            data[i].TestExistStr=data[i].TestExistStr.split(",");
1600
+          }
1601
+        }
1602
+        
1603
+        if (!data[i].TestRightStr)
1604
+          data[i].TestRightStr="";
1605
+        if (!data[i].TestWrongStr)
1606
+          data[i].TestWrongStr="";
1607
+        if (!data[i].TestSkipStr)
1608
+          data[i].TestSkipStr="";
1609
+        if (!data[i].TestExistStr)
1610
+          data[i].TestExistStr="";
1611
+              
1612
+      }
1613
+
1614
+      for (var i = 0; i < dataTemp.length; i++) {
1615
+        var name = dataTemp[i].Name[0].split(" ");
1616
+        for (var j = 0; j < GradeArr.length; j++) {
1617
+          var item = GradeArr[j];
1618
+          if (name[0] == item.Name) {
1619
+            for (var k = 0; k < item.List.length; k++) {
1620
+              
1621
+              //音标计算进度  
1622
+              if (item.List[k].ID==101 && dataTemp[i].BookID==101){
1623
+                for(var n=1;n<=4;n++){
1624
+                  if (Number(dataTemp[i].Name[2])==n && dataTemp[i].IsFinished==1)
1625
+                    item.List[k].Finish++;
1626
+                }
1627
+              }
1628
+              //古诗词计算进度
1629
+              else if (item.List[k].ID==dataTemp[i].BookID && dataTemp[i].TestType=="recite" && dataTemp[i].IsFinished == 1)
1630
+                item.List[k].Finish=1;
1631
+              else{
1632
+                if (name[1] == item.List[k].Name && name[2] == item.List[k].Name2) {
1633
+                  if (dataTemp[i].IsFinished == 1)
1634
+                    item.List[k].Finish++;
1635
+                }
1636
+              }
1637
+            }
1638
+          }
1639
+        }
1640
+      }
1641
+
1642
+      for (var j = 0; j < GradeArr.length; j++) {
1643
+        var item = GradeArr[j];
1644
+        for (var k = 0; k < item.List.length; k++) {
1645
+          item.List[k].Finished = Math.round(100 * item.List[k].Finish / item.List[k].Total);
1646
+          item.List[k].NameStr=item.List[k].Name.replace("语文","");
1647
+        }
1648
+      }
1649
+      wx.setStorageSync("UserTestReport", data);
1650
+      
1651
+      callback(data,GradeArr);
1652
+    }
1653
+  });
1654
+}
1655
+
1565
 module.exports = {
1656
 module.exports = {
1566
   getData: getData,
1657
   getData: getData,
1567
   postData: postData,
1658
   postData: postData,
@@ -1601,4 +1692,5 @@ module.exports = {
1601
   searchInfomation:searchInfomation,
1692
   searchInfomation:searchInfomation,
1602
   downloadBishunKaitiImage:downloadBishunKaitiImage,
1693
   downloadBishunKaitiImage:downloadBishunKaitiImage,
1603
   GetSoundError:GetSoundError,
1694
   GetSoundError:GetSoundError,
1695
+  GetTestReportList:GetTestReportList,
1604
 }
1696
 }