chengjie пре 4 година
родитељ
комит
e0479ced23

+ 1 - 3
app.js

@@ -1,6 +1,6 @@
1 1
 App({
2 2
   globalData: {
3
-    Version: "2.1.47",
3
+    Version: "2.1.48",
4 4
     IsProduction: true,
5 5
     //IsProduction: false,
6 6
     ShareTitle: "高效学习从秒过开始",
@@ -10,9 +10,7 @@ App({
10 10
     ProgramName: "秒过学习",
11 11
     AppID: "wx84b3feac6069eec3",
12 12
     serverUrl: "https://www.kylx365.com/apiData/",
13
-    //serverUrl: "http://129.211.100.114/apiData/",
14 13
     serverUrlServer: "https://www.kylx365.com/apiData/",
15
-    //serverUrlServer: "http://129.211.100.114/apiData/",
16 14
     serverUrlLocalhost: "http://localhost:3020/apiData/",
17 15
     audioUrlBaidu: "https://tsn.baidu.com/text2audio?lan=zh&ctp=1&cuid=abcdxxx&tok=[token]&tex=[word]&vol=9&per=0&spd=3&pit=5",
18 16
     audioUrlYoudao: "https://dict.youdao.com/dictvoice?rate=10&le=auto&audio=[word]",

+ 5 - 0
pages/main/systemsetting.js

@@ -34,6 +34,11 @@ Page({
34 34
       url: '../main/symbolsetting',
35 35
     });
36 36
   },
37
+  gotoAbout: function (e) {
38
+    wx.navigateTo({
39
+      url: '../other/newuser?nobutton=true',
40
+    });
41
+  },
37 42
   gotoPayCustom:function(){
38 43
     if (app.globalData.userInfo.UserID<=7){
39 44
       wx.navigateTo({

+ 6 - 0
pages/main/systemsetting.wxml

@@ -16,6 +16,12 @@
16 16
       <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
17 17
     </view>
18 18
   </view>
19
+  <view class="panelItem FlexRow" bindtap='gotoAbout'>
20
+    <view class="panelItem1">关于秒过</view>
21
+    <view class="panelItem2 FlexRow">
22
+      <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
23
+    </view>
24
+  </view>
19 25
   <view class='lineFooter'></view>
20 26
   <view class="panelItem00 panelItem FlexRow" bindtap='updateMember'>
21 27
     重新获取用户信息

+ 2 - 1
pages/other/activity.js

@@ -58,7 +58,8 @@ Page({
58 58
       console.log("Today:" +new Date(common.formatTime(new Date(), "/", true) + " 00:00:00"));
59 59
       var dayNumber = common.diffDate("d", new Date(common.formatTime(new Date(), "/", true) + " 00:00:00"), EarlyBirdTimeEnd1);
60 60
       console.log(dayNumber);
61
-      if (dayNumber < 0) {
61
+      
62
+      if (dayNumber < 0 || app.globalData.userInfo.IsPay==1) {
62 63
         that.setData({
63 64
           ShowNone: true,
64 65
         });

+ 1 - 0
pages/other/newuser.js

@@ -18,6 +18,7 @@ Page({
18 18
     backgroundAudioManager = wx.getBackgroundAudioManager();
19 19
     that.setData({
20 20
       Containnerheight: main.getWindowHeight(),
21
+      NoButton:options.nobutton
21 22
     });
22 23
       
23 24
     that.init(options.index);

+ 1 - 1
pages/other/newuser.wxml

@@ -31,7 +31,7 @@
31 31
         <image class="bm_sy_bg" src='{{ImagePath}}web/bm_sy_bg.png' />
32 32
       </view>
33 33
     </view>
34
-    <view class="panelShowPay{{IsIPad}} FlexColumn" wx:if="{{PageIndex==0}}">
34
+    <view class="panelShowPay{{IsIPad}} FlexColumn" wx:if="{{PageIndex==0 && !NoButton}}">
35 35
       <view class="btn2 FlexRow" catchtap="showPay">
36 36
         <image class="bm_sy_banner-bm" src='{{ImagePath}}web/bm_sy_banner-bm.png' />
37 37
       </view>

+ 3 - 0
pages/other/pay.js

@@ -52,6 +52,9 @@ Page({
52 52
 
53 53
     main.getData(url, function (data) {
54 54
       if (data) {
55
+        if (data.Text2.indexOf("\n")>0){
56
+          data.Text2=data.Text2.split("\n");
57
+        }
55 58
         that.setData({
56 59
           Info: data,
57 60
           PayType:PayType

+ 2 - 1
pages/other/pay.wxml

@@ -13,8 +13,9 @@
13 13
     </block>
14 14
   </view>
15 15
   <view class='lineFooter'></view>
16
+  <view style="height:30rpx;width:100%"></view>
17
+  <text class='text2_{{index}} text2' wx:for="{{Info.Text2}}" wx:key="index">{{item}}</text>
16 18
   <view class="btn" bindtap='payMoney'>{{Info.Text8}}</view>
17
-  <text class='text2'>{{Info.Text2}}</text>
18 19
 </view>
19 20
 
20 21
 <view class="container FlexColumn" wx:if="{{PayPanel==1}}">

+ 18 - 10
pages/other/pay.wxss

@@ -54,21 +54,29 @@
54 54
 .text2{
55 55
   font-size:24rpx;
56 56
   font-weight: 400;
57
-  margin-bottom: 30rpx;
58
-  margin-top: 80rpx;
59
-  text-align: center;
57
+  text-align: left;
58
+  width:690rpx;
59
+}
60
+.text2_0{
61
+  color:#4D4D4D;
62
+}
63
+.text2_1{
64
+  color:#FE6659;
65
+}
66
+.text2_2{
67
+  color:#4D4D4D;
60 68
 }
61 69
 
62 70
 .btn{
63
-  font-size:36rpx;
64
-  width:520rpx;
65
-  height:90rpx;
66
-  border-radius: 10rpx;
71
+  font-size:48rpx;
72
+  width:600rpx;
73
+  height:110rpx;
74
+  border-radius: 20rpx;
67 75
   text-align: center;
68
-  line-height: 90rpx;
76
+  line-height: 110rpx;
69 77
   color:#fff;
70
-  background-color: #169DED;
71
-  margin-top: 60rpx;
78
+  background-color: #F57C00;
79
+  margin-top: 160rpx;
72 80
 }
73 81
 
74 82
 .code{