yiming
2024-04-15 f86bd75868eb9b0e81d5cb43d6e76c08a0da3083
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: []
      }
@@ -104,7 +111,6 @@
        bannerList: res.datas[0].icon,
        swiperList: res.datas[0].icon
      })
      console.log(this.data.bannerList, 789);
    })
  },
@@ -120,10 +126,12 @@
        width: 750
      },
    }).then(res => {
      console.log(res);
      // console.log(res.datas[0].content);
      this.setData({
        aboutText: res.datas[0].content
        aboutText: res.datas[0].content,
        loading: false,
        hidden: false,
      })