dialog({ title:'提示', content:"下载需扣除" + point + "个积分<br />重复下载不扣积分,需要继续吗?", okValue:'确定', ok:function (){ window.location.href = linkurl; }, cancelValue: '取消', cancel: function (){} }).showModal();