In recent years, physics-informed neural networks (PINNs) have shown potential as a method for solving combustion physics. However, current efforts using PINNs for the direct predictions of multi-dimensional flames only use global reaction mechanisms. Considering detailed chemistry is crucial for understanding detailed combustion physics, and how to accurately and efficiently consider detailed mechanisms under the framework of PINNs has not been explored yet and is still an open question. To this end, this paper proposes a PINN/flamelet/progress variable (FPV) approach to accurately and efficiently solve combustion physics, considering detailed chemistry. Specifically, the combustion thermophysical properties are tabulated using several control variables, with the FPV model considering detailed chemistry. Then, PINNs are used to solve the governing equations of continuity, momentum, and control variables with the thermophysical properties extracted from the FPV library. The performance of the proposed PINN/FPV approach is assessed for diffusion flames in a two-dimensional laminar mixing layer by comparing it with the computational fluid dynamics (CFD) results. It has been found that the PINN/FPV model can accurately reproduce the flow and combustion fields, regardless of the presence or absence of observation points. The quantitative statistics demonstrated that the mean relative error was less than 10%, and R2 values were all higher than 0.94. The applicability and stability of this model were further verified on other unseen cases with variable parameters. This study provides an efficient and accurate method to consider detailed reaction mechanisms in solving combustion physics using PINNs.