|
@@ -52,6 +52,7 @@
|
|
|
<Fruit ref="fruitRef" @confirmExit="getExitGame"></Fruit>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="close" v-if="currentGame" @click="getExitGame"></div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -212,6 +213,13 @@ const getExit = () => {
|
|
|
*/
|
|
|
const getExitGame = () => {
|
|
|
currentGame.value = "";
|
|
|
+ let obj = projectList.value.find((item: any) => {
|
|
|
+ return item.exam_name == currentGame.value
|
|
|
+ })
|
|
|
+ let myList = obj.area_test_id.split(",");
|
|
|
+ myList.forEach((item: any) => {
|
|
|
+ terminateBodypose(item);
|
|
|
+ })
|
|
|
};
|
|
|
|
|
|
onBeforeMount(async () => {
|
|
@@ -399,6 +407,15 @@ $waiPadding: 6.51rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
+.close {
|
|
|
+ z-index: 9999;
|
|
|
+ position: fixed;
|
|
|
+ bottom: 30px;
|
|
|
+ left: 50%;
|
|
|
+ margin-left: -1.6rem;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
::v-deep(.menu) {
|
|
|
.swiper-horizontal {
|
|
|
width: 100%;
|