deguodaigou/utils/dist/circle/index.wxml
2019-12-14 09:20:48 +08:00

7 lines
276 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>