//获取应用实例
var app = getApp()
Page({
data:{
userInfo:{},
animationData:{},
actionSheetHidden: true,
actionSheetItems:[
{"name":"产品介绍","linkTo":"../centerPage/introduce"},
{"name":"音频展示","linkTo":"../centerPage/showVideo"},
{"name":"用户管理","linkTo":"../centerPage/userManage"},
{"name":"关于我们","linkTo":"../centerPage/aboutUS"}
],
// markers: [{
// latitude: 23.099994,
// longitude: 113.324520,
// name: 'T.I.T 创意园',
// desc: '我现在的位置'
// }],
// covers: [{
// latitude: 23.099794,
// longitude: 113.324520,
// iconPath: '../images/car.png',
// rotate: 10
// }, {
// latitude: 23.099298,
// longitude: 113.324129,
// iconPath: '../images/car.png',
// rotate: 90
// }]
},
chatWithMe: function(e){
// console.log('dfdf')
wx.navigateTo({
url: '../chatRoom/chatBox'
})
},
actionSheetChange: function(e){
this.setData({
actionSheetHidden: !this.data.actionSheetHidden
})
},
bindItemTap: function (e){
console.log('tap ' + e.currentTarget.dataset.navigator);
wx.navigateTo({
url: e.currentTarget.dataset.navigator
})
},
onShow: function () {
let that = this;
app.getUserInfo(function(userInfo){
that.setData({
userInfo:userInfo
})
})
wx.setNavigationBarTitle({
title: '主页',
success:function(){
// console.log("success")
},
fail: function(){
// console.log("error")
}
})
wx.showNavigationBarLoading();
var animation = wx.createAnimation({
transformOrigin: "50% 50%",
duration: 3000,
timingFunction: 'ease',
delay: 0
})
this.animation = animation;
animation.scale(2,2).rotate(45).step();
this.setData({
animationData: animation.export()
})
setTimeout(function(){
animation.translate(30).step();
this.setData({
animationData:animation.export()
})
}.bind(this),2000)
}
})
没有合适的资源?快使用搜索试试~ 我知道了~
微信小程序源码 机器人兔兔(学习版)
共33个文件
js:10个
wxml:8个
wxss:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 37 浏览量
2022-06-18
16:46:18
上传
评论
收藏 36KB RAR 举报
温馨提示
微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(学习版)微信小程序源码 机器人兔兔(
资源推荐
资源详情
资源评论
收起资源包目录
微信小程序源码 机器人兔兔(学习版).rar (33个子文件)
机器人兔兔
wx-basicWX
.DS_Store 6KB
WX
app.json 441B
.DS_Store 6KB
pages
index
index.js 590B
index.wxss 801B
index.wxml 488B
logs
logs.js 266B
logs.json 54B
logs.wxml 173B
logs.wxss 106B
centerPage
centerPage.js 2KB
showVideo.wxss 96B
introduce.wxml 34B
userManage.wxss 0B
centerPage.wxss 559B
aboutUS.js 765B
userManage.js 272B
introduce.wxss 0B
aboutUS.wxml 558B
introduce.js 273B
centerPage.wxml 1003B
showVideo.js 1KB
showVideo.wxml 891B
userManage.wxml 318B
chatRoom
chatBox.wxml 1KB
chatBox.wxss 921B
chatBox.js 1KB
resource
menu.png 977B
app.wxss 330B
app.js 719B
utils
util.js 460B
1.png 12KB
2.png 13KB
共 33 条
- 1
资源评论
金枝玉叶9
- 粉丝: 122
- 资源: 7641
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- windows下NTFS文件系统读取.zip
- windows程序设计课程 相关代码.zip
- Windows via C++图书代码,升级Windows SDK 到10.zip
- matlab基于扩张卡尔曼滤波的磷酸铁锂蓄电池SOC检测,给出了电池模型和算法实现过程.zip
- matlab基于卡尔曼滤波的磷酸铁锂蓄电池SOC检测
- STM8S003F3P6最小系统AD版(包含原理图、PCB源文件)
- smg.uvproj
- nextjs turbo build
- mysql-connector-j-8.0.31.jar
- MATLAB Appdesigner 设计天气预报小程序:全国各城市天气查询系统Weather-capturer-v3
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功