| | |
| | | }, |
| | | "editor.tabSize": 2, |
| | | "[wxml]": { |
| | | "editor.defaultFormatter": "wechat.miniprogram.wxml-language-features" |
| | | "editor.defaultFormatter": "esbenp.prettier-vscode" |
| | | }, |
| | | "[css]": { |
| | | "editor.defaultFormatter": "HookyQR.beautify" |
| | |
| | | "pages/bookServices/webpage/index", |
| | | "pages/components/webView/index", |
| | | "pages/bookServices/detail/buyResource/index", |
| | | <<<<<<< Updated upstream |
| | | "pages/bookServices/detail/components/learnTask/index" |
| | | ======= |
| | | "pages/bookServices/detail/components/learnTask/index", |
| | | "pages/bookServices/linkPage/index" |
| | | >>>>>>> Stashed changes |
| | | ] |
| | | } |
| | | ], |
| | |
| | | barHeight: systInfo.statusBarHeight, |
| | | types: options.types |
| | | }) |
| | | // this.getBanner() |
| | | this.getAboutText() |
| | | }, |
| | | |
| | |
| | | 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() { |
| | |
| | | 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, |
| | |
| | | height: calc(100vh - env(safe-area-inset-bottom) - 200rpx); |
| | | overflow-y: auto; |
| | | padding: 0 20rpx; |
| | | padding-bottom: 100rpx; |
| | | } |
| | | |
| | | .titleBox { |
| | |
| | | .titleTextBox { |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | |
| | | /* 富文本初始化样式 */ |
| | | /* .richTextBox { |
| | | line-height: 1.4 !important; |
| | | font-size: 14px !important; |
| | | } */ |
| | | |
| | | /* .richTextBox { |
| | | margin: revert !important; |
| | | padding: revert !important; |
| | | border: revert !important; |
| | | font: revert !important; |
| | | vertical-align: revert !important; |
| | | color: #000 !important; |
| | | } */ |
| | | |
| | | /* |
| | | .richTextBox p { |
| | | display: block !important; |
| | | -webkit-margin-before: 1em !important; |
| | | margin-block-start: 1em !important; |
| | | -webkit-margin-after: 1em !important; |
| | | margin-block-end: 1em !important; |
| | | -webkit-margin-start: 0 !important; |
| | | margin-inline-start: 0 !important; |
| | | -webkit-margin-end: 0 !important; |
| | | margin-inline-end: 0 !important; |
| | | } */ |
| | | |
| | | /* .richTextBox td { |
| | | border-bottom: 1px dashed !important; |
| | | border-right: 1px dashed !important; |
| | | border-width: 1px !important; |
| | | } */ |
| | | |
| | | /* |
| | | .richTextBox table { |
| | | border-width: 2rpx !important; |
| | | } */ |
| | | |
| | | |
| | | .aboutUs-rich-p { |
| | |
| | | .aboutUs-rich-table { |
| | | border-width: 2px !important; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | .table { |
| | | border-collapse: collapse; |
| | | /* 边框合并 */ |
| | | } |
| | | |
| | | .td { |
| | | text-align: center; |
| | | border: 1px dashed #ccc; |
| | | } |
| | |
| | | isBackTop: false, |
| | | setScrollValue: 0, |
| | | skeletonLoding: true, |
| | | |
| | | }, |
| | | |
| | | /** |