smart-class-dashboard.vue 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. <style lang="less" scoped>
  2. @import './smart-class-dashboard.less';
  3. </style>
  4. <template>
  5. <div id="smart-dashboard">
  6. <div class="Header">
  7. <Row type="flex" justify="center" align="middle">
  8. <Col :span="3">
  9. <img style="height: 20px;" src="../../../assets/mark.svg"/>
  10. </Col>
  11. <Col :span="8">
  12. <Icon size="20" type="md-pin" style="vertical-align: middle;color: #94998a" /><span class="smart-markD">{{ $t('breadcrumbs')}}</span>
  13. </Col>
  14. <Col :span="11">
  15. <Menu class="menu" mode="horizontal" theme="dark">
  16. <MenuItem name="1">
  17. <Icon type="ios-paper" />
  18. {{ $t('menu1')}}
  19. </MenuItem>
  20. <MenuItem name="2">
  21. <Icon type="ios-people" />
  22. {{ $t('menu2')}}
  23. </MenuItem>
  24. <MenuItem name="3">
  25. <Icon type="ios-people" />
  26. {{ $t('menu3')}}
  27. </MenuItem>
  28. <MenuItem name="4">
  29. <Icon type="ios-construct" />
  30. {{ $t('menu4')}}
  31. </MenuItem>
  32. </Menu>
  33. </Col>
  34. <Col :span="2" style="text-align: center;">
  35. <!-- <Icon style="font-size: 24px; color: #FAFAFA;" type="md-person" /> -->
  36. <img style="width: 35px;" src="@/assets/image/touxiang.png">
  37. </Col>
  38. </Row>
  39. </div>
  40. <div class="content">
  41. <div style="text-align: center;padding-top: 5px;height: 5%;">
  42. <Button to="/smartiotdashboard" class="dashBoardBtn">{{$t('smartClassDB.pageButton2')}}</Button>
  43. <Button class="dashBoardBtn select">{{$t('smartClassDB.pageButton1')}}</Button>
  44. </div>
  45. <Row class="box" type="flex" justify="center">
  46. <Col style="padding: 0 7px" :span="4" class="block-1">
  47. <div style="height: 100%;">
  48. <div class="block-border" style="height: 19%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  49. <!-- 边角设计 start-->
  50. <div class="image-border image-border-left-top" ></div>
  51. <div class="image-border image-border-right-top" ></div>
  52. <div class="image-border image-border-left-bottom" ></div>
  53. <div class="image-border image-border-lright-bottom" ></div>
  54. <!-- 边角设计 end-->
  55. <Row class="total" type="flex" align="middle" justify="space-around">
  56. <Col :span="10">
  57. <div class="total-box">
  58. <div class="total-box-border total-box-left-top" ></div>
  59. <div class="total-box-border total-box-right-top" ></div>
  60. <div class="total-box-border total-box-left-bottom" ></div>
  61. <div class="total-box-border total-box-right-bottom" ></div>
  62. <span class="total-box-title">{{$t('smartClassDB.block1SubTitle1')}}</span>
  63. <h5 class="total-box-number">2,056</h5>
  64. <span class="total-box-subtitle">{{$t('smartClassDB.block1SubTitle3')}}: <span class="total-box-subtitle-num">38</span></span>
  65. </div>
  66. </Col>
  67. <Col :span="10">
  68. <div class="total-box" style="height: 100%;text-align: center;">
  69. <div class="total-box-border total-box-left-top" ></div>
  70. <div class="total-box-border total-box-right-top" ></div>
  71. <div class="total-box-border total-box-left-bottom" ></div>
  72. <div class="total-box-border total-box-right-bottom" ></div>
  73. <span class="total-box-title">{{$t('smartClassDB.block1SubTitle2')}}</span>
  74. <h5 class="total-box-number">81,762</h5>
  75. <span class="total-box-subtitle">{{$t('smartClassDB.block1SubTitle3')}}: <span class="total-box-subtitle-num">183</span></span>
  76. </div>
  77. </Col>
  78. </Row>
  79. </div>
  80. <div style="height: 1.5%"></div>
  81. <div class="block-border" style="height: 30%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  82. <!-- 边角设计 start-->
  83. <div class="image-border image-border-left-top" ></div>
  84. <div class="image-border image-border-right-top" ></div>
  85. <div class="image-border image-border-left-bottom" ></div>
  86. <div class="image-border image-border-lright-bottom" ></div>
  87. <!-- 边角设计 end-->
  88. <div style="height: 20%;">
  89. <h5 style="height: 100%;padding: 3% 4%;font-size: 1.25em;color: rgb(228, 233, 220);border-bottom: solid 1px #94998a;font-weight: 100;">{{$t('smartClassDB.block1Title1')}}</h5>
  90. </div>
  91. <div style="height: 70%;">
  92. <AccountLine :id="'accountline1'"></AccountLine>
  93. </div>
  94. </div>
  95. <div style="height: 1.5%"></div>
  96. <div class="block-border" style="height: 48%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  97. <!-- 边角设计 start-->
  98. <div class="image-border image-border-left-top" ></div>
  99. <div class="image-border image-border-right-top" ></div>
  100. <div class="image-border image-border-left-bottom" ></div>
  101. <div class="image-border image-border-lright-bottom" ></div>
  102. <!-- 边角设计 end-->
  103. <div style="height: 13%;">
  104. <h5 style="height: 100%;padding: 3% 4%;font-size: 1.25em;color: #E4E9DC;border-bottom: solid 1px #94998a;font-weight: 100;">{{$t('smartClassDB.block1Title2')}}</h5>
  105. </div>
  106. <div style="height: 87%;width:100%;position: relative;overflow: auto;">
  107. <div class="scrollstyle" style="position: absolute;right: 0px;left: 0;top: 0;bottom: 0;overflow-x: hidden;overflow-y: auto;;background-color: rgba(17, 17, 17, 0.14);">
  108. <div class="course" v-for="(item, index) in courseList" :key="index">
  109. <Row type="flex" justify="center" align="middle" class="course-Row">
  110. <Col :span="16">
  111. <h5 class="ellipsis course-className">{{ item.className }}</h5>
  112. <span class="ellipsis course-user">{{item.user }}</span><Icon class="course-icon" :size="15" type="ios-information-circle" />
  113. </Col>
  114. <Col :span="8">
  115. <div class="course-text" style="margin-bottom: 3px;">{{$t('smartClassDB.block1SubTitle4')}} | {{ item.courses }} {{$t('unit6')}}</div>
  116. <div class="course-text">{{$t('smartClassDB.block1SubTitle5')}} | {{ item.students }} {{$t('unit7')}}</div>
  117. </Col>
  118. </Row>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. </Col>
  125. <Col style="padding: 0 7px" :span="6" class="block-2">
  126. <!-- block-2 -->
  127. <div class="block-border" style="height: 38%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  128. <!-- 边角设计 start-->
  129. <div class="image-border image-border-left-top" ></div>
  130. <div class="image-border image-border-right-top" ></div>
  131. <div class="image-border image-border-left-bottom" ></div>
  132. <div class="image-border image-border-lright-bottom" ></div>
  133. <!-- 边角设计 end-->
  134. <div style="height: 77%">
  135. <ClassTypePie :id="'classtypepie'"></ClassTypePie>
  136. </div>
  137. <div style="height: 23%;padding-top: 10px;">
  138. <Row type="flex" justify="space-around" align="middle">
  139. <Col :span="6" style="padding: 0 10px;">
  140. <div class="classroom">
  141. <span class="classroom-title">{{$t('smartClassDB.block2SubTitle1')}}</span>
  142. <h5 class="classroom-number">521</h5>
  143. </div>
  144. </Col>
  145. <Col :span="6" style="padding: 0 10px;">
  146. <div class="classroom">
  147. <span class="classroom-title">{{$t('smartClassDB.block2SubTitle2')}}</span>
  148. <h5 class="classroom-number">857</h5>
  149. </div>
  150. </Col>
  151. <Col :span="6" style="padding: 0 10px;">
  152. <div class="classroom">
  153. <span class="classroom-title">{{$t('smartClassDB.block2SubTitle3')}}</span>
  154. <h5 class="classroom-number">410</h5>
  155. </div>
  156. </Col>
  157. <Col :span="6" style="padding: 0 10px;">
  158. <div class="classroom">
  159. <span class="classroom-title">{{$t('smartClassDB.block2SubTitle4')}}</span>
  160. <h5 class="classroom-number">242</h5>
  161. </div>
  162. </Col>
  163. </Row>
  164. </div>
  165. </div>
  166. <div style="height: 1.5%"></div>
  167. <div class="block-border" style="height: 25%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  168. <!-- 边角设计 start-->
  169. <div class="image-border image-border-left-top" ></div>
  170. <div class="image-border image-border-right-top" ></div>
  171. <div class="image-border image-border-left-bottom" ></div>
  172. <div class="image-border image-border-lright-bottom" ></div>
  173. <!-- 边角设计 end-->
  174. <div class="today-class-content">
  175. <h5 class="today-class-content-title">{{$t('smartClassDB.block3Title1')}}</h5>
  176. <Row class="today-class-content-contents" type="flex" justify="center" align="middle">
  177. <Col :span="10" class="chart">
  178. <RingPie :id="'ringPie1'"></RingPie>
  179. </Col>
  180. <Col :span="14" class="detail">
  181. <Row class="detail-row" type="flex" justify="center" align="middle">
  182. <Col :span="8" class="detail-col">
  183. <div @mouseleave="pieDownPlay('class','苏格拉底')" @mouseenter="pieHeightLight('class','苏格拉底')">
  184. <span class="detail-title detail-title-border-red">苏格拉底</span>
  185. <h5 class="detail-amount">33% <small>(168)</small></h5>
  186. </div>
  187. </Col>
  188. <Col :span="8" class="detail-col">
  189. <div @mouseleave="pieDownPlay('class','电子笔记')" @mouseenter="pieHeightLight('class','电子笔记')">
  190. <span class="detail-title detail-title-border-pink" >电子笔记</span>
  191. <h5 class="detail-amount" >33% <small>(168)</small></h5>
  192. </div>
  193. </Col>
  194. <Col :span="8" class="detail-col">
  195. <div @mouseleave="pieDownPlay('class','上传影片')" @mouseenter="pieHeightLight('class','上传影片')">
  196. <span class="detail-title detail-title-border-blue" >上传影片</span>
  197. <h5 class="detail-amount" >33% <small>(168)</small></h5>
  198. </div>
  199. </Col>
  200. <Col :span="8" class="detail-col">
  201. <div @mouseleave="pieDownPlay('class','作业作品')" @mouseenter="pieHeightLight('class','作业作品')">
  202. <span class="detail-title detail-title-border-green">作业作品</span>
  203. <h5 class="detail-amount" >33% <small>(168)</small></h5>
  204. </div>
  205. </Col>
  206. <Col :span="8" class="detail-col">
  207. <div @mouseleave="pieDownPlay('class','翻转课堂')" @mouseenter="pieHeightLight('class','翻转课堂')">
  208. <span class="detail-title detail-title-border-yellow" >翻转课堂</span>
  209. <h5 class="detail-amount" >33% <small>(168)</small></h5>
  210. </div>
  211. </Col>
  212. <Col :span="8" class="detail-col">
  213. <div @mouseleave="pieDownPlay('class','线上测验')" @mouseenter="pieHeightLight('class','线上测验')">
  214. <span class="detail-title detail-title-border-orange" >线上测验</span>
  215. <h5 class="detail-amount" >33% <small>(168)</small></h5>
  216. </div>
  217. </Col>
  218. </Row>
  219. </Col>
  220. </Row>
  221. </div>
  222. </div>
  223. <div style="height: 1.5%"></div>
  224. <div class="block-border" style="height: 34%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  225. <!-- 边角设计 start-->
  226. <div class="image-border image-border-left-top" ></div>
  227. <div class="image-border image-border-right-top" ></div>
  228. <div class="image-border image-border-left-bottom" ></div>
  229. <div class="image-border image-border-lright-bottom" ></div>
  230. <!-- 边角设计 end-->
  231. <div class="course-content">
  232. <div class="course-content-title">
  233. <h5>{{$t('smartClassDB.block3Title2')}}</h5>
  234. </div>
  235. <Row class="course-content-contents" type="flex" justify="center" align="middle">
  236. <Col class="course-content-contents-left" :span="10">
  237. <Row class="course-content-contents-left-row" type="flex" justify="center" align="middle">
  238. <Col class="course-content-contents-left-row-col" :span="12">
  239. <div class="contents-box">
  240. <span class="contents-box-title contents-box-border-red">模拟测验</span>
  241. <h5 class="contents-box-num">0.0%</h5>
  242. <span class="contents-box-subtitle">总数量: 0</span>
  243. </div>
  244. </Col>
  245. <Col class="course-content-contents-left-row-col" :span="12">
  246. <div class="contents-box">
  247. <span class="contents-box-title contents-box-border-green">成绩登录</span>
  248. <h5 class="contents-box-num">0.5%</h5>
  249. <span class="contents-box-subtitle">总数量: 28</span>
  250. </div>
  251. </Col>
  252. <Col :span="12" class="course-content-contents-left-row-col">
  253. <div class="contents-box">
  254. <span class="contents-box-title contents-box-border-pink">线上测验</span>
  255. <h5 class="contents-box-num">1.5%</h5>
  256. <span class="contents-box-subtitle">总数量:77</span>
  257. </div>
  258. </Col>
  259. <Col :span="12" class="course-content-contents-left-row-col" >
  260. <div class="contents-box">
  261. <span class="contents-box-title contents-box-border-yellow">合併活动</span>
  262. <h5 class="contents-box-num">0.4%</h5>
  263. <span class="contents-box-subtitle">总数量: 20</span>
  264. </div>
  265. </Col>
  266. <Col :span="12" class="course-content-contents-left-row-col">
  267. <div class="contents-box">
  268. <span class="contents-box-title contents-box-border-purple">班级竞赛</span>
  269. <h5 class="contents-box-num">4.6%</h5>
  270. <span class="contents-box-subtitle">总数量: 227</span>
  271. </div>
  272. </Col>
  273. <Col :span="12" class="course-content-contents-left-row-col" >
  274. <div class="contents-box">
  275. <span class="contents-box-title contents-box-border-orange">网路阅卷</span>
  276. <h5 class="contents-box-num">4.1%</h5>
  277. <span class="contents-box-subtitle">总数量: 214</span>
  278. </div>
  279. </Col>
  280. <Col :span="12" class="course-content-contents-left-row-col" >
  281. <div class="contents-box">
  282. <span class="contents-box-title contents-box-border-blue">HiTeach</span>
  283. <h5 class="contents-box-num">88.9%</h5>
  284. <span class="contents-box-subtitle">总数量: 4531</span>
  285. </div>
  286. </Col>
  287. <Col :span="12" class="course-content-contents-left-row-col" >
  288. </Col>
  289. </Row>
  290. </Col>
  291. <Col :span="14" style="height: 100%;">
  292. <div style="height:65%">
  293. <CourseBar :id="'coursebar1'"></CourseBar>
  294. </div>
  295. <div style="height:35%">
  296. <Row type="flex" justify="center" align="middle" >
  297. <Col :span="11">
  298. <RingPie :singleColor="true" :id="'ringPie3'"></RingPie>
  299. </Col>
  300. <Col :span="13">
  301. <div style="color: #A9B2B8">{{$t('smartClassDB.block3SubTitle1')}} : <span style="color: #fafafa;">54</span></div>
  302. <div style="color: #A9B2B8">{{$t('smartClassDB.block3SubTitle2')}} : <span style="color: #fafafa;">48</span></div>
  303. <div style="color: #A9B2B8">{{$t('smartClassDB.block3SubTitle3')}} : <span style="color: #fafafa;">49</span></div>
  304. </Col>
  305. </Row>
  306. </div>
  307. </Col>
  308. </Row>
  309. </div>
  310. </div>
  311. </Col>
  312. <Col style="padding: 0 7px" :span="12">
  313. <Row style="height: 64.5%">
  314. <Col :span="8" class="block-3">
  315. <div class="block-border" style="height: 47.5%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  316. <!-- 边角设计 start-->
  317. <div class="image-border image-border-left-top" ></div>
  318. <div class="image-border image-border-right-top" ></div>
  319. <div class="image-border image-border-left-bottom" ></div>
  320. <div class="image-border image-border-lright-bottom" ></div>
  321. <!-- 边角设计 end-->
  322. <div class="today-class-content">
  323. <h5 class="today-class-content-title">{{$t('smartClassDB.block3Title3')}}</h5>
  324. <Row type="flex" justify="center" align="middle" class="today-class-content-contents">
  325. <Col :span="13" class="chart">
  326. <RingPie style="height: 60%" :tooltip="true" :pieData="[{value:3719, name:'题目数'}, {value:0, name:'分享课例数'},{value:251, name:'教材数'}, {value:0, name:'校本课纲数'}]" :id="'ringPie2'"></RingPie>
  327. <div style="height: 30%;text-align: center;" >
  328. <span style="color: #94998a;">{{$t('smartClassDB.block3SubTitle4')}}</span>
  329. <h5 style="font-size: 2em;color: #fafafa;font-weight: 100;">7,689</h5>
  330. </div>
  331. </Col>
  332. <Col :span="11" class="detail">
  333. <Row class="detail-row" >
  334. <Col class="detail-col">
  335. <div @mouseleave="pieDownPlay('class','题目数')" @mouseenter="pieHeightLight('class','题目数')">
  336. <span class="detail-title detail-title-border-red">题目数</span>
  337. <h5 class="detail-amount">3,719 <small>(48.36%)</small></small></h5>
  338. </div>
  339. </Col>
  340. <Col class="detail-col">
  341. <div @mouseleave="pieDownPlay('class','教材数')" @mouseenter="pieHeightLight('class','教材数')">
  342. <span class="detail-title detail-title-border-blue" >教材数</span>
  343. <h5 class="detail-amount" >251 <small>(3.26%)</small></h5>
  344. </div>
  345. </Col>
  346. <Col class="detail-col">
  347. <div @mouseleave="pieDownPlay('class','分享课例数')" @mouseenter="pieHeightLight('class','分享课例数')">
  348. <span class="detail-title detail-title-border-pink" >分享课例数</span>
  349. <h5 class="detail-amount" >3,104 <small>(0%)</small></h5>
  350. </div>
  351. </Col>
  352. <Col class="detail-col">
  353. <div @mouseleave="pieDownPlay('class','校本课纲数')" @mouseenter="pieHeightLight('class','校本课纲数')">
  354. <span class="detail-title detail-title-border-yellow" >校本课纲数</span>
  355. <h5 class="detail-amount" >615 <small>(0%)</small></h5>
  356. </div>
  357. </Col>
  358. </Row>
  359. </Col>
  360. </Row>
  361. </div>
  362. </div>
  363. <div style="height: 1.5%"></div>
  364. <div class="block-border" style="height: 51%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  365. <!-- 边角设计 start-->
  366. <div class="image-border image-border-left-top" ></div>
  367. <div class="image-border image-border-right-top" ></div>
  368. <div class="image-border image-border-left-bottom" ></div>
  369. <div class="image-border image-border-lright-bottom" ></div>
  370. <!-- 边角设计 end-->
  371. <h5 style="border-bottom: 1px solid #94998a;font-size: 1.25em;color: #E4E9DC;font-weight: 100;height: 15%;padding: 10px;">各年級資源產出分佈</h5>
  372. <div style="height: 85%;">
  373. <ClassResourceBar :id="'classresourcebar1'"></ClassResourceBar>
  374. </div>
  375. </div>
  376. </Col>
  377. <Col style="padding-left: 14px;" :span="16" class="block-4">
  378. <div class="block-border" style="height: 31.5%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  379. <!-- 边角设计 start-->
  380. <div class="image-border image-border-left-top" ></div>
  381. <div class="image-border image-border-right-top" ></div>
  382. <div class="image-border image-border-left-bottom" ></div>
  383. <div class="image-border image-border-lright-bottom" ></div>
  384. <!-- 边角设计 end-->
  385. <div style="height: 100%">
  386. <div style="height: 20%;">
  387. <h5 style="font-size: 1.25em;color: #E4E9DC;padding: 10px 0 15px 15px;font-weight: 100;">{{$t('smartClassDB.block4Title1')}}</h5>
  388. </div>
  389. <div class="teachingEvent">
  390. <Row type="flex" justify="center" align="middle" class="teachingEvent-row">
  391. <Col class="teachingEvent-row-col" :span="17">
  392. <Row type="flex" justify="space-around" align="middle" class="teachContent">
  393. <Col class="teachContent-box" :span="6">
  394. <span class="teachContent-box-title">{{$t('smartClassDB.block4SubTitle1')}}</span>
  395. <span class="teachContent-box-num">175</span>
  396. <span class="teachContent-box-subnum">{{$t('smartClassDB.block4SubTitle4')}} : 11</span>
  397. </Col>
  398. <Col class="teachContent-box" :span="6">
  399. <span class="teachContent-box-title">{{$t('smartClassDB.block4SubTitle2')}}</span>
  400. <span class="teachContent-box-num">537</span>
  401. <span class="teachContent-box-subnum">{{$t('smartClassDB.block4SubTitle4')}} : 11</span>
  402. </Col>
  403. <Col class="teachContent-box" :span="6">
  404. <span class="teachContent-box-title">{{$t('smartClassDB.block4SubTitle3')}}</span>
  405. <span class="teachContent-box-num">643</span>
  406. <span class="teachContent-box-subnum">{{$t('smartClassDB.block4SubTitle4')}} : 11</span>
  407. </Col>
  408. </Row>
  409. </Col>
  410. <Col :span="7" style="height:100%">
  411. <RingPie :id="'ringPie4'"></RingPie>
  412. </Col>
  413. </Row>
  414. </div>
  415. </div>
  416. </div>
  417. <div style="height: 2.3%"></div>
  418. <div class="block-border" style="height: 31.5%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  419. <!-- 边角设计 start-->
  420. <div class="image-border image-border-left-top" ></div>
  421. <div class="image-border image-border-right-top" ></div>
  422. <div class="image-border image-border-left-bottom" ></div>
  423. <div class="image-border image-border-lright-bottom" ></div>
  424. <!-- 边角设计 end-->
  425. <div style="height: 100%">
  426. <div style="height: 20%;">
  427. <h5 style="font-size: 1.25em;color: #E4E9DC;padding: 10px 0 15px 15px;font-weight: 100;">{{$t('smartClassDB.block4Title2')}}</h5>
  428. </div>
  429. <div class="teachingEvent">
  430. <Row type="flex" justify="center" align="middle" class="teachingEvent-row">
  431. <Col class="teachingEvent-row-col" :span="17">
  432. <Row type="flex" justify="space-around" align="middle" class="teachContent">
  433. <Col class="teachContent-box" :span="6">
  434. <span class="teachContent-box-title">{{$t('smartClassDB.block4SubTitle5')}}</span>
  435. <span class="teachContent-box-num">519</span>
  436. <span class="teachContent-box-subnum">{{$t('smartClassDB.block4SubTitle4')}} : 11</span>
  437. </Col>
  438. <Col class="teachContent-box" :span="6">
  439. <span class="teachContent-box-title">{{$t('smartClassDB.block4SubTitle6')}}</span>
  440. <span class="teachContent-box-num">410</span>
  441. <span class="teachContent-box-subnum">{{$t('smartClassDB.block4SubTitle4')}} : 11</span>
  442. </Col>
  443. <Col class="teachContent-box" :span="6">
  444. <span class="teachContent-box-title">{{$t('smartClassDB.block4SubTitle7')}}</span>
  445. <span class="teachContent-box-num">426</span>
  446. <span class="teachContent-box-subnum">{{$t('smartClassDB.block4SubTitle4')}} : 11</span>
  447. </Col>
  448. </Row>
  449. </Col>
  450. <Col :span="7" style="height:100%">
  451. <RingPie :id="'ringPie5'"></RingPie>
  452. </Col>
  453. </Row>
  454. </div>
  455. </div>
  456. </div>
  457. <div style="height: 2.3%"></div>
  458. <div style="height: 32.5%;">
  459. <Row style="height: 100%;">
  460. <Col :span="8" style="height: 100%;padding-right:1.5%;">
  461. <div class="block-border" style="height: 100%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  462. <!-- 边角设计 start-->
  463. <div class="image-border image-border-left-top" ></div>
  464. <div class="image-border image-border-right-top" ></div>
  465. <div class="image-border image-border-left-bottom" ></div>
  466. <div class="image-border image-border-lright-bottom" ></div>
  467. <!-- 边角设计 end-->
  468. <h5 style="height: 15%;font-size: 1.25em;color: #E4E9DC;padding-top: 10px;font-weight: 100;text-align: center;">{{$t('smartClassDB.block4Title3')}}</h5>
  469. <div style="height: 85%">
  470. <FinishPercentPie :id="'finishpercentpie1'"></FinishPercentPie>
  471. </div>
  472. </div>
  473. </Col>
  474. <Col :span="8" style="height: 100%;padding:0 1%;">
  475. <div class="block-border" style="height: 100%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  476. <!-- 边角设计 start-->
  477. <div class="image-border image-border-left-top" ></div>
  478. <div class="image-border image-border-right-top" ></div>
  479. <div class="image-border image-border-left-bottom" ></div>
  480. <div class="image-border image-border-lright-bottom" ></div>
  481. <!-- 边角设计 end-->
  482. <h5 style="height: 15%;font-size: 1.25em;color: #E4E9DC;padding-top: 10px;font-weight: 100;text-align: center;">{{$t('smartClassDB.block4Title4')}}</h5>
  483. <div style="height: 85%">
  484. <FinishPercentPie :pieData="{total: 537, value: 354}" :id="'finishpercentpie2'"></FinishPercentPie>
  485. </div>
  486. </div>
  487. </Col>
  488. <Col :span="8" style="height: 100%;padding-left: 1.5%;">
  489. <div class="block-border" style="height: 100%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  490. <!-- 边角设计 start-->
  491. <div class="image-border image-border-left-top" ></div>
  492. <div class="image-border image-border-right-top" ></div>
  493. <div class="image-border image-border-left-bottom" ></div>
  494. <div class="image-border image-border-lright-bottom" ></div>
  495. <!-- 边角设计 end-->
  496. <h5 style="height: 15%;font-size: 1.25em;color: #E4E9DC;padding-top: 10px;font-weight: 100;text-align: center;">{{$t('smartClassDB.block4Title5')}}</h5>
  497. <div style="height: 85%">
  498. <FinishPercentPie :pieData="{total: 643, value:379}" :id="'finishpercentpie3'"></FinishPercentPie>
  499. </div>
  500. </div>
  501. </Col>
  502. </Row>
  503. </div>
  504. </Col>
  505. </Row>
  506. <div style="height: 1.5%"></div>
  507. <Row style="height: 34%;">
  508. <Col style="height: 100%;">
  509. <div class="block-border" style="height: 100%;position: relative;background-color: rgba(217, 217, 217, 0.14);">
  510. <!-- 边角设计 start-->
  511. <div class="image-border image-border-left-top" ></div>
  512. <div class="image-border image-border-right-top" ></div>
  513. <div class="image-border image-border-left-bottom" ></div>
  514. <div class="image-border image-border-lright-bottom" ></div>
  515. <!-- 边角设计 end-->
  516. <div style="height: 20%">
  517. <h5 style="font-size: 1.25em;color: #E4E9DC;padding: 15px 0 0 15px;font-weight: 100;">{{$t('smartClassDB.block4Title6')}}</h5>
  518. </div>
  519. <div style="height: 80%">
  520. <TotalLine :id="'totalLine1'"></TotalLine>
  521. </div>
  522. </div>
  523. </Col>
  524. </Row>
  525. </Col>
  526. </Row>
  527. </div>
  528. </div>
  529. </template>
  530. <script>
  531. import AccountLine from '@/components/graph/accountLine'
  532. import TeachScienceBar from '@/components/graph/teachScienceBar'
  533. import ClassTypePie from '@/components/graph/classtypePie'
  534. import RingPie from '@/components/graph/ringPie'
  535. import CourseBar from '@/components/graph/courseBar'
  536. import FinishPercentPie from '@/components/graph/finishPercentPie'
  537. import TotalLine from '@/components/graph/totalLine'
  538. import ClassResourceBar from '@/components/graph/classResourceBar'
  539. export default {
  540. name:'smart-dashboard',
  541. data () {
  542. return {
  543. courseList:[
  544. {className: '六年级数学', user: '布鲁斯', students: 42, courses: 62},
  545. {className: '一年级物理', user: 'Picc', students: 30, courses: 51},
  546. {className: '三年级英文', user: '薇拉', students: 25, courses: 45},
  547. {className: '三年级语文', user: '梁老师', students: 42, courses: 27},
  548. {className: '六年级化学', user: '贾斯汀', students: 32, courses: 14},
  549. {className: '七年级理化', user: '陈老师', students: 33, courses: 34},
  550. {className: '八年级地球科学', user: '彭老师', students: 25, courses: 52},
  551. {className: '六年级历史', user: '王老师', students: 37, courses: 32},
  552. {className: '九年级健康教育', user: '里欧', students: 42, courses: 52},
  553. {className: '二年级童军', user: 'Daphne', students: 30, courses: 30},
  554. ]
  555. }
  556. },
  557. components:{
  558. AccountLine,
  559. TeachScienceBar,
  560. ClassTypePie,
  561. RingPie,
  562. CourseBar,
  563. FinishPercentPie,
  564. TotalLine,
  565. ClassResourceBar
  566. },
  567. methods:{
  568. }
  569. }
  570. </script>