From b77e8e776af4d81e748e9e21d51b64a11085a195 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 19 十二月 2024 10:49:11 +0800 Subject: [PATCH] 未提交退出提示 --- packagePersonal/pages/aboutUs/index.js | 27 ++++----------------------- 1 files changed, 4 insertions(+), 23 deletions(-) diff --git a/packagePersonal/pages/aboutUs/index.js b/packagePersonal/pages/aboutUs/index.js index 0177cca..7826054 100644 --- a/packagePersonal/pages/aboutUs/index.js +++ b/packagePersonal/pages/aboutUs/index.js @@ -36,7 +36,9 @@ barHeight: systInfo.statusBarHeight, types: options.types }) - // this.getBanner() + wx.setNavigationBarTitle({ + title: options.types == 'jsek_aboutUs' ? '鍏充簬鎴戜滑' : '鑱旂郴鎴戜滑', + }) this.getAboutText() }, @@ -88,25 +90,6 @@ onShareAppMessage() { }, - //杞挱鍥� - getBanner() { - app.MG.resource.getItem({ - path: 'jsek_banner\\jsek_aboutUsBanner', - paging: { - start: 0, - size: 9 - }, - fields: { - jsek_link: [] - } - }).then(res => { - this.setData({ - bannerList: res.datas[0].icon, - swiperList: res.datas[0].icon - }) - }) - }, - //鏂囧瓧 jsek_aboutUs 鍏充簬鎴戜滑 //jsek_contactUs 鑱旂郴鎴戜滑 getAboutText() { @@ -119,10 +102,8 @@ width: 750 }, }).then(res => { - // console.log(res.datas[0].content); - // let modifiedContent = `<div class="richTextBox">${res.datas[0].content}</div>`; let modifiedContent = res.datas[0].content - // modifiedContent = modifiedContent.replace(/\<table/gi, '<table class="aboutUs-rich-table"').replace(/\<td/gi, '<table class="aboutUs-rich-td"').replace(/\<tr/gi, '<tr class="aboutUs-rich-tr"').replace(/\<p/gi, '<p class="aboutUs-rich-p"') + modifiedContent = modifiedContent.replace(/<table/g, '<table class="table"').replace(/<tr/g, '<tr class="tr"').replace(/<td/g, '<td class="td"') this.setData({ aboutText: modifiedContent, loading: false, -- Gitblit v1.9.1