vant-weapp/dist/circle/index.wxml
2019-09-20 14:15:06 +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>