aboutus.js 557 B

1234567891011121314151617181920212223242526272829303132333435
  1. //index.js
  2. //获取应用实例
  3. const app = getApp()
  4. Page({
  5. data: {
  6. title: '',
  7. content1: '',
  8. content2: '',
  9. content3: '',
  10. content4: '',
  11. content5: '',
  12. arr: [],
  13. display: '',
  14. indicatorDots: true,
  15. autoplay: true,
  16. interval: 5000,
  17. duration: 2000,
  18. userInfo: {},
  19. hasUserInfo: false,
  20. canIUse: wx.canIUse('button.open-type.getUserInfo'),
  21. },
  22. //事件处理函数
  23. bindViewTap: function() {
  24. wx.navigateTo({
  25. url: '../logs/logs'
  26. })
  27. },
  28. onLoad() {
  29. let _this = this;
  30. _this.setData({
  31. navH: app.globalData.navHeight
  32. })
  33. }
  34. })