Novel organic-inorganic hybrid materials SBA-15-propyl-S-DMCx have been prepared via a thiol-ene click reaction. The dispersibility and stability of hydrophilic groups in hybrid materials could be ensured by chemical modification. The conduction mechanism of the optimal sensor is analyzed in detail.