accountBinding.vue 869 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <div>
  3. <h3>账号绑定</h3>
  4. <v-divider class="mb-4"></v-divider>
  5. <div>
  6. <div class="login-user">当前登录账号: <span>{{ userInfo.phone }}</span> <span class="activeText ml-3">改绑手机号</span></div>
  7. <div class="tips mt-2 mb-1">账号即绑定的手机号,用于使用账号密码或获取验证码进行登录。</div>
  8. </div>
  9. </div>
  10. </template>
  11. <script setup name="accountBinding">
  12. // 当前登录的用户信息
  13. const userInfo = JSON.parse(localStorage.getItem('userInfo'))
  14. </script>
  15. <style lang="scss" scoped>
  16. h3 {
  17. font-size: 20px;
  18. text-align: left;
  19. font-weight: 600;
  20. padding-bottom: 25px;
  21. }
  22. .activeText {
  23. font-size: 17px;
  24. color: var(--v-primary-base);
  25. cursor: pointer;
  26. }
  27. .tips {
  28. color: grey;
  29. font-size: 12px;
  30. font-weight: 600;
  31. }
  32. .login-user {
  33. color: grey;
  34. font-weight: 600;
  35. }
  36. </style>