123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <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() {
- this.$refs.authWrap.reloadPage();
- this.userInfo = getUserInfo();
- },
- methods: {
- },
- onShareAppMessage() {
- return {
- title: 'First UI组件库'
- }
- }
- }
- </script>
- <style lang="scss" src="./index.scss">
- </style>
|