Herein, a new type of lanthanide coordination polymer film made up of europium (Eu(iii)) and poly(N-methacryloylglycine) (Eu(iii)-PMAG) was prepared on an ITO electrode surface driven by the coordination between N-methacryloylglycine (MAG) and Eu(iii) through a single-step polymerization process. The fluorescence signal of Eu(iii)-PMAG films at 617 nm originating from Eu(iii) could be well retained in the buffer solution but was regulated by the concentration of Cu(ii) and the complexing agent EDTA. The switching of fluorescence by Cu(ii) was attributed to the inhibition of the "antenna effect" between Eu(iii) and the MAG ligand in the films. The coexistence of reduced β-nicotinamide adenine dinucleotide (NADH) in the solution can apparently quench the fluorescence of Eu(iii)-PMAG films through the internal filtration effect of UV absorbance overlapping the excitation wavelength, but itself exhibiting a fluorescence emission at 468 nm. In addition, the electrocatalytic oxidation of NADH with the help of the ferrocenedicarboxylic acid (FcDA) probe demonstrated a cyclic voltammetry (CV) signal at 0.45 V (vs. SCE). Based on various reversible stimulus-responsive behaviours, a 4-input/10-output logic network was built using Cu(ii), EDTA, NADH and FcDA as inputs and the signals of fluorescence from Eu(iii)-PMAG (617 nm) and NADH (468 nm), the CV response from FcDA and the UV-vis absorbance from the Cu(ii)-EDTA complex as outputs. Meanwhile, 6 different functional logic devices were constructed based on the same versatile platform, including a 2-to-1 encoder, a 1-to-2 decoder, a 1-to-2 demultiplexer, a parity checker, a transfer gate and a reprogrammable 3-input/2-output keypad lock. Combined with the new type of lanthanide coordination polymer film, NADH played central roles in designing sophisticated computing systems with its fluorescence, UV and electrocatalytic properties. This work might provide a novel avenue to develop intelligent multi-analyte sensing and information processing at the molecular level based on one single platform.