deguodaigou/utils/dist/circle/index.wxml
2019-12-23 14:13:27 +08:00

7 lines
282 B
Plaintext

<view class="van-circle">
<canvas class="van-circle__canvas" style="{{ style }}" canvas-id="van-circle"></canvas>
<view wx:if="{{ !text }}" class="van-circle__text">
<slot></slot>
</view>
<cover-view wx:else class="van-circle__text">{{ text }}</cover-view>
</view>