-
-
+
+
+
+
-
doClickBlock(randomBlock[0], index)"
- >
- {{ randomBlock[0].type }}
-
-
-
-
-
-
-
-
doClickBlock(randomBlock[0], index)"
>
- {{ slotBlock?.type }}
+ {{ randomBlock[0].type }}
+
+
-
-
+
+
+
+
+ {{ slotBlock?.type }}
+
+
+
+
@@ -84,6 +87,8 @@ const {
slotAreaVal,
widthUnit,
heightUnit,
+ totalBlockNum,
+ clearBlockNum,
doClickBlock,
doStart,
doShuffle,
@@ -122,8 +127,13 @@ onMounted(() => {
}
.slot-board {
- margin-top: 24px;
border: 10px solid saddlebrown;
+ margin: 16px auto;
+ width: fit-content;
+}
+
+.skill-board {
+ text-align: center;
}
.block {