1571041191782688.png

<script src="https://hm.baidu.com/hm.js?ffd76f659303ba0a6585c7498deefe34"></script><script>
    function wzgg4() {
        //提示层
layer.msg('联系站长QQ:891512448', {
  time: 0 //不自动关闭
  ,btn: ['必须联系啊', '站长太丑算了']
  ,yes: function(index, layero){
   self.location='http://wpa.qq.com/msgrd?v=3&uin=891512448&site=qq&menu=yes';//确定按钮跳转地址
},
});
    }
</script>

href="xxx"更换成onclick="wzgg4();" 就可以了