Сделала колонку, добавила данные в server.js
This commit is contained in:
49
src/pages/calendar/components/CalendarColumn.vue
Normal file
49
src/pages/calendar/components/CalendarColumn.vue
Normal 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>
|
||||
Reference in New Issue
Block a user