小程序的各類彈窗

一、純文本提示 wx.showToast({ title: '純文字彈窗', icon: 'none', //若是要純文本,不要icon,將值設爲'none' duration: 2000 }) 二、取消確認提示 wx.showModal({ title: 'confirm的彈窗', content: '確認要刪除
相關文章
相關標籤/搜索