直接复制到要弹出的页面就可
<div id="popup" style="position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 700px;
height: 150px;
border-radius:5px;
background-color: white;
padding: 20px;
text-align: center;
z-index: 999;">
<div id="close" onclick="document.getElementById('popup').style.display = 'none'" style="position: absolute;
top: 10px;
right: 10px;
cursor: pointer;">X
</div>
<h2
style="margin-top: 50px;cursor: pointer"><a
href="http://www.geodata.cn/news/newsDetails.html?newsguid=243576282916089" target="_blank"
style="color: #000;text-decoration: none">xxxxxxxxxxxx</a></h2>
</div>