paymentSuccess.vue 798 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!-- 支付成功 -->
  2. <template>
  3. <view class="payment-success">
  4. <view class="payment-success-icon">
  5. <u-image width="441rpx" height="441rpx" src="/static/img/payment-success-icon.svg" />
  6. </view>
  7. <view class="payment-success-content">
  8. <text>支付成功!</text>
  9. </view>
  10. <view class="payment-success-cancel">
  11. <u-button type="primary" @click="cancelClick">返回</u-button>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {};
  19. },
  20. methods: {
  21. /**
  22. * @description: 返回操作
  23. * @return {*}
  24. */
  25. cancelClick() {
  26. this.$u.route({
  27. url: '/pages/center/order/order',
  28. type: 'redirectTo'
  29. });
  30. }
  31. }
  32. };
  33. </script>
  34. <style lang="scss" scoped>
  35. @import './paymentSuccess.scss';
  36. </style>