- uniapp css自动旋转
<view class="u-flex u-row-center u-p-t-90">
<view class="wakuan"></view>
</view>
.wakuan{
background-image: url('../../static/logo.png');
background-size: cover;
width: 360rpx;
height: 360rpx;
animation: rotate 20s linear infinite;
@keyframes rotate{
0%{
transform: rotate(0)
}
100%{
transform: rotate(360deg)
}
}
}