message.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. </style>