|
...
|
...
|
@@ -30,13 +30,19 @@ Page({ |
|
|
|
sid:this.data.sid
|
|
|
|
}).then(res => {
|
|
|
|
let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17];
|
|
|
|
let style =arr.includes(parseInt(res.data.type))
|
|
|
|
let StyleType = res.data.type;
|
|
|
|
let style =arr.includes(parseInt(StyleType))
|
|
|
|
let url = ''
|
|
|
|
if (!style) {
|
|
|
|
url = `/pack-invitation/pages/detail_owner_invitation${res.data.type}?id=${that.data.oid}`;
|
|
|
|
url = `/pack-invitation/pages/detail_owner_invitation${StyleType}?id=${that.data.oid}`;
|
|
|
|
} else {
|
|
|
|
url = `/pack-invitation/pages/detail_owner_invitation9?id=${that.data.oid}`;
|
|
|
|
}
|
|
|
|
if(StyleType == '18' || StyleType == '21') url = `/pack-invitation/pages/detail_owner_invitation11?id=${that.data.oid}`;
|
|
|
|
if(StyleType == '19' || StyleType == '22') url = `/pack-invitation/pages/detail_owner_invitation12?id=${that.data.oid}`;
|
|
|
|
if(StyleType == '20') url = `/pack-invitation/pages/detail_owner_invitation10?id=${that.data.oid}`;
|
|
|
|
if(StyleType == '18' || StyleType == '19') url += '&bookType=1';
|
|
|
|
if(StyleType == '21' || StyleType == '22') url += '&bookType=2';
|
|
|
|
return wx.reLaunch({
|
|
|
|
url
|
|
|
|
})
|
...
|
...
|
|