前言
最近特殊时期在家没啥事,写了一个demo对疫情数据进行展示。其中数据直接拿的丁香园的疫情数据,懒得再去写后台爬取各地卫健委的数据了。纯前端。有时间再去梭哈后端的代码。
地址:github
项目图
项目图放上去了csdn居然一直不给过,说什么非IT内容。尴尬。只能随便放部分代码了。具体还是看github
<template>
<div class="home-container">
<div style="border-bottom: 1px solid silver;margin: 0 5px;">
<p style="text-align: left">截至 {
{
statisticUpdateTime}} 全国数据统计</p>
<el-row type="flex" justify="center">
<template v-for="item in changeStatisticDatas">
<el-col :span="6"