<template>
    <div>
        <yd-accordion class="twoTeams" accordion>
            <yd-accordion-item title = "双重机会&双方球队进球" v-if="goalShow == 10">
                <div class="">
                    <div class="head">
                        <span>广岛三箭/和局</span>
                        <span>鹿岛鹿角/和局</span>
                        <span>广岛三箭/鹿岛鹿角</span>
                    </div>
                    <div class="cont"> 
                        <div class="list">
                            <div class="item">
                                <div>是</div>
                                <div class="num">2.44</div>
                            </div>
                            <div class="item">
                                <div>不是</div>
                                <div class="num">2.36</div>
                            </div>
                        </div>
                        <div class="list">
                            <div class="item">
                                <div>是</div>
                                <div class="num">2.44</div>
                            </div>
                            <div class="item">
                                <div>不是</div>
                                <div class="num">2.36</div>
                            </div>                            
                        </div>
                        <div class="list">
                            <div class="item">
                                <div>是</div>
                                <div class="num">2.44</div>
                            </div>
                            <div class="item">
                                <div>不是</div>
                                <div class="num">2.36</div>
                            </div>                            
                        </div>
                    </div>
                </div>
            </yd-accordion-item>
            <yd-accordion-item title = "双重机会&双方球队进球" v-if="goalShow == 100">
                <div class="">
                    <div class="head">
                        <span>广岛三箭/和局</span>
                        <span>鹿岛鹿角/和局</span>
                        <span>广岛三箭/鹿岛鹿角</span>
                    </div>
                    <div class="cont"> 
                        <div class="list">
                            <div class="item">
                                <div>是</div>
                                <div class="num">2.44</div>
                            </div>
                            <div class="item">
                                <div>不是</div>
                                <div class="num">2.36</div>
                            </div>
                        </div>
                        <div class="list">
                            <div class="item">
                                <div>是</div>
                                <div class="num">2.44</div>
                            </div>
                            <div class="item">
                                <div>不是</div>
                                <div class="num">2.36</div>
                            </div>                            
                        </div>
                        <div class="list">
                            <div class="item">
                                <div>是</div>
                                <div class="num">2.44</div>
                            </div>
                            <div class="item">
                                <div>不是</div>
                                <div class="num">2.36</div>
                            </div>                            
                        </div>
                    </div>
                </div>
            </yd-accordion-item>            
        </yd-accordion>
    </div>
</template>
<script>
export default {
    data(){
        return{
            goalShow : 0, // 10为双方球队进球 //100为最先进球，
        }
    },
    mounted(){
        this.goalShow = 100;
    }
}
</script>
<style scoped>
    div /deep/ .yd-accordion-head-arrow:after {
    border: none;
    width: 0.5rem;
    height: 0.5rem;
    background: url(../../assets/st-imges/xiangxia.png) no-repeat;
    background-size: 100% 100%;
    }
    div /deep/ .yd-accordion-head,
    div /deep/ .yd-accordion-head-content,
    div /deep/ .yd-accordion-title {
    font-size: 0.28rem;
    color: #fefefe;
    background: #a0a0a0;
    }
    div /deep/ .yd-accordion-head {
    padding: 0 0.32rem;
    }
    .head{
        display: flex;
        background: #bcbcbc;
        color: #333;
        font-size: 0.26rem;
    }
    .head span{
        width: 33%;
        text-align: center;
        height: 0.8rem;
        line-height: 0.8rem;
    }
    .cont{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .cont .list{
        width: 33%;
        /* text-align: center; */
    }
    .cont .list .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 0.88rem;
        border-right: 1px solid #e4e4e4;
        border-bottom: 1px solid #e4e4e4;
        padding: 0 0.1rem;
        font-size: 0.24rem;
        }
    
    .list .item .num{
        width: 1.07rem;
        height: 0.76rem;
        line-height: 0.5rem;
        font-size: 0.24rem;
        padding: 0.1rem;
        border: 1px solid #cecece;
        border-radius: 0.1rem;
        text-align: center;       
    }
    .cont .list:nth-last-child(1) .item{
        border-right: none;
    }
</style>