Skip to content

Commit 226b6ed

Browse files
committed
5
1 parent 310b4c4 commit 226b6ed

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Vue3/vue3js/第1章/7.yang.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ <h1>{{ result ? "You Win!🎉" : "You Lose!😢" }}</h1>
304304
cardMap[clearItem.z][clearItem.y][clearItem.x] = 0;
305305
}
306306
cardItemList.reverse();
307+
console.log(cardMap)
307308
this.cardMap = cardMap;
308309
this.cardItemList = cardItemList;
309310
},
@@ -522,6 +523,18 @@ <h1>{{ result ? "You Win!🎉" : "You Lose!😢" }}</h1>
522523
.clear-item {
523524
pointer-events: none;
524525
}
526+
527+
.info-box {
528+
position: fixed;
529+
top: 0;
530+
right: 0;
531+
text-align: right;
532+
pointer-events: none;
533+
}
534+
535+
.info-box>span {
536+
background-color: rgba(255, 0, 0, 0.2);
537+
}
525538
</style>
526539
</body>
527540

0 commit comments

Comments
 (0)