A new series of intramolecular-charge-transfer (ICT) molecules (compounds 1, 2, and 3) were synthesized by attaching various electron-donating thiophenes groups to a triphenylamine backbone with an aldehyde group as the electron acceptor. Based on the protection reaction between ethanethiol and aldehyde, the corresponding dithioacetals (compounds S1, S2, and S3) were prepared to serve as novel colorimetric and fluorescent chemosensors for Hg2+ ions. Also, compound S1 was further utilized to construct the chemical-reaction-based conjugated polymer probe (PS1) towards Hg2+ ions. In the presence of as little as 10 nm Hg2+, compound PS1 displayed an apparent change in the fluorescent intensity. The sensing processes were revealed to be mediated by ICT, as confirmed by time-dependent DFT calculations. Furthermore, compound S1 was successfully applied to microscopic imaging for the detection of Hg2+ in HeLa cells with ratiometric fluorescent methods.