@@ -1,4 +1,44 @@
|
||||
<template>
|
||||
asdf
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex-container">
|
||||
<div v-for="i in guess" class="wr-div">
|
||||
{{ i }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
guess: '',
|
||||
}
|
||||
},
|
||||
props: {
|
||||
guess: '',
|
||||
guess_count: 0,
|
||||
index: 0,
|
||||
length: 6,
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.flex-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
.wr-div {
|
||||
justify-content: center;
|
||||
border-radius: 6px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 24px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user