index.axml 1.2 KB

123456789101112131415161718192021222324252627
  1. <view class="ab-owner-card-content">
  2. <view class="card-position">
  3. <view class="card-flex" onTap="onJumpAreaSelect">
  4. <view class="pub-icon">
  5. <view class="card-icon"></view>
  6. </view>
  7. <view class="card-title" a:if="{{currentCourt && currentCourt.name}}">{{currentCourt.name}}</view>
  8. <view class="card-title" a:else>选择小区</view>
  9. </view>
  10. </view>
  11. <view class="card-image" a:if="{{!componentData.componentExtInfo.memberInfo.flag}}"
  12. style="{{
  13. componentData.componentExtInfo.noGetCardImg ?
  14. `backgroundImage: url(${ componentData.componentExtInfo.noGetCardImg.length ==32 ? imgSrcPrefix + componentData.componentExtInfo.noGetCardImg : componentData.componentExtInfo.noGetCardImg})` :
  15. `backgroundColor: #fff`}}">
  16. <button-auth item="{{componentData.serviceList[0]}}">
  17. <view class="get-cards">立即领卡</view>
  18. </button-auth>
  19. </view>
  20. <view a:else
  21. class="card-image"
  22. onTap="goToCardDetail"
  23. data-memberInfo="{{componentData.componentExtInfo.memberInfo}}">
  24. <!-- 轮播广告 -->
  25. <advert-wheel componentData="{{componentData}}" showFirst="{{false}}"/>
  26. </view>
  27. </view>