|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<div class="game-container">
|
|
|
<div id="gameCanvas" class="game-canvas"></div>
|
|
|
- <!-- <canvas ref="canvasRef" :width="clientObj.width" :height="clientObj.height"
|
|
|
- style="position:fixed;left: 0; top: 0; z-index: 999;"></canvas> -->
|
|
|
+ <canvas ref="canvasRef" :width="clientObj.width" :height="clientObj.height"
|
|
|
+ style="position:fixed;left: 0; top: 0; z-index: 999;"></canvas>
|
|
|
<!-- 游戏启动界面 -->
|
|
|
<div v-if="currentScene === 'start'" class="gamestart">
|
|
|
<img v-if="currentScene === 'start'" src="/static/images/football/game_start.jpg" class="start_bg" />
|