index.wxml 295B

12345678910
  1. <wxs src="../wxs/utils.wxs" module="utils" />
  2. <wxs src="./index.wxs" module="computed" />
  3. <view
  4. class="custom-class {{ utils.bem('divider', [{ dashed, hairline }, contentPosition]) }}"
  5. style="{{ computed.rootStyle({ borderColor, textColor, fontSize, customStyle }) }}"
  6. >
  7. <slot />
  8. </view>