"use strict";
var root_path = "../../../";
var index_obj = require(root_path+'function/information_index.js')
var figure_obj = require(root_path+'function/information_figure.js')
var api = require(root_path+'api/information_api.js');
var menu_static = 0;
Page({
data: {
hid: false,
menuStatic:menu_static,
dis:"display_block",
menu:['推荐','热点','视频','北京','社会','娱乐','图片','科技','汽车','体育','财经','军事',],
imgUrls: [
'http://img02.tooopen.com/images/20150928/tooopen_sy_143912755726.jpg',
'http://img06.tooopen.com/images/20160818/tooopen_sy_175866434296.jpg',
'http://img06.tooopen.com/images/20160818/tooopen_sy_175833047715.jpg'
],
indicatorDots: false,
autoplay: false,
interval: 5000,
duration: 1000,
indicatorDots:true,
},
onReady:function(){
var that = this;
setTimeout(function () {
that.setData({ hid: true });
}, 2000);
},
onShow:function(){
var that = this;
setTimeout(function () {
that.setData({ dis:"display_none" });
}, 1500);
if(figure_obj.get_figure_cookie()){
this.setData({ dis:"display_none" });
}else{
figure_obj.set_figure_cookie();
}
},
detail: function(event) {
index_obj.redirectTo_index(event);
},
click_menu:function(event){
this.menu_static = event.currentTarget.id;
this.setData({
menuStatic:this.menu_static
});
}
});
资讯wxapp_微信小程序模板js代码前台前端H5页面源码.rar
128 浏览量
2023-08-09
13:59:19
上传
评论
收藏 1.8MB RAR 举报
2301_76429513
- 粉丝: 9
- 资源: 6730
最新资源
- 发电系统simulink仿真模型风力光伏发电太阳能电池发电系统光敏电阻ADC读取程序
- 发电系统simulink仿真模型风力光伏发电太阳能电池发电系统蜂鸣器驱动程序
- 发电系统simulink仿真模型风力光伏发电太阳能电池发电系统独立看门狗测试程序
- 如何使用redis构建简单的社交网站.md
- 发电系统simulink仿真模型风力光伏发电太阳能电池发电系统定时器中断测试程序
- 发电系统simulink仿真模型风力光伏发电太阳能电池发电系统待机模式测试程序
- Screenshot_20240609_101817.jpg
- 01b8ab2bf936365ce73984328df2f6b2.dav
- 发电系统simulink仿真模型风力光伏发电太阳能电池发电系统窗口看门狗测试程序
- 发电系统simulink仿真模型风力光伏发电太阳能电池发电系统触摸按键驱动程序
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