|
@@ -30,13 +30,19 @@ Page({ |
|
@@ -30,13 +30,19 @@ Page({ |
|
30
|
sid:this.data.sid
|
30
|
sid:this.data.sid
|
|
31
|
}).then(res => {
|
31
|
}).then(res => {
|
|
32
|
let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17];
|
32
|
let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17];
|
|
33
|
- let style =arr.includes(parseInt(res.data.type))
|
33
|
+ let StyleType = res.data.type;
|
|
|
|
34
|
+ let style =arr.includes(parseInt(StyleType))
|
|
34
|
let url = ''
|
35
|
let url = ''
|
|
35
|
if (!style) {
|
36
|
if (!style) {
|
|
36
|
- url = `/pack-invitation/pages/detail_owner_invitation${res.data.type}?id=${that.data.oid}`;
|
37
|
+ url = `/pack-invitation/pages/detail_owner_invitation${StyleType}?id=${that.data.oid}`;
|
|
37
|
} else {
|
38
|
} else {
|
|
38
|
url = `/pack-invitation/pages/detail_owner_invitation9?id=${that.data.oid}`;
|
39
|
url = `/pack-invitation/pages/detail_owner_invitation9?id=${that.data.oid}`;
|
|
39
|
}
|
40
|
}
|
|
|
|
41
|
+ if(StyleType == '18' || StyleType == '21') url = `/pack-invitation/pages/detail_owner_invitation11?id=${that.data.oid}`;
|
|
|
|
42
|
+ if(StyleType == '19' || StyleType == '22') url = `/pack-invitation/pages/detail_owner_invitation12?id=${that.data.oid}`;
|
|
|
|
43
|
+ if(StyleType == '20') url = `/pack-invitation/pages/detail_owner_invitation10?id=${that.data.oid}`;
|
|
|
|
44
|
+ if(StyleType == '18' || StyleType == '19') url += '&bookType=1';
|
|
|
|
45
|
+ if(StyleType == '21' || StyleType == '22') url += '&bookType=2';
|
|
40
|
return wx.reLaunch({
|
46
|
return wx.reLaunch({
|
|
41
|
url
|
47
|
url
|
|
42
|
})
|
48
|
})
|