DayNightCard.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. @import '@/utils/common.scss';
  2. .day_night_top {
  3. display: flex;
  4. flex-direction: row;
  5. align-items: center;
  6. color: #fff;
  7. // background-color: red;
  8. }
  9. .day_night_title {
  10. font-size: 32px;
  11. line-height: 32px;
  12. opacity: 0.6;
  13. }
  14. .free {
  15. height: 36px;
  16. line-height: 35px;
  17. border-radius: 18px;
  18. font-size: 20px;
  19. display: flex;
  20. // align-items: center;
  21. // justify-content: center;
  22. padding-left: 16px;
  23. padding-right: 16px;
  24. margin-left: 6px;
  25. }
  26. .day_night_card_footer {
  27. display: flex;
  28. flex-direction: row;
  29. justify-content: space-between;
  30. align-items: center;
  31. padding-top: 20px;
  32. margin-top: 20px;
  33. border-top-style: solid;
  34. border-top-color: #D8D8D852;
  35. border-top-width: 1px;
  36. }
  37. .day_night_value {
  38. font-size: 32px;
  39. line-height: 32px;
  40. font-weight: bold;
  41. left: 0;
  42. // background-color: red;
  43. }
  44. .day_night_desc {
  45. font-size: 20px;
  46. line-height: 32px;
  47. color: #fff;
  48. opacity: 0.2;
  49. width: 468px;
  50. margin-top: 8px;
  51. // background-color: red;
  52. }
  53. .day_night_card_btn {
  54. // width: 598px;
  55. height: 88px;
  56. border-radius: 44px;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. color: #000;
  61. font-size: 28px;
  62. font-weight: bold;
  63. }
  64. /* #ifdef weapp */
  65. .buy_night {
  66. background: linear-gradient(to right, #1446B9, #AAFF00);
  67. }
  68. .buy_day {
  69. background: linear-gradient(to right, #C9DAFF, #AAFF00);
  70. }
  71. /* #endif */
  72. /* #ifdef rn */
  73. /* #endif */
  74. .day_location_btn {
  75. background-color: #C9DAFF33;
  76. color: #C9DAFF;
  77. height: 72px;
  78. padding-left: 48px;
  79. padding-right: 48px;
  80. border-radius: 36px;
  81. text-align: center;
  82. font-size: 24px;
  83. font-weight: bold;
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. }
  88. .night_location_btn {
  89. background-color: #1446B933;
  90. color: #1446B9;
  91. height: 72px;
  92. padding-left: 48px;
  93. padding-right: 48px;
  94. border-radius: 36px;
  95. text-align: center;
  96. font-size: 24px;
  97. font-weight: bold;
  98. display: flex;
  99. align-items: center;
  100. justify-content: center;
  101. }
  102. .night_choose_location {
  103. margin-top: 8px;
  104. line-height: 32px;
  105. font-weight: bold;
  106. font-size: 24px;
  107. width: 438px;
  108. font-weight: bold;
  109. color: #1446B9;
  110. }
  111. .day_choose_location {
  112. margin-top: 8px;
  113. line-height: 32px;
  114. font-weight: bold;
  115. font-size: 24px;
  116. width: 438px;
  117. font-weight: bold;
  118. color: #C9DAFF;
  119. }
  120. .switch {
  121. transform: scale(0.85);
  122. transform-origin: right center;
  123. margin-right: -10px;
  124. }
  125. .day_night_detail {
  126. display: flex;
  127. flex-direction: row;
  128. margin-top: 18px;
  129. margin-bottom: 14px;
  130. // background-color: pink;
  131. }
  132. .day_night_detail_icon {
  133. margin-right: 22px;
  134. // background-color: red;
  135. }
  136. .duration_title2 {
  137. font-size: 32px;
  138. line-height: 32px;
  139. color: #fff;
  140. font-weight: 400;
  141. opacity: 0.6;
  142. }
  143. .duration_value22 {
  144. font-weight: bold;
  145. font-size: 36px;
  146. line-height: 36px;
  147. margin-top: 8px;
  148. display: flex;
  149. flex-shrink: 0;
  150. }
  151. .daynightsummary {
  152. display: flex;
  153. flex-direction: row;
  154. align-items: center;
  155. }
  156. .sunicon {
  157. width: 72px;
  158. height: 72px;
  159. margin-right: -8px; //-40px;
  160. }
  161. .sunicon_bg {
  162. display: flex;
  163. flex-direction: column;
  164. align-items: center;
  165. justify-content: center;
  166. }
  167. .content_icon_bg {
  168. display: flex;
  169. align-items: center;
  170. justify-content: flex-end;
  171. // background-color: pink;
  172. }
  173. .sunrise_item {
  174. display: flex;
  175. flex-direction: row;
  176. align-items: flex-end;
  177. }
  178. .arrow2 {
  179. width: 48px;
  180. height: 48px;
  181. opacity: 0.2;
  182. }
  183. .myMap {
  184. position: absolute;
  185. left: 0;
  186. right: 0;
  187. top: 0;
  188. bottom: 0;
  189. z-index: 0;
  190. }
  191. .day_card_header{
  192. position: absolute;
  193. right: 0;
  194. top: -16px;
  195. }
  196. .day_card_footer {
  197. position: absolute;
  198. right: 0px;
  199. bottom: -8px;
  200. display: flex;
  201. flex-direction: row;
  202. align-items: center;
  203. }
  204. .day_card_footer_date {
  205. opacity: 0.4;
  206. color: #767676;
  207. font-size: 24px;
  208. line-height: 48px;
  209. }
  210. .card_arrow {
  211. width: 40px;
  212. height: 40px;
  213. opacity: 0.2;
  214. }
  215. .footer_desc_text{
  216. font-size: 24px;
  217. line-height: 24px;
  218. margin-left: 5px;
  219. }