Personalinformation.vue 991 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <view>
  3. <view class="Personalinformation">
  4. <u-cell-group>
  5. <u-cell size="large" title="账户名称" :value="getuserInfo.realName"></u-cell>
  6. <u-cell size="large" title="手机号码" :value="getuserInfo.mobile"></u-cell>
  7. <u-cell size="large" title="账号密码" value="******" isLink @click="editdata"></u-cell>
  8. </u-cell-group>
  9. </view>
  10. <view class="edit">注销登录</view>
  11. </view>
  12. </template>
  13. <script>
  14. export default {
  15. data() {
  16. return {
  17. getuserInfo: {},
  18. };
  19. },
  20. onLoad() {
  21. this.getuserInfo = uni.getStorageSync('getuserInfo');
  22. },
  23. methods: {
  24. editdata() {
  25. uni.navigateTo({
  26. url: '/pages/my/Changepassword/Changepassword'
  27. })
  28. },
  29. }
  30. }
  31. </script>
  32. <style lang="scss">
  33. .Personalinformation {
  34. padding: 0 32rpx;
  35. background: #fff;
  36. margin-top: 24rpx;
  37. }
  38. .edit {
  39. margin-top: 80rpx;
  40. height: 88rpx;
  41. font-size: 32rpx;
  42. line-height: 88rpx;
  43. color: #2E69EB;
  44. text-align: center;
  45. background: #fff;
  46. }
  47. </style>