Last active
February 12, 2020 08:49
-
-
Save conanak99/d559656ed0df80f9922a5deda3dc3337 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<div class="bc-table"> | |
<!-- Ảnh bầu cua --> | |
<img src="./../assets/baucua.jpg" alt class="image bc-image" /> | |
<div class="bc-overlay"> | |
<!-- 6 cells tương ứng với 6 con --> | |
<div class="boards" :key="key" v-for="(cell, key) in board"> | |
<transition-group | |
tag="div" | |
enter-active-class="animated bounceInDown" | |
leave-active-class="animated fadeOutDown" | |
> | |
<!-- Mỗi hình tròn là 1 token của user đã đặt --> | |
<token v-for="(token, userId) in cell" :key="userId" v-bind="token"></token> | |
</transition-group> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment