cu-custom.wxml 859 B

12345678910111213141516
  1. <view class="cu-custom" style="height:{{CustomBar}}px">
  2. <view class="cu-bar fixed {{bgImage!=''?'none-bg text-white bg-img':''}} {{bgColor}}" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}px;{{bgImage?'background-image:url(' + bgImage+')':''}}">
  3. <view class="action" bindtap="BackPage" wx:if="{{isBack}}">
  4. <text class="cuIcon-back"></text>
  5. <slot name="backText"></slot>
  6. </view>
  7. <view class="action border-custom" wx:if="{{isCustom}}" style="width:{{Custom.width}}px;height:{{Custom.height}}px;margin-left:calc(750rpx - {{Custom.right}}px)">
  8. <text class="cuIcon-back" bindtap="BackPage"></text>
  9. <text class="cuIcon-homefill" bindtap="toHome"></text>
  10. </view>
  11. <view class="content" style="top:{{StatusBar}}px">
  12. <slot name="content"></slot>
  13. </view>
  14. <slot name="right"></slot>
  15. </view>
  16. </view>