<template>
	<view class="fui-wrap">
    <view class="user-info-bg">
    </view>
    <view class="ctl-container">
      <view class="user-info-content">
        <view class="user-info-img">
          <u-avatar :src="src" shape="circle" :size="60"></u-avatar>
        </view>
        <view class="user-info">
          <view>
            微信用户
          </view>
          <view>
            18120188135
          </view>
        </view>
      </view>

      <view class="ctl-panel">

      </view>
    </view>
	</view>
</template>

<script>

import { getUserInfo } from '@/util';

export default {
		data() {
			return {
        src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
      }
		},
		onLoad() {
      // const user = getUserInfo();
      // if (!user) {
      //   uni.navigateTo({
      //     url: '/pasb/pages/login/index',
      //   });
      // }
		},
		methods: {
		},
		onShareAppMessage() {
			return {
				title: 'First UI组件库'
			}
		}
	}
</script>

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