wx.showModal({
title: '提示',
content: '您確定要刪除該文件嗎?',
showCancel: true, //是否顯示取消按鈕-----false去掉取消按鈕
cancelText: "", //默認是“取消”
cancelColor: '', //取消文字的顏色
confirmText: "", //默認是“確定”
confirmColor: '', //確定文字的顏色
success: function(res) {
}
})
默認效果

自定義效果

wx.showModal({
title: '提示',
content: '您確定要刪除該文件嗎?',
showCancel: true, //是否顯示取消按鈕-----false去掉取消按鈕
cancelText: "", //默認是“取消”
cancelColor: '', //取消文字的顏色
confirmText: "", //默認是“確定”
confirmColor: '', //確定文字的顏色
success: function(res) {
}
})
默認效果

自定義效果

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。