rechargeRes.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <template>
  2. <view>
  3. <u-navbar title="充值结果"></u-navbar>
  4. <view class="paySuccess">
  5. <u-icon name="chenggong" custom-prefix="custom-icon" size="180" color="#00B962"></u-icon>
  6. <view class="title">支付成功</view>
  7. <view class="payPrice">
  8. <span>¥</span><font>15.00</font><span>元</span>
  9. </view>
  10. <p>支付成功</p>
  11. </view>
  12. <view class="paySuccess-btn">
  13. <u-button class="success-btn1" shape="circle" type="" @click="rechargeContinue">
  14. <span>继续充值</span>
  15. </u-button>
  16. <u-button class="success-btn2" shape="circle" type="success" @click="balanceLook">
  17. <span>查看余额</span>
  18. </u-button>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. }
  27. },
  28. methods: {
  29. rechargeContinue() {
  30. uni.redirectTo({
  31. url: '/pages/user/finance/recharge'
  32. })
  33. },
  34. balanceLook() {
  35. uni.redirectTo({
  36. url: '/pages/user/finance/balance'
  37. })
  38. }
  39. }
  40. }
  41. </script>
  42. <style>
  43. page{
  44. background-color: #fff;
  45. }
  46. </style>
  47. <style lang="scss" scoped>
  48. .paySuccess{
  49. text-align: center;
  50. padding: 50px 0;
  51. .title{
  52. font-size: 20px;
  53. margin-top: 20px;
  54. }
  55. .payPrice{
  56. display: flex;
  57. align-items: flex-end;
  58. justify-content: center;
  59. font{
  60. font-size: 36px;
  61. line-height: 36px;
  62. }
  63. margin-top: 20px;
  64. }
  65. p{
  66. color:#999;
  67. margin-top: 4px;
  68. }
  69. }
  70. .paySuccess-btn{
  71. display: flex;
  72. justify-content: space-between;
  73. padding: 0 40px;
  74. }
  75. .success-btn1{
  76. color:#BBBBBB!important;
  77. background-color:#fff!important;
  78. flex: 0.4;
  79. span{
  80. color:#333;
  81. }
  82. }
  83. .success-btn2{
  84. background-color:#00B962!important;
  85. flex: 0.4;
  86. border-color: #00B962!important;
  87. color:#fff!important;
  88. }
  89. </style>