<script type="text/javascript">
arr_wx = ['76999','72999','73999','75999'];
var wx_index = Math.floor((Math.random() * arr_wx.length));
var stxlwx = arr_wx[wx_index];
//alert(wx_img);return false;
var stxlewm = "ysj";
function ewmtp() {
var xhtml = "< img src=\"qrcodes/" + stxlewm + ".jpg\">"
$(".ewm").html(xhtml);
}
$(function(){
document.getElementById('qrcode').src = 'qrcodes/'+ stxlewm +'.jpg';
})
var d = new Date()
var vYear = d.getFullYear()
var vMon = d.getMonth() + 1
var vDay = d.getDate()
var h = d.getHours();
var m = d.getMinutes();
var se = d.getSeconds();
s = vYear + "-" + (vMon < 10 ? "0" + vMon : vMon) + "-" + (vDay < 10 ? "0" + vDay : vDay);
</script>
<div class="top_tip">
<div class="to_pc"> <img src="../abc/images/wxx.png" height="73" width="69"> </div>
<div style="font-size:16px;line-height:160%; padding-top:10px;"> <b id="No1" class="wx_account" style="color: rgb(230, 0, 19); font-size:21px; background-color: rgb(255, 244, 92);">
<div class="abc"><strong name="weixin"><span class="weixin">微信:<b id="weixin1"><script>document.write(stxlwx);</script></b></span></strong> (長按復制)</div>
</b> <b> 添加微信!交流配方!</b> </div>
</div>
這是上面的JS代碼 和DIV層
現在要弄友盟的事件追蹤 !每個數字和字母 顯示一次 用戶復制 就顯示那一個,而不是4個一起顯示