Sign.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view class="sign">
  3. <statusBar :item="navBarData"></statusBar>
  4. <view class="signBox">
  5. <view class="img">
  6. <image src="https://teacherapi.cocorobo.cn/teaching-file/static//lg.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. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. height: 100vh;
  40. .signBox {
  41. width: 100%;
  42. text-align: center;
  43. display: flex;
  44. flex-direction: column;
  45. justify-content: space-around;
  46. .img {
  47. width: 100%;
  48. height: 100px;
  49. image {
  50. width: 160rpx;
  51. height: 160rpx;
  52. }
  53. }
  54. text {
  55. &:nth-child(2) {
  56. font-size: 34rpx;
  57. margin-bottom: 8px;
  58. font-weight: 600;
  59. }
  60. &:nth-child(3) {
  61. font-size: 24rpx;
  62. color: rgb(144, 145, 147);
  63. margin-bottom: 15px;
  64. }
  65. &:nth-child(5) {
  66. font-size: 24rpx;
  67. }
  68. }
  69. button {
  70. width: 200rpx;
  71. height: 64rpx;
  72. color: white;
  73. line-height: 33px;
  74. background-color: #0056A8;
  75. font-size: 28rpx;
  76. border-radius: 100px;
  77. margin-bottom: 10px;
  78. }
  79. }
  80. }
  81. </style>