index.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. * {
  2. padding: 0;
  3. margin: 0;
  4. }
  5. body {
  6. width: 100%;
  7. height: 100%;
  8. }
  9. .main {
  10. max-width: 800px;
  11. width: 100%;
  12. margin: auto;
  13. }
  14. #succ {
  15. width: 100%;
  16. height: 100%;
  17. background-color: #FFF;
  18. position: fixed;
  19. top: 0;
  20. left: 0;
  21. right: 0;
  22. bottom: 0;
  23. z-index: 20;
  24. display: none;
  25. }
  26. #succ .mainImg {
  27. width: 80%;
  28. display: block;
  29. margin: auto;
  30. }
  31. .main .payInfo {
  32. width: 100%;
  33. height: 230px;
  34. background-color: #3687FD;
  35. display: flex;
  36. flex-direction: column;
  37. align-items: center;
  38. color: #FFF;
  39. padding-top: 45px;
  40. box-sizing: border-box;
  41. }
  42. .main .ts {
  43. font-weight: normal;
  44. }
  45. .main #money {
  46. margin: 20px 0;
  47. font-size: 38px;
  48. }
  49. .main #orderNo {
  50. margin-top: 6px;
  51. }
  52. .main .payBtn {
  53. background-color: #0CBB07;
  54. width: 80%;
  55. height: 45px;
  56. text-align: center;
  57. line-height: 45px;
  58. border-radius: 6px;
  59. color: #FFF;
  60. margin: 100px auto 0;
  61. font-size: 18px;
  62. }
  63. #tip {
  64. position: fixed;
  65. top: 0;
  66. left: 0;
  67. right: 0;
  68. bottom: 0;
  69. width: 100%;
  70. height: 100%;
  71. background-color: rgba(0, 0, 0, .4);
  72. z-index: 10;
  73. display: none;
  74. }
  75. #tip .content {
  76. position: absolute;
  77. z-index: 15;
  78. background-color: #FFF;
  79. border-radius: 6px;
  80. width: 85%;
  81. top: 50%;
  82. left: 50%;
  83. transform: translate(-50%, -50%);
  84. }
  85. #tip .tipTitle{
  86. padding: 20px;
  87. box-sizing: border-box;
  88. text-align: center;
  89. font-weight: bold;
  90. border-bottom: 1px solid rgb(236, 236, 236);
  91. }
  92. #tip .tipBt {
  93. padding: 12px;
  94. box-sizing: border-box;
  95. text-align: center;
  96. color: #2f6ecd;
  97. }
  98. .back {
  99. background-color: #0CBB07;
  100. width: 80%;
  101. height: 45px;
  102. text-align: center;
  103. line-height: 45px;
  104. border-radius: 6px;
  105. color: #FFF;
  106. margin: 60px auto 0;
  107. font-size: 18px;
  108. }