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