Roof collapse and wall spalling in mines commonly occurred. Grouting in the rock mass of a collapsed zone is one of the most effective technologies for solving this problem. Through grouting, the rock mass of a collapsed zone can be cemented into continuous and stable blocks, and the physical and mechanical parameters of the rock mass can be significantly improved. In order to investigate the mechanical properties and damage of rock samples after the injection of a high-polymer material, we conducted uniaxial compression tests in a laboratory on grouted specimens. A high-polymer material is commonly used to address the gangue stacking that is caused by large roof collapse and wall spalling accidents in the mining face and the cracking of coal walls. Research has shown that a high-polymer material effectively solidifies gangues. The results indicate a micromechanics effect of the grouted specimens under uniaxial compression. The compressive strength, fracture propagation, damage mode, and other specimen behaviors are related to the amount of injected high-polymer materials. A high-polymer material substantially improves the mechanical strength of the prefabricated fractured coal and rock mass via strong material adhesion. The vertically- and horizontally-consolidated coal/rock masses exhibit different properties. The use of a high-polymer material results in distinct properties of the consolidated coal and rock masses.