EducationPage.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <template>
  2. <div id="educationPage">
  3. <tr id="schoolStatus">在校生情况</tr>
  4. <div id="table_head">
  5. <td id="td1">类型</td>
  6. <td id="td2">人数</td>
  7. <td id="td3">比例</td>
  8. </div>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. name: 'EducationPage',
  14. components:{
  15. },
  16. data () {
  17. return {
  18. msg: '',
  19. }
  20. },
  21. mounted(){
  22. },
  23. methods:{
  24. }
  25. }
  26. </script>
  27. <style scoped>
  28. #td1{
  29. font-weight:bold;
  30. position: absolute;
  31. left:10%;
  32. top:15%
  33. }
  34. #td2{
  35. font-weight:bold;
  36. position: absolute;
  37. left:40%;
  38. top:15%
  39. }
  40. #td3{
  41. font-weight:bold;
  42. position: absolute;
  43. left:70%;
  44. top:15%
  45. }
  46. #educationPage{
  47. position: absolute;
  48. width: 100%;
  49. height: 25%;
  50. background-color: rgb(20, 10, 220,0.1);
  51. top:52%;
  52. }
  53. #schoolStatus{
  54. position: absolute;
  55. font-family: "宋体";
  56. font-weight:bold;
  57. left:10%
  58. }
  59. #table_head{
  60. position: absolute;
  61. background-color:rgb(10,98,197) ;
  62. font-size: 13px;
  63. top:10%;
  64. width: 180px;
  65. height: 30px;
  66. left: 10%;
  67. }
  68. </style>