/* components/service/service.wxss */ .iconSerivce { position: fixed; // bottom: 198rpx; // right: 8rpx; width: 120rpx; height: 120rpx; z-index: 998; } .service-container { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; .service-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.7); } .service-section { position: absolute; transform: translate(-50%, -50%); top: 50%; left: 50%; text-align: center; .iconImg { width: 630rpx; height: 972rpx; } .iconClose { position: absolute; z-index: 1; top: 28rpx; right: 30rpx; width: 40rpx; height: 40rpx; } } }