|
|
@ -72,7 +72,7 @@ function openGame(gameName) { |
|
|
|
* @param {string} gameName 游戏name |
|
|
|
*/ |
|
|
|
function mouseover(gameName) { |
|
|
|
// console.log(gameName); |
|
|
|
console.log(gameName); |
|
|
|
newname.value = gameName; |
|
|
|
hover(); |
|
|
|
gameImage.value = `/page3/${gameName}.jpg`; |
|
|
@ -92,14 +92,15 @@ function hoverEnd() { |
|
|
|
<style scoped> |
|
|
|
.container { |
|
|
|
position: absolute; |
|
|
|
width: 1280rem; |
|
|
|
height: 619rem; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
left: 50%; |
|
|
|
top: 50%; |
|
|
|
transform: translate3d(-50%, -50%, 0); |
|
|
|
background-repeat: no-repeat; |
|
|
|
background-position: center; |
|
|
|
background-size: 1280rem 670rem; |
|
|
|
background-size: 1280rem 720rem; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
.small-container { |
|
|
|
position: absolute; |
|
|
|