/**index.wxss**/ .container{ padding: 0; } .c_bg{ position: fixed; left: 0; top: 0; height: 100%; z-index: -1; width: 100%; } .body{ width: 100%; height: 100%; position: fixed; top: 50%; left: 0; transform: translateY(-50%); } .swp{ position: relative; } .swiper{ font-size: 0; height: 30vh; } .swiper-item{ width: 100%; height: 100%; } .swiper-item image{ width: 100%; height: 100%; } .dots{ position: absolute; bottom: 10px; transform: translateX(-50%); left: 50%; z-index: 9999; display: flex; } .dots >image{ width: 30rpx; height: 30rpx; margin: 0 12rpx; } .body .title{ width: 90%; margin: 20rpx 5% 30rpx; display: flex; justify-content: space-between; align-items: center; height: 80rpx; } .body .title image{ width: 30%; height: 100%; } .body .lunbo{ width: 100%; display: inline-block; overflow-x: auto; white-space: nowrap; /* justify-content: space-between; align-items: center; flex-wrap: wrap; */ } .body .lunbo > image{ width: 31%; height: 380rpx; margin: 0 1%; } .body .btn_paise{ position: fixed; z-index: 99; left: 50%; transform: translateX(-50%); width: 60%; bottom: var(--bottom); display: flex; justify-content: space-between; } .body .btn_paise > image{ width: 44%; height: auto; } .shotting{ position: fixed; z-index: 999; top: 0; left: 0; width: 100%; height: 100%; } .shotting .shot_bg{ width: 100%; height: 100%; } .shotting .tips{ position: absolute; top: 40%; left: 50%; transform: translateX(-50%); z-index: 9999; width: 80%; } .shotting .record{ position: absolute; top: 30rpx; left: 30rpx; z-index: 9999; color: #fff; width: 50%; display: flex; align-items: center; } .shotting .tips > image{ width: 100%; } .shotting .record > image{ width: 50rpx; margin-right: 10rpx; } .shotting .tips .xiaolian{ background: rgba(25, 25, 25, 0.75); border-radius: 20rpx; text-align: center; color: #fff; width: 80%; margin:0 auto; padding: 10% 0; } .shotting .tips .xiaolian image{ width: 20%; } .shotting .tips .xiaolian text{ display: block; margin-top: 20rpx; } .shotcon{ width: 100%; height: 100%; left: 0; top: 0; position: absolute; }