chengjie 5 年之前
父节点
当前提交
673e81eab7

+ 6 - 1
app.js

@@ -1,6 +1,6 @@
1
 App({
1
 App({
2
   globalData: {
2
   globalData: {
3
-    Version: "1.6.18",
3
+    Version: "1.6.23",
4
     IsProduction: true,
4
     IsProduction: true,
5
     ShareTitle: "高效学习从秒过开始",
5
     ShareTitle: "高效学习从秒过开始",
6
     SharePath: "pages/index/index",
6
     SharePath: "pages/index/index",
@@ -18,6 +18,7 @@ App({
18
     IsAndroid: false,
18
     IsAndroid: false,
19
     IsIPad: false,
19
     IsIPad: false,
20
     IsIPhoneX: false,
20
     IsIPhoneX: false,
21
+    IsOppo: false,
21
     systemInfo: null,
22
     systemInfo: null,
22
     userInfo: null,
23
     userInfo: null,
23
     SourceID: 0,//来源ID
24
     SourceID: 0,//来源ID
@@ -78,6 +79,10 @@ App({
78
     if (this.globalData.systemInfo.model.indexOf("iPad")>=0){
79
     if (this.globalData.systemInfo.model.indexOf("iPad")>=0){
79
       this.globalData.IsIPad=true;
80
       this.globalData.IsIPad=true;
80
     }
81
     }
82
+
83
+    if (this.globalData.systemInfo.brand.indexOf("OPPO")>=0){
84
+      this.globalData.IsOppo=true;
85
+    }
81
   }
86
   }
82
   
87
   
83
 })
88
 })

+ 6 - 0
pages/index/index.js

@@ -147,6 +147,12 @@ Page({
147
           gotoUrl: "../main/searchCardList?PrintID="+options.PrintID,
147
           gotoUrl: "../main/searchCardList?PrintID="+options.PrintID,
148
         });
148
         });
149
       }
149
       }
150
+      else if (options.type == "paycontinue") { 
151
+        this.setData({ 
152
+          gotoType: "other", 
153
+          gotoUrl: "../other/pay?PayType=7&EndDate="+options.EndDate, 
154
+        }); 
155
+      } 
150
     }
156
     }
