您现在的位置:小学生自学网>> 资料库>> 转载

微信小程序开发——交互提示信息

作者: 来源: 发布时间:2023年01月24日 点击数:
 

 

tijiao:function(){
    wx.showModal({
      title: '提示',
      content: 'hello',
      showCancel: false //取消按钮是否显示
    })
},
tijiao2:function(){
    wx.showToast({
        title: '恭喜你,答对了',
        icon:'success',
        duration: 2000
      })
},