index.scss 3.1 KB

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