Сделала колонку, добавила данные в server.js

This commit is contained in:
Daria Golova
2022-10-20 14:09:30 +03:00
parent 96b071294d
commit f210053d9d
5 changed files with 129 additions and 3 deletions

View File

@@ -0,0 +1,49 @@
<template lang="pug">
.calendar-column-wrapper.flex.flex-col(@click="output")
.header.flex.items-center.justify-between.py-2.px-6
.flex.items-center
img.avatar-wrapper.mr-2(src="@/assets/images/team-member.svg" alt="Team member")
span.owner-name.font-medium.text-base.mr-6 {{ columnInformation }}
img.icon-wrapper.cursor-pointer(src="@/assets/icons/lock.svg")
base-doc-ok-button
.body
</template>
<script>
import BaseDocOkButton from "@/components/base/buttons/BaseDocOkButton.vue";
export default {
name: "CalendarColumn",
components: { BaseDocOkButton },
props: {
columnInformation: String,
elementKey: String,
},
methods: {
output(event) {
console.log(event.target.id);
},
},
};
</script>
<style lang="sass" scoped>
.calendar-column-wrapper
position: absolute
width: 470px
border-right: 1px solid var(--border-light-grey-color)
height: calc(100% - 54px)
.header
height: 48px
.avatar-wrapper
width: 32px
height: 32px
.icon-wrapper
width: 24px
height: 24px
.owner-name
color: var(--font-dark-blue-color)
</style>