grade.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <template>
  2. <view class="chart-list-container">
  3. <view>
  4. <view class="home-topinfo">
  5. <image class="children-avatar" src="../../static/girl.png"></image>
  6. <view class="children-name">
  7. <text class="name">张小伟</text>
  8. <text class="detail">成绩分析</text>
  9. </view>
  10. </view>
  11. </view>
  12. <view class="chart-card">
  13. <line-chart></line-chart>
  14. <area-chart></area-chart>
  15. <column-chart></column-chart>
  16. <bar-chart></bar-chart>
  17. <!-- 雷达图列表板块 -->
  18. <view class="radar-box">
  19. <radar-chart></radar-chart>
  20. <!-- <view class="radar-box-taps">
  21. <button @click="open">打开弹窗</button>
  22. </view> -->
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. }
  32. },
  33. mounted() {
  34. },
  35. methods: {
  36. open(e){
  37. console.log(e);
  38. }
  39. },
  40. onLoad(){
  41. }
  42. }
  43. </script>
  44. <style lang="scss">
  45. .chart-list-container{
  46. height: 100%;
  47. .home-topinfo{
  48. height: 400rpx;
  49. background: linear-gradient(#FFC600, #fafafa);
  50. display: flex;
  51. justify-content: flex-start;
  52. align-items: center;
  53. }
  54. .children-avatar{
  55. margin-top: 10px;
  56. margin-left: 20px;
  57. width: 48px;
  58. height: 48px;
  59. border-radius: 25px;
  60. border: 1px solid #FFFFFF;
  61. box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  62. }
  63. .children-name{
  64. margin-top: 12px;
  65. margin-left: 10px;
  66. display: flex;
  67. flex-direction: column;
  68. .name{
  69. color: #6b778d;
  70. font-size: 13px;
  71. margin: 2px 0px 0px 5px;
  72. }
  73. .detail{
  74. color: #3B4144;
  75. font-weight: bold;
  76. margin: 5px 0px 0px 5px;
  77. }
  78. }
  79. }
  80. .chart-card{
  81. margin: -60px 7px 7px 7px;
  82. // .radar-box{
  83. // display: flex;
  84. // align-items: center;
  85. // .radar-box-taps{
  86. // width: 10px;
  87. // background-color: #000000;
  88. // }
  89. // }
  90. }
  91. </style>