user_payment.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. .user-payment {
  17. padding: 20rpx 30rpx;
  18. }
  19. .user-payment .payment {
  20. text-align: center;
  21. border-radius: 20rpx;
  22. overflow: hidden;
  23. padding-bottom: 74rpx;
  24. }
  25. .user-payment .payment .nav {
  26. margin: 20rpx 95rpx 80rpx;
  27. }
  28. .user-payment .payment .nav .item {
  29. flex: 1;
  30. }
  31. .user-payment .payment .nav .item .line {
  32. width: 110rpx;
  33. height: 2px;
  34. }
  35. .user-payment .payment .line {
  36. width: 110rpx;
  37. height: 2px;
  38. }
  39. .user-payment .payment .input {
  40. margin-left: 66rpx;
  41. margin-top: 35rpx;
  42. margin-right: 30rpx;
  43. border-bottom: 1px solid #E5E5E5;
  44. }
  45. .user-payment .payment .input input {
  46. height: 94rpx;
  47. text-align: left;
  48. font-size: 66rpx;
  49. margin-left: 30rpx;
  50. }
  51. .user-payment .payment .tip {
  52. margin: 25rpx 66rpx;
  53. }
  54. .user-payment .btn {
  55. background: linear-gradient(79deg, #f95f2f 0%, #ff2c3c 100%);
  56. margin: 70rpx 0 30rpx;
  57. }
  58. .user-payment .fast-payment-container {
  59. margin-top: 72rpx;
  60. }
  61. .user-payment .fast-payment-container .title {
  62. font-size: 38rpx;
  63. line-height: 53rpx;
  64. }
  65. .user-payment .fast-payment-container .fast-pay {
  66. margin-top: 40rpx;
  67. }
  68. .user-payment .fast-payment-container .fast-pay .fast-pay-item {
  69. position: relative;
  70. width: 214rpx;
  71. height: 150rpx;
  72. border-radius: 10rpx;
  73. margin-bottom: 16rpx;
  74. }
  75. .user-payment .fast-payment-container .fast-pay .fast-pay-item:not(:nth-of-type(3n)) {
  76. margin-right: 24rpx;
  77. }
  78. .user-payment .fast-payment-container .fast-pay .fast-pay-item .hot-recharge {
  79. position: absolute;
  80. padding: 2rpx 10rpx;
  81. height: 30rpx;
  82. background: linear-gradient(180deg, #FF2C3C 0%, #F95F2F 100%);
  83. border-radius: 0 20rpx 0 20rpx;
  84. font-size: 20rpx;
  85. top: 0;
  86. right: 0;
  87. }
  88. .user-payment .fast-payment-container .fast-pay .fast-pay-item .price {
  89. font-size: 42rpx;
  90. line-height: 50rpx;
  91. }
  92. .user-payment .fast-payment-container .fast-pay .fast-pay-item .preferential {
  93. line-height: 32rpx;
  94. }
  95. .pay-popup .content {
  96. padding: 40rpx 0;
  97. text-align: center;
  98. width: 560rpx;
  99. border-radius: 20rpx;
  100. }
  101. .pay-popup .img-icon {
  102. width: 112rpx;
  103. height: 112rpx;
  104. display: inline-block;
  105. }
  106. .pay-popup .btn {
  107. margin: 80rpx 60rpx 0;
  108. }