index.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .previewCard {
  2. width: 100vw;
  3. min-height: 100vh;
  4. background-color: #f1f1f1;
  5. width: 100vw;
  6. min-height: 100vh;
  7. background-color: #f1f1f1;
  8. .detail-top {
  9. width: 100%;
  10. height: 100%;
  11. position: relative;
  12. z-index: 999;
  13. @include flex(flex-start, null);
  14. position: relative;
  15. .back-box{
  16. width: 100rpx;
  17. position: relative;
  18. z-index: 2;
  19. }
  20. .top-text {
  21. width: 100%;
  22. position: absolute;
  23. top: 50%;
  24. transform: translateY(-50%);
  25. left: 0;
  26. text-align: center;
  27. font-size: 32rpx;
  28. font-weight: 600;
  29. color: #000;
  30. }
  31. }
  32. .seat {
  33. width: 100%;
  34. height: 16rpx;
  35. }
  36. .box-bg {
  37. width: 100%;
  38. height: 393rpx;
  39. // background: linear-gradient(233deg, #8CCBFF 24%, #CDE9FF 71%);
  40. // background: ;
  41. background-image: linear-gradient(
  42. to bottom,
  43. #8ccbff 0%,
  44. #cde9ff 71%,
  45. #f1f1f1 100%
  46. );
  47. position: fixed;
  48. top: 0;
  49. left: 0;
  50. }
  51. .card-box {
  52. padding-top: 52rpx;
  53. box-sizing: border-box;
  54. @include flex(center, column, null);
  55. position: relative;
  56. .card-bg {
  57. position: absolute;
  58. top: 16rpx;
  59. left: 50%;
  60. transform: translateX(-50%);
  61. image {
  62. width: 705rpx;
  63. }
  64. }
  65. .seat-list {
  66. height: 120rpx;
  67. width: 690rpx;
  68. position: absolute;
  69. left: 50%;
  70. transform: translateX(-50%);
  71. bottom: -112rpx;
  72. border-radius: 0 0 16rpx 16rpx;
  73. background-color: #ffffff;
  74. @include flex(center, null, null);
  75. .seat-item {
  76. flex: 1;
  77. color: #2566ee;
  78. font-size: 26rpx;
  79. @include flex(center, null, 8rpx);
  80. image {
  81. width: 32rpx;
  82. height: 32rpx;
  83. }
  84. }
  85. }
  86. }
  87. .brief {
  88. width: 100%;
  89. margin-top: 136rpx;
  90. padding: 0 30rpx;
  91. box-sizing: border-box;
  92. .brief-item {
  93. padding: 24rpx 32rpx 32rpx 32rpx;
  94. box-sizing: border-box;
  95. border-radius: 16rpx;
  96. background-color: #ffffff;
  97. margin-top: 24rpx;
  98. .item-title {
  99. width: 100%;
  100. border-bottom: 1rpx solid #d8e0f1;
  101. font-size: 28rpx;
  102. color: rgba(0, 0, 0, 0.9);
  103. padding-bottom: 24rpx;
  104. }
  105. .item-container {
  106. padding-top: 24rpx;
  107. font-size: 24rpx;
  108. color: #606e84;
  109. line-height: 36rpx;
  110. }
  111. }
  112. }
  113. .footer {
  114. position: fixed;
  115. left: 0;
  116. bottom: 0;
  117. z-index: 2;
  118. width: 100vw;
  119. margin-top: 24rpx;
  120. padding-bottom: constant(safe-area-inset-bottom); //兼容 IOS<11.2
  121. padding-bottom: env(safe-area-inset-bottom); //兼容 IOS>11.2
  122. background-color: #ffffff;
  123. .btn-list {
  124. width: 100%;
  125. height: 112rpx;
  126. padding: 0 30rpx;
  127. box-sizing: border-box;
  128. @include flex(space-between, null, null);
  129. button {
  130. width: 690rpx;
  131. height: 88rpx;
  132. border-radius: 16rpx;
  133. font-size: 28rpx;
  134. text-align: center;
  135. line-height: 88rpx;
  136. &:nth-of-type(1) {
  137. color: #1472ff;
  138. border: 2rpx solid #1472ff;
  139. box-sizing: border-box;
  140. }
  141. }
  142. }
  143. }
  144. }