.index{ height: 100vh; background-image: url(https://www.icelook.cn/exhibition/images/page/bg.jpg); background-position: center; background-repeat:repeat-y; background-size: 100% 100%; /* overflow: hidden; */ /* overflow-y: scroll; */ } .title{ background-color: #F5EAD2; height: 98rpx; text-align: center; } .title image{ width: 312rpx; height: 67rpx; } .middle_box{ /* overflow-y: scroll; */ } .search{ padding:20rpx 30rpx; display: flex; } .search .weui-cell_input{ flex: 1; background: #FFFDF7; height: 64rpx; border-radius: 40rpx; font-size: 28rpx; padding-left: 80rpx; position: relative; } .search .weui-cell_input image{ position: absolute; top: 7rpx; right: 16rpx; width: 50rpx; height: 50rpx; z-index: 100; } .search .weui-cell_input:before{ content: ''; border:0; display: inline-block; width: 46rpx; height: 46rpx; margin-top: 0; background: url(https://www.icelook.cn/exhibition/images/icon/search.svg) no-repeat left 10rpx; background-size: cover; } .search span{ padding:10rpx 30rpx; background: #954024; border-radius: 40rpx; color: #fff; font-size: 28rpx; margin-left: 15rpx; } .banner{ height:400rpx; border-radius: 16rpx; margin:0 30rpx; overflow: hidden; } .banner image{ width: 100%; /* height: 400rpx; */ } .exhibits .extitle{ font-size: 40rpx; padding:30rpx 0; font-weight: bold; font-family: Georgia, 'Times New Roman', Times, serif; padding-left: 50rpx; background: url(https://www.icelook.cn/exhibition/images/icon/all.png) no-repeat 0 40rpx; } .exhibits{ padding:0 30rpx; padding-bottom: 30rpx; } .exhibits ul li{ width: 320rpx; height: 320rpx; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.1); border-radius: 20rpx; margin-bottom: 20rpx; position: relative; overflow: hidden; } .exhibits ul li .hear{ position: absolute; top: 144rpx; right: 20rpx; width:48rpx; height: 48rpx; } .exhibits ul li .popbox{ position: absolute; top:0; left:0; width: 100%; height: 224rpx; background-color: rgba(0,0,0,.5); } .exhibits ul li .popbox:after{ content: ''; position: absolute; top: 80rpx; left: 140rpx; width: 64rpx; height: 64rpx; background: url(https://www.icelook.cn/exhibition/images/icon/clock.png) no-repeat; background-size: 100% 100%; } .exhibits ul li .hear image{ width:48rpx; height: 48rpx; } .exhibits ul li:nth-child(2n){ float: right; } .exhibits ul li .imgs{ height: 192rpx; padding:16rpx 30rpx; } .exhibits ul li .imgs image{ width: 100%; height: 192rpx; } .exhibits ul li .liTitile{ font-size: 28rpx; padding:0 20rpx; margin-bottom: 10rpx; color:#262626; } .number{ font-size: 24rpx; padding:0 20rpx; } .exhibits ul li .number span{ background: #af7965; color: #fff; border-radius: 40rpx; padding:2rpx 24rpx; } .unlock{ position: fixed; bottom: 30rpx; right:30rpx; width: 120rpx; height: 120rpx; background: #954024; border-radius: 60rpx; text-align: center; } .unlock image{ width: 56rpx; height: 56rpx; margin-top: 10rpx; } .unlock view{ font-size: 20rpx; color: #fff; margin-top: -10rpx; } .mask{ position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); /* 背景色设置为半透明黑色 */ z-index: 999999; /* 设置遮罩层的 z-index 值,使其在其他元素之上 */ }