优化详情页面

This commit is contained in:
TOP糯米 2023-04-02 17:36:39 +08:00
parent 80f7079b5a
commit c7d5b5f474
1 changed files with 5 additions and 4 deletions

View File

@ -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() {},