使用 appcan.window.alert
EG:
var btnList=new Array(); btnList[0]="确认"; btnList[1]="取消"; appcan.window.alert({ title:'提示', content:'确定要删除订单吗?', buttons:btnList, callback:function(err,data,dataType,optId){ if(data == 0){//确定按钮 alert(确定); } } });