The invention belongs to the field of anti-infective drugs, discloses a compound for treating or preventing respiratory syncytial
virus diseases, and provides compounds as shown in formulas (I-1) and (I-2) and pharmaceutically acceptable salts, esters, prodrugs, solvates, isomers or
isotope forms thereof, the compound disclosed by the invention has antiviral activity and can be used for preparing a
medicine for treating or preventing in-vivo
virus infection of a subject susceptible to
virus infection or experiencing virus infection.