buy.wxss 4.1 KB

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