Disclosed are a compound as shown in formula (I) as an influenza virus replication inhibitor and a preparation method therefor, a pharmaceutical composition comprising the compound and the use of the compound and pharmaceutical composition thereof in the treatment of influenza.