[WIP] Добавил отправку расписания с шаблоном графиков, поправил стили

This commit is contained in:
megavrilinvv
2023-01-23 18:09:09 +03:00
parent 11af24f8bc
commit 5f004e05b6
7 changed files with 34 additions and 33 deletions

View File

@@ -70,7 +70,9 @@ export default {
this.setActiveButton();
return {
"--bg-color-status": this.activeButton?.color,
"--text-status": this.activeButton?.text,
"--text-status": !this.template.item?.label
? this.activeButton?.text
: this.template.item.symbol,
};
},
},
@@ -154,7 +156,8 @@ export default {
if (resStart || resMiddle || resEnd)
return {
status: !!this.activeButton,
"set-template": !!this.template.item?.label,
status: !!this.activeButton && !this.template.item,
"set-date": !this.activeButton,
};
},
@@ -209,13 +212,4 @@ export default {
border-radius: 4px
width: 400px
height: 500px
.status
background-color: var(--bg-color-status) !important
.status::after
content: var(--text-status)
.set-date
background-color: var(--btn-blue-color-4) !important
</style>