person.wxml 1.3 KB

1
  1. <view class="my-box"><view class="my-content"><view class="my-top"></view><image class="my-avatar" src="{{user.portrait}}" mode="aspectFill" data-event-opts="{{[['tap',[['$navigateTo',['/pages/myDetail/myDetail']]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['$navigateTo',['/pages/myDetail/myDetail']]]]]}}" class="name" bindtap="__e">{{user.name}}</view><view class="organization">{{user.organizedName}}</view><view class="btn-box"><block wx:if="{{isFans===1}}"><view data-event-opts="{{[['tap',[['fans',['$event']]]]]}}" class="my-button my-button-cancel" bindtap="__e">取消关注</view></block><block wx:if="{{isFans===2}}"><view data-event-opts="{{[['tap',[['fans',['$event']]]]]}}" class="my-button" bindtap="__e">关注</view></block></view><view class="my-house"><view class="my-house-title">房源列表</view><custom-waterfalls-flow vue-id="e8437cc0-1" value="{{list}}" data-event-opts="{{[['^wapperClick',[['clickItem']]],['^imageClick',[['clickItem']]]]}}" bind:wapperClick="__e" bind:imageClick="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" slot="slot{{index}}"><view class="title">{{item.title}}</view><view class="desc">{{item.desc}}</view></view></block></custom-waterfalls-flow></view></view></view>