金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.8 KiB

  1. <template>
  2. <view>
  3. <lf-nav :spreadOut="true" :showIcon="true" bgColor="#fff" title="确认金额"></lf-nav>
  4. <view class="lf-p-30" style="margin: 0 auto;">
  5. <view class="confirm-card">
  6. <view class="state-btn" v-if="payState">
  7. <u-icon name="checkbox-mark" style="font-size: 100rpx;" class="lf-color-white"></u-icon>
  8. </view>
  9. <view class="state-btn1" v-else>
  10. <u-icon name="close" style="font-size: 100rpx;" class="lf-color-white"></u-icon>
  11. </view>
  12. <view>
  13. <text class="lf-font-32 lf-color-777 lf-m-r-10">支付</text>
  14. <text style="font-size: 72rpx;color: #15716E;" v-if="payState">¥478.50</text>
  15. <text style="font-size: 72rpx;color: #15716E;" v-else>失败</text>
  16. </view>
  17. <view>
  18. <button class="confirmcash-btn">返回首页</button>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {
  28. payState: true
  29. }
  30. }
  31. }
  32. </script>
  33. <style scoped lang="scss">
  34. .state-btn {
  35. width: 220rpx;
  36. height: 220rpx;
  37. background: #15716E;
  38. margin-bottom: 30rpx;
  39. border-radius: 50%;
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. }
  44. .state-btn1 {
  45. width: 220rpx;
  46. height: 220rpx;
  47. background: #777777;
  48. margin-bottom: 30rpx;
  49. border-radius: 50%;
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. }
  54. .confirmcash-btn {
  55. width: 550rpx;
  56. height: 100rpx;
  57. background: white;
  58. border-radius: 50rpx;
  59. display: flex;
  60. justify-content: center;
  61. font-size: 32rpx;
  62. color: #15716E;
  63. align-items: center;
  64. border: 1px solid #15716E;
  65. margin-top: 100rpx;
  66. }
  67. .confirm-card {
  68. padding: 30rpx 0;
  69. width: 686rpx;
  70. height: max-content;
  71. background: #FFFFFF;
  72. border-radius: 20rpx;
  73. display: flex;
  74. justify-content: space-around;
  75. align-items: center;
  76. flex-direction: column;
  77. }
  78. </style>