{
carTypeIndex = index;
}
"
class="col"
:class="{
col_selected: carTypeIndex == index,
}"
>
{{ item.title }}
{{ item.typeName }}
{
active = 0;
tabQuery.subject = 1;
}
"
class="subject-tabs"
>
科目一
科目一
{
active = 1;
tabQuery.subject = 4;
}
"
class="subject-tabs"
>
科目四
科目四
{
active = 0;
tabQuery.subject = 1;
}
"
@scrolltolower="
() => {
active = 1;
tabQuery.subject = 4;
}
"
scroll-with-animation
:scroll-into-view="'tab-container' + active"
enhanced
style="width: 100%; white-space: nowrap"
enable-flex
:scroll-x="true"
>