add some assets, start making wish component
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<script setup lang="ts">
|
||||
import {ref, onMounted} from 'vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="wish-main">
|
||||
<img :src="'/skonk/quest_backdrop_' + type + '.png'">
|
||||
<div class="wish-sub">
|
||||
<img :src="'/skonk/quest_rune_' + rune + '.png'">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
const types = ref(['/skonk/quest_backdrop_1.png'], )
|
||||
|
||||
export default {
|
||||
props: {
|
||||
type: {
|
||||
type: Number,
|
||||
default: 2,
|
||||
},
|
||||
rune: {
|
||||
type: Number,
|
||||
default: 3,
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.wish-main {
|
||||
position: relative;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
.wish-sub {
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
@@ -1,4 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import Wish from '../components/Wish.vue';
|
||||
|
||||
|
||||
</script>
|
||||
<script lang="ts">
|
||||
@@ -7,6 +9,6 @@
|
||||
|
||||
<template>
|
||||
<body>
|
||||
asdf
|
||||
<Wish/>
|
||||
</body>
|
||||
</template>
|
||||
Reference in New Issue
Block a user