airInputFlux.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <div class="atmosphere-flux-container">
  3. <div class="map-title">大气通量分布图</div>
  4. <div class="map-image-container">
  5. <img
  6. src="/大气通量.jpg"
  7. alt="大气通量分布图"
  8. class="map-image"
  9. >
  10. </div>
  11. </div>
  12. </template>
  13. <script>
  14. export default {
  15. name: 'AtmosphereFluxMap',
  16. };
  17. </script>
  18. <style scoped>
  19. .atmosphere-flux-container {
  20. width: 100%;
  21. max-width: 900px;
  22. margin: 0 auto;
  23. background: white;
  24. border-radius: 12px;
  25. box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  26. overflow: hidden;
  27. font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  28. }
  29. .map-title {
  30. background: linear-gradient(to right, #1a5fad, #2c8fd1);
  31. color: white;
  32. text-align: center;
  33. padding: 18px 0;
  34. font-size: 1.8rem;
  35. font-weight: 600;
  36. letter-spacing: 1px;
  37. text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  38. }
  39. .map-image-container {
  40. padding: 25px;
  41. background: #f8fafc;
  42. display: flex;
  43. justify-content: center;
  44. align-items: center;
  45. min-height: 500px;
  46. }
  47. .map-image {
  48. max-width: 100%;
  49. max-height: 100%;
  50. object-fit: contain;
  51. border: 1px solid #e0e7ff;
  52. border-radius: 8px;
  53. box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  54. transition: transform 0.3s ease;
  55. }
  56. .map-image:hover {
  57. transform: scale(1.02);
  58. }
  59. .map-footer {
  60. background: #f1f5f9;
  61. padding: 15px 0;
  62. text-align: center;
  63. font-size: 0.95rem;
  64. color: #4b5563;
  65. border-top: 1px solid #e5e7eb;
  66. }
  67. @media (max-width: 768px) {
  68. .map-title {
  69. font-size: 1.5rem;
  70. padding: 15px 0;
  71. }
  72. .map-image-container {
  73. padding: 15px;
  74. min-height: 350px;
  75. }
  76. .map-footer {
  77. font-size: 0.85rem;
  78. }
  79. }
  80. @media (max-width: 480px) {
  81. .map-title {
  82. font-size: 1.3rem;
  83. }
  84. .map-image-container {
  85. min-height: 280px;
  86. }
  87. }
  88. </style>