riding_card.wxss 5.0 KB

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