index.wxml 276 B

1234567
  1. <view class="van-circle">
  2. <canvas class="van-circle__canvas" style="{{ style }}" canvas-id="van-circle"></canvas>
  3. <view wx:if="{{ !text }}" class="van-circle__text">
  4. <slot></slot>
  5. </view>
  6. <cover-view wx:else class="van-circle__text">{{ text }}</cover-view>
  7. </view>