Przeglądaj źródła

1.0.10

有分享页
chengjie 7 lat temu
rodzic
commit
24450e863d

+ 1 - 1
app.js

@@ -14,7 +14,7 @@ App({
14 14
     this.globalData.systemInfo = wx.getSystemInfoSync();
15 15
   },
16 16
   globalData: {
17
-    version: "1.0.9",
17
+    version: "1.0.10",
18 18
     IsProduction: true,
19 19
     ProgramID: 105,
20 20
     AppID: "wx1fef080f74481cbd",

+ 1 - 0
app.json

@@ -20,6 +20,7 @@
20 20
     "enablePullDownRefresh": false
21 21
   },
22 22
   "navigateToMiniProgramAppIdList": [
23
+    "wxa5441bbf344692ba",
23 24
     "wx46a7b4c420e6d38f",
24 25
     "wx1fef080f74481cbd",
25 26
     "wx331e8dd070f01d0e",

BIN
images/homepage_banner.png


BIN
images/programstart_footer_illue.png


+ 9 - 9
pages/main/default.js

@@ -73,15 +73,15 @@ Page({
73 73
       }
74 74
     });
75 75
 
76
-    if (list && list.length >= 2) {
77
-      common.getStorageValue(that, "IsShare", false, function () {
78
-        if (!that.data.IsShare) {
79
-          wx.navigateTo({
80
-            url: '../about/share',
81
-          });
82
-        }
83
-      });
84
-    }
76
+    // if (list && list.length >= 5) {
77
+    //   common.getStorageValue(that, "IsShare", false, function () {
78
+    //     if (!that.data.IsShare) {
79
+    //       wx.navigateTo({
80
+    //         url: '../about/share',
81
+    //       });
82
+    //     }
83
+    //   });
84
+    // }
85 85
   },
86 86
   downloadUserAvatar: function () {
87 87
     var avatar = wx.getStorageSync("Avatar");

+ 5 - 2
pages/main/default.wxml

@@ -68,6 +68,9 @@
68 68
 
69 69
         </view>
70 70
         <image class="universalpic_line_zigzag_brown_down" src="../../images/universalpic_line_zigzag_brown_down.png" />
71
+        
72
+        <image src='../../images/homepage_banner.png' class="homepage_banner" bindtap='switchProgram' data-appid='{{ProgramList[0].appId}}' data-path='{{ProgramList[0].path}}' />
73
+
71 74
         <image class="universalpic_line_zigzag_brown_up" src="../../images/universalpic_line_zigzag_brown_up.png" />
72 75
         <view class="panel003 circularBottom FlexColumn">
73 76
           <view class="panel0030 FlexRow">
@@ -117,11 +120,11 @@
117 120
       <button class="panel FlexRow" open-type="share">
118 121
         <view>转发给朋友</view>
119 122
       </button>
120
-      <view class="line"></view>
123
+      <!-- <view class="line"></view>
121 124
       <view class="panel2 panel FlexColumn" bindtap='buildShareImage' >
122 125
         <view>存图发到朋友圈</view>
123 126
         <view class="text3">点击后生成图片,长按图片选择保存到相册</view>
124
-      </view>
127
+      </view> -->
125 128
       <view class="line"></view>
126 129
       <view class="line2"></view>
127 130
       <view class="line"></view>

+ 6 - 0
pages/main/default.wxss

@@ -109,6 +109,12 @@
109 109
   height: 49rpx;
110 110
 }
111 111
 
112
+
113
+.homepage_banner{
114
+   width:100%;
115
+   height:270rpx;
116
+}
117
+
112 118
 .universalpic_line_zigzag_brown_up {
113 119
   width: 100%;
114 120
   height: 79rpx;

+ 4 - 4
utils/main.js

@@ -224,10 +224,10 @@ function getDifficulty(num) {
224 224
 function getProgramList() {
225 225
   return [
226 226
     {
227
-      id: 89,
228
-      Name:"数学口算",
229
-      appId: 'wx46a7b4c420e6d38f',
230
-      path: 'pages/index/start?SourceID=' + app.globalData.ProgramID,
227
+      id: 164,
228
+      Name:"口算星球",
229
+      appId: 'wxa5441bbf344692ba',
230
+      path: 'pages/index/index?SourceID=' + app.globalData.ProgramID,
231 231
       imageName:"universalpic_product_kousuan_icon_size01",
232 232
     },
233 233
     {