dev.vue 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <div id="dev-container">
  3. <dv-border-box-4 style="width:500px;height:300px;" backgroundColor="rgba(79, 210, 221, 0.3)" />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'dev',
  9. data () {
  10. return {
  11. config: {
  12. digitalFlopToFixed: 2,
  13. data: [
  14. {
  15. name: '周口',
  16. value: 55
  17. },
  18. {
  19. name: '南阳',
  20. value: 120
  21. },
  22. {
  23. name: '西峡',
  24. value: 78
  25. },
  26. {
  27. name: '驻马店',
  28. value: 66
  29. },
  30. {
  31. name: '新乡',
  32. value: 80
  33. }
  34. ]
  35. }
  36. }
  37. }
  38. }
  39. </script>
  40. <style lang="less">
  41. #dev-container {
  42. width: 100%;
  43. height: 600px;
  44. box-shadow: 0 0 3px green;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. background-color: #282c34;
  49. color: #fff;
  50. .dev {
  51. width: 300px;
  52. height: 200px;
  53. }
  54. }
  55. </style>