效果预览,此处的双半圆扇形图是使用v-for循环的出来的
dom部分
<template>
<div>
<div class="mainDiv">
<div class="headTit">全校平台最近作业</div>
<div class="loopSubject">
<div id="app" class="charts-wrapper">
<div v-for="(data, index) in listDatas" :key="index">
<div class="tipsTxt">
<div class="h3Title">{
{ data.paperName }}</div>
<div class="classAndName">
<span>{
{ data.lastTime | formatTime }}</span>
</div>
</div>
<div class="half-pie-container">
<di