index.axml 1.6 KB

123456789101112131415161718192021222324
  1. <view class="visit-user-container" style="background-image:url({{componentData.componentExtInfo.backgroundUrl.length == 32 ? imgSrcPrefix + componentData.componentExtInfo.backgroundUrl : componentData.componentExtInfo.backgroundUrl}});height:{{componentData.componentExtInfo.height !== '0'?componentData.componentExtInfo.height+'vh':'none'}};background-color:{{componentData.componentExtInfo.height !== '0'?'#FFFFFF':'#1677ff'}}">
  2. <view class="community-box">
  3. <view onTap="onJumpAreaSelect" class="community-info" a:if="{{currentCourt&&courtInfo&&courtInfo.list&&courtInfo.list.length}}">
  4. <view class="lbs-icon"></view>
  5. <view class="text">{{currentCourt.name}}</view>
  6. </view>
  7. <view class="community-info" a:else>
  8. <view class="lbs-icon" a:if="{{passport.communityName}}"></view>
  9. <view class="text">{{passport.communityName}}</view>
  10. </view>
  11. <view class="build-info" a:if="{{componentData.componentExtInfo.builderName}}">
  12. <image class="build-logo" a:if="{{componentData.componentExtInfo.builderLogo}}" src="{{componentData.componentExtInfo.builderLogo.length == 32 ? imgSrcPrefix + componentData.componentExtInfo.builderLogo : componentData.componentExtInfo.builderLogo}}"></image>
  13. <view class="text">{{componentData.componentExtInfo.builderName}}</view>
  14. </view>
  15. </view>
  16. <view class="visit-user-section">
  17. <view class="user-info">
  18. <image class="avator" src="{{userInfo.avatar ? userInfo.avatar : defaultAvatar}}"></image>
  19. <view class="name">{{userInfo.fullName}}</view>
  20. <view class="phone">{{userInfo.phone}}</view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>