|
|
|
|
@ -146,7 +146,7 @@ var Page = function Page(_ref2) {
|
|
|
|
|
series: [{
|
|
|
|
|
type: 'pie',
|
|
|
|
|
center: ['20%', '50%'],
|
|
|
|
|
radius: ['40%', '70%'],
|
|
|
|
|
radius: ['40%', '75%'],
|
|
|
|
|
data: data,
|
|
|
|
|
labelLine: {
|
|
|
|
|
show: false
|
|
|
|
|
@ -171,7 +171,7 @@ var Page = function Page(_ref2) {
|
|
|
|
|
tooltip: {
|
|
|
|
|
trigger: 'axis',
|
|
|
|
|
axisPointer: {
|
|
|
|
|
type: 'shadow'
|
|
|
|
|
type: 'none'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
yAxis: {
|
|
|
|
|
@ -198,9 +198,13 @@ var Page = function Page(_ref2) {
|
|
|
|
|
axisTick: {
|
|
|
|
|
show: false
|
|
|
|
|
},
|
|
|
|
|
axisLabel: {
|
|
|
|
|
show: true,
|
|
|
|
|
color: "#727C95"
|
|
|
|
|
},
|
|
|
|
|
axisLine: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: '#727C95'
|
|
|
|
|
color: 'rgba(114, 124, 149, .2)'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -242,7 +246,7 @@ var Page = function Page(_ref2) {
|
|
|
|
|
tooltip: {
|
|
|
|
|
trigger: 'axis',
|
|
|
|
|
axisPointer: {
|
|
|
|
|
type: 'shadow'
|
|
|
|
|
type: 'none'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
yAxis: {
|
|
|
|
|
@ -269,9 +273,13 @@ var Page = function Page(_ref2) {
|
|
|
|
|
axisTick: {
|
|
|
|
|
show: false
|
|
|
|
|
},
|
|
|
|
|
axisLabel: {
|
|
|
|
|
show: true,
|
|
|
|
|
color: "#727C95"
|
|
|
|
|
},
|
|
|
|
|
axisLine: {
|
|
|
|
|
lineStyle: {
|
|
|
|
|
color: '#727C95'
|
|
|
|
|
color: 'rgba(114, 124, 149, .2)'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -370,6 +378,9 @@ var Page = function Page(_ref2) {
|
|
|
|
|
className: "flex flex-col gap-4px-rem",
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "text-20px-rem font-bold",
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: "20rem"
|
|
|
|
|
},
|
|
|
|
|
children: item === null || item === void 0 ? void 0 : item.num
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "c-grey-666 text-12px-rem",
|
|
|
|
|
@ -410,6 +421,9 @@ var Page = function Page(_ref2) {
|
|
|
|
|
className: "flex flex-col gap-4px-rem",
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "text-20px-rem font-bold",
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: "20rem"
|
|
|
|
|
},
|
|
|
|
|
children: item === null || item === void 0 ? void 0 : item.num
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "c-grey-666 text-12px-rem",
|
|
|
|
|
@ -451,6 +465,9 @@ var Page = function Page(_ref2) {
|
|
|
|
|
className: "flex flex-col gap-4px-rem",
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "text-20px-rem font-bold",
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: "20rem"
|
|
|
|
|
},
|
|
|
|
|
children: item === null || item === void 0 ? void 0 : item.num
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "c-grey-666 text-12px-rem",
|
|
|
|
|
@ -501,7 +518,7 @@ var Page = function Page(_ref2) {
|
|
|
|
|
className: "c-grey-333 font-medium",
|
|
|
|
|
children: "\u5B9E\u9A8C\u7EDF\u8BA1"
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "flex flex-col gap-8px-rem",
|
|
|
|
|
className: "flex-1 minW-0 flex flex-col gap-8px-rem",
|
|
|
|
|
children: [{
|
|
|
|
|
title: "评测总次数",
|
|
|
|
|
num: StatisticData === null || StatisticData === void 0 || (_StatisticData$data16 = StatisticData.data) === null || _StatisticData$data16 === void 0 || (_StatisticData$data16 = _StatisticData$data16.shixun_evaluate_statistic) === null || _StatisticData$data16 === void 0 ? void 0 : _StatisticData$data16.evaluate_count,
|
|
|
|
|
@ -517,15 +534,15 @@ var Page = function Page(_ref2) {
|
|
|
|
|
unit: "%"
|
|
|
|
|
}].map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", {
|
|
|
|
|
className: "flex gap-8px-rem item-center rounded-4px-rem pl-12px-rem",
|
|
|
|
|
className: "flex-1 minW-0 flex gap-8px-rem item-center rounded-4px-rem pl-12px-rem",
|
|
|
|
|
style: {
|
|
|
|
|
background: "linear-gradient( 90deg, #E8F3FD 0%, #FFFFFF 100%)",
|
|
|
|
|
height: "36rem"
|
|
|
|
|
background: "linear-gradient( 90deg, #E8F3FD 0%, #FFFFFF 100%)"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
|
|
|
|
|
className: "iconfont ".concat(item === null || item === void 0 ? void 0 : item.icon),
|
|
|
|
|
style: {
|
|
|
|
|
color: "#6898FE"
|
|
|
|
|
color: "#6898FE",
|
|
|
|
|
fontSize: "12rem"
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
|
|
|
|
|
className: "text-12px-rem",
|
|
|
|
|
@ -651,13 +668,13 @@ var Page = function Page(_ref2) {
|
|
|
|
|
percent: StatisticData === null || StatisticData === void 0 || (_StatisticData$data23 = StatisticData.data) === null || _StatisticData$data23 === void 0 || (_StatisticData$data23 = _StatisticData$data23.homework_complete_statistic) === null || _StatisticData$data23 === void 0 ? void 0 : _StatisticData$data23.practice_rate,
|
|
|
|
|
strokeColor: {
|
|
|
|
|
from: '#C8D9FD',
|
|
|
|
|
to: '#87d068'
|
|
|
|
|
to: '#6596FE'
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
title: "编程作业",
|
|
|
|
|
percent: StatisticData === null || StatisticData === void 0 || (_StatisticData$data24 = StatisticData.data) === null || _StatisticData$data24 === void 0 || (_StatisticData$data24 = _StatisticData$data24.homework_complete_statistic) === null || _StatisticData$data24 === void 0 ? void 0 : _StatisticData$data24.hack_rate,
|
|
|
|
|
strokeColor: {
|
|
|
|
|
from: '#108ee9',
|
|
|
|
|
from: '#D5E8FE',
|
|
|
|
|
to: '#67B4F7'
|
|
|
|
|
}
|
|
|
|
|
}, {
|