|
|
@@ -58,17 +58,18 @@ Page({
|
|
58
|
58
|
onUnload:function(){
|
|
59
|
59
|
this.saveLikeNum();
|
|
60
|
60
|
},
|
|
61
|
|
- returnDefault:function(){
|
|
|
61
|
+ returnDefault:function(e){
|
|
|
62
|
+ var url='../index/index';
|
|
|
63
|
+ var url1=e.currentTarget.dataset.url;
|
|
|
64
|
+ if (url1)
|
|
|
65
|
+ url+=url1;
|
|
|
66
|
+
|
|
|
67
|
+
|
|
62
|
68
|
wx.reLaunch({
|
|
63
|
|
- url: '../index/index'
|
|
|
69
|
+ url: url,
|
|
64
|
70
|
});
|
|
65
|
71
|
},
|
|
66
|
72
|
goto: function (e) {
|
|
67
|
|
- if (e.currentTarget.dataset.target=="school"){
|
|
68
|
|
- wx.navigateBack({
|
|
69
|
|
- delta: 3,
|
|
70
|
|
- });
|
|
71
|
|
- }
|
|
72
|
73
|
main.goto(e);
|
|
73
|
74
|
},
|
|
74
|
75
|
gotoRedirectTo:function(e){
|
|
|
@@ -135,7 +136,7 @@ Page({
|
|
135
|
136
|
var url=app.globalData.uploadImageUrl+"web/fs_a02.png";
|
|
136
|
137
|
//debugger;
|
|
137
|
138
|
return {
|
|
138
|
|
- title: that.data.MyWish.WishWhom2+that.data.MyWish.SchoolShortName,
|
|
|
139
|
+ title: "中考祝福",
|
|
139
|
140
|
path: app.globalData.SharePath + '?type=wish&ID='+that.data.MyWish.ID+'&UserID=' + app.globalData.userInfo.UserID,
|
|
140
|
141
|
imageUrl: url,
|
|
141
|
142
|
}
|