微信小程序/bml/pages/about/about.js

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//index.js
//获取应用实例
var app = getApp()
Page( {
  data: {
    about: [],
    gybml:[],
    banner_text:[
      {
        "title": "我们是谁",
        "subtitle": "WHO ARE WE"
      }
    ],
    onReady: function (res) {
    this.videoContext = wx.createVideoContext('myVideo')
  },
  inputValue: '',
    data: {
        src: '',
    },
    /**
        * 页面配置
        */
    winWidth: 0,
    winHeight: 0,
    // tab切换
    currentTab: 0,
  },
  onLoad: function (options) {
    var that = this;

    /**
     * 获取系统信息
     */
    wx.getSystemInfo( {

      success: function( res ) {
        that.setData( {
          winWidth: res.windowWidth,
          winHeight: res.windowHeight,
          clientHeight: res.windowHeight,
          currentTab: options.tab
        });
      }

    });
    wx.request({
      url: app.url, //接口地址
      data: {
        opt: 'getAbout',
        cloumnId: '124',
        cloumnName: 'about'
      },
      header: {
        'content-type': 'application/json'
      },
      success: function (res) {
        that.setData({
          about: res.data.about,
        })
后面还有 76 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。