Sign.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <view class="sign">
  3. <statusBar :item="navBarData"></statusBar>
  4. <view class="signBox">
  5. <view class="img">
  6. <image src="../../static/Vector.png" mode="aspectFill"></image>
  7. </view>
  8. <text>报名已提交</text>
  9. <text>等待管理员审核</text>
  10. <button @click="gotoIndex">查看课程</button>
  11. <text @click="gotoIndex">返回首页</text>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {
  19. navBarData: {
  20. title: '报名结果',
  21. btn: 1
  22. },
  23. };
  24. },
  25. methods: {
  26. gotoIndex(){
  27. uni.switchTab({
  28. url: '/pages/index/index'
  29. })
  30. }
  31. }
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. .sign {
  36. margin-top: 230px;
  37. .signBox {
  38. width: 100%;
  39. height: 100%;
  40. text-align: center;
  41. display: flex;
  42. flex-direction: column;
  43. justify-content: space-around;
  44. .img {
  45. width: 100%;
  46. height: 100px;
  47. image {
  48. width: 160rpx;
  49. height: 160rpx;
  50. }
  51. }
  52. text {
  53. &:nth-child(2) {
  54. font-size: 34rpx;
  55. margin-bottom: 8px;
  56. font-weight: 600;
  57. }
  58. &:nth-child(3) {
  59. font-size: 24rpx;
  60. color: rgb(144, 145, 147);
  61. margin-bottom: 15px;
  62. }
  63. &:nth-child(5) {
  64. font-size: 24rpx;
  65. }
  66. }
  67. button {
  68. width: 200rpx;
  69. height: 64rpx;
  70. color: white;
  71. line-height: 33px;
  72. background-color: #0056A8;
  73. font-size: 28rpx;
  74. border-radius: 100px;
  75. margin-bottom: 10px;
  76. }
  77. }
  78. }
  79. </style>