chengjie 7 yıl önce
ebeveyn
işleme
75fc982160

+ 1 - 1
app.js

@@ -12,7 +12,7 @@ App({
12 12
   },
13 13
   globalData: {
14 14
     Version: "1.1.1",
15
-    IsProduction: true,
15
+    IsProduction: false,
16 16
     ProgramID: 106,
17 17
     AppID: "wx313a8f2c0741efe1",
18 18
     ShareTitle:"赢在阅读起跑线",

BIN
images/Triangle.png


BIN
images/sharp.png


+ 7 - 0
pages/about/membercenter.js

@@ -68,4 +68,11 @@ Page({
68 68
       url: '../about/payfinished?type=accredit',
69 69
     });
70 70
   },
71
+  onShareAppMessage: function () {
72
+    return {
73
+      title: app.globalData.ShareTitle,
74
+      path: 'pages/index/index?UserID=' + app.globalData.userInfo.UserID,
75
+      imageUrl: '../../images/07001.png',
76
+    }
77
+  },
71 78
 })

+ 4 - 2
pages/about/paylist.js

@@ -12,10 +12,12 @@ Page({
12 12
     //测试*****************
13 13
     // if (!app.globalData.userInfo)
14 14
     //   app.globalData.userInfo = { UserID: 4 };
15
-
15
+    var UnloadType = "";
16
+    if (options && options.type)
17
+      UnloadType = options.type;
16 18
     this.setData({
17 19
       Height: common.getSystemHeight(),
18
-      UnloadType: options.type,
20
+      UnloadType: UnloadType,
19 21
     });
20 22
     this.init();
21 23
   },

+ 0 - 1
pages/main/index.js

@@ -193,7 +193,6 @@ Page({
193 193
     var that = this;
194 194
     server.getData('GetHanziRecordData?UserID=' + app.globalData.userInfo.UserID + "&Version=" + app.globalData.Version, function (data) {
195 195
       
196
-
197 196
       if (data) {
198 197
 
199 198
         if (!data.DayNumber)

+ 1 - 1
project.config.json

@@ -1,7 +1,7 @@
1 1
 {
2 2
 	"description": "项目配置文件。",
3 3
 	"setting": {
4
-		"urlCheck": true,
4
+		"urlCheck": false,
5 5
 		"es6": true,
6 6
 		"postcss": true,
7 7
 		"minified": true,