mirror of https://github.com/gaotianliuyun/gao
parent
c08b5507e2
commit
5ea925123a
@ -1,35 +0,0 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="zh-CN"> |
||||
|
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<title>Document</title> |
||||
<style> |
||||
img { |
||||
width: 100%; |
||||
} |
||||
</style> |
||||
</head> |
||||
|
||||
<body> |
||||
<script> |
||||
var pic = new Array; |
||||
pic[0] = './json/x0.jpg'; |
||||
pic[1] = './json/y1.jpg'; |
||||
pic[2] = './json/z2.jpg'; |
||||
pic[3] = './json/s3.jpg'; |
||||
pic[4] = './json/t4.jpg'; |
||||
pic[5] = './json/x5.jpg'; |
||||
pic[6] = './json/y6.jpg'; |
||||
pic[7] = './json/z7.jpg'; |
||||
pic[8] = './json/s8.jpg'; |
||||
pic[9] = './json/t9.jpg'; |
||||
parseInt(Math.random() * (pic.length), 10); |
||||
var choose = Math.floor(Math.random() * (pic.length)); |
||||
document.write('<img src="' + pic[choose] + ' ">'); |
||||
</script> |
||||
</body> |
||||
|
||||
</html> |
||||
Loading…
Reference in new issue