Explorar o código

添加继续游戏播报

林旭祥 hai 2 semanas
pai
achega
8fed66b850
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  1. 13 0
      src/views/game/index.vue

+ 13 - 0
src/views/game/index.vue

@@ -71,6 +71,7 @@
         </div>
       </div>
     </Transition>
+    <div class="continueGame" v-if="resumeGame">举手继续游戏</div>
     <div class="resumeGame" v-if="resumeGame" @click="getResumeGame">继续游戏</div>
     <div class="close" v-if="start" @click="getExitGame"></div>
     <ActionConfirmWindow ref="actionConfirmRef" @confirmExit="getExitGame({ type: 1 })" @confirmStart="getStartGame">
@@ -136,6 +137,7 @@ watch(
       // start.value = false;
       // actionConfirmRef.value.getOpen(currentGame.value, currentGameArea.value);
       resumeGame.value = true;
+      speckText("举手继续游戏");
     }
   },
   { deep: true }
@@ -579,6 +581,17 @@ $waiPadding: 6.51rem;
   }
 }
 
+.continueGame{
+  z-index: 991;
+  position: fixed;
+  width: 100%;
+  left: 0;
+  text-align: center;
+  font-size: 3.5em;
+  top: 40%;
+  color: #ffffff;
+}
+
 .time {
   position: absolute;
   left: 0;