chengjie 6 년 전
부모
커밋
9719441b34

+ 1 - 0
app.json

@@ -16,6 +16,7 @@
16
     "pages/main/searchWeb1",
16
     "pages/main/searchWeb1",
17
     "pages/main/searchWeb",
17
     "pages/main/searchWeb",
18
     "pages/main/detail",
18
     "pages/main/detail",
19
+    "pages/main/systemsetting",
19
     
20
     
20
     "pages/plan/recommend",
21
     "pages/plan/recommend",
21
     "pages/plan/clicktype",
22
     "pages/plan/clicktype",

pages/images/program_screenshot_promotion.png → marketing/images/program_screenshot_promotion.png


+ 1 - 1
marketing/main/extenduser.js

@@ -156,7 +156,7 @@ Page({
156
     return {
156
     return {
157
       title: app.globalData.ShareTitle,
157
       title: app.globalData.ShareTitle,
158
       path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
158
       path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
159
-      imageUrl: app.globalData.ShareImage,
159
+      imageUrl: "../images/program_screenshot_promotion.png",
160
     }
160
     }
161
   },
161
   },
162
 });
162
 });

+ 1 - 1
marketing/main/index.js

@@ -25,7 +25,7 @@ Page({
25
     return {
25
     return {
26
       title: app.globalData.ShareTitle,
26
       title: app.globalData.ShareTitle,
27
       path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
27
       path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
28
-      imageUrl: app.globalData.ShareImage,
28
+      imageUrl: "../images/program_screenshot_promotion.png",
29
     }
29
     }
30
   },
30
   },
31
 });
31
 });

BIN
pages/images/checklist_nameline_illus.png


+ 1 - 1
pages/index/index.js

@@ -213,7 +213,7 @@ Page({
213
 
213
 
214
           //测试
214
           //测试
215
           //var url = '../../package4/main/giftcard?GiftID=89542&UserID=1';
215
           //var url = '../../package4/main/giftcard?GiftID=89542&UserID=1';
216
-          //var url = '../main/share';
216
+          //var url = '../other/homework';
217
           // var url = '../../marketing/main/index';
217
           // var url = '../../marketing/main/index';
218
           // wx.redirectTo({
218
           // wx.redirectTo({
219
           //   url: url,
219
           //   url: url,

+ 1 - 1
pages/main/add.js

@@ -419,7 +419,7 @@ Page({
419
       });
419
       });
420
       timeoutUploadImage = setTimeout(function () {
420
       timeoutUploadImage = setTimeout(function () {
421
         wx.hideLoading();
421
         wx.hideLoading();
422
-      }, 15000);
422
+      }, 30000);
423
     }
423
     }
424
 
424
 
