small-program/pages/rich-text/rich-text.vue
@@ -38,6 +38,10 @@ this.content = res.data.storeLuggageStorageNotice || '' } else if (this.type === 8) { this.content = res.data.storeCooperationAgreement || '' }else if (this.type === 9) { this.content = res.data.priceDescription || '' }else if (this.type === 10) { this.content = res.data.prohibitedItems || '' } const titleMap = { 0: '用户服务协议', @@ -48,7 +52,9 @@ 5: '关于我们', 6: '风险承诺', 7: '行李寄存须知', 8: '代理点合作协议' 8: '代理点合作协议', 9: '价格说明', 10: '禁寄物品', } uni.setNavigationBarTitle({ title: titleMap[this.type] || '详情'