buy.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /* pages/buy/buy.wxss */
  2. .buy-container {
  3. width: 100%;
  4. height: 100%;
  5. background-color: #F7F7F7;
  6. }
  7. .header {
  8. width: 100%;
  9. height: 120rpx;
  10. background-color: #fff;
  11. display: flex;
  12. justify-content: space-between;
  13. align-items: center;
  14. }
  15. .info {
  16. display: flex;
  17. justify-content: flex-start;
  18. align-items: center;
  19. }
  20. .img {
  21. width: 80rpx;
  22. height: 80rpx;
  23. border-radius: 50%;
  24. background-color: #f66;
  25. margin: 0 20rpx 0 30rpx;
  26. }
  27. .name {
  28. font-size: 30rpx;
  29. font-weight: bold;
  30. color: #333333;
  31. }
  32. .span {
  33. padding-right: 30rpx;
  34. }
  35. .count {
  36. font-size: 48rpx;
  37. font-weight: bold;
  38. color: #333333;
  39. }
  40. .unit {
  41. font-size: 26rpx;
  42. font-weight: 400;
  43. color: #333333;
  44. padding-left: 12rpx;
  45. }
  46. .title {
  47. width: 100%;
  48. height: 114rpx;
  49. text-indent: 30rpx;
  50. line-height: 114rpx;
  51. font-size: 30rpx;
  52. font-weight: bold;
  53. color: #333333;
  54. }
  55. .chose-pay-type {
  56. width: 100%;
  57. min-height: 302rpx;
  58. }
  59. .pay-type {
  60. width: 690rpx;
  61. margin: 0 auto;
  62. min-height: 302rpx;
  63. display: flex;
  64. justify-content: flex-start;
  65. flex-wrap: wrap;
  66. }
  67. .pay-item {
  68. width: 280rpx;
  69. height: 302rpx;
  70. background: #FFFFFF;
  71. border-radius: 20rpx;
  72. border: 2rpx solid #DDDDDD;
  73. position: relative;
  74. margin-left: 40rpx;
  75. margin-top: 20rpx;
  76. }
  77. .pay-item-active {
  78. border: 2rpx solid #45A6B5;
  79. }
  80. .p-title {
  81. margin-top: 40rpx;
  82. font-size: 30rpx;
  83. font-weight: bold;
  84. color: #333333;
  85. text-align: center;
  86. }
  87. .p-title-flex {
  88. margin-top: 40rpx;
  89. display: flex;
  90. justify-content: center;
  91. align-items: center;
  92. }
  93. .sub-title {
  94. font-size: 30rpx;
  95. font-weight: bold;
  96. color: #333333;
  97. margin-left: 5rpx;
  98. }
  99. .light-text {
  100. width: 36rpx;
  101. height: 36rpx;
  102. background: #45A6B5;
  103. border-radius: 4rpx;
  104. font-size: 26rpx;
  105. font-weight: 400;
  106. color: #FFFFFF;
  107. margin-right: 5rpx;
  108. }
  109. .p-prise {
  110. margin-top: 40rpx;
  111. text-align: center;
  112. }
  113. .p-tag {
  114. font-size: 26rpx;
  115. font-weight: bold;
  116. color: #333333;
  117. }
  118. .p-num {
  119. font-size: 60rpx;
  120. font-weight: bold;
  121. color: #333333;
  122. }
  123. .tips {
  124. font-size: 26rpx;
  125. font-weight: 400;
  126. color: #45A6B5;
  127. text-align: center;
  128. margin-top: 20rpx;
  129. }
  130. .mark {
  131. width: 40rpx;
  132. height: 40rpx;
  133. background: #45A6B5;
  134. border-radius: 0px 17rpx 0px 4rpx;
  135. position: absolute;
  136. top: 0;
  137. right: 0;
  138. }
  139. .wxpay {
  140. width: 690rpx;
  141. height: 104rpx;
  142. margin: 48rpx auto 0;
  143. background: #FFFFFF;
  144. border-radius: 20rpx;
  145. display: flex;
  146. justify-content: space-between;
  147. align-items: center;
  148. }
  149. .wxpaypng {
  150. width: 64rpx;
  151. height: 64rpx;
  152. margin-left: 30rpx;
  153. margin-right: 18rpx;
  154. }
  155. .check-icnon {
  156. width: 40rpx;
  157. height: 40rpx;
  158. border-radius: 50%;
  159. background: var(--maincolor);
  160. margin-right: 32rpx;
  161. }
  162. .pay-btn {
  163. width: 690rpx;
  164. height: 80rpx;
  165. margin: 0 auto;
  166. background: var(--maincolor);
  167. border-radius: 10rpx;
  168. font-size: 30rpx;
  169. font-weight: 400;
  170. color: #FFFFFF;
  171. margin-top: 160rpx;
  172. }
  173. .s-tips {
  174. font-size: 26rpx;
  175. font-weight: 400;
  176. color: #333333;
  177. text-align: center;
  178. margin-top: 20rpx;
  179. }
  180. .wrapper {
  181. height: 100%;
  182. }
  183. .model {
  184. width: 540rpx;
  185. height: 208rpx;
  186. background: #FFFFFF;
  187. border-radius: 24rpx;
  188. }
  189. .top-title {
  190. font-size: 34rpx;
  191. font-weight: bold;
  192. color: #333333;
  193. text-align: center;
  194. height: 118rpx;
  195. line-height: 118rpx;
  196. border-bottom: 1rpx solid #DDDDDD;
  197. box-sizing:border-box;
  198. }
  199. .btn {
  200. width: 270rpx;
  201. height: 90rpx;
  202. box-sizing: border-box;
  203. font-size: 34rpx;
  204. color: #333333;
  205. }
  206. .cancel-btn {
  207. font-weight: 400;
  208. }
  209. .confirm-btn {
  210. border-left: 1rpx solid #DDDDDD;
  211. font-weight: bold;
  212. }