personalInformation.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <view style="background-color: $color-white !important;">
  3. <u-navbar :back-text="i18n('Back')" :back-text-style="backStyle" back-icon-color="#fff" title-color="#fff"
  4. :background="background" title-width="300" :title="i18n('PersonalInformation')"></u-navbar>
  5. <!-- 基本信息 -->
  6. <list-cell iconColor="#333" :title="i18n('BasicInformation')" @eventClick="toBasicInformation"></list-cell>
  7. <!-- 单位信息 -->
  8. <!-- <list-cell iconColor="#333" :title="i18n('UnitInformation')" @eventClick="toUnitInformation"></list-cell> -->
  9. <!-- 认证信息 -->
  10. <!-- <list-cell iconColor="#333" :title="i18n('Authentication Information')" @eventClick="toAuthenticationInformation"></list-cell> -->
  11. </view>
  12. </template>
  13. <script>
  14. import listCell from '@/components/JumpBox';
  15. export default {
  16. components: {
  17. listCell
  18. },
  19. data() {
  20. return {
  21. background: {
  22. backgroundImage: 'linear-gradient(270deg, #4BC0E2 0%, #538BE7 100%)',
  23. },
  24. backStyle: {
  25. color: '#FFFFFF',
  26. },
  27. };
  28. },
  29. onShow() {
  30. },
  31. methods: {
  32. toBasicInformation() {
  33. this.navTo('/pages/profile/profileSetUp/basicInformation');
  34. },
  35. toUnitInformation() {
  36. this.navTo('/pages/profile/profileSetUp/unitInformation');
  37. },
  38. toAuthenticationInformation() {
  39. this.navTo('/pages/profile/profileSetUp/authenticationInformation');
  40. },
  41. navTo(route) {
  42. this.$mRouter.push({
  43. route
  44. });
  45. },
  46. i18n(data) {
  47. return this.$t('common.' + data);
  48. },
  49. }
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. page,
  54. body.pages-profile-profileSetUp-setUp uni-page-body {
  55. background-color: #fff !important;
  56. }
  57. </style>