You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
412 B
10 lines
412 B
2 years ago
|
<wxs src="../wxs/utils.wxs" module="utils" />
|
||
|
|
||
|
<view class="van-circle">
|
||
|
<canvas class="van-circle__canvas" type="{{ type }}" style="width: {{ utils.addUnit(size) }};height:{{ utils.addUnit(size) }}" id="van-circle" 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>
|