From 45f3b7df8f8f3e275a56abc8286a4941e5202a04 Mon Sep 17 00:00:00 2001 From: eduauto Date: Wed, 29 Nov 2023 10:08:00 +0800 Subject: [PATCH] autoUpdataFile --- p__Classrooms__Overview__index.async.js | 15 +++++++++++++++ p__Paths__Overview__index.async.js | 17 ++++++++++++++++- p__Shixuns__Overview__index.async.js | 15 +++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/p__Classrooms__Overview__index.async.js b/p__Classrooms__Overview__index.async.js index 36d33b7820..eceb5370f9 100644 --- a/p__Classrooms__Overview__index.async.js +++ b/p__Classrooms__Overview__index.async.js @@ -384,6 +384,21 @@ var Page = function Page(_ref3) { color: "#282F3F" } }], + tooltip: { + trigger: 'item', + backgroundColor: "#fff", + borderColor: "#6C96F3", + borderWidth: 1, + axisPointer: { + type: 'none' + }, + textStyle: { + color: "#434D6C" + }, + formatter: function formatter(item) { + return "
\n \n ").concat(item.name, "\n ").concat(item.value, "").concat(item.percent, "%\n
"); + } + }, legend: { show: true, right: 0, diff --git a/p__Paths__Overview__index.async.js b/p__Paths__Overview__index.async.js index 57ee7aecba..e35f6aaba0 100644 --- a/p__Paths__Overview__index.async.js +++ b/p__Paths__Overview__index.async.js @@ -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 "
\n \n ").concat(item.name, "\n ").concat(item.value, "").concat(item.percent, "%\n
"); + } + }, legend: { show: true, left: 0, diff --git a/p__Shixuns__Overview__index.async.js b/p__Shixuns__Overview__index.async.js index bfd10a80a2..624ca7b2bc 100644 --- a/p__Shixuns__Overview__index.async.js +++ b/p__Shixuns__Overview__index.async.js @@ -456,6 +456,21 @@ var Page = function Page(_ref3) { color: "#282F3F" } }], + tooltip: { + trigger: 'item', + backgroundColor: "#fff", + borderColor: "#6C96F3", + borderWidth: 1, + axisPointer: { + type: 'none' + }, + textStyle: { + color: "#434D6C" + }, + formatter: function formatter(item) { + return "
\n \n ").concat(item.name, "\n ").concat(item.value, "").concat(item.percent, "%\n
"); + } + }, legend: { show: true, left: 0,