//获取应用实例
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)
}
})
没有合适的资源?快使用搜索试试~ 我知道了~
微信小程序——机器人兔兔(截图+源码).zip

共31个文件
js:10个
wxml:8个
wxss:8个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉

微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip 微信小程序——机器人兔兔(截图+源码).zip
资源推荐
资源详情
资源评论


























收起资源包目录











































共 31 条
- 1
资源评论

- qq_455822802023-03-01资源内容详细,总结地很全面,与描述的内容一致,对我启发很大,学习了。

易小侠
- 粉丝: 2437
- 资源: 8万+

下载权益

C知道特权

VIP文章

课程特权

开通VIP

上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
