|
|
|
|
@ -398,7 +398,7 @@ var Page = function Page(_ref) {
|
|
|
|
|
borderColor: "#6C96F3",
|
|
|
|
|
borderWidth: 1,
|
|
|
|
|
axisPointer: {
|
|
|
|
|
type: 'none'
|
|
|
|
|
type: 'shadow'
|
|
|
|
|
},
|
|
|
|
|
textStyle: {
|
|
|
|
|
color: "#434D6C"
|
|
|
|
|
@ -519,6 +519,21 @@ var Page = function Page(_ref) {
|
|
|
|
|
"累计自主学习人数": "{name|\u7D2F\u8BA1\u81EA\u4E3B\u5B66\u4E60\u4EBA\u6570} {value|".concat(ToNumW((SBody === null || SBody === void 0 || (_SBody$all_data4 = SBody.all_data) === null || _SBody$all_data4 === void 0 ? void 0 : _SBody$all_data4.self_learn_num) || 0), "} {percent|").concat(Math.round((SBody === null || SBody === void 0 || (_SBody$all_data5 = SBody.all_data) === null || _SBody$all_data5 === void 0 ? void 0 : _SBody$all_data5.self_learn_num) / (SBody === null || SBody === void 0 || (_SBody$all_data6 = SBody.all_data) === null || _SBody$all_data6 === void 0 ? void 0 : _SBody$all_data6.all_size) * 10000) / 100, "%}")
|
|
|
|
|
};
|
|
|
|
|
return {
|
|
|
|
|
tooltip: {
|
|
|
|
|
trigger: 'item',
|
|
|
|
|
backgroundColor: "#fff",
|
|
|
|
|
borderColor: "#6C96F3",
|
|
|
|
|
borderWidth: 1,
|
|
|
|
|
axisPointer: {
|
|
|
|
|
type: 'none'
|
|
|
|
|
},
|
|
|
|
|
textStyle: {
|
|
|
|
|
color: "#434D6C"
|
|
|
|
|
},
|
|
|
|
|
formatter: function formatter(item) {
|
|
|
|
|
return "<div>\n <span style=\"display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:".concat(item.color, "\"></span>\n <span style=\"margin-right:10px;font-size:12px;color:#2C3A58;font-Weight:600\">").concat(item.name, "</span>\n <span style=\"color:#434D6C;font-size:12px\">").concat(item.value, "</span><span style=\"margin-left:22px;font-size:12px;color:#2C3A58;font-Weight:600\">").concat(item.percent, "</span>%\n </div>");
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
legend: {
|
|
|
|
|
show: true,
|
|
|
|
|
left: 0,
|
|
|
|
|
|