axml
<!-- 扇形转盘 -->
<view style="position:relative;display:flex;flex-wrap:wrap;justify-content:center;height:{
{moduleHeight}}rpx;background:{
{moduleBgColor}} url({
{moduleBgImg}});background-size:100% 100%">
<view style="display:flex;justify-content:center;transition:all 1s;transform:rotate({
{turnDeg*rIndex}}deg);align-items:center;position:relative;width:{
{(turnWidth+turnSpace)*2}}rpx;height:{
{(turnWidth+turnSpace)*2}}rpx;border-radius:50%;margin:{
{turnTop||0}}rpx 0 0 {
{turnLeft||0}}px;">
<!-- 圆心 -->
<view style="width:{
{turnSpace*2}}rpx;height:{
{turnSpace*2}}rpx;border-radius:50%"></view>
<block a:for="{
{picArr}}">
<view a:if="{
{index<6?true:false}}" style="
transition:transform 1s;
transform-origin:left center;
position:absolute;
top:{
{animations[index].top}}rpx;
left:{
{animations[index].left}}rpx;