The real-time measurement of the polarization and phase information of light is very important and desirable in optics. Metasurfaces can be used to achieve flexible wavefront control and can therefore be used to replace traditional optical elements to produce a highly integrated and extremely compac