palaceGrid.less 1.87 KB
@charset "UTF-8";

.palace-grid-box {
	.box {
		.img-box {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            //justify-content: space-around;
            list-style: none;
            .item{
                display: flex;
                align-items: center;
                justify-content: center;
                padding:0 5px;
                box-sizing: border-box;
                position: relative;
                .title{
                    position: absolute;
                    flex: 1;
                    font-size:28px;
                    color: #fff;
                }
                .img {
                    display: block;
                    width: 100%;
                    height: 340px;
                }
                .play_box{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top:0;
                    //background-color: #000;
                    z-index: 1;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    img{
                        width: 86px;
                        height: 86px;
                    }
                }
            }
            .two{
                width: calc(calc(100% / 2));
                margin-top: 10px;
                .img {
                    height: 340px;
                }
            }
            .three{
                width: calc(calc(100% / 3));
                margin-top: 10px;
                .img {
                    height: 222px;
                }
            }
		}
	}
    .van-image-preview__index{
        font-size: 30px;
    }
    .van-swipe__indicators{
        bottom: 100px;
        .van-swipe__indicator{
            width: 16px;
            height: 16px;
        }
    }
}