buy.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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. margin: 0 20rpx 0 30rpx;
  25. }
  26. .headimg {
  27. width: 100%;
  28. height: 100%;
  29. }
  30. .name {
  31. font-size: 30rpx;
  32. font-weight: bold;
  33. color: #333333;
  34. }
  35. .span {
  36. padding-right: 30rpx;
  37. }
  38. .count {
  39. font-size: 48rpx;
  40. font-weight: bold;
  41. color: #333333;
  42. }
  43. .unit {
  44. font-size: 26rpx;
  45. font-weight: 400;
  46. color: #333333;
  47. padding-left: 12rpx;
  48. }
  49. .title {
  50. width: 100%;
  51. height: 114rpx;
  52. text-indent: 30rpx;
  53. line-height: 114rpx;
  54. font-size: 30rpx;
  55. font-weight: bold;
  56. color: #333333;
  57. }
  58. .chose-pay-type {
  59. width: 100%;
  60. min-height: 302rpx;
  61. }
  62. .pay-type {
  63. width: 690rpx;
  64. margin: 0 auto;
  65. min-height: 302rpx;
  66. display: flex;
  67. justify-content: flex-start;
  68. flex-wrap: wrap;
  69. }
  70. .pay-item {
  71. width: 280rpx;
  72. height: 302rpx;
  73. background: #FFFFFF;
  74. border-radius: 20rpx;
  75. border: 2rpx solid #DDDDDD;
  76. position: relative;
  77. margin-left: 40rpx;
  78. margin-top: 20rpx;
  79. }
  80. .pay-item-active {
  81. border: 2rpx solid #45A6B5;
  82. }
  83. .p-title {
  84. margin-top: 40rpx;
  85. font-size: 30rpx;
  86. font-weight: bold;
  87. color: #333333;
  88. text-align: center;
  89. }
  90. .p-title-flex {
  91. margin-top: 40rpx;
  92. display: flex;
  93. justify-content: center;
  94. align-items: center;
  95. }
  96. .sub-title {
  97. font-size: 30rpx;
  98. font-weight: bold;
  99. color: #333333;
  100. margin-left: 5rpx;
  101. }
  102. .light-text {
  103. width: 36rpx;
  104. height: 36rpx;
  105. background: #45A6B5;
  106. border-radius: 4rpx;
  107. font-size: 26rpx;
  108. font-weight: 400;
  109. color: #FFFFFF;
  110. margin-right: 5rpx;
  111. }
  112. .p-prise {
  113. margin-top: 40rpx;
  114. text-align: center;
  115. }
  116. .saleprice {
  117. font-size: 20rpx;
  118. font-weight: 400;
  119. color: #333333;
  120. margin-right: 5rpx;
  121. }
  122. .onceprice {
  123. width: 100%;
  124. height: 40rpx;
  125. font-size: 20rpx;
  126. font-weight: 400;
  127. color: #999999;
  128. position: relative;
  129. }
  130. .oncepricetext {
  131. display: inline-block;
  132. width: 150rpx;
  133. height: 40rpx;
  134. line-height: 40rpx;
  135. margin-left: 70rpx;
  136. }
  137. .line {
  138. position: absolute;
  139. width: 150rpx;
  140. height: 1rpx;
  141. background-color: #999;
  142. top: 20rpx;
  143. left: 60rpx;
  144. }
  145. .p-tag {
  146. font-size: 26rpx;
  147. font-weight: bold;
  148. color: #333333;
  149. }
  150. .p-num {
  151. font-size: 60rpx;
  152. font-weight: bold;
  153. color: #333333;
  154. }
  155. .tips {
  156. font-size: 26rpx;
  157. font-weight: 400;
  158. color: #45A6B5;
  159. text-align: center;
  160. margin-top: 20rpx;
  161. }
  162. .mark {
  163. width: 40rpx;
  164. height: 40rpx;
  165. background: #45A6B5;
  166. border-radius: 0px 17rpx 0px 4rpx;
  167. position: absolute;
  168. top: 0;
  169. right: 0;
  170. }
  171. .discount {
  172. width: 50rpx;
  173. height: 30rpx;
  174. background: #45A6B5;
  175. border-radius: 10rpx 0px 2rpx 0px;
  176. position: absolute;
  177. top: 0;
  178. left: 0;
  179. font-size: 16rpx;
  180. color: #FFFFFF;
  181. }
  182. .wxpay {
  183. width: 690rpx;
  184. height: 104rpx;
  185. margin: 48rpx auto 0;
  186. background: #FFFFFF;
  187. border-radius: 20rpx;
  188. display: flex;
  189. justify-content: space-between;
  190. align-items: center;
  191. }
  192. .wxpaypng {
  193. width: 64rpx;
  194. height: 64rpx;
  195. margin-left: 30rpx;
  196. margin-right: 18rpx;
  197. }
  198. .check-icnon {
  199. width: 40rpx;
  200. height: 40rpx;
  201. border-radius: 50%;
  202. background: var(--maincolor);
  203. margin-right: 32rpx;
  204. }
  205. .pay-btn {
  206. width: 690rpx;
  207. height: 80rpx;
  208. margin: 0 auto;
  209. background: var(--maincolor);
  210. border-radius: 10rpx;
  211. font-size: 30rpx;
  212. font-weight: 400;
  213. color: #FFFFFF;
  214. margin-top: 160rpx;
  215. }
  216. .s-tips {
  217. font-size: 26rpx;
  218. font-weight: 400;
  219. color: #333333;
  220. text-align: center;
  221. margin-top: 20rpx;
  222. }
  223. .wrapper {
  224. height: 100%;
  225. }
  226. .model {
  227. width: 540rpx;
  228. height: 208rpx;
  229. background: #FFFFFF;
  230. border-radius: 24rpx;
  231. }
  232. .top-title {
  233. font-size: 34rpx;
  234. font-weight: bold;
  235. color: #333333;
  236. text-align: center;
  237. height: 118rpx;
  238. line-height: 118rpx;
  239. border-bottom: 1rpx solid #DDDDDD;
  240. box-sizing:border-box;
  241. }
  242. .btn {
  243. width: 270rpx;
  244. height: 90rpx;
  245. box-sizing: border-box;
  246. font-size: 34rpx;
  247. color: #333333;
  248. }
  249. .cancel-btn {
  250. font-weight: 400;
  251. }
  252. .confirm-btn {
  253. border-left: 1rpx solid #DDDDDD;
  254. font-weight: bold;
  255. }