[WIP] Добавил отправку расписания с шаблоном графиков, поправил стили
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user