Index.vue 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  1. <template>
  2. <section class='index-content'>
  3. <div class='index_header'>
  4. <div class='header-item'>
  5. <div class='item-img'>
  6. <img src="../assets/book.png" alt="">
  7. <span class='text'> 期刊总数 <br/><span class='count'>356</span></span>
  8. </div>
  9. <div class='item-img'>
  10. <img src="../assets/network.png" alt="">
  11. <span class='text'> 文章发布量 <br/><span class='count'>356</span></span>
  12. </div>
  13. </div>
  14. <div class='header-item'>
  15. <div class='item-text'>
  16. <div><span class='text'>活动举办次数</span> <span class='count'> 82</span></div>
  17. <div><span class='text'>活动参与次数</span><span class='count'> 82</span></div>
  18. </div>
  19. <div class='item-text'>
  20. <div><span class='text'>总阅读次数</span><span class='count'> 82</span></div>
  21. <div><span class='text'>转发次数</span><span class='count'> 82</span></div>
  22. </div>
  23. </div>
  24. <div class='header-item'>
  25. <div>搜索热词</div>
  26. </div>
  27. </div>
  28. <div class='index-main'>
  29. <div class='main-item'>
  30. <div class='item-title'>期刊统计</div>
  31. <div class='item-more'>查看更多>></div>
  32. </div>
  33. <div class='main-content'>
  34. <div class='c1'>
  35. <div class='c1-title'>学期期刊分布</div>
  36. <div ref='subject' style="width:100%;height:250px;"></div>
  37. </div>
  38. <div class='c2'>
  39. <div class='c2-title'>单位期刊统计</div>
  40. <div ref='company' style="width:100%;height:250px;"></div>
  41. </div>
  42. <div class='c1'>
  43. <div class='c1-title'>期刊文章TOP5</div>
  44. <div ref='article' style="width:100%;height:250px;"></div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class='index-main'>
  49. <div class='main-item'>
  50. <div class='item-title'>文章统计</div>
  51. <div class='item-more'>查看更多>></div>
  52. </div>
  53. <div class='main-content'>
  54. <div class='c1'>
  55. <div class='c1-title'>文章来源分析</div>
  56. <div ref='article_sorce' style="width:100%;height:250px;"></div>
  57. </div>
  58. <div class='c2'>
  59. <div class='c2-title'>文章发布/时间统计</div>
  60. <div ref='article_time' style="width:100%;height:250px;"></div>
  61. </div>
  62. <div class='c1'>
  63. <div class='c1-title'>文章阅读量TOP5</div>
  64. <div ref='article_ready' style="width:100%;height:250px;">
  65. <div class='h2'>
  66. <span>序号</span>
  67. <span>文章标题</span>
  68. <span>阅读次数</span>
  69. </div>
  70. <div class='con2' v-for='(item,index) in list' :key='index'>
  71. <span>{{index+1}}</span>
  72. <span>{{item.article_header}}</span>
  73. <span>{{item.count}}</span>
  74. </div>
  75. <div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <div class='index-main'>
  82. <div class='main-item'>
  83. <div class='item-title'>会议统计</div>
  84. <div class='item-more'>查看更多>></div>
  85. </div>
  86. <div class='main-content'>
  87. <div class='c1'>
  88. <div class='c1-title'>会议主办方统计</div>
  89. <div ref='meet_count' style="width:100%;height:250px;"></div>
  90. </div>
  91. <div class='c1'>
  92. <div class='c2-title'>会议发布/时间统计</div>
  93. <div ref='meet_time' style="width:100%;height:250px;"></div>
  94. </div>
  95. </div>
  96. </div>
  97. </section>
  98. </template>
  99. <script>
  100. import echarts from 'echarts';
  101. export default {
  102. data(){
  103. return {
  104. list:[
  105. {article_header:'中国生态效率时空演化研究',count:'132'},
  106. {article_header:'中国生态效率时空演化研究',count:'132'},
  107. {article_header:'中国生态效率时空演化研究',count:'132'},
  108. {article_header:'中国生态效率时空演化研究',count:'132'},
  109. {article_header:'中国生态效率时空演化研究',count:'132'},
  110. ]
  111. }
  112. },
  113. methods:{
  114. getEcharts(){
  115. var myChart = this.$echarts.init(this.$refs.subject);
  116. var myChart1 = this.$echarts.init(this.$refs.company);
  117. var myChart2 = this.$echarts.init(this.$refs.article);
  118. var myChart3 = this.$echarts.init(this.$refs.article_sorce);
  119. var myChart4 = this.$echarts.init(this.$refs.article_time);
  120. var myChart5 = this.$echarts.init(this.$refs.meet_count);
  121. var myChart6 = this.$echarts.init(this.$refs.meet_time);
  122. // 学科期刊
  123. let option = {
  124. backgroundColor: '#fff',
  125. // title: {
  126. // text: 'Customized Pie',
  127. // left: 'center',
  128. // top: 20,
  129. // textStyle: {
  130. // color: '#ccc'
  131. // }
  132. // },
  133. color:['#9379ff','#62A2FF', '#FFD053', '#FF9F41','#FF542C'],
  134. tooltip: {
  135. trigger: 'item',
  136. formatter: '{a} <br/>{b} : {c} ({d}%)'
  137. },
  138. // visualMap: {
  139. // show: false,
  140. // min: 80,
  141. // max: 600,
  142. // inRange: {
  143. // colorLightness: [0, 1]
  144. // }
  145. // },
  146. series: [{
  147. name: '访问来源',
  148. type: 'pie',
  149. radius: '55%',
  150. center: ['50%', '50%'],
  151. data: [
  152. {value: 335, name: '直接访问'},
  153. {value: 310, name: '邮件营销'},
  154. {value: 274, name: '联盟广告'},
  155. {value: 235, name: '视频广告'},
  156. {value: 400, name: '搜索引擎'}
  157. ].sort(function (a, b) { return a.value - b.value; }),
  158. roseType: 'radius',
  159. label: {
  160. color: 'rgba(102, 102, 102,1)',
  161. fontSize:14
  162. },
  163. labelLine: {
  164. lineStyle: {
  165. color: 'rgba(000, 000, 000, 0.1)'
  166. },
  167. smooth: 0.2,
  168. length: 8,
  169. length2: 5
  170. },
  171. itemStyle: {
  172. // color: '#c23531',
  173. // shadowBlur: 200,
  174. // shadowColor: 'rgba(0, 0, 0, 0.5)'
  175. },
  176. animationType: 'scale',
  177. animationEasing: 'elasticOut',
  178. animationDelay: function (idx) {
  179. return Math.random() * 200;
  180. }
  181. }]
  182. };
  183. // 单位期刊统计
  184. let option1 = {
  185. color: ['#5066FF'],
  186. tooltip: {
  187. trigger: 'axis',
  188. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  189. type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  190. }
  191. },
  192. grid: {
  193. left: '3%',
  194. right: '4%',
  195. bottom: '3%',
  196. top:'10%',
  197. containLabel: true
  198. },
  199. xAxis: [
  200. {
  201. type: 'category',
  202. data: ['Mon', 'Tue', 'Wed', 'Thu'],
  203. axisTick: {
  204. alignWithLabel: true
  205. },
  206. axisLine: {
  207. lineStyle: {
  208. color: '#D4D8EE',
  209. width: 2 ,
  210. type:'dotted',
  211. }
  212. },
  213. axisLabel:{
  214. formatter:function(val) {
  215. console.log(val,"")
  216. return '中国科' //对每个标签处理后的结果(通过js字符串方法处理)
  217. },
  218. // x轴字体颜色
  219. textStyle: {
  220. color: '#999999',
  221. // lineHeight: 20,
  222. fontSize: 12
  223. },
  224. align:'center',
  225. // padding:[10,0 ,0,-40],
  226. }
  227. }
  228. ],
  229. yAxis: [
  230. {
  231. type: 'value',
  232. boundaryGap: ['0%', '20%'],
  233. axisTick: {
  234. show: false
  235. },
  236. axisLine: {
  237. show: false,
  238. },
  239. axisLabel: {
  240. show: true,
  241. textStyle: {
  242. color: '#666666', //更改坐标轴文字颜色
  243. fontSize : 14 //更改坐标轴文字大小
  244. }
  245. },
  246. splitLine: {
  247. show: true,
  248. lineStyle:{
  249. type:'dashed'
  250. }
  251. }
  252. // data:['0' , '100' , '200' , '300,400]
  253. }
  254. ],
  255. series: [
  256. {
  257. name: '直接访问',
  258. type: 'bar',
  259. barWidth: '40%',
  260. data: [10, 52, 200, 334],
  261. itemStyle: {
  262. //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多
  263. normal: {
  264. //柱形图圆角,初始化效果
  265. barBorderRadius:[10, 10, 10, 10]
  266. }
  267. },
  268. }
  269. ]
  270. };
  271. // 期刊文章前5
  272. let option2 = {
  273. // title: {
  274. // text: '世界人口总量',
  275. // subtext: '数据来自网络'
  276. // },
  277. tooltip: {
  278. trigger: 'axis',
  279. axisPointer: {
  280. type: 'shadow'
  281. }
  282. },
  283. // legend: {
  284. // data: ['2011年', '2012年']
  285. // },
  286. grid: {
  287. left: '3%',
  288. right: '4%',
  289. bottom: '3%',
  290. top:'10%',
  291. containLabel: true
  292. },
  293. xAxis: {
  294. type: 'value',
  295. show:false,
  296. // boundaryGap: ['0', '50%']
  297. },
  298. yAxis: {
  299. // show:false,
  300. type: 'category',
  301. axisTick: {
  302. show: false
  303. },
  304. axisLine: {
  305. show: false,
  306. },
  307. data: ['应用物理', '应用物理', '应用物理', '应用物理', '应用物理']
  308. },
  309. series: [
  310. // {
  311. // name: '2011年',
  312. // type: 'bar',
  313. // data: [18203, 23489, 29034, 104970, 131744]
  314. // },
  315. {
  316. name: '2012年',
  317. type: 'bar',
  318. data: [19325, 23438, 31000, 121594, 134141],
  319. barWidth: '30%',
  320. itemStyle: {
  321. //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多
  322. normal: {
  323. //柱形图圆角,初始化效果
  324. barBorderRadius:[10, 10, 10, 10],
  325. color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
  326. offset: 0,
  327. color: '#FF852C'
  328. }, {
  329. offset: 1,
  330. color: '#FFCF29'
  331. }]),
  332. label: {
  333. show: true, //开启显示
  334. position: 'right', //在上方显示
  335. textStyle: { //数值样式
  336. color: '#666666',
  337. fontSize: 14
  338. }
  339. }
  340. },
  341. }
  342. }
  343. ]
  344. };
  345. // 文章来源分布
  346. let option3 = {
  347. backgroundColor: '#fff',
  348. // title: {
  349. // text: 'Customized Pie',
  350. // left: 'center',
  351. // top: 20,
  352. // textStyle: {
  353. // color: '#ccc'
  354. // }
  355. // },
  356. color:['#FA9022','#DCDB01', '#8C70F8', '#34A6FE','#2A4AD1'],
  357. tooltip: {
  358. trigger: 'item',
  359. formatter: '{a} <br/>{b} : {c} ({d}%)'
  360. },
  361. // visualMap: {
  362. // show: false,
  363. // min: 80,
  364. // max: 600,
  365. // inRange: {
  366. // colorLightness: [0, 1]
  367. // }
  368. // },
  369. series: [{
  370. name: '访问来源',
  371. type: 'pie',
  372. radius: '55%',
  373. center: ['50%', '50%'],
  374. data: [
  375. {value: 335, name: '直接访问'},
  376. {value: 310, name: '邮件营销'},
  377. {value: 274, name: '联盟广告'},
  378. {value: 235, name: '视频广告'},
  379. {value: 400, name: '搜索引擎'}
  380. ].sort(function (a, b) { return a.value - b.value; }),
  381. roseType: 'radius',
  382. label: {
  383. color: 'rgba(102, 102, 102,1)',
  384. fontSize:14
  385. },
  386. labelLine: {
  387. lineStyle: {
  388. color: 'rgba(000, 000, 000, 0.1)'
  389. },
  390. smooth: 0.2,
  391. length: 8,
  392. length2: 5
  393. },
  394. itemStyle: {
  395. // color: '#c23531',
  396. // shadowBlur: 200,
  397. // shadowColor: 'rgba(0, 0, 0, 0.5)'
  398. },
  399. animationType: 'scale',
  400. animationEasing: 'elasticOut',
  401. animationDelay: function (idx) {
  402. return Math.random() * 200;
  403. }
  404. }]
  405. };
  406. // 文章分布/时间统计
  407. let option4 = {
  408. color:"#FFB81E",
  409. grid: {
  410. left: '3%',
  411. right: '4%',
  412. bottom: '3%',
  413. top:'10%',
  414. containLabel: true
  415. },
  416. xAxis: {
  417. type: 'category',
  418. boundaryGap: false,
  419. axisLine: {
  420. lineStyle: {
  421. color: '#D4D8EE',
  422. width: 2 ,
  423. // type:'dotted',
  424. }
  425. },
  426. data:['','','','','','',''],
  427. axisLabel:{
  428. formatter:function(val) {
  429. console.log(val,"")
  430. return '中国科学院成都生物研究所 中国科学院成都生物研究所' //对每个标签处理后的结果(通过js字符串方法处理)
  431. },
  432. // x轴字体颜色
  433. textStyle: {
  434. color: '#999999',
  435. // lineHeight: 20,
  436. // fontSize: 12
  437. },
  438. align:'left',
  439. // padding:[10,0 ,0,-40],
  440. }
  441. },
  442. yAxis: {
  443. type: 'value',
  444. splitLine: {
  445. show: true,
  446. lineStyle:{
  447. type:'dashed'
  448. }
  449. },
  450. axisTick: {
  451. show: false,
  452. interval:100,
  453. },
  454. axisLine: {
  455. show: false,
  456. },
  457. boundaryGap: ['0%', '30%'],
  458. },
  459. series: [{
  460. data: [50, 200, 20, 300, 150, 300, 100],
  461. type: 'line',
  462. symbol: 'none', //取消折点圆圈
  463. areaStyle: {
  464. color: {
  465. type: 'linear',
  466. x: 0,
  467. y: 0,
  468. x2: 0,
  469. y2: 1,
  470. colorStops: [{
  471. offset: 0, color: '#FFC765' // 0% 处的颜色
  472. }, {
  473. offset: 1, color: '#ffffff' // 100% 处的颜色
  474. }],
  475. global: false // 缺省为 false
  476. }
  477. },
  478. smooth: true
  479. }]
  480. };
  481. // 会议主办方统计
  482. let option5 = {
  483. color: ['#5066FF'],
  484. tooltip: {
  485. trigger: 'axis',
  486. axisPointer: { // 坐标轴指示器,坐标轴触发有效
  487. type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
  488. }
  489. },
  490. grid: {
  491. left: '3%',
  492. right: '4%',
  493. bottom: '3%',
  494. top:'10%',
  495. containLabel: true
  496. },
  497. xAxis: [
  498. {
  499. type: 'category',
  500. data: ['', '', '', '','','',],
  501. axisTick: {
  502. alignWithLabel: true
  503. },
  504. axisLine: {
  505. lineStyle: {
  506. color: '#D4D8EE',
  507. width: 2 ,
  508. type:'dotted',
  509. }
  510. },
  511. axisLabel:{
  512. formatter:function(val) {
  513. console.log(val,"")
  514. return '中国科' //对每个标签处理后的结果(通过js字符串方法处理)
  515. },
  516. // x轴字体颜色
  517. textStyle: {
  518. color: '#999999',
  519. // lineHeight: 20,
  520. fontSize: 12
  521. },
  522. align:'center',
  523. // padding:[10,0 ,0,-40],
  524. }
  525. }
  526. ],
  527. yAxis: [
  528. {
  529. type: 'value',
  530. boundaryGap: ['0%', '20%'],
  531. axisTick: {
  532. show: false
  533. },
  534. axisLine: {
  535. show: false,
  536. },
  537. axisLabel: {
  538. show: true,
  539. textStyle: {
  540. color: '#666666', //更改坐标轴文字颜色
  541. fontSize : 14 //更改坐标轴文字大小
  542. }
  543. },
  544. splitLine: {
  545. show: true,
  546. lineStyle:{
  547. type:'dashed'
  548. }
  549. }
  550. // data:['0' , '100' , '200' , '300,400]
  551. }
  552. ],
  553. series: [
  554. {
  555. name: '直接访问',
  556. type: 'bar',
  557. barWidth: '40%',
  558. data: [50, 52, 200, 334,45,190,240],
  559. itemStyle: {
  560. //柱形图圆角,鼠标移上去效果,如果只是一个数字则说明四个参数全部设置为那么多
  561. normal: {
  562. //柱形图圆角,初始化效果
  563. barBorderRadius:[10, 10, 10, 10]
  564. }
  565. },
  566. }
  567. ]
  568. };
  569. // 会议发布/时间统计
  570. let option6 = {
  571. color:"#FFB81E",
  572. grid: {
  573. left: '3%',
  574. right: '4%',
  575. bottom: '3%',
  576. top:'10%',
  577. containLabel: true
  578. },
  579. xAxis: {
  580. type: 'category',
  581. boundaryGap: false,
  582. axisLine: {
  583. lineStyle: {
  584. color: '#D4D8EE',
  585. width: 2 ,
  586. // type:'dotted',
  587. }
  588. },
  589. data:['','','','','','',''],
  590. axisLabel:{
  591. formatter:function(val) {
  592. console.log(val,"")
  593. return '中国科学院成都生物研究所 中国科学院成都生物研究所' //对每个标签处理后的结果(通过js字符串方法处理)
  594. },
  595. // x轴字体颜色
  596. textStyle: {
  597. color: '#999999',
  598. // lineHeight: 20,
  599. // fontSize: 12
  600. },
  601. align:'left',
  602. // padding:[10,0 ,0,-40],
  603. }
  604. },
  605. yAxis: {
  606. type: 'value',
  607. splitLine: {
  608. show: true,
  609. lineStyle:{
  610. type:'dashed'
  611. }
  612. },
  613. axisTick: {
  614. show: false,
  615. interval:100,
  616. },
  617. axisLine: {
  618. show: false,
  619. },
  620. boundaryGap: ['0%', '30%'],
  621. },
  622. series: [{
  623. data: [50, 200, 20, 300, 150, 300, 100],
  624. type: 'line',
  625. symbol: 'none', //取消折点圆圈
  626. areaStyle: {
  627. color: {
  628. type: 'linear',
  629. x: 0,
  630. y: 0,
  631. x2: 0,
  632. y2: 1,
  633. colorStops: [{
  634. offset: 0, color: '#FFC765' // 0% 处的颜色
  635. }, {
  636. offset: 1, color: '#ffffff' // 100% 处的颜色
  637. }],
  638. global: false // 缺省为 false
  639. }
  640. },
  641. smooth: true
  642. }]
  643. };
  644. myChart.setOption(option);
  645. myChart1.setOption(option1);
  646. myChart2.setOption(option2);
  647. myChart3.setOption(option3);
  648. myChart4.setOption(option4);
  649. myChart5.setOption(option5);
  650. myChart6.setOption(option6);
  651. }
  652. },
  653. mounted(){
  654. this.getEcharts();
  655. },
  656. created(){
  657. }
  658. }
  659. </script>
  660. <style lang='scss' scoped>
  661. section{
  662. // width:100%;
  663. .index_header{
  664. background: #FFFFFF;
  665. height:102px;
  666. border-radius: 10px;
  667. display:flex;
  668. align-items: center;
  669. .header-item{
  670. flex:1;
  671. display:flex;
  672. justify-content: space-evenly;
  673. align-items: center;
  674. height:56px;
  675. &:not(:last-child){
  676. border-right:1px solid #d8d8d8;
  677. }
  678. .text{
  679. font-size: 16px;
  680. color: #666666;
  681. }
  682. .count{
  683. font-size: 32px;
  684. }
  685. .item-img{
  686. display:flex;
  687. img{
  688. width:56px;
  689. height:56px;
  690. margin-right:30px;
  691. }
  692. .text{
  693. position:relative;
  694. top:-8px;
  695. }
  696. .count{
  697. color: #208CFE;
  698. position:relative;
  699. bottom:-11px;
  700. }
  701. }
  702. .item-text{
  703. &>div{
  704. display:flex;
  705. align-items: center;
  706. .text{
  707. width:120px;
  708. }
  709. }
  710. }
  711. }
  712. }
  713. .index-main{
  714. background: #FFFFFF;
  715. border-radius: 10px;
  716. margin-top:20px;
  717. padding:20px;
  718. .main-item{
  719. position:relative;
  720. .item-title{
  721. font-size: 18px;
  722. font-weight: bold;
  723. color: #333333;
  724. margin-bottom:20px;
  725. }
  726. .item-more{
  727. position:absolute;
  728. top:20px;
  729. right:20px;
  730. font-size: 14px;
  731. color: #3895FE;
  732. }
  733. }
  734. .main-content{
  735. display:flex;
  736. &>div:not(:last-child){
  737. border-right:1px solid #eee;
  738. }
  739. .c1{
  740. flex:1;
  741. .h2{
  742. font-size:14px;
  743. color:#999999;
  744. height:40px;
  745. line-height:40px;
  746. span:nth-of-type(2){
  747. margin-left:20px;
  748. }
  749. span:last-child{
  750. float:right;
  751. }
  752. }
  753. .con2{
  754. font-size:14px;
  755. color:#333333;
  756. height:36px;
  757. line-height:36px;
  758. background:#FAFAFA;
  759. border-radius:7px;
  760. margin-bottom:8px;
  761. padding:0 10px;
  762. &:nth-of-type(2){
  763. color:#EF3D3D;
  764. }
  765. &:nth-of-type(3){
  766. color:#FDAD23;
  767. }
  768. &:nth-of-type(4){
  769. color:#56CCF6;
  770. }
  771. span:nth-of-type(2){
  772. margin-left:20px;
  773. }
  774. span:last-child{
  775. float:right;
  776. }
  777. }
  778. }
  779. .c2{
  780. flex:1.5;
  781. }
  782. .c1,.c2{
  783. width:100%;
  784. // flex:1;
  785. padding:10px;
  786. box-sizing: border-box;
  787. }
  788. .c1-title,.c2-title{
  789. font-size: 15px;
  790. font-weight: bold;
  791. color: #666666;
  792. // margin-top:20px;
  793. }
  794. }
  795. }
  796. }
  797. </style>