yiming
2024-04-28 04acf6421dded7b6f6eef9d2cf41d0b4a0e8dd0d
packagePersonal/pages/aboutUs/index.js
@@ -7,13 +7,17 @@
   * 页面的初始数据
   */
  data: {
    loading: true,
    hidden: true,
    aboutText: null,
    swiperList: null,
    current: 1,//轮播图参数
    current: 1, //轮播图参数
    autoplay: true, //轮播图参数
    duration: '500',//轮播图参数
    interval: 5000,//轮播图参数
    navigation: { type: 'dots' },//轮播图参数
    duration: '500', //轮播图参数
    interval: 5000, //轮播图参数
    navigation: {
      type: 'dots'
    }, //轮播图参数
    bannerList: [], //轮播图列表
    navBarHeight: '',
    barHeight: '',
@@ -95,7 +99,10 @@
  getBanner() {
    app.MG.resource.getItem({
      path: 'jsek_banner\\jsek_aboutUsBanner',
      paging: { start: 0, size: 9 },
      paging: {
        start: 0,
        size: 9
      },
      fields: {
        jsek_link: []
      }
@@ -119,13 +126,14 @@
        width: 750
      },
    }).then(res => {
      console.log(res);
      // console.log(res.datas[0].content);
      let modifiedContent = `<div class="richTextBox">${res.datas[0].content}</div>`;
      console.log(modifiedContent);
      this.setData({
        aboutText: res.datas[0].content
        aboutText: modifiedContent,
        loading: false,
        hidden: false,
      })
    })
  },
  goBack() {