1.学习大纲:

2.showToast():

wx.showToast({
title: '成功',
icon: 'success',
duration:
})

3.hieToast():

wx.showToast({
title: '加载中',
icon: 'loading',
duration:
}) setTimeout(function(){
wx.hideToast()
},)

4.showModal():

显示模态弹窗

 //事件处理函数
bindViewTap: function() {
wx.showModal({
title: '提示',
content: '这是一个模态弹窗',
success: function(res) {
if (res.confirm) {
console.log('用户点击确定')
}
}
})
},

5.showActionSheet()

显示操作菜单

 //事件处理函数
bindViewTap: function() {
wx.showActionSheet({
itemList: ['A', 'B', 'C','D'],
success: function(res) {
console.log(res.tapIndex)
},
fail: function(res) {
console.log(res.errMsg)
}
})
},


最新文章

  1. LINQ函数
  2. [解决方案] pythonchallenge level 3
  3. 软件工程总结(Final)
  4. php部分---一个分页类、用法
  5. mac机器下远程仓库添加完毕之后,却无法上传应有的内容。
  6. sqlserver得到昨天的数据
  7. spring AOP简单入门
  8. HDU 4946 Area of Mushroom 凸包
  9. Objective-c学习笔记3
  10. 如何在C++中产生随机数
  11. ●BZOJ 4698 Sdoi2008 Sandy的卡片
  12. Pycharm的相关设置和快捷键集合
  13. SpringBoot系列:Pojo validation
  14. 20165305 《网络对抗技术》 Kali安装
  15. Photoshop CC安装与破解方法
  16. python的re模块详解
  17. SQL Server2008 18456错误
  18. HTML5游戏 看你有多“色” 开发
  19. DBMS_ROWID定位数据行物理存储位置
  20. system.Data.Entity.Infrastructure.DbUpdateConcurrencyException: Store update, insert, or delete statement affected an unexpected number of rows (0) 问题

热门文章

  1. redis如何查看主从状态信息master和salve
  2. Sql service 分页存储过程
  3. 亲爱的SAP从业者们,烦请做个SAP知识学习种类的小调查
  4. 多对多第三张表的创建方式 和 forms组件的使用
  5. 在神经网络中weight decay
  6. Python 文件I/O Ⅳ
  7. [人物存档]【AI少女】【捏脸数据】少(烧)女前(钱)线
  8. js文件夹上传
  9. BZOJ 3589: 动态树 树链剖分+线段树+树链的并
  10. xwiki使用中的问题