From 2f1a9a39d6bde43d8c73236f822b3bc79cc96af6 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 06 九月 2024 16:19:57 +0800 Subject: [PATCH] 联系我们修改 --- packagePersonal/pages/aboutUs/index.js | 24 +----------------------- 1 files changed, 1 insertions(+), 23 deletions(-) diff --git a/packagePersonal/pages/aboutUs/index.js b/packagePersonal/pages/aboutUs/index.js index 0177cca..e5af99e 100644 --- a/packagePersonal/pages/aboutUs/index.js +++ b/packagePersonal/pages/aboutUs/index.js @@ -36,7 +36,6 @@ barHeight: systInfo.statusBarHeight, types: options.types }) - // this.getBanner() this.getAboutText() }, @@ -88,25 +87,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 +99,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