teacherMap.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. <template>
  2. <div class="content">
  3. <div class="map">
  4. <span class="map-pro">四川省</span>
  5. <div class="my-map">
  6. <div id="myChart" :style="{width: '600px', height: '600px'}"></div>
  7. </div>
  8. <div class="chart">
  9. <h1>15854</h1><h2>个</h2>
  10. <span>名师工作室</span>
  11. <ul>
  12. <li><span>5215人</span><span>一线教师</span></li>
  13. <li><span>5215个</span><span>资源</span></li>
  14. <li><span>54546次</span><span>关注度</span></li>
  15. </ul>
  16. <!--<div id="Chart" :style="{width: '500px', height: '700px'}"></div>-->
  17. </div>
  18. </div>
  19. <div class="teacher-show">
  20. <div class="header">
  21. <h1 class="title ">名师展示</h1>
  22. <ul class="region">
  23. <li><a class="active" @click="chooseSchool()">全部</a></li>
  24. <li><a @click="chooseSchool('zt')">紫藤小学</a></li>
  25. <li><a @click="chooseSchool('xx')">西芯小学</a></li>
  26. <li><a @click="chooseSchool('fc')">芳草小学</a></li>
  27. <li><!--<a href="" rel="350000" class=""></a>--></li>
  28. </ul>
  29. </div>
  30. <div class="select">
  31. <Select v-model="model1" placeholder="学段" style="width:100px">
  32. <Option v-for="item in periodList" :value="item.value" :key="item.value">{{ item.label }}</Option>
  33. </Select>
  34. <Select v-model="model1" placeholder="学科" style="width:100px">
  35. <Option v-for="item in subjectList" :value="item.value" placeholder="学科" :key="item.value">{{ item.label }}</Option>
  36. </Select>
  37. </div>
  38. <div class="content-buttom">
  39. <div class="teacher-item" style="cursor: pointer" v-for="item in teacherList" @click="teacherZone">
  40. <div class="t-title">
  41. <!--<router-link to="/TeacherZone"></router-link>-->
  42. <span>{{item.provice}}</span>
  43. <span>{{item.title}}</span>
  44. </div>
  45. <div class="img-content">
  46. <img :src="item.img" class="th_pto">
  47. </div>
  48. <div class="teacher-info">
  49. <p class="name">{{item.name}}</p>
  50. <div class="subject">
  51. <p>{{item.period}}<span></span>{{item.subject}}</p>
  52. </div>
  53. </div>
  54. <div class="teacher-detailed">
  55. <div class="item">
  56. <p class="number">{{item.number1}}</p>
  57. <p class="txt">{{item.text1}}</p>
  58. </div>
  59. <div class="item">
  60. <p class="number">{{item.number2}}</p>
  61. <p class="txt">{{item.text2}}</p>
  62. </div>
  63. <div class="item">
  64. <p class="number">{{item.number3}}</p>
  65. <p class="txt">{{item.text3}}</p>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="data-view">
  72. <div class="four">
  73. <img src="https://css.huijiaoyun.com/tianyu_edu/html_other_edu/cd_good_school/images/four.png" alt="">
  74. </div>
  75. <div class="resource-data">
  76. <div class="data-item">
  77. <div class="img-content">
  78. <span class="data-view-teacher"></span>
  79. </div>
  80. <p class="data-name">名师总数</p>
  81. <p class="number">13201</p>
  82. </div>
  83. <div class="data-item">
  84. <div class="img-content">
  85. <span class="data-view-member"></span>
  86. </div>
  87. <p class="data-name">成员总数</p>
  88. <p class="number">57260</p>
  89. </div>
  90. <div class="data-item">
  91. <div class="img-content">
  92. <span class="data-view-article"></span>
  93. </div>
  94. <p class="data-name">文章总数</p>
  95. <p class="number">15686</p>
  96. </div>
  97. <div class="data-item">
  98. <div class="img-content">
  99. <span class="data-view-active"></span>
  100. </div>
  101. <p class="data-name">活动总数</p>
  102. <p class="number">38792</p>
  103. </div>
  104. <div class="data-item">
  105. <div class="img-content">
  106. <span class="data-view-resource"></span>
  107. </div>
  108. <p class="data-name">资源总数</p>
  109. <p class="number">142890</p>
  110. </div>
  111. <div class="data-item">
  112. <div class="img-content">
  113. <span class="data-view-move"></span>
  114. </div>
  115. <p class="data-name">优课总数</p>
  116. <p class="number">23446</p>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. </template>
  122. <script>
  123. import echarts from 'echarts'
  124. import '../../static/china.js' // 引入中国地图数据
  125. // import 'echarts/map/js/china.js';
  126. export default {
  127. data() {
  128. return {
  129. chart: null,
  130. data: [],
  131. total: 0,
  132. model1: '',
  133. periodList: [
  134. {
  135. value: 1,
  136. label: '学前'
  137. },
  138. {
  139. value: 2,
  140. label: '小学'
  141. },
  142. {
  143. value: 3,
  144. label: '初中'
  145. },
  146. {
  147. value: 4,
  148. label: '高中'
  149. },
  150. {
  151. value: 5,
  152. label: '中职'
  153. },
  154. ],
  155. subjectList: [
  156. {
  157. value: 1,
  158. label: '语文'
  159. },
  160. {
  161. value: 2,
  162. label: '数学'
  163. },
  164. {
  165. value: 3,
  166. label: '英语'
  167. },
  168. {
  169. value: 4,
  170. label: '生物'
  171. },
  172. {
  173. value: 5,
  174. label: '化学'
  175. },
  176. ],
  177. teacherList: [],
  178. teacher: {
  179. datazt: [
  180. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people01.jpg'), title: '省级名师', name: '周杨', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  181. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people02.jpg'), title: '省级名师', name: '李俊峰', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  182. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people04.jpg'), title: '省级名师', name: '王志明', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  183. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people03.jpg'), title: '省级名师', name: '李国强', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  184. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people05.jpg'), title: '省级名师', name: '黄明莉', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  185. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people08.jpg'), title: '省级名师', name: '李章杰', period: '中学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  186. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people06.jpg'), title: '省级名师', name: '周湾明', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  187. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people07.jpg'), title: '省级名师', name: '徐建生', period: '中学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  188. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people09.jpg'), title: '省级名师', name: '王福生', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  189. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people10.jpg'), title: '省级名师', name: '张凯伦', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  190. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people13.jpg'), title: '省级名师', name: '吴世杰', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  191. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people12.jpg'), title: '省级名师', name: '王先森', period: '中学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  192. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people11.jpg'), title: '省级名师', name: '李德华', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  193. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people15.jpg'), title: '省级名师', name: '李萌萌', period: '小学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  194. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people14.jpg'), title: '省级名师', name: '张梦迪', period: '中学', text1: '成员', number1: '1000', text2: '资源', number2: '2000', text3: '热度', number3: '1500' },
  195. ],
  196. dataxx: [
  197. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people04.jpg'), title: '市级名师', name: '范建健', period: '中学', text1: '成员', number1: '1260', text2: '资源', number2: '1000', text3: '热度', number3: '6500' },
  198. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people02.jpg'), title: '省级名师', name: '张梦娇', period: '小学', text1: '成员', number1: '1450', text2: '资源', number2: '2500', text3: '热度', number3: '1800' },
  199. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people01.jpg'), title: '省级名师', name: '严苏华', period: '小学', text1: '成员', number1: '1560', text2: '资源', number2: '2050', text3: '热度', number3: '1500' },
  200. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people05.jpg'), title: '省级名师', name: '乔国锋', period: '小学', text1: '成员', number1: '1980', text2: '资源', number2: '2500', text3: '热度', number3: '100' },
  201. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people03.jpg'), title: '市级名师', name: '周育俭', period: '中学', text1: '成员', number1: '1200', text2: '资源', number2: '2080', text3: '热度', number3: '500' },
  202. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people06.jpg'), title: '省级名师', name: '李章杰', period: '中学', text1: '成员', number1: '1000', text2: '资源', number2: '2800', text3: '热度', number3: '1500' },
  203. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people08.jpg'), title: '省级名师', name: '赵志田', period: '小学', text1: '成员', number1: '1600', text2: '资源', number2: '2900', text3: '热度', number3: '1600' },
  204. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people07.jpg'), title: '省级名师', name: '邹守烁', period: '中学', text1: '成员', number1: '1050', text2: '资源', number2: '2200', text3: '热度', number3: '700' },
  205. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people09.jpg'), title: '省级名师', name: '王福生', period: '中学', text1: '成员', number1: '1500', text2: '资源', number2: '1800', text3: '热度', number3: '1500' },
  206. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people10.jpg'), title: '省级名师', name: '邹守烁', period: '小学', text1: '成员', number1: '2000', text2: '资源', number2: '2700', text3: '热度', number3: '5500' },
  207. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people15.jpg'), title: '市级名师', name: '吴世杰', period: '小学', text1: '成员', number1: '1050', text2: '资源', number2: '2300', text3: '热度', number3: '1500' },
  208. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people12.jpg'), title: '省级名师', name: '吴兵', period: '中学', text1: '成员', number1: '1800', text2: '资源', number2: '2020', text3: '热度', number3: '1500' },
  209. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people14.jpg'), title: '市级名师', name: '李德华', period: '小学', text1: '成员', number1: '1300', text2: '资源', number2: '2500', text3: '热度', number3: '6500' },
  210. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people13.jpg'), title: '省级名师', name: '李东方', period: '中学', text1: '成员', number1: '1500', text2: '资源', number2: '2060', text3: '热度', number3: '1500' },
  211. { provice: '四川', subject: '语文', img: require('../../assets/image/resource/people11.jpg'), title: '省级名师', name: '张浩然', period: '中学', text1: '成员', number1: '1060', text2: '资源', number2: '2800', text3: '热度', number3: '1500' },
  212. ]
  213. },
  214. teacherData: [
  215. {
  216. "name": "高新区",
  217. "value": 80
  218. }, {
  219. "name": "青羊区",
  220. "value": 87
  221. }, {
  222. "name": "天府新区",
  223. "value": 60
  224. }, {
  225. "name": "锦江区",
  226. "value": 40
  227. }, {
  228. "name": "金牛区",
  229. "value": 50
  230. }, {
  231. "name": "郫都区",
  232. "value": 30
  233. }, {
  234. "name": "温江区",
  235. "value": 40
  236. }
  237. ]
  238. };
  239. },
  240. mounted() {
  241. this.drawLine();
  242. //this.drawChart();
  243. this.teacherList = this.teacher.datazt;
  244. },
  245. methods: {
  246. chooseSchool(data) {
  247. if (data == "zt") {
  248. this.teacherList = this.teacher.datazt
  249. } else if (data == "xx") {
  250. this.teacherList = this.teacher.dataxx
  251. } else if (data == "fc") {
  252. this.teacherList = this.teacher.datazt
  253. } else {
  254. this.teacherList = this.teacher.datazt
  255. }
  256. },
  257. teacherZone() {
  258. this.$router.push('/TeacherZone')
  259. },
  260. drawLine() {
  261. var mapChart = echarts.init(document.getElementById('myChart'));
  262. // mapChart的配置
  263. var option = {
  264. series: [{
  265. type: 'map',
  266. mapType: 'china',
  267. label: {
  268. normal: {
  269. show: false,//显示省份标签
  270. textStyle: { color: "#141414" }//省份标签字体颜色
  271. },
  272. emphasis: {//对应的鼠标悬浮效果
  273. show: true,
  274. textStyle: { color: "#666" }
  275. }
  276. },
  277. lineStyle: {
  278. normal: {
  279. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
  280. offset: 0, color: '#58B3CC'
  281. }, {
  282. offset: 1, color: '#F58158'
  283. }], false),
  284. width: 1,
  285. opacity: 0.5,
  286. curveness: 0.1
  287. }
  288. },
  289. itemStyle: {
  290. normal: {
  291. borderWidth: .5,//区域边框宽度
  292. borderColor: '#666',//区域边框颜色
  293. areaColor: "#fff",//区域颜色
  294. //background-image: linear-gradient(135deg, #f5f7fa 0 %, #c3cfe2 100 %);
  295. },
  296. emphasis: {
  297. borderWidth: .5,
  298. borderColor: '#4b0082',
  299. areaColor: "#008DFF",
  300. }
  301. },
  302. data: [
  303. { name: '四川', selected: true },//福建为选中状态
  304. { name: '广东', selected: true },//福建为选中状态
  305. { name: '湖北', selected: true },//福建为选中状态
  306. ]
  307. }],
  308. }
  309. mapChart.setOption(option);
  310. mapChart.on('click', function (params) {
  311. this.dataIndex = params.dataIndex;
  312. console.log(params);
  313. });
  314. },
  315. //drawChart() {
  316. // var myChart = echarts.init(document.getElementById('Chart'));
  317. // var xData = [],
  318. // yData = [];
  319. // var min = 50; // 最小值的定义
  320. // this.teacherData.map(function (a, b) {
  321. // xData.push(a.name);
  322. // if (a.value === 0) {
  323. // yData.push(a.value + min);
  324. // } else {
  325. // yData.push(a.value);
  326. // }
  327. // });
  328. // var option = {
  329. // //color: ['#3398DB'],
  330. // tooltip: {
  331. // trigger: 'axis',
  332. // axisPointer: {
  333. // type: 'line',
  334. // lineStyle: {
  335. // opacity: 0
  336. // }
  337. // },
  338. // formatter: function (prams) {
  339. // return "名师数:" + prams[0].data
  340. // }
  341. // },
  342. // grid: {
  343. // left: '0%',
  344. // right: '0%',
  345. // bottom: '5%',
  346. // top: '5%',
  347. // height: '50%',
  348. // containLabel: true,
  349. // z: 22
  350. // },
  351. // xAxis: [{
  352. // type: 'category',
  353. // gridIndex: 0,
  354. // data: xData,
  355. // axisTick: {
  356. // alignWithLabel: true
  357. // },
  358. // axisLine: {
  359. // lineStyle: {
  360. // color: '#0c3b71'
  361. // }
  362. // },
  363. // axisLabel: {
  364. // show: true,
  365. // color: 'rgb(170,170,170)',
  366. // fontSize: 12
  367. // }
  368. // }],
  369. // yAxis: [{
  370. // type: 'value',
  371. // gridIndex: 0,
  372. // splitLine: {
  373. // show: true
  374. // },
  375. // axisTick: {
  376. // show: true
  377. // },
  378. // max: 150,
  379. // axisLine: {
  380. // lineStyle: {
  381. // color: '#0c3b71'
  382. // }
  383. // },
  384. // axisLabel: {
  385. // color: 'rgb(170,170,170)',
  386. // formatter: '{value} '
  387. // }
  388. // },
  389. // {
  390. // type: 'value',
  391. // gridIndex: 0,
  392. // max: 200,
  393. // }
  394. // ],
  395. // series: [{
  396. // type: 'bar',
  397. // barWidth: '20',
  398. // xAxisIndex: 0,
  399. // yAxisIndex: 0,
  400. // itemStyle: {
  401. // normal: {
  402. // //barBorderRadius: [30, 30, 0, 0],
  403. // color: new echarts.graphic.LinearGradient(
  404. // 0, 0, 0, 1, [
  405. // // {
  406. // // offset: 0,
  407. // // color: '#00feff'
  408. // //},
  409. // {
  410. // offset: 0.5,
  411. // color: '#4da1ff'
  412. // },
  413. // {
  414. // offset: 1,
  415. // color: '#4da1ff'
  416. // }
  417. // ]
  418. // )
  419. // }
  420. // },
  421. // data: yData,
  422. // zlevel: 11
  423. // },
  424. // ]
  425. // };
  426. // myChart.setOption(option);
  427. //}
  428. },
  429. }
  430. </script>
  431. <style scoped>
  432. .map {
  433. width: 65%;
  434. height: 600px;
  435. margin: auto;
  436. /*margin-left:150px;*/
  437. padding-left: 250px;
  438. background: url("../../assets/image/resource/map-bg.png") no-repeat;
  439. background-repeat: no-repeat;
  440. background-size: 100% 100%;
  441. /*display:flex;*/
  442. }
  443. .map-pro {
  444. display: block;
  445. padding-top: 13%;
  446. margin-left: 2%;
  447. font-size: 24px;
  448. font-weight: 800;
  449. color: orangered;
  450. }
  451. .my-map {
  452. height: 600px;
  453. width: 600px;
  454. /*border: 1px solid red;*/
  455. /*text-align: right;*/
  456. margin-top: -15%;
  457. margin-left: 25%;
  458. }
  459. .chart {
  460. width: 300px;
  461. height: 300px;
  462. margin-top: -35%;
  463. /* border: 1px solid red; */
  464. margin-left: -18%;
  465. }
  466. .chart h1{
  467. color:coral;
  468. }
  469. .chart h2 {
  470. display: block;
  471. margin-top: -10%;
  472. margin-left: 25%;
  473. }
  474. .chart ul {
  475. list-style:none;
  476. width:150px;
  477. }
  478. .chart li {
  479. width: 150px;
  480. height: 20px;
  481. border: 1px solid red;
  482. margin-bottom: 10px;
  483. border-radius: 25px;
  484. }
  485. .header {
  486. width: 100%;
  487. height: 56px;
  488. margin: auto;
  489. -webkit-box-sizing: border-box;
  490. box-sizing: border-box;
  491. border-bottom: 1px solid #e4e4e4;
  492. }
  493. .title {
  494. font-size: 32px;
  495. line-height: 56px;
  496. color: #000;
  497. float:left;
  498. }
  499. .region {
  500. width: 580px;
  501. margin-left: 60px;
  502. float: left;
  503. }
  504. .region li {
  505. float: left;
  506. margin-right: 60px;
  507. margin-top: 12px;
  508. font-weight:700;
  509. font-size: 20px;
  510. list-style:none;
  511. }
  512. .region li a:hover {
  513. color: #1a89e3;
  514. border-bottom: 2px solid #1a89e3;
  515. }
  516. .region li a {
  517. display: inline-block;
  518. line-height: 36px;
  519. color: #888;
  520. padding-bottom: 6px;
  521. }
  522. .teacher-show {
  523. width: 1200px;
  524. height: 1228px;
  525. margin: 45px auto auto;
  526. -webkit-box-sizing: border-box;
  527. box-sizing: border-box;
  528. }
  529. .select {
  530. float: right;
  531. margin-top: -3%;
  532. }
  533. .content-buttom {
  534. width: 1200px;
  535. height: 1228px;
  536. }
  537. .teacher-item {
  538. width: 222px;
  539. height: 313px;
  540. -webkit-box-sizing: border-box;
  541. box-sizing: border-box;
  542. -webkit-border-radius: 4px;
  543. border-radius: 4px;
  544. border: 1px solid #ececec;
  545. -webkit-box-shadow: 1px 1px 10px #ececec;
  546. box-shadow: 1px 1px 10px #ececec;
  547. margin-bottom: 20px;
  548. background: #fff;
  549. float: left;
  550. margin-left: 1%;
  551. margin-top: 1%;
  552. }
  553. .t-title {
  554. display: -webkit-box;
  555. display: -webkit-flex;
  556. display: -ms-flexbox;
  557. display: flex;
  558. -webkit-box-pack: justify;
  559. -webkit-justify-content: space-between;
  560. -ms-flex-pack: justify;
  561. justify-content: space-between;
  562. }
  563. .t-title span {
  564. display: inline-block;
  565. line-height: 20px;
  566. font-size: 16px;
  567. color: #555;
  568. margin: 20px;
  569. }
  570. .img-content {
  571. width: 100%;
  572. height: 100px;
  573. display: -webkit-box;
  574. display: -webkit-flex;
  575. display: -ms-flexbox;
  576. display: flex;
  577. }
  578. .th_pto {
  579. width: 110px;
  580. height: 105px;
  581. border-radius: 50%;
  582. margin-left: -30px;
  583. margin-top: -25px;
  584. position: relative;
  585. }
  586. .teacher-info {
  587. width: 100%;
  588. height: 70px;
  589. text-align: center;
  590. margin-top: 22px;
  591. }
  592. .teacher-info .name {
  593. font-size: 18px;
  594. line-height: 30px;
  595. font-weight: bold;
  596. }
  597. .teacher-info .subject {
  598. width: 116px;
  599. height: 24px;
  600. margin: 0 auto;
  601. -webkit-border-radius: 20px;
  602. border-radius: 20px;
  603. background: -webkit-linear-gradient(left, #a1c4fd, #c2e9fb);
  604. }
  605. .teacher-info .subject p span {
  606. display: inline-block;
  607. width: 4px;
  608. height: 4px;
  609. -webkit-border-radius: 50%;
  610. border-radius: 50%;
  611. margin-top: 10px;
  612. background: #fff;
  613. margin: 3px 6px;
  614. }
  615. .teacher-detailed {
  616. width: 100%;
  617. height: 60px;
  618. margin-top: 8px;
  619. display: -webkit-box;
  620. display: -webkit-flex;
  621. display: -ms-flexbox;
  622. display: flex;
  623. -webkit-justify-content: space-around;
  624. -ms-flex-pack: distribute;
  625. justify-content: space-around;
  626. }
  627. .item .txt {
  628. color: #888;
  629. }
  630. .data-view {
  631. width: 100%;
  632. height: 663px;
  633. overflow: hidden;
  634. background: url('../../assets/image/resource/data-view-bg.png') no-repeat center center;
  635. }
  636. .four {
  637. width: 409px;
  638. height: 248px;
  639. overflow: hidden;
  640. margin: 40px auto;
  641. }
  642. .four img {
  643. width: 409px;
  644. }
  645. .ewm_img {
  646. width: 79.5%;
  647. height: 300px;
  648. text-align: right;
  649. position: absolute;
  650. top: 2128px;
  651. left: 0px;
  652. }
  653. .ewm_img img {
  654. width: 150px;
  655. height: 150px;
  656. }
  657. .ewm_text {
  658. font-size: 17px;
  659. color: #fff;
  660. margin-top: 10px;
  661. }
  662. .resource-data {
  663. width: 1100px;
  664. height: 130px;
  665. -webkit-box-sizing: border-box;
  666. box-sizing: border-box;
  667. margin: 130px auto 0;
  668. display: -webkit-box;
  669. display: -webkit-flex;
  670. display: -ms-flexbox;
  671. display: flex;
  672. -webkit-justify-content: space-around;
  673. -ms-flex-pack: distribute;
  674. justify-content: space-around;
  675. }
  676. .data-item {
  677. width: 130px;
  678. height: 100%;
  679. }
  680. .img-content {
  681. width: 60px;
  682. height: 60px;
  683. margin: 25px auto 17px;
  684. text-align: center;
  685. }
  686. .data-view-teacher {
  687. width: 43px;
  688. height: 51px;
  689. margin-top: 4px;
  690. background: url('../../assets/image/resource/data-view-teacher.png') no-repeat;
  691. }
  692. .data-view-member {
  693. width: 54px;
  694. height: 33px;
  695. margin-top: 13px;
  696. background: url('../../assets/image/resource/data-view-member.png') no-repeat;
  697. }
  698. .data-view-article {
  699. width: 46px;
  700. height: 50px;
  701. margin-top: 4px;
  702. background: url('../../assets/image/resource/data-view-article.png') no-repeat;
  703. }
  704. .data-view-active {
  705. width: 44px;
  706. height: 50px;
  707. margin-top: 4px;
  708. background: url('../../assets/image/resource/data-view-active.png') no-repeat;
  709. }
  710. .data-view-resource {
  711. width: 46px;
  712. height: 50px;
  713. margin-top: 4px;
  714. background: url('../../assets/image/resource/data-view-resource.png') no-repeat;
  715. }
  716. .data-view-move {
  717. width: 52px;
  718. height: 50px;
  719. margin-top: 4px;
  720. background: url('../../assets/image/resource/data-view-move.png') no-repeat;
  721. }
  722. .data-name {
  723. font-size: 18px;
  724. color: #555;
  725. }
  726. .number {
  727. font-size: 24px;
  728. color: #000;
  729. }
  730. </style>