In previous reports, the positive SARS-CoV-2 nucleic acid was detected in the fecal samples from confirmed pneumonia patients, suggesting a high probability of the fecal-oral transmission. To date, however, the role played by the drainage system of a high-rise building in the virus transmission is not clear and especially studies on the dynamics mechanism behind is scarce. From this point of view, the present work carries out a computational fluid dynamics (CFD) modeling to investigate the effects of the water seal effectiveness of the floor drain, the negative/positive pressures (P1, P2) in the bathroom, temperature differential (ΔT), outside wind velocity (v), the piping fittings and the negative pressure at the cowl (P3) on the transmission of the virus-laden aerosol particles in a drainage system of a typical 7-storeys residential building. The CFD models are first validated by the previous experiments in literature. Numerical results imply that the drainage system might play an essential role to the virus transmission. Then, results indicate that, the leakage risk of the aerosol particles via the floor drain with inefficient water-seal (UFD) mainly exists at the upper floors above the neutral pressure level (NPL). Besides, the negative and positive pressures at the bathroom can enhance and reduce the exposure risk of aerosol particles from the corresponding UFD, respectively. The ΔT increasing does not modify the location of the NPL. Moreover, the exposure risk of aerosol particles can be effectively avoided by the well water-sealed floor drains and/or the presence of a proper negative pressure at the cowl on the top floor. Finally, based on the CFD results, several protection suggestions on the drainage system and human activities are provided.