index.wxml 1.6 KB

1234567891011121314151617181920212223242526272829
  1. <!--index.wxml-->
  2. <view class="container">
  3. <view class="title">业务示例</view>
  4. <view class="top_tip">使用云开发快速实现业务功能</view>
  5. <view class="power" wx:key="title" wx:for="{{businessList}}" wx:for-item="business">
  6. <view class="power_info" data-index="{{index}}" data-type="{{ business.type }}" bindtap="onClickBusinessInfo">
  7. <view class="power_info_text">
  8. <view class="power_info_text_title">
  9. {{business.title}}
  10. <view class="power_info_text_tag" wx:if="{{business.tag}}">{{business.tag}}</view>
  11. </view>
  12. <view class="power_info_text_tip">{{business.tip}}</view>
  13. </view>
  14. <image wx:if="{{!business.showItem && business.item.length}}" class="power_info_more" src="../../images/arrow.svg"></image>
  15. <image wx:if="{{business.showItem && business.item.length}}" class="power_info_less" src="../../images/arrow.svg"></image>
  16. <image wx:if="{{!business.item.length}}" class="power_item_icon" src="../../images/arrow.svg"></image>
  17. </view>
  18. <view wx:if="{{business.showItem}}">
  19. <view wx:key="title" wx:for="{{business.item}}">
  20. <view class="line"></view>
  21. <view class="power_item" bindtap="jumpBusinessPage" data-title="{{business.title}}" data-level="{{item.level}}" data-subtitle="{{item.title}}" data-type="{{ item.type }}">
  22. <view class="power_item_title">{{item.title}}</view>
  23. <image class="power_item_icon" src="../../images/arrow.svg"></image>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <cloud-tip-modal showUploadTipProps="{{showUploadTip}}"></cloud-tip-modal>
  29. </view>