paysuccess.vue 897 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view class="pages">
  3. <view class="icon-wrap u-flex u-row-center">
  4. <u-icon name="checkmark" color="#fff" size="80"></u-icon>
  5. </view>
  6. <view class="title">{{title}}</view>
  7. <view class="full-btn" @click="btnClick">完成</view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {
  14. title:'付款成功'
  15. }
  16. },
  17. onShow() {
  18. },
  19. onLoad() {
  20. },
  21. methods: {
  22. btnClick(){
  23. uni.reLaunch({url: '/pages/index/index'});
  24. }
  25. }
  26. }
  27. </script>
  28. <style>
  29. page{
  30. background-color: #F5F5F5;
  31. }
  32. </style>
  33. <style lang="scss" scoped>
  34. .pages{
  35. text-align: center;
  36. }
  37. .icon-wrap{
  38. width: 180rpx;
  39. height: 180rpx;
  40. margin: 120rpx auto 20rpx;
  41. padding: 20rpx;
  42. background-color: #00A447;
  43. border-radius: 50%;
  44. }
  45. .title{
  46. font-size: 32rpx;
  47. font-weight: 600;
  48. color: #333333;
  49. line-height: 40rpx;
  50. margin-bottom: 120rpx;
  51. }
  52. .full-btn{
  53. margin: 20rpx 10%;
  54. }
  55. </style>