/* components/service/service.wxss */ .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: 590rpx; height: 848.22rpx; } .iconClose { margin-top: 40rpx; width: 60rpx; height: 60rpx; } } }