mirror of
https://github.com/qist/tvbox.git
synced 2025-01-24 11:24:52 +08:00
35 lines
943 B
HTML
35 lines
943 B
HTML
<!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> |