mirror of
https://github.com/robonen/canvas-3d.git
synced 2026-03-20 10:54:39 +00:00
feat(components): figure page
This commit is contained in:
@@ -6,7 +6,7 @@ const showForm = ref<boolean>(false);
|
||||
<template>
|
||||
<section class="block">
|
||||
<div class="header" @click="showForm = !showForm">
|
||||
<h2 class="title">{{ title }}</h2>
|
||||
<h2>{{ title }}</h2>
|
||||
<button class="button">
|
||||
<IconClose v-if="showForm"/>
|
||||
<IconOpen v-else/>
|
||||
@@ -18,7 +18,7 @@ const showForm = ref<boolean>(false);
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
<style scoped lang="scss">
|
||||
.block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -35,11 +35,6 @@ const showForm = ref<boolean>(false);
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1.04rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.button {
|
||||
color: var(--icon-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user