优化详情页面
This commit is contained in:
parent
80f7079b5a
commit
c7d5b5f474
|
@ -59,6 +59,7 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if (e.type == "care") {
|
} else if (e.type == "care") {
|
||||||
|
this.pageTitle = "服务无忧保";
|
||||||
this.$request({
|
this.$request({
|
||||||
api: "system.carefree",
|
api: "system.carefree",
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
|
@ -80,11 +81,11 @@ export default {
|
||||||
this.pageTitle = "服务协议";
|
this.pageTitle = "服务协议";
|
||||||
this.info.content = this.platformData.service;
|
this.info.content = this.platformData.service;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.info.content = this.info.content.replace(/\<img/gi, '<img style="max-width:100%;height:auto"');
|
this.info.content = this.info.content.replace(/\<img/gi, '<img style="max-width:100%;height:auto"');
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: this.pageTitle,
|
title: this.pageTitle,
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
onShow() {},
|
onShow() {},
|
||||||
onReady() {},
|
onReady() {},
|
||||||
|
|
Loading…
Reference in New Issue