<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<img id="image" src="img/d7d8dfb9137fe798f92cb3b2f227063.jpg" alt="">
<button type="button" onclick="changeImage('on')">美女1</button>
<button type="button" onclick="changeImage('off')">美女2</button>
<script type="text/javascript">
function changeImage(status) {
x= document.getElementById("image");
if (status == "on") {
x.src = "img/d7d8dfb9137fe798f92cb3b2f227063.jpg"
}
else if (status == "off") {
x.src = "img/f1ff8252d78bc6748005a45d1cb6aa3.jpg"
}
}
</script>
</body>
</html>