dragonBoatFestival.js 496 B

1234567891011121314151617181920212223
  1. // pages/dragonBoatFestival/dragonBoatFestival.js
  2. var app = getApp();
  3. Page({
  4. data: {
  5. urlHttp: ''
  6. },
  7. onLoad: function (options) {
  8. var that = this;
  9. var host = getApp().globalData.servsers;
  10. that.setData({
  11. urlHttp: 'https://www.daliangzao.net/'
  12. })
  13. var time = Util.formatTime(new Date()); //获赠时间
  14. console.log(time);
  15. },
  16. linkIndex:function(){
  17. wx.switchTab({
  18. url:'/pages/index/index'
  19. })
  20. }
  21. })
  22. var Util = require('../../utils/util.js');