Covalent organic frameworks (COFs) are prospective photocatalysts for the treatment of organic pollutants; however, their photocatalytic efficacy is restricted by their quick charge recombination and non-optimal energy band configuration.Herein, we report the synthesis of two donor-acceptor β-ketoenamine-linked COFs with a D1-A-D2-A structure (AZO-TFP-BT-TFP and AZO-TFP-MBT-TFP COFs) for high-performance photocatalytic degradation of cationic and anionic organic dyes.This remarkable performance originates from their high surface area, excellent crystallinity, high separation of photogenerated electron/hole pairs, large-scale electron delocalization, effective charge transfer, and favorable band gap configuration.The photocatalytic degradation of organic pollutants, specifically the cationic organic dye Rhodamine B and the anionic organic dye methyl orange, was achieved with a significant degree of efficacy using both COFs.In particular, Rhodamine B can be completely photodegraded by AZO-TFP-BT-TFP COF under visible light irradiation within 3 h, with a degraded efficiency of 97.70 ± 0.51 % and a reaction rate constant of 1.21 h-1.The mechanism investigation presents strong evidence that the effective photodegradation by AZO-TFP-BT-TFP COF is chem. explained by the presence of holes, hydroxyl radicals, and superoxide radicals.Our work, the first systematic study of incorporating the D1-A-D2-A structure in COFs, offered a design method for the strong degradation of organic contaminants employing stable photocatalysts.