message.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <template>
  2. <div class="page">
  3. <div class="page-top">
  4. <div class="icon-submit-succsss"></div>
  5. <div class="tip">上传成功</div>
  6. </div>
  7. <div class="btn back" @click="onBack">返回首页</div>
  8. </div>
  9. </template>
  10. <script>
  11. import { mapGetters } from 'vuex'
  12. export default {
  13. layout: 'app-ross',
  14. computed: {
  15. ...mapGetters(['routePrefix']),
  16. },
  17. methods: {
  18. // 返回
  19. onBack() {
  20. const path = `${this.routePrefix}/activity/challenge`
  21. this.$router.push(path)
  22. },
  23. },
  24. }
  25. </script>
  26. <style lang="scss" scoped>
  27. @media screen and (min-width: 768px) {
  28. .btn.back {
  29. width: 295px;
  30. height: 50px;
  31. background: #f3920d;
  32. border-radius: 4px 4px 4px 4px;
  33. opacity: 1;
  34. color: #fff;
  35. font-size: 16px;
  36. text-align: center;
  37. line-height: 50px;
  38. margin: 0 auto;
  39. cursor: pointer;
  40. }
  41. .page-top {
  42. display: flex;
  43. align-items: center;
  44. flex-direction: column;
  45. padding: 150px 0 64px;
  46. .icon-submit-succsss {
  47. width: 64px;
  48. height: 64px;
  49. background: url(~assets/theme-images/common/pc-icon-submit-success.png) no-repeat center;
  50. background-size: 64px;
  51. }
  52. .tip {
  53. font-size: 24px;
  54. font-weight: bold;
  55. color: #1890ff;
  56. }
  57. }
  58. .page-content {
  59. width: 694px;
  60. margin: 0 auto;
  61. font-size: 14px;
  62. line-height: 1.8;
  63. .title {
  64. color: #666666;
  65. margin-bottom: 8px;
  66. }
  67. .content {
  68. color: #999999;
  69. text-align: justify;
  70. a {
  71. color: #f3920d;
  72. }
  73. }
  74. }
  75. }
  76. @media screen and (max-width: 768px) {
  77. .page-top {
  78. display: flex;
  79. align-items: center;
  80. flex-direction: column;
  81. padding: 20.4vw 0 12.6vw;
  82. .icon-submit-succsss {
  83. width: 12vw;
  84. height: 12vw;
  85. background: url(~assets/theme-images/common/pc-icon-submit-success.png) no-repeat center;
  86. background-size: 12vw;
  87. }
  88. .tip {
  89. font-size: 4.2vw;
  90. font-weight: bold;
  91. color: #1890ff;
  92. }
  93. }
  94. .page-content {
  95. width: 88.4vw;
  96. margin: 0 auto;
  97. font-size: 3vw;
  98. line-height: 2;
  99. .title {
  100. color: #666666;
  101. margin-bottom: 2.4vw;
  102. }
  103. .content {
  104. color: #999999;
  105. text-align: justify;
  106. a {
  107. color: #f3920d;
  108. }
  109. }
  110. }
  111. .btn {
  112. width: 85.6vw;
  113. height: 12vw;
  114. background: #f3920d;
  115. border-radius: 0.2vw;
  116. margin: 0 auto;
  117. color: #fff;
  118. text-align: center;
  119. line-height: 12vw;
  120. font-size: 3.6vw;
  121. margin-top: 24vw;
  122. margin-bottom: 24vw;
  123. }
  124. }
  125. </style>