divider.wxml 531 B

12345678910111213
  1. <wxs src="../common/utils.wxs" module="_" />
  2. <view class="{{layout==='vertical'? classPrefix + '--vertical-center' : ''}}">
  3. <view
  4. class="{{prefix}}-class {{classPrefix}} {{classPrefix}}--{{layout}} {{classPrefix}}--{{align}} {{dashed? classPrefix + '--dashed' : ''}} "
  5. style="{{_._style([dividerStyle, style, customStyle])}}"
  6. >
  7. <view class="{{prefix}}-class-content {{classPrefix}}__content">
  8. <view wx:if="{{content}}"> {{content}} </view>
  9. <slot wx:else name="content" />
  10. </view>
  11. </view>
  12. </view>