divider.wxml 495 B

1234567891011
  1. <view class="{{layout==='vertical'? classPrefix + '--vertical-center' : ''}}">
  2. <view
  3. class="{{prefix}}-class {{classPrefix}} {{classPrefix}}--{{layout}} {{classPrefix}}--{{align}} {{dashed? classPrefix + '--dashed' : ''}} "
  4. style="{{ lineColor ? 'border-color: ' + lineColor + ';' : '' }}"
  5. >
  6. <view class="{{prefix}}-class-content {{classPrefix}}__content">
  7. <view wx:if="{{content}}"> {{content}} </view>
  8. <slot wx:else name="content" />
  9. </view>
  10. </view>
  11. </view>