|
|
@@ -60,14 +60,13 @@ export default {
|
|
|
let data = res.data.data;
|
|
|
this.model.title = data.title;
|
|
|
this.model.way = data.sponsor;
|
|
|
- this.model.sponsor = data.sponsor
|
|
|
+ this.model.sponsor = data.sponsor;
|
|
|
let time = this.$options.filters["globalTime"](data.publish_time);
|
|
|
let timeSecond = this.$options.filters["globalTimeSecond"](
|
|
|
data.publish_time
|
|
|
);
|
|
|
this.model.time = time + " " + timeSecond;
|
|
|
this.getRich();
|
|
|
-
|
|
|
}
|
|
|
},
|
|
|
fail: () => {
|
|
|
@@ -77,18 +76,17 @@ export default {
|
|
|
},
|
|
|
getRich() {
|
|
|
uni.request({
|
|
|
- url: `https://kiq.xazhima.com/content/notice/${Math.floor(
|
|
|
- this.id / 1000
|
|
|
- )}/${this.id}.html`,
|
|
|
+ url:
|
|
|
+ getApp().globalData.shareUrl +
|
|
|
+ `content/notice/${Math.floor(this.id / 1000)}/${this.id}.html`,
|
|
|
method: "GET",
|
|
|
header: {
|
|
|
"content-type": "application/x-www-form-urlencoded",
|
|
|
},
|
|
|
|
|
|
success: (res) => {
|
|
|
-
|
|
|
if (res.statusCode === 200) {
|
|
|
- this.model.artical = res.data
|
|
|
+ this.model.artical = res.data;
|
|
|
}
|
|
|
},
|
|
|
fail: () => {
|