The photosensitive building blocks of photochromic MOFs are mostly 4,4′-bipyridine. However, the linear structure and kind of 4,4′-bipyridine derivatives limit the development of its properties and applications. Therefore, a “Y"-shaped 2,4,6-tri (4-pyridyl)-1,3,5-triazine derivative ([H3p-Batpt]Cl3, TPT) with high conjugation, bare nitrogen and oxygen sites that was selected as a novel photosensitive ligand to replace the traditional 4,4′-bipyridine ligand for photochromic MOFs. Then, [H3p-Batpt]Cl3 was combined with EuIII and terephthalic acid (H2TPA) to construct a multifunctional Eu-MOF [Eu2 (p-Batpt) (TPA)3(H2O)]n (1). 1 possess degradation of tetracycline (TC), photochromic and photoluminescence properties. The colored 1 (1P) after irradiation with UV–vis light (300 W, Xe-lamp) is difficult to fade due to donor-acceptor (D-A) π-π and radical-π interactions. In addition, 1 is used in photocatalysis because it is an excellent N-type semiconductor. The TC degradation rate of 1 can reach 67.42 % under visible light and be recycled six times. Interestingly, the TC degradation rate of 1P was 6.78 % higher than that of 1. Electrochemical tests show that 1P has higher charge separation efficiency and a smaller band gap. The free radicals capture and ESR experiments of 1 revealed that holes (h+) played a leading role in the photocatalytic degradation of TC. This research expands the application of photochromic MOFs and provides a reference for removing organic pollutants.