toPay.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <template>
  2. <div class="to_pay clear-both">
  3. <ul class="pay_box">
  4. <li class="pay_title">招投标信息 3月</li>
  5. <li class="pay_price">
  6. <span>支付金额</span>
  7. <p>¥837.00</p>
  8. </li>
  9. <li class="pay_way">
  10. <span>支付方式</span>
  11. <p>微信支付</p>
  12. </li>
  13. <li class="pay_confirm">
  14. <button>确认支付</button>
  15. <p>
  16. 会员更划算哦!点击
  17. <span>成为会员</span></p>
  18. </li>
  19. <!-- <li class="pay_title"></li> -->
  20. </ul>
  21. </div>
  22. </template>
  23. <script>
  24. import '~/assets/new.scss' // 引入
  25. import '~/assets/a.scss' // 引入
  26. import '~/static/css/style.css' // 引入
  27. export default{
  28. data(){
  29. return {
  30. msg:''
  31. }
  32. }
  33. }
  34. </script>
  35. <style scoped>
  36. body div{
  37. height: 100%;
  38. }
  39. .to_pay{
  40. width: 100%;
  41. height: 100%;
  42. background-color: rgba(0, 0, 0, 0.3);
  43. }
  44. .pay_box{
  45. width: 100%;
  46. position: fixed;
  47. left: 0;
  48. right: 0;
  49. bottom: 0;
  50. max-height: 360px;
  51. background-color: #fff;
  52. /* padding-bottom: 20px; */
  53. }
  54. .pay_box li{
  55. padding: 20px 1.5rem;
  56. position: relative;
  57. }
  58. .pay_box li::after{
  59. content: '';
  60. display: block;
  61. position: absolute;
  62. width: 100%;
  63. height: 1px;
  64. left: 0;
  65. bottom: 0;
  66. right: 0;
  67. background-color: #f0f0f0;
  68. }
  69. .pay_box li:last-child::after{
  70. height: 0;
  71. }
  72. .pay_box .pay_title{
  73. font-size: 16px;
  74. font-family: PingFang-SC-Bold;
  75. font-weight: bold;
  76. color: #202020;
  77. }
  78. .pay_box li p{
  79. float: right;
  80. /* color: #ff5c5c; */
  81. }
  82. .pay_box li span{
  83. color: #afafaf;
  84. }
  85. .pay_box .pay_confirm{
  86. }
  87. .pay_box .pay_confirm button{
  88. width: 90%;
  89. height: 50px;
  90. background: #ff5c5c;
  91. border-radius: 8px;
  92. border: none;
  93. margin: auto;
  94. display: block;
  95. color: #fff;
  96. font-size: 16px;
  97. font-family: PingFang-SC-Medium;
  98. font-weight: 500;
  99. }
  100. .pay_box .pay_confirm p{
  101. font-size: 14.5px;
  102. font-family: PingFang-SC-Medium;
  103. font-weight: 500;
  104. color: #afafaf;
  105. text-align: center;
  106. margin-top: 10px;
  107. float: none;
  108. }
  109. .pay_box .pay_confirm p span{
  110. color: red;
  111. font-weight: bold;
  112. margin-top: 10px;
  113. }
  114. </style>