<template>
    <div class="scrollTextSectorBox">
        <!-- 样式1 -->
        <div class="scrollTextSector" v-if="componentStyle == 1">
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_gray">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
        </div>
        <!-- 样式2 -->
        <div class="scrollTextSector" v-if="componentStyle == 2">
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_gray">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
        </div>
        <!-- 样式3 -->
        <div class="scrollTextSector" v-if="componentStyle == 3">
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
        </div>
        <!-- 样式4 -->
        <div class="scrollTextSector" v-if="componentStyle == 4">
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
        </div>
        <!-- 样式5 -->
        <div class="scrollTextSector" v-if="componentStyle == 5">
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_blue">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
        </div>
        <!-- 样式6 -->
        <div class="scrollTextSector" v-if="componentStyle == 6">
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_blue">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
        </div>
        <!-- 样式7 -->
        <div class="scrollTextSector" v-if="componentStyle == 7">
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5 dashed">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_gray">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
        </div>
        <!-- 样式8 -->
        <div class="scrollTextSector" v-if="componentStyle == 8">
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5 dashed">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_gray">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
        </div>
        <!-- 样式9 -->
        <div class="scrollTextSector" v-if="componentStyle == 9">
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5 dashed">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
        </div>
        <!-- 样式10 -->
        <div class="scrollTextSector" v-if="componentStyle == 10">
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5 dashed">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
        </div>
        <!-- 样式11 -->
        <div class="scrollTextSector" v-if="componentStyle == 11">
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5 dashed">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_blue">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
        </div>
        <!-- 样式12 -->
        <div class="scrollTextSector" v-if="componentStyle == 12">
            <div class="scrollTextSectorRight">
                <div class="listNewsTitle_skin5 dashed">
                    <span>
                        <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
                            {{ titleLink.alias }}
                        </NuxtLink>
                    </span>
                </div>
                <div class="scrollTextSectorList bg_blue">
                    <div v-for="(item, index) in component_style1_News2Array">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <span class="text">{{ item.title }}</span>
                            <span class="time">{{ getTime(item.updated_at, 'month', 1) }}</span>
                        </NuxtLink>
                    </div>
                </div>
            </div>
            <div class="scrollTextSectorLeft">
                <el-carousel :interval="3333" height="405px" indicator-position="none" arrow="always"
                    @change="change_fun">
                    <el-carousel-item v-for="item in component_style1_News1Array" :key="item.id">
                        <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                            :target="item.islink == 1 ? '_blank' : '_self'">
                            <img :src="item.imgurl" />
                            <span class="swiper_dot1 dot1">
                                {{ item.title }}
                            </span>
                        </NuxtLink>
                    </el-carousel-item>
                    <div class="roll_num_box">
                        <span class="roll_num_box_new">{{ roll_num_this + 1 }}</span>/{{ roll_num_lang }}
                    </div>
                </el-carousel>
            </div>
        </div>
    </div>
</template>

<script setup>
//引入vue
import { ref } from 'vue';
import { ElCarousel, ElCarouselItem } from 'element-plus'

//获得新闻数据
const props = defineProps({
    titleLink: Object,//板块名称
    templateData: Array,//新闻数据
    componentStyle: Number,//样式编号
    templateAdData: Object,//广告
});

//轮播图
const roll_num_this = ref(0)
const roll_num_lang = ref(props.templateData.imgnum.length);
const change_fun = (the_1) => {
    roll_num_this.value = the_1
}
//样式1与样式2共用 start ---------------------------------------->
const component_style1_News1Array = ref([]);
component_style1_News1Array.value = props.templateData.imgnum.slice(0, 5);
const component_style1_News2Array = ref([]);
component_style1_News2Array.value = props.templateData.textnum.slice(0, 7);
//样式1与样式2共用 end ---------------------------------------->
</script>

<style lang="less" scoped>
//基本样式 start ---------------------------------------->
.scrollTextSectorBox {
    width: 1200px;
    height: 410px;

    .scrollTextSector {
        width: 1200px;
        height: 410px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;

        img {
            width: 720px;
            height: 405px;
            display: block;
        }

        .scrollTextSectorLeft {
            width: 720px;
            height: 405px;
        }

        .scrollTextSectorRight {
            width: 450px;
            height: 405px;

            .listNewsTitle_skin5 {
                font-size: 22px;
                font-weight: bold;
                height: 45px;
                line-height: 43px;
                border-bottom: 1px solid #999999;
                color: #3848a0;
                margin-bottom: 17px;
                box-sizing: border-box;

                span {
                    display: inline-block;
                    width: 108px;
                    color: #3848a0;
                    height: 30px;
                    line-height: 30px;
                    font-weight: bold;
                    background-image: linear-gradient(to right, #3848a0, #ffffff);
                    background-size: 100% 6px;
                    background-repeat: no-repeat;
                    background-position: bottom;
                    padding-bottom: 6px;

                    a {
                        color: #3848a0;
                    }
                }
            }

            .dashed {
                border-bottom: 1px dashed #999999;
            }

            .scrollTextSectorList {

                div {
                    position: relative;
                    font-size: 18px;
                    height: 24px;
                    line-height: 24px;
                    margin-bottom: 30px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;

                    a {
                        color: #333;

                        .text {
                            display: inline-block;
                            width: 356px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }

                        .time {
                            position: absolute;
                            top: 0;
                            right: 0;
                            display: inline-block;
                            width: 51px;
                            color: #999999;
                        }
                    }
                }
            }

            // 浅灰色前缀
            .bg_gray {
                div {
                    &::before {
                        content: '';
                        display: inline-block;
                        width: 6px;
                        height: 6px;
                        background-color: #d7daec;
                        margin-right: 10px;
                        vertical-align: 8px;
                    }
                }
            }

            // 蓝色前缀
            .bg_blue {
                div {
                    &::before {
                        content: '';
                        display: inline-block;
                        width: 6px;
                        height: 6px;
                        background-color: #3848a0;
                        margin-right: 10px;
                        vertical-align: 8px;
                    }
                }
            }
        }
    }
}

.roll_num_box {
    position: absolute;
    z-index: 2;
    right: 35px;
    bottom: 5px;
    height: 60px;
    line-height: 60px;
    color: #fff;
    font-size: 20px;

    .roll_num_box_new {
        font-size: 20px;
    }
}

.dot1 {
    display: block;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiper_dot1 {
    display: block;
    width: 100%;
    line-height: 60px;
    height: 60px;
    color: #fff;
    font-size: 18px;
    text-indent: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    box-sizing: border-box;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
}

.el-carousel {
    :deep(.el-carousel__arrow i) {
        font-size: 33px !important;
    }

    .roll_1_box {
        position: relative;
    }

    :deep(.el-carousel__arrow--left) {
        left: 20px;
        width: 30px;
        height: 56px;
        color: #eee;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        position: absolute;
        border: none;
        border-radius: 4px;
    }

    :deep(.el-icon-arrow-left:before) {
        font-size: 24px;
        line-height: 56px;
    }

    :deep(.el-carousel__arrow--right) {
        right: 20px;
        width: 30px;
        height: 56px;
        color: #eee;
        background: #00000080;
        position: absolute;
        border: none;
        border-radius: 4px;
    }

    :deep(.el-icon-arrow-right:before) {
        font-size: 24px;
        line-height: 56px;
    }

    :deep(.el-carousel__indicators) {
        display: none;
    }
}

.custom-indicator button {
    background-color: #fff;
    opacity: 1;
    width: 8px;
    height: 8px;
}

.custom-indicator button.is-active {
    background-color: #c82200;
    width: 58px;
    opacity: 1;
}
</style>