diff --git a/public/react/src/modules/courses/signin/Signinstatistics/Signinstatistics.js b/public/react/src/modules/courses/signin/Signinstatistics/Signinstatistics.js index 9cc855629..c9808fd87 100644 --- a/public/react/src/modules/courses/signin/Signinstatistics/Signinstatistics.js +++ b/public/react/src/modules/courses/signin/Signinstatistics/Signinstatistics.js @@ -28,6 +28,11 @@ class Signinstatistics extends Component { city: "Tokyo", temperature: 7 }, + { + month: "Jan", + city: "main", + temperature:3 + }, { month: "Jan", city: "London", @@ -38,6 +43,11 @@ class Signinstatistics extends Component { city: "Tokyo", temperature: 6.9 }, + { + month: "Feb", + city: "main", + temperature: 4.5 + }, { month: "Feb", city: "London", @@ -142,6 +152,11 @@ class Signinstatistics extends Component { month: "Dec", city: "London", temperature: 4.8 + }, + { + month: "Dec", + city: "main", + temperature: 5 } ]; const cols = { @@ -154,68 +169,98 @@ class Signinstatistics extends Component { -

-

-

Card content

+
200
-

-

-

Card content

+
200
-

-

-

Card content

+
200
-

-

-

Card content

+
200
-
- - - - `${val}°C` - }} - /> - - - - +
+
+ + + + + + + 到课率 + + + + + + 旷课率 + + + + + + 请假率 + + + + + + col-4 + col-4 + + +
+ +
+ + {/**/} + + `${val}%` + }} + /> + + + + +
+
diff --git a/public/react/src/modules/courses/signin/css/Signinstatistics.css b/public/react/src/modules/courses/signin/css/Signinstatistics.css index 41af26767..be36d8314 100644 --- a/public/react/src/modules/courses/signin/css/Signinstatistics.css +++ b/public/react/src/modules/courses/signin/css/Signinstatistics.css @@ -2,7 +2,17 @@ height:150px; border: none !important; } - +.gutterrowbox .ant-card-body{ + height:150px; + position: relative; +} +.gutterrowboxcontent{ + position: absolute; + bottom: 20px; + font-size:36px; + font-weight:400; + color:rgba(255,255,255,1); +} .ml14{ margin-left: 14px; } @@ -25,7 +35,7 @@ width: 100%; height: 150px; background-image: url(https://test-newweb.educoder.net/images/qiandao/daoke.png); - background-color: #000a4f; + background-size: cover; background-position: center; background-repeat: no-repeat; @@ -34,7 +44,7 @@ width: 100%; height: 150px; background-image: url(https://test-newweb.educoder.net/images/qiandao/kuangke.png); - background-color: #000a4f; + background-size: cover; background-position: center; background-repeat: no-repeat; @@ -43,7 +53,49 @@ width: 100%; height: 150px; background-image: url(https://test-newweb.educoder.net/images/qiandao/qingjia.png); - background-color: #000a4f; + + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +.SigninstatisticsChart{ + height:519px; + background:rgba(255,255,255,1); + box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.05); +} +.pd30{ + padding:30px; +} +.padding03000{ + padding: 0px 30px 0px 0px; +} + +.mindaoke{ + width: 20px; + height: 20px; + background-image: url(./dot-green@2x.png); + + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +.minkuangke{ + width: 20px; + height: 20px; + background-image: url(./dot-orange@2x.png); + + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +.minqingjia{ + width: 20px; + height: 20px; + background-image: url(./dot-orange@2x1.png); + background-size: cover; background-position: center; background-repeat: no-repeat; diff --git a/public/react/src/modules/courses/signin/css/dot-green@2x.png b/public/react/src/modules/courses/signin/css/dot-green@2x.png new file mode 100644 index 000000000..a9a2cea51 Binary files /dev/null and b/public/react/src/modules/courses/signin/css/dot-green@2x.png differ diff --git a/public/react/src/modules/courses/signin/css/dot-orange@2x.png b/public/react/src/modules/courses/signin/css/dot-orange@2x.png new file mode 100644 index 000000000..0489eb573 Binary files /dev/null and b/public/react/src/modules/courses/signin/css/dot-orange@2x.png differ diff --git a/public/react/src/modules/courses/signin/css/dot-orange@2x1.png b/public/react/src/modules/courses/signin/css/dot-orange@2x1.png new file mode 100644 index 000000000..a2faaabf7 Binary files /dev/null and b/public/react/src/modules/courses/signin/css/dot-orange@2x1.png differ