<!--packageH/chitchat/personalProfile/personalProfile.wxml-->
<view class="wrap">
    <view class="top-box">
      <view class="avatar">
        <image class="img" src="{{serviceData.avatar}}" alt="" mode='aspectFill'></image>
      </view>
      <view class="name">{{serviceData.nickname}}</view>
    </view>
    <view class="content">
      <view class="title">个人简介</view>
      <view class="profile-text">
        <rich-text nodes="{{serviceData.desc}}"></rich-text>
      </view>
      <text class="profile-text" wx:if="{{!serviceData.desc}}">暂无简介</text>
    </view>

    <view class="foot">
      <view class="i-home" catchtap="toHome">
        <icon class="iconfont icon-fontclass-shouye1"></icon>
        <view style="margin-top: -5px;">首页</view>
      </view>
      <view class="btn-chat" catchtap="toChat">发起聊天</view>
    </view>
  </view>
