A Survey on Visual Anomaly Detection: Challenge, Approach, and Prospect