
#banner {
    height: 450px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#banner #ul {
    /*ul的宽度我们选择让那个js动态生成,这样可以减少后期修改带来的麻烦*/
    /* width: 6600px;		 */
    width: 600%;
    height: 100%;
    position: absolute;
    /* 				因为我的图片比较大,所以为了能让内容居中,于是移了一些出去 */
    /* left: -0350px; */
    left: 0;
    top: 0;
}

#banner li {
    float: left;
    /*浮动,使所有图片排成一行*/
    width: 100vw;
    /*设置每个li的宽度(根据自己的图片width进行选择)*/
    height: 100%;
    text-align: center;
}

#banner img {
    max-width: 100%;
    height: 100%;
    position: relative;
}

#banner #left,
#banner #right {
    /*两边的left、right按钮（<  >）*/
    width: 30px;
    height: 50px;
    color: #fff;
    font-size: 18px;
    line-height: 50px;
    font-weight: 700;
    background-color: rgba(0, 0, 0, .3);
    position: absolute;
    left: 5px;
    top: 50%;
    margin-top: -20px;
    cursor: pointer;
    text-align: center;
    font-family: '黑体';
    border: 1px solid #000;
    display: none;
}

#banner #right {
    right: 5px;
    left: auto;
}

#banner #left:hover,
#banner #right:hover {
    opacity: 1;
    border-color: #fff;
    color: #fff;
}

#banner #ol {
    /*底部的图片精准选择按钮*/
    /*position: absolute;*/
    /*bottom: 10px;*/
    /*left: 50%;*/
    display: flex;
    justify-content: center;
    margin: 490px auto 0;
}

#banner #ol li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF;
    opacity: 0.36;
    cursor: pointer;
    float: left;
    margin: 6px 6.5px;
}

#banner #ol li:hover {
    opacity: 0.8;
}

#banner #ol li.now {
    width: 48px;
    height: 10px;
    background: #FFFFFF;
    border-radius: 6px;
    opacity: 0.99;
}