message.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <template>
  2. <div class="flex justify-center page">
  3. <div class="page-content flex flex-col items-center">
  4. <div class="icon-submit-succsss"></div>
  5. <div class="tip mt-4 mb-6">提交成功</div>
  6. <div class="label text-center">
  7. 审核通过后,用户可通过正品授权入口或扫二维码查看 机构及设备正品授权信息
  8. </div>
  9. <div class="record-btn mt-4" @click="toClubRecord">认证记录</div>
  10. </div>
  11. </div>
  12. </template>
  13. <script>
  14. import { mapGetters } from 'vuex'
  15. export default {
  16. layout: 'app-normal',
  17. computed: {
  18. ...mapGetters(['supplierInfo', 'authUserId', 'routePrefix', 'accessToken']),
  19. },
  20. methods: {
  21. toClubRecord() {
  22. if (this.accessToken) {
  23. this.$router.push(`${this.routePrefix}/record/club/detail`)
  24. } else {
  25. this.$toast('请登录后查看')
  26. this.$router.push(this.routePrefix)
  27. }
  28. },
  29. },
  30. }
  31. </script>
  32. <style lang="scss" scoped>
  33. @media screen and (min-width: 768px) {
  34. .page {
  35. min-height: calc(100vh - 80px - 80px);
  36. background: #fff;
  37. }
  38. .page-content {
  39. width: 432px;
  40. padding-top: 140px;
  41. .icon-submit-succsss {
  42. width: 64px;
  43. height: 64px;
  44. background: url(~assets/theme-images/common/pc-icon-submit-success.png)
  45. no-repeat center;
  46. background-size: 64px;
  47. }
  48. .tip {
  49. font-size: 24px;
  50. font-weight: bold;
  51. color: #1890ff;
  52. }
  53. .label {
  54. font-size: 18px;
  55. color: #282828;
  56. line-height: 1.6;
  57. }
  58. .record-btn {
  59. width: 98px;
  60. height: 36px;
  61. color: #fff;
  62. font-size: 14px;
  63. text-align: center;
  64. line-height: 36px;
  65. border-radius: 4px;
  66. cursor: pointer;
  67. background: #bc1724;
  68. }
  69. }
  70. }
  71. @media screen and (max-width: 768px) {
  72. .page-content {
  73. padding: 0 9.2vw;
  74. padding-top: 25.2vw;
  75. .icon-submit-succsss {
  76. width: 12vw;
  77. height: 12vw;
  78. background: url(~assets/theme-images/common/h5-icon-submit-success.png)
  79. no-repeat center;
  80. background-size: 12vw;
  81. }
  82. .tip {
  83. font-size: 4.2vw;
  84. font-weight: bold;
  85. color: #1890ff;
  86. }
  87. .label {
  88. font-size: 3.4vw;
  89. color: #282828;
  90. line-height: 1.6;
  91. }
  92. .record-btn {
  93. width: 36vw;
  94. height: 8.8vw;
  95. color: #fff;
  96. font-size: 3.2vw;
  97. text-align: center;
  98. line-height: 8.8vw;
  99. border-radius: 0.4vw;
  100. cursor: pointer;
  101. background: #bc1724;
  102. }
  103. }
  104. }
  105. </style>