<!-- mycomponent/DTurntable/DTurntable.wxml -->
<view class="turntable {{ infinite?'turntable-infinte':'' }}" style="transform:rotate({{ lotteryRotateAngle }}deg);transition:transform {{ transitionDuration }}s {{ transitionFunction }};">
  <view class="turntable-pointer_white-block"></view>
  <canvas type="2d" id="lotteryCanvas" wx:if="{{ !debug }}" ></canvas>
  <view class="turntable-canvas_inner-shadow"></view>
  <view class="prize-list">
    <view class="price-item" style="transform:rotate({{ item.angle }}deg)" wx:for="{{ prize }}" wx:key="index">
      {{ item.text }}
      <block wx:if="{{ debug }}">{{ index }}</block>
    </view>
  </view>
</view>