<template>
  <auth-wrap class="fui-wrap" ref="authWrap">
    <view slot="content">
      <view class="user-info-bg">
      </view>
      <view class="ctl-container">
        <view class="user-info-content">
          <view class="user-info-img">
            <u-avatar :src=" userInfo && userInfo.avatarUrl || ''" shape="circle" :size="60"></u-avatar>
          </view>
          <view class="user-info">
            <view>
              {{ userInfo.usrName || '' }}
            </view>
            <view>
              {{ userInfo.tel || '' }}
            </view>
          </view>
        </view>

        <view class="ctl-panel">

        </view>
      </view>
    </view>
  </auth-wrap>
</template>

<script>

import AuthWrap from '@/components/AuthComp/index.vue';
import { getUserInfo } from '@/util';

export default {
  components: { AuthWrap },
  data() {
    return {
      userInfo: {},
      src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
    };
  },
  onLoad() {
  },
  onShow() {
    this.$refs.authWrap.reloadPage();
    this.userInfo = getUserInfo();
  },
  methods: {},
  onShareAppMessage() {
    return {
      title: 'First UI组件库',
    };
  },
};
</script>

<style lang="scss" src="./index.scss">
</style>
