index.vue 630 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <div class="background">
  3. <div class="bigbox">
  4. <PerLeft></PerLeft>
  5. <PerRight></PerRight>
  6. </div>
  7. </div>
  8. </template>
  9. <script>
  10. import PerLeft from "./PerLeft";
  11. import PerRight from "./PerRight";
  12. export default {
  13. name: "PerCent",
  14. components: {
  15. PerRight,
  16. PerLeft,
  17. },
  18. };
  19. </script>
  20. <style scoped>
  21. .background {
  22. width: 100%;
  23. background-color: rgb(237, 244, 237);
  24. padding-top: 4rem;
  25. padding-bottom: 4rem;
  26. }
  27. .bigbox {
  28. background: rgb(255, 255, 255);
  29. width: 90%;
  30. left: 50%;
  31. top: 6rem;
  32. translate: -50% 0;
  33. margin-left: 48rem;
  34. margin-top: 2rem;
  35. padding: 2rem;
  36. }
  37. </style>