riding_card.wxss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. page {
  2. background: #f4f4f4;
  3. padding-bottom: 20rpx;
  4. }
  5. .box {
  6. width: 100%;
  7. height: 100%;
  8. display: flex;
  9. flex-direction: column;
  10. align-items: center;
  11. }
  12. .card {
  13. width: 690rpx;
  14. height: 256rpx;
  15. border-radius: 20rpx;
  16. display: flex;
  17. background-image: url('http://resource.weilaigo.l4j.cn/recharge/ridding_card.png');
  18. background-size: 100% 100%;
  19. flex-direction: column;
  20. justify-content: center;
  21. position: relative;
  22. margin-top: 30rpx;
  23. }
  24. .card .title {
  25. position: absolute;
  26. top: 20rpx;
  27. right: 20rpx;
  28. font-size: 24rpx;
  29. font-family: PingFang SC;
  30. color: rgba(70, 70, 70, 1);
  31. }
  32. .card .absoult {
  33. position: absolute;
  34. bottom: 20rpx;
  35. right: 23rpx;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. font-size: 28rpx;
  40. width: 140rpx;
  41. height: 50rpx;
  42. background: #464646;
  43. border-radius: 35rpx;
  44. font-family: PingFang SC;
  45. color: white;
  46. }
  47. .card .absoult view {
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. width: 50%;
  52. height: 100%;
  53. }
  54. .card .top {
  55. width: 100%;
  56. height: 76%;
  57. display: flex;
  58. align-items: center;
  59. justify-content: space-between;
  60. margin-top: -30rpx;
  61. }
  62. .card .top view {
  63. font-size: 38rpx;
  64. font-family: PingFang SC;
  65. font-weight: bold;
  66. color: rgba(255, 255, 255, 1);
  67. padding-left: 50rpx;
  68. }
  69. .card .top view text {
  70. font-size: 60rpx;
  71. }
  72. .card .time {
  73. font-size: 28rpx;
  74. font-family: PingFang SC;
  75. color: #686868;
  76. padding-left: 50rpx;
  77. }
  78. .list {
  79. display: flex;
  80. flex-direction: column;
  81. margin-top: 10rpx;
  82. width: 690rpx;
  83. }
  84. .list .title1 {
  85. font-size: 32rpx;
  86. font-weight: bold;
  87. padding-top: 20rpx;
  88. }
  89. .list .view {
  90. width: 690rpx;
  91. height: 176rpx;
  92. background: white;
  93. border-radius: 20rpx;
  94. margin-top: 20rpx;
  95. position: relative;
  96. display: flex;
  97. flex-direction: column;
  98. justify-content: center;
  99. box-sizing: border-box;
  100. padding-left: 48rpx;
  101. }
  102. .list .view .text {
  103. font-size: 32rpx;
  104. font-family: PingFang SC;
  105. color: rgba(94, 93, 93, 1);
  106. padding-bottom: 20rpx;
  107. }
  108. .list .view .money {
  109. display: flex;
  110. align-items: flex-end;
  111. }
  112. .list .view .money text:nth-of-type(1) {
  113. font-size: 46rpx;
  114. font-family: PingFang SC;
  115. font-weight: bold;
  116. color: rgba(42, 42, 42, 1);
  117. }
  118. .list .view .money text:nth-of-type(2) {
  119. font-size: 26rpx;
  120. font-family: PingFang SC;
  121. color: rgba(153, 153, 153, 1);
  122. padding-left: 34rpx;
  123. padding-bottom: 6rpx;
  124. text-decoration: line-through;
  125. }
  126. .list .view .buy {
  127. width: 140rpx;
  128. height: 50rpx;
  129. background: #000;
  130. border-radius: 40rpx;
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. font-size: 26rpx;
  135. font-family: PingFang SC;
  136. color: rgba(255, 255, 255, 1);
  137. position: absolute;
  138. top: 88rpx;
  139. right: 20rpx;
  140. }
  141. .list .view .position {
  142. width: 186rpx;
  143. height: 42rpx;
  144. background: rgba(24, 213, 185, 1);
  145. border-radius: 0px 20rpx 0px 39rpx;
  146. display: flex;
  147. align-items: center;
  148. justify-content: center;
  149. font-size: 26rpx;
  150. font-family: PingFang SC;
  151. color: rgba(255, 255, 255, 1);
  152. position: absolute;
  153. top: 0rpx;
  154. right: 0rpx;
  155. }
  156. .orderList .listTop {
  157. padding: 32rpx 30rpx 10rpx 30rpx;
  158. background: white;
  159. }
  160. /* 时间及总支出 */
  161. .time view {
  162. color: #2a2a2a;
  163. font-size: 32rpx;
  164. }
  165. .time view text {
  166. margin-right: 10rpx;
  167. }
  168. .time view:last-child {
  169. font-size: 24rpx;
  170. color: #999;
  171. }
  172. /* 订单列表 */
  173. .orderList {
  174. margin-top: 20rpx;
  175. /* padding-bottom:30rpx; */
  176. }
  177. .flexB {
  178. padding: 20rpx 30rpx !important;
  179. }
  180. .listTop view {
  181. font-size: 32rpx;
  182. color: #2a2a2a;
  183. }
  184. .listTop view:last-child {
  185. font-size: 24rpx;
  186. display: flex;
  187. align-items: center;
  188. }
  189. .iconfont {
  190. font-size: 45rpx;
  191. vertical-align: middle;
  192. }
  193. .orderList .orderTime {
  194. font-size: 24rpx;
  195. color: #999;
  196. padding: 0 33rpx 28rpx 30rpx;
  197. background: #fff;
  198. }
  199. .oderBottom {
  200. background: #fff;
  201. border-top: 1px solid #f4f4f4;
  202. }
  203. .oderBottom view {
  204. padding: 28rpx 55rpx 37rpx 30rpx;
  205. font-size: 24rpx;
  206. color: #2a2a2a;
  207. }
  208. /* 订单状态颜色 */
  209. .abnormal {
  210. color: #18d5b9;
  211. }
  212. .noPay {
  213. color: #f4915b;
  214. }
  215. .background {
  216. width: 100%;
  217. height: 100%;
  218. background: rgba(0, 0, 0, 1);
  219. opacity: 0.4;
  220. z-index: 88;
  221. position: fixed;
  222. top: 0;
  223. left: 0;
  224. right: 0;
  225. bottom: 0;
  226. }
  227. .model{
  228. width: 80%;
  229. /* height: 660rpx; */
  230. background: white;
  231. z-index: 99;
  232. border-radius: 10rpx;
  233. position: fixed;
  234. top: 10%;
  235. left: 4.5%;
  236. /* overflow-y: scroll; */
  237. display: flex;
  238. flex-direction: column;
  239. padding: 0rpx 40rpx;
  240. /* padding-bottom: 20rpx; */
  241. color: #5E5D5D;
  242. padding-bottom: 62rpx !important;
  243. }
  244. .model text{
  245. padding-top: 28rpx;
  246. font-size: 26rpx;
  247. }
  248. .model .title1{
  249. font-size: 30rpx;
  250. font-weight: 800;
  251. width: 100%;
  252. text-align: center;
  253. color: #333;
  254. }
  255. .model view{
  256. width: 150rpx;
  257. height: 60rpx;
  258. border-radius: 35rpx;
  259. display: flex;
  260. align-items: center;
  261. justify-content: center;
  262. background: black;
  263. color: white;
  264. margin: 20rpx auto;
  265. }
  266. .model view text{
  267. padding: 0rpx !important;
  268. }
  269. .over1{
  270. position: fixed;
  271. top: 11%;
  272. right: 8%;
  273. z-index: 99;
  274. }