message.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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',
  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(https://static.caimei365.com/www/authentic/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. @include themify($themes) {
  68. background: themed('color');
  69. }
  70. }
  71. }
  72. }
  73. @media screen and (max-width: 768px) {
  74. .page-content {
  75. padding: 0 9.2vw;
  76. padding-top: 25.2vw;
  77. .icon-submit-succsss {
  78. width: 12vw;
  79. height: 12vw;
  80. background: url(https://static.caimei365.com/www/authentic/pc/icon-submit-success.png)
  81. no-repeat center;
  82. background-size: 12vw;
  83. }
  84. .tip {
  85. font-size: 4.2vw;
  86. font-weight: bold;
  87. color: #1890ff;
  88. }
  89. .label {
  90. font-size: 3.4vw;
  91. color: #282828;
  92. line-height: 1.6;
  93. }
  94. .record-btn {
  95. width: 36vw;
  96. height: 8.8vw;
  97. color: #fff;
  98. font-size: 3.2vw;
  99. text-align: center;
  100. line-height: 8.8vw;
  101. border-radius: 0.4vw;
  102. cursor: pointer;
  103. @include themify($themes) {
  104. background: themed('color');
  105. }
  106. }
  107. }
  108. }
  109. </style>