<view class="almost-lottery data-v-34b92f46"><block wx:if="{{lotteryImg}}"><view class="almost-lottery__wrap data-v-34b92f46" style="{{'width:'+(outerWidth+higtCanvasMargin+'px')+';'+('height:'+(outerWidth+higtCanvasMargin+'px')+';')}}"><image class="almost-lottery__bg data-v-34b92f46" style="{{'width:'+(outerWidth+higtCanvasMargin+'px')+';'+('height:'+(outerWidth+higtCanvasMargin+'px')+';')}}" src="{{imgType===0?'/static/almost-lottery__bg2x.png':'/static/almost-lottery1__bg2x.png'}}" mode="widthFix"></image><image class="almost-lottery__canvas-img data-v-34b92f46" style="{{'width:'+(canvasWidth+'px')+';'+('height:'+(canvasWidth+'px')+';')+('transform:'+('rotate('+(canvasAngle+targetAngle-countBaseAngle)+'deg)')+';')+('transition-duration:'+(transitionDuration+'s')+';')}}" mode="widthFix" src="{{lotteryImg}}"></image><image class="almost-lottery__action almost-lottery__action-img data-v-34b92f46" style="{{'width:'+(actionWidth+'px')+';'+('height:'+(actionHeight+'px')+';')+('transform:'+('rotate('+(actionAngle+targetActionAngle)+'deg)')+';')+('transition-duration:'+(transitionDuration+'s')+';')}}" src="{{actionBg}}" mode="widthFix" animation="{{animationData}}" data-event-opts="{{[['tap',[['handleActionStart',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:else><text class="almost-lottery__tip data-v-34b92f46">{{almostLotteryTip}}</text></block><text class="almost-lottery__measureText data-v-34b92f46" style="{{'font-size:'+(higtFontSize+'px')+';'}}">{{measureText}}</text><canvas class="{{['data-v-34b92f46',className]}}" style="{{'width:'+(higtCanvasSize+'px')+';'+('height:'+(higtCanvasSize+'px')+';')}}" canvas-id="{{canvasId}}" width="{{higtCanvasSize}}" height="{{higtCanvasSize}}"></canvas></view>