|
|
@@ -384,7 +384,7 @@ |
|
|
|
lookDetail(){ |
|
|
|
let link = encodeURIComponent(JSON.stringify(this.content)) |
|
|
|
uni.navigateTo({ |
|
|
|
url: "../mine/messageDetail?content=" + link + "&id=" + this.id |
|
|
|
url: "../mine/messageDetail?content=" + link + "&id=" + this.id+"&tit="+this.tit |
|
|
|
}) |
|
|
|
let data = { |
|
|
|
id:this.id, |
|
|
@@ -399,7 +399,7 @@ |
|
|
|
}, |
|
|
|
data, |
|
|
|
success: (res) => { |
|
|
|
return; |
|
|
|
this.initPopup() |
|
|
|
} |
|
|
|
}) |
|
|
|
this.isShowUpdate = false; |
|
|
@@ -413,11 +413,25 @@ |
|
|
|
'Access-Token': uni.getStorageSync('weapp_session_login_data').token |
|
|
|
}, |
|
|
|
success: (res) => { |
|
|
|
this.first(res.data.data.id) |
|
|
|
this.content = res.data.data.content |
|
|
|
this.tit = res.data.data.title |
|
|
|
this.aid = res.data.data.accountId |
|
|
|
this.id = res.data.data.id |
|
|
|
this.isShowUpdate = res.data.data.readFlag==0?true:false |
|
|
|
this.isShowUpdate = res.data.data.readFlag==0?true:false; |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
first(id){ |
|
|
|
uni.request({ |
|
|
|
url: config.service.firstShowPopup, |
|
|
|
method: "GET", |
|
|
|
header: { |
|
|
|
'content-type': 'application/json', |
|
|
|
'Access-Token': uni.getStorageSync('weapp_session_login_data').token |
|
|
|
}, |
|
|
|
data:{id}, |
|
|
|
success: (res) => { |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|