2019-12-23 14:13:27 +08:00
|
|
|
<wxs src="../wxs/utils.wxs" module="utils" />
|
|
|
|
|
|
|
|
<view
|
|
|
|
class="custom-class {{ utils.bem('divider', [{dashed, hairline}, contentPosition]) }}"
|
|
|
|
style="{{ borderColor ? 'border-color: ' + borderColor + ';' : '' }}{{ textColor ? 'color: ' + textColor + ';' : '' }} {{ fontSize ? 'font-size: ' + fontSize + 'px;' : '' }} {{ customStyle }}"
|
|
|
|
>
|
|
|
|
<slot />
|
|
|
|
</view>
|