In this paper, a novel COVID-19 reaction–diffusion model with virus mutation and media coverage is investigated. First, the solution’s uniform boundedness for the system is established. Then, the basic reproduction numbers for ordinary and mutant viruses spread in heterogeneous environments are defined. Furthermore, the endemic equilibrium’s asymptotic distribution for the system is explored. In addition, when one diffusion coefficient tends to zero and the other diffusion coefficients are greater than zero and fixed, the solution of the system will asymptotically approach endemic equilibrium. Next, a theoretical analysis of how high-frequency media coverage affects the development of the COVID-19 epidemic is conducted. Theoretical research shows that high-frequency media coverage will lead to the disappearance of the disease. Meantime, global sensitivity analysis on the basic reproduction numbers R01 and R02 are performed. Finally, theoretical simulations and instance predictions are carried out. Because of the complexity of the Shanghai epidemic and changes in management and control, the infection rates β1(t),β2(t) are given in the form of a piecewise function with more practical significance, and they are used to predict the epidemic trend of COVID-19 in Shanghai. Through a series of numerical simulations and analysis, the key indicators of the Shanghai COVID-19 epidemic are as follows: (1) The basic reproduction numbers in the early, middle, and late stages of COVID-19 are R¯0(1:34)=0.9152, R¯0(35:49)=3.1476, and R¯0(50:140)=0.6547, respectively; (2) This epidemic round in Shanghai will peak at 3,270 new daily confirmed cases on the 49th day (April 15); (3) The final size of the epidemic will reach 63,470 confirmed cases; (4) This round of COVID-19 epidemic in Shanghai, China, is expected to be fully cleared in late June to early July. The above conclusions are basically consistent with the facts. Of course, with the rise in temperature and strict control, the epidemic situation in Shanghai, China, is expected to be cleared earlier. Our results provide new ideas for preventing and controlling the COVID-19 epidemic.