聯系官方銷售客服
1835022288
028-61286886
這個一個其他CMS模板中微信彈出復制的代碼,用在迅睿中提示錯誤,請問應該怎么修改
<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>
參考文檔:《模板代碼保護code標簽/模板代碼格式化》