success.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <template>
  2. <view class="page-wrap">
  3. <image class="success" src="../../../static/svg/success.svg"></image>
  4. <view class="text">支付成功</view>
  5. <view class="money">500.00</view>
  6. <button class="btn" @click="handleBack">返回企业钱包</button>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {
  13. }
  14. },
  15. methods: {
  16. handleBack(){
  17. uni.navigateBack({
  18. delta: 2
  19. });
  20. }
  21. }
  22. }
  23. </script>
  24. <style lang="scss" scoped>
  25. .page-wrap{
  26. min-height: 100%;
  27. padding-top: 130.49rpx;
  28. box-sizing: border-box;
  29. text-align: center;
  30. background: #fff;
  31. border-top: 1rpx solid #e0e0e0;
  32. .success{
  33. width: 137.36rpx;
  34. height: 137.36rpx;
  35. }
  36. .text{
  37. font-size: 32.97rpx;
  38. color: #333;
  39. margin: 41.21rpx 0 5.49rpx;
  40. }
  41. .money{
  42. font-size: 43.96rpx;
  43. color: #333;
  44. &:before{
  45. content: '¥';
  46. font-size: 32.97rpx;
  47. }
  48. }
  49. .btn{
  50. width: 576.92rpx;
  51. height: 75.55rpx;
  52. line-height: 75.55rpx;
  53. background: #00d2c3;
  54. border-radius: 8.24rpx;
  55. font-size: 30.22rpx;
  56. color: #fff;
  57. margin-top: 217.03rpx;
  58. }
  59. }
  60. </style>