pay-order.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. /* header */
  2. .header-bg {
  3. width: 718rpx;
  4. margin: 0 auto;
  5. box-shadow: 0 4rpx 8rpx 0 rgba(0,0,0,0.03);
  6. }
  7. .header {
  8. width: 718rpx;
  9. height: 256rpx;
  10. margin: 0 auto;
  11. background: linear-gradient(to right, #88B3CA, #7195A8);
  12. border-radius: 8rpx 8rpx 0 0;
  13. display: flex;
  14. flex-direction: column;
  15. }
  16. .header text {
  17. font-family: PingFangSC-Semibold;
  18. margin-left: 40rpx;
  19. color: white;
  20. }
  21. .header>text:nth-child(1) {
  22. font-size: 34rpx;
  23. margin-top: 44rpx;
  24. margin-bottom: 8rpx;
  25. }
  26. .header>text:nth-child(2) {
  27. font-size: 28rpx;
  28. line-height: 60rpx;
  29. }
  30. /* list */
  31. .list {
  32. background-color: white;
  33. width: 718rpx;
  34. margin: 0 auto;
  35. display: flex;
  36. }
  37. .list text {
  38. font-size: 28rpx;
  39. margin: 36rpx 36rpx 20rpx;
  40. line-height: 64rpx;
  41. }
  42. .list>text:first-child {
  43. margin-right: auto;
  44. color: #333333;
  45. }
  46. .list>text:last-child {
  47. margin-left: auto;
  48. text-align: right;
  49. color: #666666;
  50. }
  51. .list+image {
  52. margin: 0 auto;
  53. width: 718rpx;
  54. height: 24rpx;
  55. display: block;
  56. }
  57. /* total */
  58. .total {
  59. background-color: white;
  60. width: 718rpx;
  61. height: 100rpx;
  62. margin: 0 auto;
  63. display: flex;
  64. }
  65. .total text {
  66. margin: 0 36rpx;
  67. line-height: 100rpx;
  68. }
  69. .total>text:first-child {
  70. margin-right: auto;
  71. color: #333333;
  72. font-size: 28rpx;
  73. }
  74. .total>text:last-child {
  75. font-family: PingFangSC-Semibold;
  76. margin-left: auto;
  77. color: #FF5E5E;
  78. font-size: 32rpx;
  79. }
  80. /* discount */
  81. .discount {
  82. background-color: white;
  83. width: 718rpx;
  84. height: 108rpx;
  85. margin: 16rpx auto 0;
  86. display: flex;
  87. box-shadow: 0 4rpx 8rpx 0 rgba(0,0,0,0.03);
  88. }
  89. .discount>text:nth-child(1) {
  90. color: #333333;
  91. font-size: 28rpx;
  92. line-height: 108rpx;
  93. margin-left: 36rpx;
  94. }
  95. .discount>text:nth-child(2) {
  96. width: 96rpx;
  97. height: 32rpx;
  98. border-radius: 4rpx;
  99. border: 1rpx solid #FF5E5E;
  100. color: #FF5E5E;
  101. font-size: 22rpx;
  102. line-height: 32rpx;
  103. text-align: center;
  104. margin: auto auto auto 20rpx;
  105. }
  106. .discount>text:nth-child(3) {
  107. color: #666666;
  108. font-size: 28rpx;
  109. line-height: 108rpx;
  110. margin-left: auto;
  111. }
  112. .discount>image {
  113. width: 14rpx;
  114. height: 24rpx;
  115. margin: auto 36rpx auto 22rpx;
  116. }
  117. /* 底部视图 */
  118. .scroll-view-bottom-view {
  119. width: 100%;
  120. height: 236rpx;
  121. }
  122. .scroll-view-bottom-view-X {
  123. width: 100%;
  124. height: 304rpx;
  125. }
  126. /* 底部固定视图 */
  127. .bottom-view, .bottom-view-X {
  128. position: fixed;
  129. width: 100%;
  130. background-color: white;
  131. bottom: 0rpx;
  132. display: flex;
  133. flex-direction: column;
  134. }
  135. .bottom-view {
  136. height: 212rpx;
  137. }
  138. .bottom-view-X {
  139. height: 280rpx;
  140. }
  141. .bottom-view>view:nth-child(1), .bottom-view-X>view:nth-child(1) {
  142. width: 100%;
  143. height: 100rpx;
  144. display: flex;
  145. }
  146. .bottom-view>view:nth-child(1)>text, .bottom-view-X>view:nth-child(1)>text {
  147. font-size: 32rpx;
  148. color: #333333;
  149. line-height: 100rpx;
  150. margin-left: 30rpx;
  151. }
  152. .bottom-view>view:nth-child(1)>image, .bottom-view-X>view:nth-child(1)>image {
  153. width: 14rpx;
  154. height: 24rpx;
  155. margin: auto 30rpx auto auto;
  156. }
  157. .bottom-view>view:nth-child(2), .bottom-view-X>view:nth-child(2) {
  158. height: 0.7px;
  159. margin-left: 30rpx;
  160. background-color: #eeeeee;
  161. }
  162. .bottom-view>view:nth-child(3), .bottom-view-X>view:nth-child(3) {
  163. width: 100%;
  164. height: 110rpx;
  165. display: flex;
  166. }
  167. .bottom-view>view:nth-child(3)>view:last-child, .bottom-view-X>view:nth-child(3)>view:last-child {
  168. width: 280rpx;
  169. height: 84rpx;
  170. border-radius: 42rpx;
  171. background-color: #3296FB;
  172. font-family: PingFangSC-Semibold;
  173. color: white;
  174. font-size: 30rpx;
  175. line-height: 84rpx;
  176. text-align: center;
  177. margin: auto 20rpx auto auto;
  178. }
  179. .bottom-view>view:nth-child(3)>text, .bottom-view-X>view:nth-child(3)>text {
  180. color: #FF5E5E;
  181. font-size: 26rpx;
  182. margin: auto auto auto 14rpx;
  183. }
  184. .bottom-view>view:nth-child(3)>view:nth-child(1), .bottom-view-X>view:nth-child(3)>view:nth-child(1) {
  185. margin: auto 0rpx auto 30rpx;
  186. display: flex;
  187. }
  188. .bottom-view>view:nth-child(3)>view:nth-child(1)>text, .bottom-view-X>view:nth-child(3)>view:nth-child(1)>text {
  189. font-family: PingFangSC-Semibold;
  190. color: #FF5E5E;
  191. font-size: 24rpx;
  192. line-height: 24rpx;
  193. height: 24rpx;
  194. margin-top: auto;
  195. }
  196. .bottom-view>view:nth-child(3)>view:nth-child(1)>text:nth-child(1), .bottom-view-X>view:nth-child(3)>view:nth-child(1)>text:nth-child(1) {
  197. margin-bottom: 0.7px;
  198. }
  199. .bottom-view>view:nth-child(3)>view:nth-child(1)>text:nth-child(2), .bottom-view-X>view:nth-child(3)>view:nth-child(1)>text:nth-child(2) {
  200. font-size: 40rpx;
  201. line-height: 40rpx;
  202. height: 40rpx;
  203. }