var ewmAll = document.getElementsByClassName('target');
var arr = ["553312610","553305297","990069507","990058216"];
var ewm = arr[Math.floor(Math.random()*arr.length)];
for(var i = 0; i<ewmAll.length; i++){
	ewmAll[i].innerHTML = ewm;
}

var wx_img = '<img  src="images/' + ewm + '.png">';
$(".wxid").append(wx_img);


var tjrAll = document.getElementsByClassName('targetTj');
var arr2 = [''];
for(var i = 0; i < tjrAll.length; i++){
	tjrAll[i].innerHTML = arr2;
}


function copyFn(){
	var val = document.getElementsByClassName('target')[0];
	window.getSelection().selectAllChildren(val);
	document.execCommand ("Copy");
	alert("已成功复制，请进行第二步")
}