151
     this.setData({
157
     this.setData({
152
       IsRefresh: false,
158
       IsRefresh: false,

+ 6 - 0
pages/main/detail.js

@@ -91,6 +91,12 @@ Page({
91
 
91
 
92
     if (app.globalData.BaiduToken === "")
92
     if (app.globalData.BaiduToken === "")
93
       main.getBaiduToken();
93
       main.getBaiduToken();
94
+
95
+    if (app.globalData.IsOppo){
96
+      that.setData({
97
+        TextSpace:"nbsp",
98
+      });
99
+    }
94
   },
100
   },
95
   onShow: function () {
101
   onShow: function () {
96
     var that = this;
102
     var that = this;

+ 1 - 1
pages/main/detail.wxml

@@ -59,7 +59,7 @@
59
 
59
 
60
     <view class="panelField10" style='background-color:{{Color.BackColor}};'></view>
60
     <view class="panelField10" style='background-color:{{Color.BackColor}};'></view>
61
 
61
 
62
-    <template is="CardShow" data="{{Color:Color,Field:TaskInfo.ContentNew.Field,Tags:TaskInfo.ContentNew.Tags,IsShowAnswer:IsShowAnswer,TagWidth:TaskInfo.TagWidth,FontSize:TaskInfo.FontSize}}" />
62
+    <template is="CardShow" data="{{Color:Color,Field:TaskInfo.ContentNew.Field,Tags:TaskInfo.ContentNew.Tags,IsShowAnswer:IsShowAnswer,TagWidth:TaskInfo.TagWidth,FontSize:TaskInfo.FontSize,TextSpace}}" />
63
 
63
 
64
     <view class='footer0'></view>
64
     <view class='footer0'></view>
65
 
65
 

+ 8 - 0
pages/main/preview.js

@@ -18,6 +18,7 @@ Page({
18
     IsExistCard: false,
18
     IsExistCard: false,
19
     Containnerheight:1440,
19
     Containnerheight:1440,
20
     IsShowMenu:false,
20
     IsShowMenu:false,
21
+    TextSpace:"ensp",
21
   },
22
   },
22
   onReady: function () {
23
   onReady: function () {
23
     var that=this;
24
     var that=this;
@@ -105,6 +106,13 @@ Page({
105
 
106
 
106
     if (app.globalData.BaiduToken==="")
107
     if (app.globalData.BaiduToken==="")
107
       main.getBaiduToken();
108
       main.getBaiduToken();
109
+    
110
+    if (app.globalData.IsOppo){
111
+      that.setData({
112
+        TextSpace:"nbsp",
113
+      });
114
+    }
115
+
108
   },
116
   },
109
   onShow: function () {
117
   onShow: function () {
110
     var that = this;
118
     var that = this;

+ 1 - 1
pages/main/preview.wxml

@@ -53,7 +53,7 @@
53
     <view class="panelTop1" style='background-color:{{Color.BackColor}};'></view>
53
     <view class="panelTop1" style='background-color:{{Color.BackColor}};'></view>
54
   </block>
54
   </block>
55
 
55
 
56
-  <template is="CardShow" data="{{Color:Color,Field:Field,Tags:Tags,IsShowAnswer:IsShowAnswer,TagWidth:TagWidth,FontSize:FontSize,ShowType:ShowType}}" />
56
+  <template is="CardShow" data="{{Color:Color,Field:Field,Tags:Tags,IsShowAnswer:IsShowAnswer,TagWidth:TagWidth,FontSize:FontSize,ShowType:ShowType,TextSpace:TextSpace}}" />
57
 
57
 
58
   <view style='height:150rpx'></view>
58
   <view style='height:150rpx'></view>
59
 
59
 

+ 2 - 1
pages/main/searchCard.js

@@ -7,6 +7,7 @@ Page({
7
   data: {
7
   data: {
8
     IsIPhoneX: app.globalData.IsIPhoneX,
8
     IsIPhoneX: app.globalData.IsIPhoneX,
9
     IsYearReport:false,
9
     IsYearReport:false,
10
+    IsIPad:app.globalData.IsIPad,
10
   },
11
   },
11
   onLoad: function () {
12
   onLoad: function () {
12
     var that = this;
13
     var that = this;
@@ -24,7 +25,7 @@ Page({
24
         IsYearReport: true,
25
         IsYearReport: true,
25
       });
26
       });
26
     }
27
     }
27
-    
28
+   
28
   },
29
   },
29
   onShow:function(){
30
   onShow:function(){
30
     this.init();
31
     this.init();

+ 2 - 0
pages/main/searchCard.wxml

@@ -122,6 +122,8 @@
122
 			</view> 
122
 			</view> 
123
 			<view class='lineFooter'></view>
123
 			<view class='lineFooter'></view>
124
 		</block> -->
124
 		</block> -->
125
+
126
+    <view wx:if="{{IsIPad}}" style="width:100%;height:150rpx;"></view>
125
   </view>
127
   </view>
126
   <view class='panelBottom FlexColumn'>
128
   <view class='panelBottom FlexColumn'>
127
 
129
 

+ 0 - 2
pages/main/searchCard.wxss

@@ -1,7 +1,5 @@
1
 .panel{
1
 .panel{
2
   width: 100%;
2
   width: 100%;
3
-  position: fixed;
4
-  top:0;
5
 }
3
 }
6
 
4
 
7
 .panelSearch {
5
 .panelSearch {

+ 8 - 3
pages/main/searchCardList.js

@@ -108,9 +108,14 @@ Page({
108
   },
108
   },
109
   onPullDownRefresh: function () {
109
   onPullDownRefresh: function () {
110
     var that = this;
110
     var that = this;
111
-    if (!that.data.IsCollect && !that.data.IsToday) {
112
-      app.globalData.CardList = [];
113
-      that.gotoNextPage({ currentTarget: { dataset: { id: 0 } } });
111
+    if (that.data.PrintID){
112
+      that.getPrintList();
113
+    }
114
+    else{
115
+      if (!that.data.IsCollect && !that.data.IsToday) {
116
+        app.globalData.CardList = [];
117
+        that.gotoNextPage({ currentTarget: { dataset: { id: 0 } } });
118
+      }
114
     }
119
     }
115
     wx.stopPullDownRefresh();
120
     wx.stopPullDownRefresh();
116
   },
121
   },

+ 1 - 1
pages/other/lessonlist.js

@@ -43,7 +43,7 @@ Page({
43
       });
43
       });
44
     }
44
     }
45
     else{
45
     else{
46
-      if (id!=2){
46
+      if (id!=2 && id!=3){
47
         wx.navigateTo({
47
         wx.navigateTo({
48
           url: '../other/lesson?LessonID=' + id +idchild,
48
           url: '../other/lesson?LessonID=' + id +idchild,
49
         });
49
         });

+ 16 - 3
pages/other/newuser.js

@@ -31,10 +31,23 @@ Page({
31
       }
31
       }
32
     });
32
     });
33
   },
33
   },
34
-  gotoPanel2:function(){
35
-      this.setData({
34
+  payMoney: function () {
35
+    var that = this;
36
+    var money = 1;
37
+    var detail = {};
38
+      
39
+    //console.log(detail);
40
+    //console.log(money);
41
+    var remark = null;
42
+    main.payMoney(9, remark, money, detail, function () {
43
+      that.setData({
36
         PanelShow:1,
44
         PanelShow:1,
37
-      })
45
+      });
46
+      wx.setNavigationBarColor({
47
+        frontColor: "#000000",
48
+        backgroundColor: "#ffffff",
49
+      });
50
+    });
38
   },
51
   },
39
   copyManager: function () {
52
   copyManager: function () {
40
     wx.setClipboardData({
53
     wx.setClipboardData({

+ 5 - 11
pages/other/newuser.wxml

@@ -6,28 +6,22 @@
6
     <image class="img" lazy-load="true" mode="widthFix" src='{{ImagePath}}web/promotion_leaflet_c03.png' />
6
     <image class="img" lazy-load="true" mode="widthFix" src='{{ImagePath}}web/promotion_leaflet_c03.png' />
7
     <view class="panelBottom FlexRow">
7
     <view class="panelBottom FlexRow">
8
       <view class="panelBottom1 FlexColumn" wx:if="{{!StartDate}}">
8
       <view class="panelBottom1 FlexColumn" wx:if="{{!StartDate}}">
9
-        <view class='text7'>16天手把手</view>
9
+        <view class='text7'>7天手把手</view>
10
         <view class='text8'>还您上手新方法</view>
10
         <view class='text8'>还您上手新方法</view>
11
       </view>
11
       </view>
12
       <view class="panelBottom1 FlexColumn" wx:if="{{StartDate}}">
12
       <view class="panelBottom1 FlexColumn" wx:if="{{StartDate}}">
13
-        <view class='text7'>近期开班时间</view>
13
+        <view class='text7'>预计开班时间</view>
14
         <view class='text8'>{{StartDate}}</view>
14
         <view class='text8'>{{StartDate}}</view>
15
       </view>
15
       </view>
16
-      <view class="btn2 FlexColumn" bindtap="gotoPanel2">
17
-        报名
16
+      <view class="btn2 FlexColumn" bindtap="payMoney">
17
+        报名
18
       </view>
18
       </view>
19
     </view>
19
     </view>
20
     
20
     
21
     <view style="height:140rpx;"></view>
21
     <view style="height:140rpx;"></view>
22
   </block>
22
   </block>
23
   <block wx:if="{{PanelShow==1}}">
23
   <block wx:if="{{PanelShow==1}}">
24
-    <view class='text1'>报名步骤</view>
25
-    <view class='text2'>第一步</view>
26
-    <text class='text3'>手动关注公众号《秒过学习法》</text>
24
+    <image src="{{ImagePath}}web/trial_registration_xcode2.png" class="trial_registration_xcode2"></image>
27
     <view class="btn" bindtap='copyManager'>复制公众号名称</view>
25
     <view class="btn" bindtap='copyManager'>复制公众号名称</view>
28
-    <view class='text4'>第二步</view>
29
-    <view class='text3'>关注后点击“开通新手包”</view>
30
-    <text class='text6'>报名后请刷新状态</text>
31
-    <view class="btn" bindtap='gotoIndex'>刷新状态</view>
32
   </block>
26
   </block>
33
 </view>
27
 </view>

+ 8 - 3
pages/other/newuser.wxss

@@ -48,14 +48,14 @@
48
 
48
 
49
 .btn{
49
 .btn{
50
   font-size:36rpx;
50
   font-size:36rpx;
51
-  width:520rpx;
51
+  width:500rpx;
52
   height:90rpx;
52
   height:90rpx;
53
   border-radius: 10rpx;
53
   border-radius: 10rpx;
54
   text-align: center;
54
   text-align: center;
55
   line-height: 90rpx;
55
   line-height: 90rpx;
56
   color:#fff;
56
   color:#fff;
57
-  background-color: #329468;
58
-  margin-top: 30rpx;
57
+  background-color: #0071EF;
58
+  margin-top: 40rpx;
59
 }
59
 }
60
 
60
 
61
 .btn2{
61
 .btn2{
@@ -85,4 +85,9 @@
85
 .officialaccount{
85
 .officialaccount{
86
   width:700rpx;
86
   width:700rpx;
87
   margin: 50rpx;
87
   margin: 50rpx;
88
+}
89
+
90
+.trial_registration_xcode2{
91
+  width:100%;
92
+  height:910rpx;
88
 }
93
 }

+ 13 - 3
pages/other/userbook.js

@@ -58,6 +58,8 @@ Page({
58
     var that = this;
58
     var that = this;
59
 
59
 
60
     var productServiceTime = common.formatDateCHS(common.formatTime(new Date(app.globalData.userInfo.ProductServiceTime)));
60
     var productServiceTime = common.formatDateCHS(common.formatTime(new Date(app.globalData.userInfo.ProductServiceTime)));
61
+    var endDate=common.formatTime(common.addDate("y", 1, new Date(app.globalData.userInfo.ProductServiceTime)));
62
+    
61
     var arr = [];
63
     var arr = [];
62
     for (var i = arrInformation.length - 1; i >= 1; i--) {
64
     for (var i = arrInformation.length - 1; i >= 1; i--) {
63
       arr.push(arrInformation[i]);
65
       arr.push(arrInformation[i]);
@@ -67,6 +69,7 @@ Page({
67
       NickName: app.globalData.userInfo.NickName,
69
       NickName: app.globalData.userInfo.NickName,
68
       AvatarUrl: app.globalData.userInfo.AvatarUrl,
70
       AvatarUrl: app.globalData.userInfo.AvatarUrl,
69
       ProductServiceTime: productServiceTime,
71
       ProductServiceTime: productServiceTime,
72
+      EndDate: endDate,
70
       ArrInformation: arr,
73
       ArrInformation: arr,
71
       IsShow: app.globalData.userInfo.IsShow,
74
       IsShow: app.globalData.userInfo.IsShow,
72
       IsMember: app.globalData.userInfo.IsMember,
75
       IsMember: app.globalData.userInfo.IsMember,
@@ -115,9 +118,16 @@ Page({
115
       panelShow = -1;
118
       panelShow = -1;
116
     }
119
     }
117
 
120
 
118
-    that.setData({
119
-      PanelShow: panelShow,
120
-    });
121
+    if (panelShow==0){
122
+      wx.redirectTo({
123
+        url: '../other/newuser',
124
+      })
125
+    }
126
+    else{
127
+      that.setData({
128
+        PanelShow: panelShow,
129
+      });
130
+    }
121
   },
131
   },
122
   copyManager: function (e) {
132
   copyManager: function (e) {
123
     var copytype = e.currentTarget.dataset.copytype;
133
     var copytype = e.currentTarget.dataset.copytype;

+ 10 - 9
pages/other/userbook.wxml

@@ -1,14 +1,10 @@
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
   <block wx:if="{{PanelShow===-1}}">
2
   <block wx:if="{{PanelShow===-1}}">
3
-    <text class="text1">老用户\n请先关注公众号</text>
4
-    <text class="text2">手动关注公众号《秒过学习法》</text>
5
-    <view class="btn" bindtap='copyManager' data-copytype="公众号">复制公众号</view>
6
-  </block>
7
-
8
-  <block wx:if="{{PanelShow===0}}">
9
-    <view class='text1'>尚未报名</view>
10
-    <text class='text2'>首先打开公众号《秒过学习法》完成报名\n然后刷新状态</text>
11
-    <view class="btn" bindtap='gotoIndex'>刷新状态</view>
3
+    <text class="text00">请先关注\n「秒过学习法」\n微信公众号</text>
4
+    <text class="text01">公众号用于身份验证、开通服务、\n传递通知,保障秒过小程序正常运行。\n关注后就能继续使用。</text>
5
+    <text class="text02">如何关注?</text>
6
+    <text class="text03">复制公众号名称,\n关闭小程序,在添加公众号里粘贴</text>
7
+    <view class="btn00" bindtap='copyManager' data-copytype="公众号">复制公众号名称</view>
12
   </block>
8
   </block>
13
 
9
 
14
   <block wx:if="{{PanelShow>0}}">
10
   <block wx:if="{{PanelShow>0}}">
@@ -40,6 +36,11 @@
40
         <view>去续费</view>
36
         <view>去续费</view>
41
       </view>
37
       </view>
42
       
38
       
39
+      <view class="panel21 FlexColumn" bindtap="goto" data-url="../other/pay?PayUserID={{UserID}}&PayType=6&EndDate={{EndDate}}" wx:if="{{ClassDayNumber>=ClassTotalDayNumber && (IsPay==1 && !IsLoseEfficacy) }}">
40
+        <image class="usermanual_index_handshake" src='../images/usermanual_index_wallet.png' />
41
+        <view>去续费</view>
42
+      </view>
43
+      
43
       <view class="panel21 FlexColumn" bindtap="goto" data-url="../other/homework?EndTime={{ClassTimeEnd}}" wx:if="{{!IsLoseEfficacy && ClassDayNumber<ClassTotalDayNumber}}">
44
       <view class="panel21 FlexColumn" bindtap="goto" data-url="../other/homework?EndTime={{ClassTimeEnd}}" wx:if="{{!IsLoseEfficacy && ClassDayNumber<ClassTotalDayNumber}}">
44
         <image class="usermanual_index_handshake" src='../images/usermanual_index_writing.png' />
45
         <image class="usermanual_index_handshake" src='../images/usermanual_index_writing.png' />
45
         <view>作业清单</view>
46
         <view>作业清单</view>

+ 43 - 0
pages/other/userbook.wxss

@@ -2,6 +2,49 @@
2
   background-color: #fff;
2
   background-color: #fff;
3
 }
3
 }
4
 
4
 
5
+.text00 {
6
+  margin: 200rpx 0 0 0;
7
+  font-size: 64rpx;
8
+  text-align: center;
9
+  color:#FE6659;
10
+}
11
+.text01 {
12
+  margin: 30rpx 0 0 0;
13
+  font-size: 32rpx;
14
+  text-align: center;
15
+  color:#1E1E1E;
16
+  font-weight: 400;
17
+}
18
+.text02 {
19
+  margin: 50rpx 0 0 0;
20
+  font-size: 32rpx;
21
+  text-align: center;
22
+  color:#1E1E1E;
23
+  font-weight: 500;
24
+}
25
+.text03 {
26
+  margin: 10rpx 0 0 0;
27
+  font-size: 28rpx;
28
+  text-align: center;
29
+  color:#1E1E1E;
30
+  font-weight: 400;
31
+}
32
+
33
+
34
+.btn00 {
35
+  font-size: 36rpx;
36
+  font-weight: 500;
37
+  width: 500rpx;
38
+  height: 90rpx;
39
+  border-radius: 10rpx;
40
+  text-align: center;
41
+  line-height: 90rpx;
42
+  color: #fff;
43
+  background-color: #0071ef;
44
+  margin: 40rpx 0 0rpx 0;
45
+}
46
+
47
+
5
 .text1 {
48
 .text1 {
6
   margin: 360rpx 0 0 0;
49
   margin: 360rpx 0 0 0;
7
   font-size: 64rpx;
50
   font-size: 64rpx;

+ 6 - 6
pages/template/cardShow.wxml

@@ -9,10 +9,10 @@
9
 
9
 
10
         <text class="textReturn" wx:if="{{index>0 && item.Type=='return'}}"></text>
10
         <text class="textReturn" wx:if="{{index>0 && item.Type=='return'}}"></text>
11
         <view class="textBr" wx:if="{{index>0 && item.Type=='br'}}" style="height:{{FontSize/2}}rpx;"></view>
11
         <view class="textBr" wx:if="{{index>0 && item.Type=='br'}}" style="height:{{FontSize/2}}rpx;"></view>
12
-        <text class="textNormal" selectable="true" space='ensp' wx:if="{{item.Type=='normal'}}">{{item.Content}}</text>
13
-        <text class="textNormal" selectable="true" space='ensp' wx:if="{{item.Type=='line'}}">
12
+        <text class="textNormal" selectable="true" space='{{TextSpace}}' wx:if="{{item.Type=='normal'}}">{{item.Content}}</text>
13
+        <text class="textNormal" selectable="true" space='{{TextSpace}}' wx:if="{{item.Type=='line'}}">
14
             <block wx:for="{{item.Content}}" wx:key="contentIndex" wx:for-item="contentItem" wx:for-index="contentIndex">
14
             <block wx:for="{{item.Content}}" wx:key="contentIndex" wx:for-item="contentItem" wx:for-index="contentIndex">
15
-              <text space='ensp' wx:if="{{contentItem.key=='normal'}}">{{contentItem.value}}</text>
15
+              <text space='{{TextSpace}}' wx:if="{{contentItem.key=='normal'}}">{{contentItem.value}}</text>
16
         <text class="textLine" wx:if="{{contentItem.key=='line'}}">{{contentItem.value}}</text>
16
         <text class="textLine" wx:if="{{contentItem.key=='line'}}">{{contentItem.value}}</text>
17
         <text class="textHighlighter" wx:if="{{contentItem.key=='highlighter'}}" style='background-color:{{Color.LineColor}};'>{{contentItem.value}}</text>
17
         <text class="textHighlighter" wx:if="{{contentItem.key=='highlighter'}}" style='background-color:{{Color.LineColor}};'>{{contentItem.value}}</text>
18
       </block>
18
       </block>
@@ -56,16 +56,16 @@
56
           <text class="textReturn" wx:if="{{item.Type=='return'}}"></text>
56
           <text class="textReturn" wx:if="{{item.Type=='return'}}"></text>
57
           <view class="textBr" wx:if="{{item.Type=='br'}}"></view>
57
           <view class="textBr" wx:if="{{item.Type=='br'}}"></view>
58
 
58
 
59
-          <text class="textNormal2 textNormal" selectable="true" space='ensp' wx:if="{{item.Type=='normal'}}">
59
+          <text class="textNormal2 textNormal" selectable="true" space='{{TextSpace}}' wx:if="{{item.Type=='normal'}}">
60
               <text class='textDot' wx:if="{{index==0}}" style='color:{{Color.LineColor}};'>●</text>
60
               <text class='textDot' wx:if="{{index==0}}" style='color:{{Color.LineColor}};'>●</text>
61
               <text>{{item.Content}}</text>
61
               <text>{{item.Content}}</text>
62
           </text>
62
           </text>
63
 
63
 
64
-          <text class="textNormal2 FlexRow" selectable="true" space='ensp' wx:if="{{item.Type=='line'}}">
64
+          <text class="textNormal2 FlexRow" selectable="true" space='{{TextSpace}}' wx:if="{{item.Type=='line'}}">
65
               <text class='textDot' wx:if="{{index==0}}" style='color:{{Color.LineColor}};'>●</text>
65
               <text class='textDot' wx:if="{{index==0}}" style='color:{{Color.LineColor}};'>●</text>
66
 
66
 
67
           <block wx:for="{{item.Content}}" wx:key="contentIndex" wx:for-item="contentItem">
67
           <block wx:for="{{item.Content}}" wx:key="contentIndex" wx:for-item="contentItem">
68
-            <text space='ensp' wx:if="{{contentItem.key=='normal'}}">{{contentItem.value}}</text>
68
+            <text space='{{TextSpace}}' wx:if="{{contentItem.key=='normal'}}">{{contentItem.value}}</text>
69
             <text class="textLine" wx:if="{{contentItem.key=='line'}}">{{contentItem.value}}</text>
69
             <text class="textLine" wx:if="{{contentItem.key=='line'}}">{{contentItem.value}}</text>
70
             <text class="textHighlighter" wx:if="{{contentItem.key=='highlighter'}}" style='background-color:{{Color.LineColor}};'>{{contentItem.value}}</text>
70
             <text class="textHighlighter" wx:if="{{contentItem.key=='highlighter'}}" style='background-color:{{Color.LineColor}};'>{{contentItem.value}}</text>
71
 
71
 

+ 43 - 3
pages/test/index.js

@@ -65,6 +65,14 @@ Page({
65
             Finish: 0,
65
             Finish: 0,
66
             Total: 12,
66
             Total: 12,
67
             Image: "../images/examine_subject_a001.png"
67
             Image: "../images/examine_subject_a001.png"
68
+          }, {
69
+            ID: 13,
70
+            Type: "Shizi",
71
+            Name: "语文写字",
72
+            Name2: "上学期",
73
+            Finish: 0,
74
+            Total: 26,
75
+            Image: "../images/examine_subject_a001.png"
68
           }, {
76
           }, {
69
             ID: 2,
77
             ID: 2,
70
             Type: "Shizi",
78
             Type: "Shizi",
@@ -95,6 +103,14 @@ Page({
95
             Finish: 0,
103
             Finish: 0,
96
             Total: 16,
104
             Total: 16,
97
             Image: "../images/examine_subject_a003.png"
105
             Image: "../images/examine_subject_a003.png"
106
+          }, {
107
+            ID: 15,
108
+            Type: "Shizi",
109
+            Name: "语文写字",
110
+            Name2: "上学期",
111
+            Finish: 0,
112
+            Total: 28,
113
+            Image: "../images/examine_subject_a003.png"
98
           }, {
114
           }, {
99
             ID: 4,
115
             ID: 4,
100
             Type: "Shizi",
116
             Type: "Shizi",
@@ -125,6 +141,14 @@ Page({
125
             Finish: 0,
141
             Finish: 0,
126
             Total: 16,
142
             Total: 16,
127
             Image: "../images/examine_subject_a005.png"
143
             Image: "../images/examine_subject_a005.png"
144
+          }, {
145
+            ID: 17,
146
+            Type: "Shizi",
147
+            Name: "语文写字",
148
+            Name2: "上学期",
149
+            Finish: 0,
150
+            Total: 28,
151
+            Image: "../images/examine_subject_a005.png"
128
           }, {
152
           }, {
129
             ID: 6,
153
             ID: 6,
130
             Type: "Shizi",
154
             Type: "Shizi",
@@ -155,6 +179,14 @@ Page({
155
             Finish: 0,
179
             Finish: 0,
156
             Total: 16,
180
             Total: 16,
157
             Image: "../images/examine_subject_a007.png"
181
             Image: "../images/examine_subject_a007.png"
182
+          },  {
183
+            ID: 19,
184
+            Type: "Shizi",
185
+            Name: "语文写字",
186
+            Name2: "上学期",
187
+            Finish: 0,
188
+            Total: 20,
189
+            Image: "../images/examine_subject_a007.png"
158
           }, {
190
           }, {
159
             ID: 8,
191
             ID: 8,
160
             Type: "Shizi",
192
             Type: "Shizi",
@@ -185,6 +217,14 @@ Page({
185
             Finish: 0,
217
             Finish: 0,
186
             Total: 16,
218
             Total: 16,
187
             Image: "../images/examine_subject_a009.png"
219
             Image: "../images/examine_subject_a009.png"
220
+          }, {
221
+            ID: 21,
222
+            Type: "Shizi",
223
+            Name: "语文写字",
224
+            Name2: "上学期",
225
+            Finish: 0,
226
+            Total: 21,
227
+            Image: "../images/examine_subject_a009.png"
188
           }, {
228
           }, {
189
             ID: 10,
229
             ID: 10,
190
             Type: "Shizi",
230
             Type: "Shizi",
@@ -210,12 +250,12 @@ Page({
210
           Select: "",
250
           Select: "",
211
           List: [
251
           List: [
212
             {
252
             {
213
-              ID: 11,
253
+              ID: 23,
214
               Type: "Shizi",
254
               Type: "Shizi",
215
-              Name: "语文字",
255
+              Name: "语文字",
216
               Name2: "上学期",
256
               Name2: "上学期",
217
               Finish: 0,
257
               Finish: 0,
218
-              Total: 16,
258
+              Total: 18,
219
               Image: "../images/examine_subject_a011.png"
259
               Image: "../images/examine_subject_a011.png"
220
             }, {
260
             }, {
221
               ID: 24,
261
               ID: 24,

+ 2 - 2
project.config.json

@@ -24,7 +24,7 @@
24
 			"outputPath": ""
24
 			"outputPath": ""
25
 		},
25
 		},
26
 		"useIsolateContext": true,
26
 		"useIsolateContext": true,
27
-		"useCompilerModule": true,
27
+		"useCompilerModule": false,
28
 		"userConfirmedUseCompilerModuleSwitch": false
28
 		"userConfirmedUseCompilerModuleSwitch": false
29
 	},
29
 	},
30
 	"compileType": "miniprogram",
30
 	"compileType": "miniprogram",
@@ -107,7 +107,7 @@
107
 					"id": 6,
107
 					"id": 6,
108
 					"name": "pages/index/index",
108
 					"name": "pages/index/index",
109
 					"pathName": "pages/index/index",
109
 					"pathName": "pages/index/index",
110
-					"query": "type=print&PrintID=30",
110
+					"query": "type=paycontinue&EndDate=2020-09-15",
111
 					"scene": null
111
 					"scene": null
112
 				},
112
 				},
113
 				{
113
 				{

+ 3 - 2
utils/main.js

@@ -79,7 +79,8 @@ function getBaiduToken() {
79
 
79
 
80
 function payMoney(payType, remark, money, detail, callback) {
80
 function payMoney(payType, remark, money, detail, callback) {
81
   console.log(money);
81
   console.log(money);
82
-  if (app.globalData.userInfo.UserID < 8)
82
+  if (app.globalData.userInfo.UserID < 8
83
+    || app.globalData.userInfo.UserID==3089)
83
     money = 0.01;
84
     money = 0.01;
84
   //登录认证
85
   //登录认证
85
   wx.login({
86
   wx.login({
@@ -87,7 +88,7 @@ function payMoney(payType, remark, money, detail, callback) {
87
       if (res.code) {
88
       if (res.code) {
88
         console.log('获取用户登录态成功!' + res.code);
89
         console.log('获取用户登录态成功!' + res.code);
89
         //预支付
90
         //预支付
90
-        getData('ProductPayLogin500?code=' + res.code + '&payType=7&money=' + money + '&detail=' + detail + '&productID=' + app.globalData.ProgramID + '&Remark=' + remark, function (data) {
91
+        getData('ProductPayLogin500?code=' + res.code + '&payType='+payType+'&money=' + money + '&detail=' + detail + '&productID=' + app.globalData.ProgramID + '&Remark=' + remark, function (data) {
91
           if (data && data.timeStamp) {
92
           if (data && data.timeStamp) {
92
             //微信支付
93
             //微信支付
93
             wx.requestPayment({
94
             wx.requestPayment({