<template>
    <div>
        <yd-accordion>
            <yd-accordion-item title="进球大/小 & 进球单/双">
                <div>
                    <div class="head">
                        <span>单</span>
                        <span>双</span>
                    </div>
                    <div class="cont">
                        <div class="list">
                            <div class="item">
                                <div>
                                    <span>大</span>
                                    <span class="score">1.5</span>
                                </div>
                                <div class="num">3.35</div>
                            </div>
                            <div class="item">
                                <div>
                                    <span>小</span>
                                    <span class="score">1.5</span>
                                </div>                                
                                <div class="num">3.95</div>
                            </div>                        
                        </div>
                        <div class="list">
                            <div class="item">
                                <div>
                                    <span>大</span>
                                    <span class="score">1.5</span>
                                </div>                                
                                <div class="num">2.22</div>
                            </div>
                            <div class="item">
                                <div>
                                    <span>小</span>
                                    <span class="score">1.5</span>
                                </div>
                                <div class="num">8.0</div>
                            </div>                        
                        </div>                        
                    </div>
                </div>
            </yd-accordion-item>    
        </yd-accordion>        
    </div>
</template>
<script>
export default {
    
}
</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: 50%;
        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: 50%;
    }
    .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;
    }
    .score{
        color: #f76649;        
    }      
</style>