EmploymentSituation.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <div id="employmentSituation">
  3. <img class="ring_background_png" src="../../assets/png/ring_background.png"></img>
  4. <div id="chart_1">
  5. <ThreeDCharts></ThreeDCharts>
  6. </div>
  7. </div>
  8. </template>
  9. <script>
  10. import ThreeDCharts from "../Utils/ThreeDCharts.vue"
  11. export default {
  12. name: 'EmploymentSituation',
  13. components:{
  14. ThreeDCharts
  15. },
  16. data () {
  17. return {
  18. msg: '',
  19. }
  20. },
  21. mounted(){
  22. },
  23. methods:{
  24. }
  25. }
  26. </script>
  27. <style scoped>
  28. #chart_1{
  29. position: absolute;
  30. width: 100%;
  31. height: 100%;
  32. top: -70%;
  33. left: -26%
  34. }
  35. @media screen and (max-height: 1000px) {
  36. #chart_1{
  37. position: absolute;
  38. width: 100%;
  39. height: 100%;
  40. top: -80%;
  41. left: -26%
  42. }
  43. }
  44. #employmentSituation{
  45. position: absolute;
  46. width: 100%;
  47. height: 20%;
  48. top:28%;
  49. /* background-color: rgb(0, 0, 255,0.5); */
  50. }
  51. .ring_background_png{
  52. position: absolute;
  53. width: 55%;
  54. left: 30%;
  55. top:10%
  56. }
  57. </style>