<view class="list" wx:for="{{list}}" wx:key="item">
    <view class=" rank {{index == '0' ? 'rank_1' : index=='1'? 'rank_2' :index=='2'?'rank_3':'rank'}}">{{index+1}}</view>
    <view class="name">{{item.name}}</view>
</view>