chengjie 7 年之前
父节点
当前提交
75fc982160
共有 7 个文件被更改,包括 13 次插入5 次删除
  1. 1 1
      app.js
  2. 二进制
      images/Triangle.png
  3. 二进制
      images/sharp.png
  4. 7 0
      pages/about/membercenter.js
  5. 4 2
      pages/about/paylist.js
  6. 0 1
      pages/main/index.js
  7. 1 1
      project.config.json

+ 1 - 1
app.js

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

二进制
images/Triangle.png


二进制
images/sharp.png


+ 7 - 0
pages/about/membercenter.js

@@ -68,4 +68,11 @@ Page({
68
       url: '../about/payfinished?type=accredit',
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
     // if (!app.globalData.userInfo)
13
     // if (!app.globalData.userInfo)
14
     //   app.globalData.userInfo = { UserID: 4 };
14
     //   app.globalData.userInfo = { UserID: 4 };
15
-
15
+    var UnloadType = "";
16
+    if (options && options.type)
17
+      UnloadType = options.type;
16
     this.setData({
18
     this.setData({
17
       Height: common.getSystemHeight(),
19
       Height: common.getSystemHeight(),
18
-      UnloadType: options.type,
20
+      UnloadType: UnloadType,
19
     });
21
     });
20
     this.init();
22
     this.init();
21
   },
23
   },

+ 0 - 1
pages/main/index.js

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

+ 1 - 1
project.config.json

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