聯(lián)系官方銷(xiāo)售客服
1835022288
028-61286886
這個(gè)一個(gè)其他CMS模板中微信彈出復(fù)制的代碼,用在迅睿中提示錯(cuò)誤,請(qǐng)問(wèn)應(yīng)該怎么修改
<script>
var clipboard = new Clipboard('#btnh');
clipboard.on('success', function(e) {
$(".wechat-ses").fadeIn();
$(".wechat-mask").fadeIn();
});
clipboard.on('error', function(e) {
console.log(e);
});
$(".wx-konw").click(function(){$(".wechat-ses").fadeOut();});
$(".opwx").click(function(){$(".wechat-dialog").fadeIn();$(".wechat-mask").fadeIn();});
$(".wx-close,.wechat-mask").click(function(){$(".wechat-mask").fadeOut();$(".wechat-dialog").fadeOut();$(".wechat-ses").fadeOut();});
</script>
參考文檔:《模板代碼保護(hù)code標(biāo)簽/模板代碼格式化》