The invention discloses gluing equipment for assembling electronic components. The gluing equipment comprises a containing cylinder, rotating pins, rolling wheels, steel wire ropes, sliding grooves, sliding blocks, elastic ropes, circular rings, a glue
bottle, grooves, springs, moving blocks, balls, a glue roller, a scraper, a spring hinge, vertical grooves, transverse grooves,
metal sliding blocks, magnetic blocks and an end cover. According to the gluing equipment, the rolling wheels rotate to drive the rotating pins to rotate, the rotating pins rotate to enable the steel wire ropes to be wound around the annular side surfaces of the rotating pins, then the steel wire ropes pull the sliding blocks to move, the sliding blocks move to drive the circular rings to move, the circular rings move to drive the end cover to move, then the glue
bottle is extruded to allow glue to be extruded out, the glue roller is rotated, the glue roller and the scraper slide relative to each other, then theglue dried on the glue roller is cleared, the end cover is installed inside the circular rings, then the
metal sliding blocks move along the vertical grooves, then a user rotates the end cover, the end cover rotates to drive the
metal sliding blocks to move along the transverse grooves to be attached to the magnetic blocks, then the metal sliding blocks are fixed inside the transverse grooves, and the installation of the end cover is realized.