|
|
@@ -3,11 +3,13 @@
|
|
|
class="l-flex--col c-schedule-wrapper"
|
|
|
@click.stop
|
|
|
>
|
|
|
- <div
|
|
|
- v-if="!hideHeader"
|
|
|
- class="l-flex__none l-flex--row c-schedule-wrapper__header has-bottom-padding"
|
|
|
- >
|
|
|
- <div class="l-flex__auto l-flex--row c-sibling-item c-schedule-wrapper__tip u-ellipsis">
|
|
|
+ <div class="l-flex__none l-flex--row c-schedule-wrapper__header has-bottom-padding">
|
|
|
+ <i
|
|
|
+ v-if="editable"
|
|
|
+ class="l-flex__none el-icon-arrow-left u-pointer"
|
|
|
+ @click="onBack"
|
|
|
+ />
|
|
|
+ <div class="l-flex__auto l-flex--row c-sibling-item u-bold u-ellipsis">
|
|
|
{{ name }}
|
|
|
</div>
|
|
|
<template v-if="editable">
|
|
|
@@ -76,6 +78,9 @@ export default {
|
|
|
},
|
|
|
onSave () {
|
|
|
this.$emit('save')
|
|
|
+ },
|
|
|
+ onBack () {
|
|
|
+ this.$emit('back')
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -84,13 +89,10 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
.c-schedule-wrapper {
|
|
|
&__header {
|
|
|
- border-bottom: 1px solid $border;
|
|
|
- }
|
|
|
-
|
|
|
- &__tip {
|
|
|
color: $black;
|
|
|
font-size: 24px;
|
|
|
- font-weight: bold;
|
|
|
+ line-height: 1;
|
|
|
+ border-bottom: 1px solid $border;
|
|
|
}
|
|
|
}
|
|
|
</style>
|