sign_up_suce.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <view class="sign_up">
  3. <view class="suce">
  4. <image src="../../static/imgs/sign_suce.png" mode=""></image>
  5. <view>恭喜您!报名成功</view>
  6. <text>第{{ userInfo.season}}届大卫博士创业{{ userInfo.season_type | activityType }}</text>
  7. </view>
  8. <view class="btn flexC" @click="lookSign">查看报名凭证</view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. userInfo: {}
  16. };
  17. },
  18. onShow() {
  19. if (uni.getStorageSync('userInfo')) {
  20. this.userInfo = uni.getStorageSync('userInfo');
  21. }
  22. },
  23. methods: {
  24. lookSign() {
  25. uni.redirectTo({
  26. url: '../sign_up_voucher/sign_up_voucher'
  27. });
  28. }
  29. }
  30. };
  31. </script>
  32. <style lang="scss">
  33. .sign_up {
  34. text-align: center;
  35. .suce {
  36. color: #333333;
  37. padding-top: 163rpx;
  38. image {
  39. width: 240rpx;
  40. height: 240rpx;
  41. }
  42. view {
  43. font-size: 64rpx;
  44. margin: 84rpx 0 36rpx 0;
  45. }
  46. text {
  47. font-size: 32rpx;
  48. }
  49. }
  50. .btn {
  51. margin: 216rpx auto 0;
  52. width: 640rpx;
  53. height: 105rpx;
  54. border: 2rpx solid rgba(153, 153, 153, 1);
  55. border-radius: 53rpx;
  56. color: #999999;
  57. }
  58. }
  59. </style>