425
     interval = setInterval(function () {
425
     interval = setInterval(function () {

+ 8 - 2
pages/main/detail.js

@@ -611,14 +611,14 @@ Page({
611
         that.setSoundFile(3);
611
         that.setSoundFile(3);
612
         if (time == "1d") {
612
         if (time == "1d") {
613
           wx.showToast({
613
           wx.showToast({
614
-            title: '今天不练',
614
+            title: '搁置一天',
615
             mask: true,
615
             mask: true,
616
             image: "../images/universalpic_shelve_white_120x120.png",
616
             image: "../images/universalpic_shelve_white_120x120.png",
617
           });
617
           });
618
         }
618
         }
619
         else {
619
         else {
620
           wx.showToast({
620
           wx.showToast({
621
-            title: '已延后',
621
+            title: '已推迟',
622
             mask: true,
622
             mask: true,
623
             image: "../images/universalpic_bell_white_120x120.png",
623
             image: "../images/universalpic_bell_white_120x120.png",
624
           });
624
           });
@@ -787,12 +787,18 @@ Page({
787
     this.setData({
787
     this.setData({
788
       IsShowNumberInfo: true,
788
       IsShowNumberInfo: true,
789
     });
789
     });
790
+    wx.setNavigationBarTitle({
791
+      title: "进度"
792
+    });
790
   },
793
   },
791
   closeNumberContainner: function () {
794
   closeNumberContainner: function () {
792
     this.setData({
795
     this.setData({
793
       IsShowNumberInfo: false,
796
       IsShowNumberInfo: false,
794
       IsMore: false,
797
       IsMore: false,
795
     });
798
     });
799
+    wx.setNavigationBarTitle({
800
+      title: "学习中"
801
+    });
796
   },
802
   },
797
   showImage: function (e) {
803
   showImage: function (e) {
798
     var name = e.currentTarget.dataset.name;
804
     var name = e.currentTarget.dataset.name;

+ 32 - 31
pages/main/detail.wxml

@@ -53,9 +53,9 @@
53
     </view>
53
     </view>
54
 
54
 
55
     <view class="panelField10" style='background-color:{{Color.BackColor}};'></view>
55
     <view class="panelField10" style='background-color:{{Color.BackColor}};'></view>
56
-    
56
+
57
     <template is="CardShow" data="{{Color:Color,Field:TaskInfo.ContentNew.Field,Tags:TaskInfo.ContentNew.Tags,IsShowAnswer:IsShowAnswer,TagWidth:TaskInfo.TagWidth,FontSize:TaskInfo.FontSize}}" />
57
     <template is="CardShow" data="{{Color:Color,Field:TaskInfo.ContentNew.Field,Tags:TaskInfo.ContentNew.Tags,IsShowAnswer:IsShowAnswer,TagWidth:TaskInfo.TagWidth,FontSize:TaskInfo.FontSize}}" />
58
-    
58
+
59
     <view class='footer0'></view>
59
     <view class='footer0'></view>
60
 
60
 
61
     <!-- 下方按钮 -->
61
     <!-- 下方按钮 -->
@@ -138,35 +138,36 @@
138
   </block>
138
   </block>
139
   <!-- 今日任务量 -->
139
   <!-- 今日任务量 -->
140
   <view wx:if="{{IsShowNumberInfo}}" class="numberContainer FlexColumn" style='height:{{Containnerheight}}rpx;background-color:{{Color.BackColor}};'>
140
   <view wx:if="{{IsShowNumberInfo}}" class="numberContainer FlexColumn" style='height:{{Containnerheight}}rpx;background-color:{{Color.BackColor}};'>
141
-    <view class="numberContainer11 FlexRow">
142
-      今日剩余任务量
143
-    </view>
144
-    <view class="numberContainer12 FlexRow">
145
-      <view class='left'>新题卡</view>
146
-      <view class='right3'>{{NumberNew}}张</view>
147
-    </view>
148
-    <view class="lineWidthAll FlexRow">
149
-      <view class="lineWidth720"></view>
150
-    </view>
151
-    <view class="numberContainer12 FlexRow">
152
-      <view class='left'>旧题卡</view>
153
-      <view class='right3'>{{NumberHistory}}张</view>
154
-    </view>
155
-    <view class="lineWidthAll FlexRow">
156
-      <view class="lineWidth720"></view>
157
-    </view>
158
-    <view class="numberContainer12 FlexRow">
159
-      <view class='left'>需要及时强化</view>
160
-      <view class='right3'>{{NumberReview}}张</view>
161
-    </view>
162
-    <view class="lineWidthAll FlexRow">
163
-      <view class="lineWidth720"></view>
164
-    </view>
165
-    <view class="numberContainer12 FlexRow">
166
-      <view class='left'>总计</view>
167
-      <view class='right3' style='color:{{Color.LineColor}};'>{{NumberNew+NumberReview+NumberHistory}}张</view>
141
+    <view class="numberContainerFooter1 FlexColumn">
142
+      <view class='lineFooter'></view>
143
+      <view class="numberContainer12 FlexRow">
144
+        <view class='left'>新题卡</view>
145
+        <view class='right3'>{{NumberNew}}张</view>
146
+      </view>
147
+      <view class="lineWidthAll FlexRow">
148
+        <view class="lineWidth720"></view>
149
+      </view>
150
+      <view class="numberContainer12 FlexRow">
151
+        <view class='left'>旧题卡</view>
152
+        <view class='right3'>{{NumberHistory}}张</view>
153
+      </view>
154
+      <view class="lineWidthAll FlexRow">
155
+        <view class="lineWidth720"></view>
156
+      </view>
157
+      <view class="numberContainer12 FlexRow">
158
+        <view class='left'>及时强化</view>
159
+        <view class='right3'>{{NumberReview}}张</view>
160
+      </view>
161
+      <view class="lineWidthAll FlexRow">
162
+        <view class="lineWidth720"></view>
163
+      </view>
164
+      <view class="numberContainer12 FlexRow">
165
+        <view class='left'>剩余任务</view>
166
+        <view class='right3' style='color:{{Color.LineColor}};'>{{NumberNew+NumberReview+NumberHistory}}张</view>
167
+      </view>
168
+      <view class='lineFooter'></view>
169
+    
168
     </view>
170
     </view>
169
-    <view class='lineFooter'></view>
170
     <view class="numberContaineFooter FlexRow" catchtap='closeNumberContainner'>
171
     <view class="numberContaineFooter FlexRow" catchtap='closeNumberContainner'>
171
       <view>关闭</view>
172
       <view>关闭</view>
172
     </view>
173
     </view>
@@ -203,8 +204,8 @@
203
           </view>
204
           </view>
204
         </view>
205
         </view>
205
       </view>
206
       </view>
207
+      <view class='lineFooter'></view>
206
     </view>
208
     </view>
207
-    <view class='lineFooter'></view>
208
     <view class="numberContaineFooter FlexRow" catchtap='closeNumberContainner'>
209
     <view class="numberContaineFooter FlexRow" catchtap='closeNumberContainner'>
209
       <view>关闭</view>
210
       <view>关闭</view>
210
     </view>
211
     </view>

+ 1 - 1
pages/main/preview.wxml

@@ -6,7 +6,7 @@
6
     <view class="panelTop FlexRow">
6
     <view class="panelTop FlexRow">
7
       <view class='left FlexColumn'>
7
       <view class='left FlexColumn'>
8
         <view class="text3" bindtap='practiceToday' hidden="{{!IsTodayPractice}}">今天必练</view>
8
         <view class="text3" bindtap='practiceToday' hidden="{{!IsTodayPractice}}">今天必练</view>
9
-        <view class="text4 text3" bindtap='shelveTask' hidden="{{IsTodayPractice}}">今天不练</view>
9
+        <view class="text4 text3" bindtap='shelveTask' hidden="{{IsTodayPractice}}">搁置</view>
10
       </view>
10
       </view>
11
       <view class='right FlexRow'>
11
       <view class='right FlexRow'>
12
         <view class="panelTopBtn FlexRow" bindtap='getDetailInfo'>
12
         <view class="panelTopBtn FlexRow" bindtap='getDetailInfo'>

+ 5 - 0
pages/main/searchCard.js

@@ -43,6 +43,11 @@ Page({
43
       url: './searchCard1',
43
       url: './searchCard1',
44
     })
44
     })
45
   },
45
   },
46
+  gotoSystemsetting: function(e) {
47
+    wx.navigateTo({
48
+      url: './systemsetting',
49
+    })
50
+  },
46
   
51
   
47
   getList: function (e) {
52
   getList: function (e) {
48
     wx.showLoading({
53
     wx.showLoading({

+ 21 - 11
pages/main/searchCard.wxml

@@ -3,7 +3,7 @@
3
     <view class="panelSearch FlexRow">
3
     <view class="panelSearch FlexRow">
4
       <view class="panelSearch1 FlexRow" bindtap="onSearch">
4
       <view class="panelSearch1 FlexRow" bindtap="onSearch">
5
         <image class="universalpic_search_gray_30x30" src='../images/universalpic_search_gray_30x30.png' />
5
         <image class="universalpic_search_gray_30x30" src='../images/universalpic_search_gray_30x30.png' />
6
-        <view>搜索题卡</view>
6
+        <view>搜索我的题卡</view>
7
       </view>
7
       </view>
8
     </view>
8
     </view>
9
     <view class='panelBtn FlexColumn'>
9
     <view class='panelBtn FlexColumn'>
@@ -14,33 +14,43 @@
14
         <view class="panelItem2 FlexRow">
14
         <view class="panelItem2 FlexRow">
15
           <view>{{CardNumber}}</view>
15
           <view>{{CardNumber}}</view>
16
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
16
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
17
-        
18
         </view>
17
         </view>
19
       </view>
18
       </view>
20
       <view class="lineWidthAll FlexRow">
19
       <view class="lineWidthAll FlexRow">
21
         <view class="lineWidth720"></view>
20
         <view class="lineWidth720"></view>
22
       </view>
21
       </view>
22
+      <view class="panelItem FlexRow" bindtap="getList" data-id="0" data-iscollect="1">
23
+        <view class="panelItem1 FlexRow">
24
+          <image class="universalpic_fav_default_gray_26x24" src='../images/universalpic_fav_default_gray_26x24.png' />
25
+          <view>收藏夹</view>
26
+        </view>
27
+        <view class="panelItem2 FlexRow">
28
+          <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
29
+        </view>
30
+      </view>
31
+    </view>
32
+    <view class='lineFooter'></view>
33
+    <view class='panelBtn FlexColumn'>
23
       <view class="panelItem FlexRow" bindtap="getList" data-id="1">
34
       <view class="panelItem FlexRow" bindtap="getList" data-id="1">
24
         <view class="panelItem1">
35
         <view class="panelItem1">
25
-          今天剩余任务量
36
+          任务清单
26
         </view>
37
         </view>
27
         <view class="panelItem2 FlexRow">
38
         <view class="panelItem2 FlexRow">
28
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
39
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
29
         </view>
40
         </view>
30
       </view>
41
       </view>
31
-      <view class="lineWidthAll FlexRow">
32
-        <view class="lineWidth720"></view>
33
-      </view>
34
-      <view class="panelItem FlexRow" bindtap="getList" data-id="0" data-iscollect="1">
35
-        <view class="panelItem1 FlexRow">
36
-          <image class="universalpic_fav_default_gray_26x24" src='../images/universalpic_fav_default_gray_26x24.png' />
37
-          <view>幻灯片</view>
42
+    </view>
43
+    <view class='lineFooter'></view>
44
+
45
+    <view class='panelBtn FlexColumn'>
46
+      <view class="panelItem FlexRow" bindtap="gotoSystemsetting">
47
+        <view class="panelItem1">
48
+          系统设置
38
         </view>
49
         </view>
39
         <view class="panelItem2 FlexRow">
50
         <view class="panelItem2 FlexRow">
40
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
51
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
41
         </view>
52
         </view>
42
       </view>
53
       </view>
43
-      
44
     </view>
54
     </view>
45
     <view class='lineFooter'></view>
55
     <view class='lineFooter'></view>
46
   </view>
56
   </view>

+ 10 - 5
pages/main/searchCardList.js

@@ -29,12 +29,12 @@ Page({
29
     else if (options.type == 1) {
29
     else if (options.type == 1) {
30
       IsToday = 1;
30
       IsToday = 1;
31
       wx.setNavigationBarTitle({
31
       wx.setNavigationBarTitle({
32
-        title: "剩余任务"
32
+        title: "任务清单"
33
       });
33
       });
34
     }
34
     }
35
     else if (options.IsCollect == 1) {
35
     else if (options.IsCollect == 1) {
36
       wx.setNavigationBarTitle({
36
       wx.setNavigationBarTitle({
37
-        title: "幻灯片"
37
+        title: "收藏夹"
38
       });
38
       });
39
       IsCollect = 1;
39
       IsCollect = 1;
40
     }
40
     }
@@ -115,7 +115,7 @@ Page({
115
     // }
115
     // }
116
 
116
 
117
 
117
 
118
-    if (!that.data.IsCollect && !that.data.IsToday) {
118
+    if (!that.data.IsCollect && !that.data.IsToday && !that.data.Search) {
119
       main.getData("GetUserCardCount?UserID=" + app.globalData.userInfo.UserID, function (data) {
119
       main.getData("GetUserCardCount?UserID=" + app.globalData.userInfo.UserID, function (data) {
120
         if (data) {
120
         if (data) {
121
           that.setData({
121
           that.setData({
@@ -129,11 +129,16 @@ Page({
129
             List: list,
129
             List: list,
130
             HasPage: hasPage,
130
             HasPage: hasPage,
131
           });
131
           });
132
-
133
-
134
         }
132
         }
135
       });
133
       });
136
     }
134
     }
135
+    else if (that.data.Search){
136
+      that.setData({
137
+        List: list,
138
+        Count: list.length,
139
+        HasPage: false,
140
+      });
141
+    }
137
     else {
142
     else {
138
       that.setData({
143
       that.setData({
139
         Count: list.length,
144
         Count: list.length,

+ 14 - 2
pages/main/searchCardList.wxml

@@ -7,7 +7,9 @@
7
       </view>
7
       </view>
8
     </view>
8
     </view>
9
     <view class="panelTop0 FlexRow">
9
     <view class="panelTop0 FlexRow">
10
-      <view class='panelTop1 FlexRow' bindtap='addCard'>
10
+      <view class='panelTop1' wx:if='{{IsCollect || IsToday}}'>
11
+      </view>
12
+      <view class='panelTop1 FlexRow' bindtap='addCard' wx:if='{{!IsCollect && !IsToday}}'>
11
         <image class="universalpic_add_black_30x30" src='../images/universalpic_add_black_30x30.png' />
13
         <image class="universalpic_add_black_30x30" src='../images/universalpic_add_black_30x30.png' />
12
       </view>
14
       </view>
13
       <view>{{Count}}张题卡</view>
15
       <view>{{Count}}张题卡</view>
@@ -69,10 +71,20 @@
69
   <block wx:if="{{List.length==0}}">
71
   <block wx:if="{{List.length==0}}">
70
 
72
 
71
     <view style="height:110rpx;" wx:if="{{Search}}"></view>
73
     <view style="height:110rpx;" wx:if="{{Search}}"></view>
72
-    <view class='panelNull FlexColumn'>
74
+    <view class='panelNull FlexColumn' wx:if="{{!IsCollect && !IsToday}}">
73
       <view class='Text3'>无匹配</view>
75
       <view class='Text3'>无匹配</view>
74
       <view class='Text4'>从左上角按钮添加新题卡</view>
76
       <view class='Text4'>从左上角按钮添加新题卡</view>
75
     </view>
77
     </view>
78
+
79
+    <view class='panelNull FlexColumn' wx:if="{{IsCollect}}">
80
+      <view class='Text3'>没有题卡</view>
81
+      <view class='Text4'>在“查看题卡、学习中”界面里,点爱心图标把题卡收藏到这里。</view>
82
+    </view>
83
+
84
+    <view class='panelNull FlexColumn' wx:if="{{IsToday}}">
85
+      <view class='Text3'>今天剩余任务量</view>
86
+      <view class='Text4'>没有需要练习的题卡了。</view>
87
+    </view>
76
   </block>
88
   </block>
77
 </view>
89
 </view>
78
 
90
 

+ 75 - 0
pages/main/systemsetting.js

@@ -0,0 +1,75 @@
1
+import common from '../../utils/util';
2
+import main from '../../utils/main';
3
+
4
+const app = getApp();
5
+
6
+Page({
7
+  data: {
8
+    List: [],
9
+    IsPay: true,
10
+    IsShow: 0,
11
+  },
12
+  onLoad: function (options) {
13
+    var that = this;
14
+    var childUserID = 0;
15
+    if (app.globalData.userInfo.ChildUserID && app.globalData.userInfo.ChildUserID != undefined)
16
+      childUserID = app.globalData.userInfo.ChildUserID;
17
+    var productServiceTime = common.formatDateCHS(common.formatTime(new Date(app.globalData.userInfo.ProductServiceTime)));
18
+    var today15 = common.formatDateCHS(common.formatTime(common.addDate("d", 15, new Date())));
19
+    var isPay = true;
20
+    if (productServiceTime > today15) {
21
+      isPay = false;
22
+    }
23
+
24
+    that.setData({
25
+      Containnerheight: main.getWindowHeight(),
26
+      ProgramName: app.globalData.ProgramName,
27
+      Version: app.globalData.Version,
28
+      ProductServiceTime: productServiceTime,
29
+      IsPay: isPay,
30
+      IsShow: app.globalData.IsShow,
31
+      ChildUserID: childUserID,
32
+    });
33
+  },
34
+  gotoPay: function () {
35
+    var payindex = 3;
36
+    if (app.globalData.userInfo.IsFinishTask == 1)
37
+      payindex = 2;
38
+
39
+    wx.navigateTo({
40
+      url: '../other/pay?paypanel=1&payindex=' + payindex,
41
+    });
42
+  },
43
+  gotoBinding: function () {
44
+    wx.navigateTo({
45
+      url: '../other/binding',
46
+    })
47
+  },
48
+
49
+  updateMember: function () {
50
+    wx.reLaunch({
51
+      url: '../index/index',
52
+    })
53
+  },
54
+  gotoPayTemp: function (e) {
55
+    if (app.globalData.userInfo.UserID <= 7) {
56
+      wx.navigateTo({
57
+        url: '../other/pay?paypanel=0&payindex=0',
58
+      });
59
+    }
60
+  },
61
+  gotoLesson: function () {
62
+    if (app.globalData.userInfo.UserID <= 7) {
63
+      wx.navigateTo({
64
+        url: '../other/lessonlist',
65
+      });
66
+    }
67
+  },
68
+  onShareAppMessage: function () {
69
+    return {
70
+      title: app.globalData.ShareTitle,
71
+      path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
72
+      imageUrl: app.globalData.ShareImage,
73
+    }
74
+  },
75
+})

+ 6 - 0
pages/main/systemsetting.json

@@ -0,0 +1,6 @@
1
+{
2
+  "navigationBarTitleText": "系统设置",
3
+  "backgroundColor": "#F0F0F0",
4
+  "backgroundTextStyle": "dark",
5
+  "enablePullDownRefresh": true
6
+}

+ 44 - 0
pages/main/systemsetting.wxml

@@ -0,0 +1,44 @@
1
+<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+
3
+  <view class="panelTitle FlexRow">
4
+    <view class="panelTitle1">帐号</view>
5
+    <view class="panelTitle2"></view>
6
+  </view>
7
+  <view class="panelItem FlexRow">
8
+    <view class="panelItem1">有效期</view>
9
+    <view class="panelItem2 FlexRow">
10
+      {{ProductServiceTime}}
11
+    </view>
12
+  </view>
13
+  <!-- <view class="lineWidthAll FlexRow">
14
+    <view class="lineWidth720"></view>
15
+  </view>
16
+  <view class="panelItem FlexRow" bindtap='gotoPay'>
17
+    <view class="panelItem1">续费</view>
18
+    <view class="panelItem2 FlexRow">
19
+      <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
20
+    </view>
21
+  </view> -->
22
+  <view class='lineFooter'></view>
23
+
24
+  <view class="panelTitle FlexRow">
25
+    <view class="panelTitle1">通用</view>
26
+    <view class="panelTitle2"></view>
27
+  </view>
28
+  <view class="panelItem FlexRow" bindtap='gotoBinding'>
29
+    <view class="panelItem1">帐号绑定</view>
30
+    <view class="panelItem2 FlexRow">
31
+      <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
32
+    </view>
33
+  </view>
34
+
35
+
36
+  <view class="panelItem00 panelItem FlexRow" bindtap='updateMember'>
37
+    重启小程序
38
+  </view>
39
+  <view class='lineFooter'></view>
40
+  <view style='width:100%;height:50rpx;' bindtap='gotoPayTemp'></view>
41
+  <text class='text1'>©2016-2019 {{ProgramName}}\n唱意教育微信小程序 版本 {{Version}}</text>
42
+  <view style='width:100%;height:100rpx;' bindtap='gotoLesson'></view>
43
+
44
+</view>

+ 62 - 0
pages/main/systemsetting.wxss

@@ -0,0 +1,62 @@
1
+.panelTitle{
2
+  width:100%;
3
+  margin-top: 50rpx;
4
+  justify-content: space-between;
5
+}
6
+.panelTitle .panelTitle1{
7
+  font-size:32rpx;
8
+  margin-left: 30rpx;
9
+  margin-bottom: 30rpx;
10
+}
11
+.panelTitle .panelTitle2{
12
+  font-size:28rpx;
13
+  margin-right: 30rpx;
14
+  background-color: #1e1e1e;
15
+  color:#fff;
16
+  border-radius: 22rpx;
17
+  text-align: center;
18
+  padding: 0 20rpx;
19
+  margin-bottom: 32rpx;
20
+}
21
+
22
+.panelItem{
23
+  width:100%;
24
+  justify-content: space-between;
25
+  font-size:28rpx;
26
+  height:100rpx;
27
+  background-color: #fff;
28
+}
29
+
30
+.panelItem0{
31
+  height:133rpx;
32
+}
33
+.panelItem00{
34
+  margin-top: 50rpx;
35
+  line-height: 100rpx;
36
+  font-size:28rpx;
37
+  font-weight: 400;
38
+  justify-content: center;
39
+}
40
+
41
+.panelItem .panelItem1{
42
+  margin-left: 30rpx;
43
+  font-weight: 400;
44
+}
45
+.panelItem .panelItem2{
46
+  margin-right: 30rpx;
47
+  color:#787878;
48
+  font-weight: 400;
49
+}
50
+
51
+.Arrow{
52
+  width:16rpx;
53
+  height:26rpx;
54
+  margin-left: 30rpx;
55
+}
56
+
57
+
58
+.text1{
59
+  font-size:24rpx;
60
+  text-align: center;
61
+  color:#787878;
62
+}

+ 13 - 11
pages/other/binding.wxml

@@ -1,4 +1,6 @@
1
 <view wx:if="{{ShowPanel=='binding'}}" class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
1
 <view wx:if="{{ShowPanel=='binding'}}" class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
+  <text class="text3">请仔细阅读协议并谨慎操作,\n请再三确定对方身份(禁止转发聊天群)</text>
3
+
2
   <text class="text2">使用协议:\n
4
   <text class="text2">使用协议:\n
3
 1)绑定帐号用于:与家人一同督导孩子学习,在您繁忙时,由另一位家长的微信帐号继续学习,或与孩子专用的微信帐号分立。这是官方唯一认可的用途。\n
5
 1)绑定帐号用于:与家人一同督导孩子学习,在您繁忙时,由另一位家长的微信帐号继续学习,或与孩子专用的微信帐号分立。这是官方唯一认可的用途。\n
4
 2)绑定后并非共享、分享您的数据,而是与对方一起使用您名下的数据。\n
6
 2)绑定后并非共享、分享您的数据,而是与对方一起使用您名下的数据。\n
@@ -8,10 +10,9 @@
8
 6)发现绑定错误,请立即解绑。期间造成的隐私、数据等问题由个人承担。再次提醒您谨慎使用这项功能。
10
 6)发现绑定错误,请立即解绑。期间造成的隐私、数据等问题由个人承担。再次提醒您谨慎使用这项功能。
9
   </text>
11
   </text>
10
 
12
 
11
-  <text class="text3">请仔细阅读协议并谨慎操作,\n请再三确定对方身份(禁止转发聊天群)</text>
12
-
13
-  <button class='btn' bindtap='shareFinished' open-type='share'>同意并转发绑定申请</button>
14
-  <view style='height:100rpx;'></view>
13
+  <view class="panelBottom FlexRow">
14
+    <button class='btn' bindtap='shareFinished' open-type='share'>同意并转发绑定申请</button>
15
+  </view>
15
 </view>
16
 </view>
16
 
17
 
17
 <view wx:if="{{ShowPanel=='unbinding'}}" class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
18
 <view wx:if="{{ShowPanel=='unbinding'}}" class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
@@ -30,9 +31,9 @@
30
 6)发现绑定错误,请立即解绑。期间造成的隐私、数据等问题由个人承担。再次提醒您谨慎使用这项功能。
31
 6)发现绑定错误,请立即解绑。期间造成的隐私、数据等问题由个人承担。再次提醒您谨慎使用这项功能。
31
   </text>
32
   </text>
32
 
33
 
33
-  <button class='btn2 btn' bindtap='gotoUnBinding'>解除绑定</button>
34
-  <view style='height:100rpx;'></view>
35
-
34
+  <view class="panelBottom FlexRow">
35
+    <button class='btn2 btn' bindtap='gotoUnBinding'>解除绑定</button>
36
+  </view>
36
 </view>
37
 </view>
37
 
38
 
38
 
39
 
@@ -44,6 +45,8 @@
44
   </view>
45
   </view>
45
   <view class='lineFooter'></view>
46
   <view class='lineFooter'></view>
46
 
47
 
48
+  <text class="text4">请仔细阅读协议并答复</text>
49
+
47
   <text class="text2">使用协议:\n
50
   <text class="text2">使用协议:\n
48
 1)《秒过学习》的绑定帐号功能用于:与家人一同督导孩子学习,在您繁忙时,由另一位家长的微信帐号继续学习,或与孩子专用的微信帐号分立。这是官方唯一认可的用途。\n
51
 1)《秒过学习》的绑定帐号功能用于:与家人一同督导孩子学习,在您繁忙时,由另一位家长的微信帐号继续学习,或与孩子专用的微信帐号分立。这是官方唯一认可的用途。\n
49
 2)绑定后并非共享、分享邀请人的数据,而是一起使用邀请人名下的数据。\n
52
 2)绑定后并非共享、分享邀请人的数据,而是一起使用邀请人名下的数据。\n
@@ -52,10 +55,9 @@
52
 5)发现绑定错误,请立即通过微信联系邀请人。对方可能是您的直接联系人或某个群聊里的用户,请自行查找和解决。\n
55
 5)发现绑定错误,请立即通过微信联系邀请人。对方可能是您的直接联系人或某个群聊里的用户,请自行查找和解决。\n
53
 6)绑定期间造成的一系列涉及但不限于个人隐私、数据安全等问题、责任及后果,主子账号共同承担。再次提醒您谨慎答复这则邀请。
56
 6)绑定期间造成的一系列涉及但不限于个人隐私、数据安全等问题、责任及后果,主子账号共同承担。再次提醒您谨慎答复这则邀请。
54
   </text>
57
   </text>
55
-  <text class="text3">请仔细阅读协议并答复</text>
56
-  <view class="panelBtn FlexRow">
58
+
59
+  <view class="panelBottom FlexRow">
57
     <navigator class='btn3 btn' open-type="exit" target="miniProgram">拒绝</navigator>
60
     <navigator class='btn3 btn' open-type="exit" target="miniProgram">拒绝</navigator>
58
-    <button class='btn4 btn' bindtap='gotoBinding'>接受</button>
61
+    <button class='btn3 btn' bindtap='gotoBinding'>接受</button>
59
   </view>
62
   </view>
60
-  <view style='height:100rpx;'></view>
61
 </view>
63
 </view>

+ 30 - 19
pages/other/binding.wxss

@@ -10,27 +10,46 @@
10
   margin-top: 30rpx;
10
   margin-top: 30rpx;
11
   width:690rpx;
11
   width:690rpx;
12
   font-weight: 400;
12
   font-weight: 400;
13
+  line-height: 28rpx;
13
 }
14
 }
14
 
15
 
15
 .text3{
16
 .text3{
17
+  width:690rpx;
16
   font-size:28rpx;
18
   font-size:28rpx;
17
   margin: 60rpx 0 0 0;
19
   margin: 60rpx 0 0 0;
18
   font-weight: 400;
20
   font-weight: 400;
19
-  text-align: center;
20
   line-height: 40rpx;
21
   line-height: 40rpx;
21
 }
22
 }
22
 
23
 
24
+.text4{
25
+  width:690rpx;
26
+  font-size:28rpx;
27
+  margin: 30rpx 0 0 0;
28
+  font-weight: 400;
29
+  line-height: 40rpx;
30
+}
31
+
32
+.panelBottom{
33
+  width:100%;
34
+  height:120rpx;
35
+  border-top:1rpx solid #D2D2D2;
36
+  background-color: #fff;
37
+  position: fixed;
38
+  bottom:0;
39
+  justify-content: center;
40
+  align-items: center;
41
+}
42
+
23
 .btn{
43
 .btn{
24
   width:690rpx;
44
   width:690rpx;
25
-  height:90rpx;
45
+  height:80rpx;
26
   text-align: center;
46
   text-align: center;
27
   border:1rpx solid #9B9B9B;
47
   border:1rpx solid #9B9B9B;
28
-  font-size:36rpx;
29
-  line-height: 90rpx;
30
-  border-radius: 14rpx;
31
-  color:#787878;
48
+  font-size:33rpx;
49
+  line-height: 80rpx;
50
+  border-radius: 10rpx;
51
+  color:#1E1E1E;
32
   background-color: #fff;
52
   background-color: #fff;
33
-  margin-top: 30rpx;
34
 }
53
 }
35
 
54
 
36
 .userinfo{
55
 .userinfo{
@@ -55,18 +74,10 @@
55
 }
74
 }
56
 
75
 
57
 .btn2{
76
 .btn2{
58
-  margin-top: 60rpx;
59
-  background-color: #B3443B;
60
-  color:#fff;
61
-}
62
-.btn3{
63
-  background-color: #B3443B;
64
-  color:#fff;
65
-  width:290rpx;
66
-  margin: 30rpx 10rpx;
77
+  color:#B3443B;
67
 }
78
 }
68
 
79
 
69
-.btn4{
70
-  width:290rpx;
71
-  margin: 30rpx 10rpx;
80
+.btn3{
81
+  width:345rpx;
82
+  margin: 0 10rpx;
72
 }
83
 }

+ 39 - 5
pages/other/homework.js

@@ -21,17 +21,51 @@ Page({
21
 
21
 
22
     main.getData("GetMiaoguoCheckList?UserID=" + userid, function (data) {
22
     main.getData("GetMiaoguoCheckList?UserID=" + userid, function (data) {
23
       if (data) {
23
       if (data) {
24
-        that.setData({
25
-          FinishedCount:data.FinishedCount,
26
-          List: data.List,
27
-          NickName: data.NickName,
28
-          AvatarUrl: data.AvatarUrl,
24
+
25
+        common.getStorageValue(that, "HomeworkListClick", [0,0,0], function () {
26
+
27
+          if (that.data.HomeworkListClick[1] == 0) {
28
+            data.List[1].Finished = 0;
29
+            data.FinishedCount -= 10;
30
+          }
31
+          if (that.data.HomeworkListClick[2] == 0) {
32
+            data.List[2].Finished = 0;
33
+            data.FinishedCount -= 10;
34
+          }
35
+
36
+          that.setData({
37
+            FinishedCount: data.FinishedCount,
38
+            List: data.List,
39
+            NickName: data.NickName,
40
+            AvatarUrl: data.AvatarUrl,
41
+          });
29
         });
42
         });
30
       }
43
       }
31
     });
44
     });
32
 
45
 
33
     app.globalData.Homework=0;
46
     app.globalData.Homework=0;
34
   },
47
   },
48
+  clickOK:function(e){
49
+    var that = this;
50
+    var index=e.currentTarget.dataset.index;
51
+    common.getStorageValue(that, "HomeworkListClick", [0, 0, 0], function () {
52
+      that.data.List[index].Finished = 1;
53
+      that.data.FinishedCount += 10;
54
+
55
+      that.setData({
56
+        FinishedCount: that.data.FinishedCount,
57
+        List: that.data.List,
58
+      });
59
+
60
+      that.data.HomeworkListClick[index]=1;
61
+      wx.setStorageSync("HomeworkListClick", that.data.HomeworkListClick);
62
+    });
63
+  },
64
+  gotoLessonList:function(){
65
+    wx.navigateTo({
66
+      url: '../other/lessonlist',
67
+    });
68
+  },
35
   onShareAppMessage: function () {
69
   onShareAppMessage: function () {
36
     return {
70
     return {
37
       title: "作业清单",
71
       title: "作业清单",

+ 85 - 22
pages/other/homework.wxml

@@ -1,88 +1,151 @@
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
   <view class='userinfo FlexRow'>
2
   <view class='userinfo FlexRow'>
3
-    <image class='avatar' src="{{AvatarUrl}}" />
4
-    <view class="nickname">{{NickName}}</view>
3
+    <view class="left FlexRow">
4
+      <image class='avatar' src="{{AvatarUrl}}" />
5
+      <view class="nickname">{{NickName}}</view>
6
+    </view>
7
+    <image src="../images/checklist_nameline_illus.png" class="checklist_nameline_illus" />
5
   </view>
8
   </view>
6
-  <view class='panelItem FlexRow'>
7
-    <view class='panelItem1'>作业进度</view>
9
+  <view class='panelItem0 panelItem FlexRow'>
10
+    <view class='panelItem1 FlexColumn'>
11
+      <view class="panelItem01">总进度</view>
12
+      <view class="panelItem02">由以下10个项目组成(下拉刷新结果)</view>
13
+    </view>
8
     <view class='panelItem2'>{{FinishedCount}}%</view>
14
     <view class='panelItem2'>{{FinishedCount}}%</view>
9
   </view>
15
   </view>
10
   <view class='lineFooter'></view>
16
   <view class='lineFooter'></view>
11
 
17
 
12
   <view class="panelTitle FlexRow">
18
   <view class="panelTitle FlexRow">
13
-    <view class="panelTitle1">课前准备</view>
19
+    <view class="panelTitle1 FlexColumn">
20
+      <view class="">热身准备</view>
21
+      <view class="panelTitle11">有2个项目,由您自行检查是否做到。</view>
22
+    </view>
14
     <view></view>
23
     <view></view>
15
   </view>
24
   </view>
16
   <block wx:for="{{[List[1],List[2]]}}" wx:key="*this">
25
   <block wx:for="{{[List[1],List[2]]}}" wx:key="*this">
17
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
26
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
18
       <view class="lineWidth720"></view>
27
       <view class="lineWidth720"></view>
19
     </view>
28
     </view>
20
-    <view class='panelItem FlexRow'>
29
+    <view class='panelItem FlexRow' wx:if="{{item.Finished<item.Max}}" >
30
+      <view class='panelItem1 FlexRow'>
31
+        <view class='Number'>{{index+1}}</view>
32
+        <view class='panelItem11'>{{item.Title}}</view>
33
+      </view>
34
+      <view class="btn" bindtap="clickOK" data-index="{{index+1}}">做到了</view>
35
+    </view>
36
+
37
+    <view class='panelItem FlexRow' wx:if="{{item.Finished>=item.Max}}" >
21
       <view class='panelItem1 FlexRow'>
38
       <view class='panelItem1 FlexRow'>
22
-        <view wx:if="{{!item.Finished}}" class='Number'>{{index+3}}</view>
23
-        <image wx:if="{{item.Finished}}" class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
39
+        <image class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
24
         <view class='panelItem11'>{{item.Title}}</view>
40
         <view class='panelItem11'>{{item.Title}}</view>
25
       </view>
41
       </view>
26
       <view></view>
42
       <view></view>
27
     </view>
43
     </view>
28
   </block>
44
   </block>
29
   <view class='lineFooter'></view>
45
   <view class='lineFooter'></view>
46
+  <text class='panelRemark'>说明:收集错题从作业本、近期考卷做起,逐步拓展到从阅读、课外学习、日常对话中收集。</text>
30
 
47
 
31
   <view class="panelTitle FlexRow">
48
   <view class="panelTitle FlexRow">
32
-    <view class="panelTitle1">看课程</view>
49
+    <view class="panelTitle1 FlexColumn">
50
+      <view class="">课程自学</view>
51
+      <view class="panelTitle11">有4节课,自动检查。建议先收看课程再开始操作。</view>
52
+      <view class="panelTitle12" bindtap="gotoLessonList">去收看</view>
53
+    </view>
33
     <view></view>
54
     <view></view>
34
   </view>
55
   </view>
35
   <block wx:for="{{[List[3],List[4],List[5],List[6]]}}" wx:key="*this">
56
   <block wx:for="{{[List[3],List[4],List[5],List[6]]}}" wx:key="*this">
36
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
57
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
37
       <view class="lineWidth720"></view>
58
       <view class="lineWidth720"></view>
38
     </view>
59
     </view>
39
-    <view class='panelItem FlexRow'>
40
-      <view class='panelItem1 FlexRow'>
41
-        <view wx:if="{{!item.Finished}}" class='Number'>{{index+3}}</view>
42
-        <image wx:if="{{item.Finished}}" class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
43
-        <view class='panelItem11'>{{item.Title}}</view>
60
+
61
+    <view class='panelItem FlexRow' wx:if="{{item.Finished<item.Max}}">
62
+      <view class='panelItem1_1 FlexRow'>
63
+        <view class='Number'>{{index+3}}</view>
64
+        <view class='panelItem11 FlexColumn'>
65
+          <view class="panelTitle10">{{item.Title}}</view>
66
+          <view class="panelTitle111">{{item.Remark}}</view>
67
+        </view>
68
+      </view>
69
+      <view class="Number2">{{item.Finished}}%</view>
70
+    </view>
71
+
72
+    <view class='panelItem FlexRow' wx:if="{{item.Finished>=item.Max}}">
73
+      <view class='panelItem1_1 FlexRow'>
74
+        <image class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
75
+        <view class='panelItem11 FlexColumn'>
76
+          <view class="panelTitle10">{{item.Title}}</view>
77
+          <view class="panelTitle111">{{item.Remark}}</view>
78
+        </view>
44
       </view>
79
       </view>
45
       <view></view>
80
       <view></view>
46
     </view>
81
     </view>
47
   </block>
82
   </block>
48
   <view class='lineFooter'></view>
83
   <view class='lineFooter'></view>
84
+  <text class='panelRemark'>说明:先上课后操作。急于上手可能导致事倍功半。秒过并非单纯工具而是完整的学习方法,其中包含一些与传统习俗大为不同的方式。\n\n正常收看就能过关。锁屏可以收听,但不统计百分比。想要快速过关?每节课60%章节标题慢慢点一遍即可。</text>
49
 
85
 
50
   <view class="panelTitle FlexRow">
86
   <view class="panelTitle FlexRow">
51
-    <view class="panelTitle1">课后练习</view>
87
+    <view class="panelTitle1 FlexColumn">
88
+      <view class="">实践操作</view>
89
+      <view class="panelTitle11">有2个项目,自动检查。</view>
90
+    </view>
52
     <view></view>
91
     <view></view>
53
   </view>
92
   </view>
54
   <block wx:for="{{[List[7],List[8]]}}" wx:key="*this">
93
   <block wx:for="{{[List[7],List[8]]}}" wx:key="*this">
55
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
94
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
56
       <view class="lineWidth720"></view>
95
       <view class="lineWidth720"></view>
57
     </view>
96
     </view>
58
-    <view class='panelItem FlexRow'>
97
+    <view class='panelItem FlexRow' wx:if="{{item.Finished<item.Max}}">
59
       <view class='panelItem1 FlexRow'>
98
       <view class='panelItem1 FlexRow'>
60
-        <view wx:if="{{!item.Finished}}" class='Number'>{{index+7}}</view>
61
-        <image wx:if="{{item.Finished}}" class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
99
+        <view class='Number'>{{index+7}}</view>
100
+        <view class='panelItem11'>{{item.Title}}</view>
101
+      </view>
102
+      <view class="Number2" wx:if="{{index==0}}">已有{{item.Finished}}张</view>
103
+      <view class="Number2" wx:if="{{index==1}}">已累计{{item.FinishedStr}}</view>
104
+    </view>
105
+
106
+    <view class='panelItem FlexRow' wx:if="{{item.Finished>=item.Max}}">
107
+      <view class='panelItem1 FlexRow'>
108
+        <image class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
62
         <view class='panelItem11'>{{item.Title}}</view>
109
         <view class='panelItem11'>{{item.Title}}</view>
63
       </view>
110
       </view>
64
       <view></view>
111
       <view></view>
65
     </view>
112
     </view>
66
   </block>
113
   </block>
67
   <view class='lineFooter'></view>
114
   <view class='lineFooter'></view>
115
+  <text class='panelRemark'>说明:学习任务,在秒过首页上点击红色的“开始”按钮(有时是“继续”)后开始计算。一天任务可以分多次完成,完成时会显示“报告”;一天只做一次任务,做完即可,不能重复做,第二天重新开始。</text>
68
 
116
 
69
   <view class="panelTitle FlexRow">
117
   <view class="panelTitle FlexRow">
70
-    <view class="panelTitle1">班群技能</view>
118
+    <view class="panelTitle1 FlexColumn">
119
+      <view class="">参与班群活动</view>
120
+      <view class="panelTitle11">有2个项目,自动检查。</view>
121
+    </view>
71
     <view></view>
122
     <view></view>
72
   </view>
123
   </view>
73
   <block wx:for="{{[List[9],List[10]]}}" wx:key="*this">
124
   <block wx:for="{{[List[9],List[10]]}}" wx:key="*this">
74
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
125
     <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
75
       <view class="lineWidth720"></view>
126
       <view class="lineWidth720"></view>
76
     </view>
127
     </view>
77
-    <view class='panelItem FlexRow'>
128
+
129
+    <view class='panelItem FlexRow' wx:if="{{item.Finished<item.Max}}">
78
       <view class='panelItem1 FlexRow'>
130
       <view class='panelItem1 FlexRow'>
79
-        <view wx:if="{{!item.Finished}}" class='Number'>{{index+9}}</view>
80
-        <image wx:if="{{item.Finished}}" class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
131
+        <view class='Number'>{{index+9}}</view>
132
+        <view class='panelItem11'>{{item.Title}}</view>
133
+      </view>
134
+      <view class="Number2" wx:if="{{index==0}}">已分享{{item.Finished}}次</view>
135
+      <view class="Number2" wx:if="{{index==1}}">已接力{{item.Finished}}天</view>
136
+    </view>
137
+
138
+    <view class='panelItem FlexRow' wx:if="{{item.Finished>=item.Max}}">
139
+      <view class='panelItem1 FlexRow'>
140
+        <image class='universalpic_checked_blue_40x40' src='../images/universalpic_checked_blue_40x40.png' />
81
         <view class='panelItem11'>{{item.Title}}</view>
141
         <view class='panelItem11'>{{item.Title}}</view>
82
       </view>
142
       </view>
83
       <view></view>
143
       <view></view>
84
     </view>
144
     </view>
85
   </block>
145
   </block>
86
   <view class='lineFooter'></view>
146
   <view class='lineFooter'></view>
147
+  <text class='panelRemark'>说明:为什么要分享?请教做的对不对或共享题目都可以。群接力仅在完成当天学习任务后,在报告界面中才会出现。一天一次即可,多次接力是无效的。</text>
148
+  <!-- <text class='panelRemark'>帮助:</text> -->
149
+
87
   <view style='height:100rpx;'></view>
150
   <view style='height:100rpx;'></view>
88
 </view>
151
 </view>

+ 96 - 10
pages/other/homework.wxss

@@ -1,55 +1,122 @@
1
 .userinfo{
1
 .userinfo{
2
   width:100%;
2
   width:100%;
3
-  margin: 50rpx 0 30rpx 0;
4
-  height:60rpx;
5
-  justify-content: flex-start;
3
+  height:130rpx;
4
+  background-color: #1D6FC7;
5
+  justify-content: space-between;
6
 }
6
 }
7
 
7
 
8
 .avatar{
8
 .avatar{
9
   margin-left:30rpx;
9
   margin-left:30rpx;
10
-  width:60rpx;
11
-  height:60rpx;
10
+  width:70rpx;
11
+  height:70rpx;
12
   border-radius: 50%;
12
   border-radius: 50%;
13
 }
13
 }
14
 
14
 
15
 .nickname{
15
 .nickname{
16
-  margin-left: 30rpx;
17
-  font-weight:400;
16
+  margin-left: 20rpx;
18
   font-size: 28rpx;
17
   font-size: 28rpx;
18
+  color:#fff;
19
+}
20
+
21
+.checklist_nameline_illus{
22
+  width:287rpx;
23
+  height:130rpx;
24
+  margin-right: 10rpx;
19
 }
25
 }
26
+
20
 .panelTitle{
27
 .panelTitle{
21
   width:100%;
28
   width:100%;
22
   margin-top: 50rpx;
29
   margin-top: 50rpx;
23
   justify-content: space-between;
30
   justify-content: space-between;
24
 }
31
 }
32
+
25
 .panelTitle .panelTitle1{
33
 .panelTitle .panelTitle1{
26
   font-size:32rpx;
34
   font-size:32rpx;
27
   margin-left: 30rpx;
35
   margin-left: 30rpx;
28
   margin-bottom: 30rpx;
36
   margin-bottom: 30rpx;
37
+  align-items: flex-start;
38
+}
39
+
40
+
41
+.panelTitle11{
42
+  font-size:24rpx;
43
+  font-weight: 400;
44
+  margin-top: 10rpx;
45
+}
46
+
47
+.panelTitle12{
48
+  font-size:24rpx;
49
+  margin-top: 10rpx;
50
+  background-color: #03AF69;
51
+  border-radius: 6rpx;
52
+  color:#fff;
53
+  text-align: center;
54
+  line-height: 50rpx;
55
+  width:108rpx;
56
+  font-weight: 400;
29
 }
57
 }
30
 
58
 
31
 .panelItem{
59
 .panelItem{
32
   width:100%;
60
   width:100%;
33
   justify-content: space-between;
61
   justify-content: space-between;
34
   font-size:28rpx;
62
   font-size:28rpx;
35
-  height:100rpx;
36
   background-color: #fff;
63
   background-color: #fff;
37
 }
64
 }
38
 
65
 
66
+.panelItem0{
67
+  height:134rpx;
68
+}
69
+
39
 .panelItem .panelItem1{
70
 .panelItem .panelItem1{
71
+  font-weight: 400;
72
+  justify-content: flex-start;
73
+  align-items: flex-start;
74
+  margin: 30rpx 0 30rpx 30rpx;
75
+}
76
+.panelItem .panelItem1_1{
40
   margin-left: 30rpx;
77
   margin-left: 30rpx;
41
   font-weight: 400;
78
   font-weight: 400;
42
   justify-content: flex-start;
79
   justify-content: flex-start;
80
+  margin: 30rpx 0 30rpx 30rpx;
81
+}
82
+
83
+.panelItem .panelItem01{
84
+  font-size:28rpx;
85
+}
86
+
87
+.panelItem .panelItem02{
88
+  font-size:24rpx;
43
 }
89
 }
44
 
90
 
45
 .panelItem .panelItem2{
91
 .panelItem .panelItem2{
46
   margin-right: 30rpx;
92
   margin-right: 30rpx;
47
-  color:#787878;
48
-  font-weight: 500;
93
+  color:#0071EF;
94
+  font-size:48rpx;
95
+  font-family: 'Roboto-Black';
49
 }
96
 }
50
 
97
 
51
 .panelItem .panelItem11{
98
 .panelItem .panelItem11{
52
   margin-left: 20rpx;
99
   margin-left: 20rpx;
100
+  justify-content: center;
101
+  align-items: flex-start;
102
+}
103
+
104
+.panelTitle10{
105
+  font-size:28rpx;
106
+  font-weight: 400;
107
+}
108
+
109
+.panelTitle111{
110
+  font-size:24rpx;
111
+  font-weight: 400;
112
+}
113
+
114
+.panelRemark{
115
+  width:690rpx;
116
+  font-size:24rpx;
117
+  font-weight: 400;
118
+  color:#787878;
119
+  margin: 30rpx 0 0 0;
53
 }
120
 }
54
 
121
 
55
 .universalpic_checked_blue_40x40{
122
 .universalpic_checked_blue_40x40{
@@ -62,4 +129,23 @@
62
   color:#D2D2D2;
129
   color:#D2D2D2;
63
   font-family: 'Roboto-Black';
130
   font-family: 'Roboto-Black';
64
   margin: 0 19rpx 0 0;
131
   margin: 0 19rpx 0 0;
132
+}
133
+
134
+.Number2{
135
+  font-size:28rpx;
136
+  color:#787878;
137
+  margin: 0 30rpx 0 0;
138
+  font-weight: 400;
139
+}
140
+
141
+.btn{
142
+  border-radius: 6rpx;
143
+  width:108rpx;
144
+  height:50rpx;
145
+  line-height: 50rpx;
146
+  background-color: #0071EF;
147
+  color:#fff;
148
+  text-align: center;
149
+  font-size:24rpx;
150
+  margin-right: 30rpx;
65
 }
151
 }

+ 11 - 1
pages/other/lesson.js

@@ -6,6 +6,7 @@ var imageUrlPrefix;
6
 var currentContent;
6
 var currentContent;
7
 var backgroundAudioManager;
7
 var backgroundAudioManager;
8
 
8
 
9
+
9
 Page({
10
 Page({
10
   data: {
11
   data: {
11
     LessonID: 1,
12
     LessonID: 1,
@@ -17,6 +18,10 @@ Page({
17
     var LessonPage = 1;
18
     var LessonPage = 1;
18
     if (options && options.LessonID) {
19
     if (options && options.LessonID) {
19
       LessonID = options.LessonID;
20
       LessonID = options.LessonID;
21
+      var arrName=['','第一课', '第二课', '第三课', '第四课'];
22
+      wx.setNavigationBarTitle({
23
+        title: arrName[LessonID],
24
+      });
20
     } 
25
     } 
21
     if (options && options.LessonPage) {
26
     if (options && options.LessonPage) {
22
       LessonPage = options.LessonPage;
27
       LessonPage = options.LessonPage;
@@ -37,10 +42,15 @@ Page({
37
       var id = that.data.LessonPage;
42
       var id = that.data.LessonPage;
38
       if (id < 10)
43
       if (id < 10)
39
         id = "0" + id;
44
         id = "0" + id;
45
+
46
+      var imageUrl = "../images/program_screenshot_lesson1.png";
47
+      if (that.data.LessonID=="5")
48
+        imageUrl ="../images/program_screenshot_speak01.png";
49
+        
40
       that.setData({
50
       that.setData({
41
         ArrTirtle: data.List,
51
         ArrTirtle: data.List,
42
         IsPause: true,
52
         IsPause: true,
43
-        ShareImageUrl:data.ImageUrl,
53
+        ShareImageUrl:imageUrl,
44
         AudioSrc: imageUrlPrefix + "sounds/"+that.data.LessonPage+".m4a",
54
         AudioSrc: imageUrlPrefix + "sounds/"+that.data.LessonPage+".m4a",
45
         ImageUrl: imageUrlPrefix + "%E5%B9%BB%E7%81%AF%E7%89%87" + id+".jpg",
55
         ImageUrl: imageUrlPrefix + "%E5%B9%BB%E7%81%AF%E7%89%87" + id+".jpg",
46
       });
56
       });

+ 16 - 7
pages/other/lessonlist.js

@@ -5,19 +5,28 @@ const app = getApp();
5
 
5
 
6
 Page({
6
 Page({
7
   data: {
7
   data: {
8
-    List: ['第一课', '第二课', '第三课', '第四课', '第五课', '第六课', '第七课', '第八课'],
9
   },
8
   },
10
   onLoad: function () {
9
   onLoad: function () {
11
     var that = this;
10
     var that = this;
12
     that.setData({
11
     that.setData({
13
-      CheckListUserID:app.globalData.userInfo.UserID,
12
+      CheckListUserID: app.globalData.userInfo.UserID,
14
       Containnerheight: main.getWindowHeight(),
13
       Containnerheight: main.getWindowHeight(),
14
+      UserID: app.globalData.userInfo.UserID,
15
+    });
16
+
17
+    var userid = app.globalData.userInfo.UserID;
18
+    main.getData("GetMiaoguoCheckList?UserID=" + userid, function (data) {
19
+      if (data) {
20
+        that.setData({
21
+          List: data.List,
22
+        });
23
+      }
15
     });
24
     });
16
   },
25
   },
17
   gotoLesson: function (e) {
26
   gotoLesson: function (e) {
18
-    var id=e.currentTarget.dataset.id;
27
+    var id = e.currentTarget.dataset.id;
19
     wx.navigateTo({
28
     wx.navigateTo({
20
-      url: '../other/lesson?LessonID='+id,
29
+      url: '../other/lesson?LessonID=' + id,
21
     });
30
     });
22
   },
31
   },
23
   gotoUserList: function (e) {
32
   gotoUserList: function (e) {
@@ -30,10 +39,10 @@ Page({
30
       url: '../../marketing/main/index',
39
       url: '../../marketing/main/index',
31
     });
40
     });
32
   },
41
   },
33
-  gotoCheckList: function(){
42
+  gotoCheckList: function () {
34
     var url = '../other/homework';
43
     var url = '../other/homework';
35
     if (this.data.CheckListUserID)
44
     if (this.data.CheckListUserID)
36
-      url+="?UserID="+this.data.CheckListUserID;
45
+      url += "?UserID=" + this.data.CheckListUserID;
37
     wx.navigateTo({
46
     wx.navigateTo({
38
       url: url,
47
       url: url,
39
     });
48
     });
@@ -49,7 +58,7 @@ Page({
49
     return {
58
     return {
50
       title: app.globalData.ShareTitle,
59
       title: app.globalData.ShareTitle,
51
       path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
60
       path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID,
52
-      imageUrl: app.globalData.ShareImage,
61
+      imageUrl: "../images/program_screenshot_lesson1.png",
53
     }
62
     }
54
   },
63
   },
55
 })
64
 })

+ 1 - 1
pages/other/lessonlist.json

@@ -1,3 +1,3 @@
1
 {
1
 {
2
-  "usingComponents": {}
2
+  "navigationBarTitleText": "课程"
3
 }
3
 }

+ 22 - 12
pages/other/lessonlist.wxml

@@ -1,23 +1,33 @@
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
   <view class="main FlexColumn">
2
   <view class="main FlexColumn">
3
-    <block wx:for="{{List}}" wx:key="index">
3
+    <block wx:for="{{[List[3],List[4],List[5],List[6]]}}" wx:key="index">
4
+      <view class="lineWidthAll FlexRow" wx:if="{{index>0}}">
5
+        <view class="lineWidth720"></view>
6
+      </view>
7
+
4
       <view class="panelItem FlexRow" bindtap="gotoLesson" data-id="{{index+1}}">
8
       <view class="panelItem FlexRow" bindtap="gotoLesson" data-id="{{index+1}}">
5
-        <view class="panelItem1">
6
-          {{item}}
9
+        <view class='panelItem1 FlexColumn'>
10
+          <view class="panelTitle10">{{item.Title}}</view>
11
+          <view class="panelTitle111">{{item.Remark}}</view>
7
         </view>
12
         </view>
8
         <view class="panelItem2 FlexRow">
13
         <view class="panelItem2 FlexRow">
9
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
14
           <image class="universalpic_indicator_right_gray" src='../images/universalpic_indicator_right_gray.png' />
10
         </view>
15
         </view>
11
       </view>
16
       </view>
12
-      <view class='lineFooter'></view>
17
+
13
     </block>
18
     </block>
19
+    <view class='lineFooter'></view>
14
   </view>
20
   </view>
15
-  
16
-  <view style='height:100rpx;'></view>
17
-  <button bindtap='gotoUserList'>审核用户</button>
18
-  <view style='height:100rpx;'></view>
19
-  <button bindtap='gotoMarketingUserList'>推广用户</button>
20
-  <view style='height:100rpx;'></view>
21
-  <input class='input' maxlength='4' auto-focus bindinput="onKeyInput" value="{{CheckListUserID}}"  />
22
-  <button bindtap='gotoCheckList'>CheckList</button>
21
+
22
+  <block wx:if="{{UserID<=7}}">
23
+    <view style='height:300rpx;'></view>
24
+    <button bindtap='gotoLesson' data-id="5">暖暖爸结业致辞</button>
25
+    <view style='height:50rpx;'></view>
26
+    <button bindtap='gotoUserList'>审核用户</button>
27
+    <view style='height:50rpx;'></view>
28
+    <button bindtap='gotoMarketingUserList'>推广用户</button>
29
+    <view style='height:50rpx;'></view>
30
+    <input class='input' maxlength='4' auto-focus bindinput="onKeyInput" value="{{CheckListUserID}}" />
31
+    <button bindtap='gotoCheckList'>CheckList</button>
32
+  </block>
23
 </view>
33
 </view>

+ 13 - 2
pages/other/lessonlist.wxss

@@ -1,22 +1,33 @@
1
 .main{
1
 .main{
2
   width: 100%;
2
   width: 100%;
3
+  margin-top: 20rpx;
3
 }
4
 }
4
 
5
 
5
 .panelItem {
6
 .panelItem {
6
   width: 100%;
7
   width: 100%;
7
   justify-content: space-between;
8
   justify-content: space-between;
8
   font-size: 28rpx;
9
   font-size: 28rpx;
9
-  height: 100rpx;
10
+  height: 134rpx;
10
   background-color: #fff;
11
   background-color: #fff;
11
 }
12
 }
12
 
13
 
13
 .panelItem1 {
14
 .panelItem1 {
14
   margin-left: 30rpx;
15
   margin-left: 30rpx;
15
-  justify-content: flex-start;
16
+  align-items: flex-start;
16
   font-weight: 400;
17
   font-weight: 400;
17
   font-size:28rpx;
18
   font-size:28rpx;
18
 }
19
 }
19
 
20
 
21
+.panelTitle10{
22
+  font-size:28rpx;
23
+  font-weight: 400;
24
+}
25
+
26
+.panelTitle111{
27
+  font-size:24rpx;
28
+  font-weight: 400;
29
+}
30
+
20
 .panelItem2 {
31
 .panelItem2 {
21
   margin-right: 30rpx;
32
   margin-right: 30rpx;
22
   color: #787878;
33
   color: #787878;

+ 4 - 55
pages/plan/setting.js

@@ -2,21 +2,17 @@ import common from '../../utils/util';
2
 import main from '../../utils/main';
2
 import main from '../../utils/main';
3
 
3
 
4
 const app = getApp();
4
 const app = getApp();
5
-const arrSortType = ["自由安排", "到期时间较早的", "到期时间较近的"];
5
+const arrSortType = ["自由安排", "到期时间较早的题卡", "到期时间较近的题卡"];
6
 const arrClickType = ["专属按钮", "点击空白", "两种方式"];
6
 const arrClickType = ["专属按钮", "点击空白", "两种方式"];
7
 var arrUserName = ["程晟涵", "临时"];
7
 var arrUserName = ["程晟涵", "临时"];
8
-var arrUserID = [2, 662];
8
+var arrUserID = [2, 787];
9
 
9
 
10
 Page({
10
 Page({
11
   data: {
11
   data: {
12
     CardNumber: [],
12
     CardNumber: [],
13
     IsShowChange: false,
13
     IsShowChange: false,
14
-    ProgramName: app.globalData.ProgramName,
15
-    Version: app.globalData.Version,
16
     RecommendName: "启用",
14
     RecommendName: "启用",
17
     ChildUserID: 0,
15
     ChildUserID: 0,
18
-    IsPay: true,
19
-    IsShow: 0,
20
   },
16
   },
21
   onPullDownRefresh: function () {
17
   onPullDownRefresh: function () {
22
     //得到当天任务
18
     //得到当天任务
@@ -43,17 +39,6 @@ Page({
43
     for (var i = 5; i <= 200; i++) {
39
     for (var i = 5; i <= 200; i++) {
44
       that.data.CardNumber.push(i);
40
       that.data.CardNumber.push(i);
45
     }
41
     }
46
-
47
-    var childUserID = 0;
48
-    if (app.globalData.userInfo.ChildUserID && app.globalData.userInfo.ChildUserID != undefined)
49
-      childUserID = app.globalData.userInfo.ChildUserID;
50
-    var productServiceTime = common.formatDateCHS(common.formatTime(new Date(app.globalData.userInfo.ProductServiceTime)));
51
-    var today15 = common.formatDateCHS(common.formatTime(common.addDate("d", 15, new Date())));
52
-    var isPay = true;
53
-    if (productServiceTime > today15) {
54
-      isPay = false;
55
-    }
56
-
57
     var taskNumber = app.globalData.TaskToday.ListNew.length + app.globalData.TaskToday.ListReview.length + app.globalData.TaskToday.ListHistory.length;
42
     var taskNumber = app.globalData.TaskToday.ListNew.length + app.globalData.TaskToday.ListReview.length + app.globalData.TaskToday.ListHistory.length;
58
     var cardEveryTime = 1 + Math.round(app.globalData.TaskToday.CardEveryTime / 60 * taskNumber);
43
     var cardEveryTime = 1 + Math.round(app.globalData.TaskToday.CardEveryTime / 60 * taskNumber);
59
     
44
     
@@ -62,10 +47,6 @@ Page({
62
       CardNumber: that.data.CardNumber,
47
       CardNumber: that.data.CardNumber,
63
       MinSecond: 10,
48
       MinSecond: 10,
64
       TimeSecond: 60,
49
       TimeSecond: 60,
65
-      ChildUserID: childUserID,
66
-      ProductServiceTime: productServiceTime,
67
-      IsPay: isPay,
68
-      IsShow: app.globalData.IsShow,
69
       TaskNumber: taskNumber,
50
       TaskNumber: taskNumber,
70
       CardEveryTime:cardEveryTime,
51
       CardEveryTime:cardEveryTime,
71
       CardLimitTimeNumber: app.globalData.TaskToday.CardLimitTimeNumber,
52
       CardLimitTimeNumber: app.globalData.TaskToday.CardLimitTimeNumber,
@@ -82,7 +63,6 @@ Page({
82
       }
63
       }
83
     });
64
     });
84
 
65
 
85
-
86
     if (app.globalData.userInfo.UserID == 1 || app.globalData.userInfo.UserID == 2) {
66
     if (app.globalData.userInfo.UserID == 1 || app.globalData.userInfo.UserID == 2) {
87
       that.setData({
67
       that.setData({
88
         IsShowChange: true,
68
         IsShowChange: true,
@@ -174,16 +154,7 @@ Page({
174
       url: './clicktype',
154
       url: './clicktype',
175
     })
155
     })
176
   },
156
   },
177
-  gotoBinding: function () {
178
-    wx.navigateTo({
179
-      url: '../other/binding',
180
-    })
181
-  },
182
-  updateMember: function () {
183
-    wx.reLaunch({
184
-      url: '../index/index',
185
-    })
186
-  },
157
+  
187
   getMemoryLevel: function () {
158
   getMemoryLevel: function () {
188
     var that = this;
159
     var that = this;
189
     var index = wx.getStorageSync("MemoryLevel");
160
     var index = wx.getStorageSync("MemoryLevel");
@@ -211,29 +182,7 @@ Page({
211
       url: './taskLimit',
182
       url: './taskLimit',
212
     })
183
     })
213
   },
184
   },
214
-  gotoPay: function () {
215
-    var payindex = 3;
216
-    if (app.globalData.userInfo.IsFinishTask == 1)
217
-      payindex = 2;
218
-
219
-    wx.navigateTo({
220
-      url: '../other/pay?paypanel=1&payindex=' + payindex,
221
-    });
222
-  },
223
-  gotoPayTemp: function (e) {
224
-    if (app.globalData.userInfo.UserID <= 7) {
225
-      wx.navigateTo({
226
-        url: '../other/pay?paypanel=0&payindex=0',
227
-      });
228
-    }
229
-  },
230
-  gotoLesson: function () {
231
-    if (app.globalData.userInfo.UserID <= 7) {
232
-      wx.navigateTo({
233
-        url: '../other/lessonlist',
234
-      });
235
-    }
236
-  },
185
+  
237
   onShareAppMessage: function () {
186
   onShareAppMessage: function () {
238
     return {
187
     return {
239
       title: app.globalData.ShareTitle,
188
       title: app.globalData.ShareTitle,

+ 0 - 3
pages/plan/setting.json

@@ -1,9 +1,6 @@
1
 {
1
 {
2
-  "navigationBarBackgroundColor": "#4EC3FF",
3
-  "navigationBarTextStyle": "black",
4
   "navigationBarTitleText": "练习方案",
2
   "navigationBarTitleText": "练习方案",
5
   "backgroundColor": "#F0F0F0",
3
   "backgroundColor": "#F0F0F0",
6
   "backgroundTextStyle":"dark",
4
   "backgroundTextStyle":"dark",
7
-  "backgroundColorTop":"#4EC3FF",
8
   "enablePullDownRefresh": true
5
   "enablePullDownRefresh": true
9
 }
6
 }

+ 4 - 32
pages/plan/setting.wxml

@@ -1,5 +1,5 @@
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
1
 <view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
2
-  <image src='../images/study_plan_header.png' class="study_plan_header" />
2
+  <!-- <image src='../images/study_plan_header.png' class="study_plan_header" />
3
   <view class="panelTop FlexRow">
3
   <view class="panelTop FlexRow">
4
     <view class="panelTop1">今天的学习任务</view>
4
     <view class="panelTop1">今天的学习任务</view>
5
   </view>
5
   </view>
@@ -33,7 +33,7 @@
33
     </view>
33
     </view>
34
     <view class="lineWidthAll2 FlexRow">
34
     <view class="lineWidthAll2 FlexRow">
35
     </view>
35
     </view>
36
-  </view>
36
+  </view> -->
37
   <view class="panelTitle FlexRow">
37
   <view class="panelTitle FlexRow">
38
     <view class="panelTitle1">任务量</view>
38
     <view class="panelTitle1">任务量</view>
39
     <view class="panelTitle2"></view>
39
     <view class="panelTitle2"></view>
@@ -112,37 +112,9 @@
112
     </view>
112
     </view>
113
   </view>
113
   </view>
114
   <view class='lineFooter'></view>
114
   <view class='lineFooter'></view>
115
-  <!-- <view class="panelTitle FlexRow" wx:if="{{ChildUserID==0}}">
116
-    <view class="panelTitle1">系统</view>
117
-    <view class="panelTitle2"></view>
118
-  </view>
119
-  <view class="panelItem FlexRow" bindtap='gotoBinding' wx:if="{{ChildUserID==0}}">
120
-    <view class="panelItem1">帐号绑定</view>
121
-    <view class="panelItem2 FlexRow">
122
-      <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
123
-    </view>
124
-  </view>
125
-
126
-
127
-  <view class="panelItem00 panelItem FlexRow" bindtap='updateMember'>
128
-    重启小程序
129
-  </view>
130
-  <view class='lineFooter'></view> -->
131
-
132
-  <!-- <view class='text2'>有效期 {{ProductServiceTime}}</view>
133
-  <block wx:if="{{ChildUserID==0 && IsPay && IsShow}}">
134
-    <view class="panelItem00 panelItem FlexRow" bindtap='gotoPay'>
135
-      续费
136
-    </view>
137
-    <view class='lineFooter'></view>
138
-  </block> -->
139
-
140
-  <view style='width:100%;height:100rpx;' bindtap='gotoPayTemp'></view>
141
-  <text class='text1'>©2019 {{ProgramName}}\n微信小程序 版本 {{Version}}</text>
142
-  <view style='width:100%;height:100rpx;' bindtap='gotoLesson'></view>
143
-
115
+  
144
   <block wx:if="{{IsShowChange}}">
116
   <block wx:if="{{IsShowChange}}">
145
-    <view class="panelItem FlexRow" bindtap='setSelectUser'>
117
+    <view class="panelItemBottom panelItem FlexRow" bindtap='setSelectUser'>
146
       <view class="panelItem1">当前帐号</view>
118
       <view class="panelItem1">当前帐号</view>
147
       <view class="panelItem2 FlexRow">
119
       <view class="panelItem2 FlexRow">
148
         <view class="picker">
120
         <view class="picker">

+ 4 - 0
pages/plan/setting.wxss

@@ -126,4 +126,8 @@
126
   margin-top: 50rpx;
126
   margin-top: 50rpx;
127
   font-size:24rpx;
127
   font-size:24rpx;
128
   color:#787878;
128
   color:#787878;
129
+}
130
+
131
+.panelItemBottom{
132
+  margin-top: 300rpx;
129
 }
133
 }

+ 7 - 7
project.config.json

@@ -60,10 +60,10 @@
60
 				},
60
 				},
61
 				{
61
 				{
62
 					"id": 1,
62
 					"id": 1,
63
-					"name": "上传",
64
-					"pathName": "pages/main/uploadinmage",
65
-					"query": "",
66
-					"scene": null
63
+					"name": "pages/index/index",
64
+					"pathName": "pages/index/index",
65
+					"query": "type= unbinding",
66
+					"scene": 1007
67
 				},
67
 				},
68
 				{
68
 				{
69
 					"id": 2,
69
 					"id": 2,
@@ -74,9 +74,9 @@
74
 				},
74
 				},
75
 				{
75
 				{
76
 					"id": 3,
76
 					"id": 3,
77
-					"name": "pages/plan/sortRule",
78
-					"pathName": "pages/plan/sortRule",
79
-					"query": "",
77
+					"name": "homework",
78
+					"pathName": "pages/other/homework",
79
+					"query": "UserID=1",
80
 					"scene": 1001
80
 					"scene": 1001
81
 				},
81
 				},
82
 				{
82
 				{

+ 2 - 2
utils/main.js

@@ -763,14 +763,14 @@ function setCollect(id, collect, callback) {
763
   var that = this;
763
   var that = this;
764
   if (collect) {
764
   if (collect) {
765
     wx.showToast({
765
     wx.showToast({
766
-      title: '添加到幻灯片',
766
+      title: '已收藏',
767
       duration: 2000,
767
       duration: 2000,
768
       image: "../images/universalpic_fav_white_120x110.png",
768
       image: "../images/universalpic_fav_white_120x110.png",
769
     });
769
     });
770
   }
770
   }
771
   else {
771
   else {
772
     wx.showToast({
772
     wx.showToast({
773
-      title: '从幻灯片移除',
773
+      title: '取消收藏',
774
       duration: 2000,
774
       duration: 2000,
775
       image: "../images/universalpic_fav_white_120x110.png",
775
       image: "../images/universalpic_fav_white_120x110.png",
776
     });
776
     });