Covalent organic frameworks (COF) are a new type of porous covalent organic structures that are potential candidates as nanocarriers due to their large specific surface area, ordered pore structure, and good biocompatibility. In the present work, a COF-based biomimetic nanocomposite was prepared. The photosensitizer Rose Bengal (RB) was loaded on the surface of COF, and cancer cell membrane(CMV) was coated to modify the nanoparticles. Our results showed that the synthesized COF/RB@CMV nanocomposite has good biocompatibility, can be efficiently uptaken by tumor cells, and produce highly toxic ralative oxygen species(ROS) under the light activation, which play a role in killing tumor cells. This study provides a new COF-based biomimetic nanoplatform for effective photodynamic therapy(PDT).