<template name='pointRankTem'>
    <view class='commonHview' style='height:100rpx;'>
          <view style='color:#333333;font-size:30rpx;text-align:left;margin:25rpx;width:50%;'>{{index}}.吴彦祖</view>
          <view style='color:#666666;font-size:30rpx;text-align:right;margin:25rpx;width:50%;'>520131 积分</view>
    </view>
    <view class='commonhline' style='height:3rpx;'></view>
</template>

<view class='commonHview'>

   <view class='select_item'>
      <view><picker  bindchange="bindPickerChange" value="{{CotegoryArray[index]}}" range="{{CotegoryArray}}" >{{firstType}}</picker></view>
      <view><image class='xiala_sty' src='../../img/xiala.png'></image></view>
   </view>

   <view class='select_item'>
    <view><picker bindchange="bindPickerChange2" value="{{CotegoryArray2[index]}}" range="{{CotegoryArray2}}" >{{secondType}}</picker></view>
    <view><image class='xiala_sty' src='../../img/xiala.png'></image></view>
   </view>
</view>
  <view class='commonhline' style='height:10rpx;'></view>

 <block wx:for='{{pointData}}'>
          <view class='commonHview' style='height:100rpx;'>
  
          <view  wx:if='{{index == 0}}' style='color:#F60000;font-size:30rpx;text-align:left;margin:25rpx;width:50%;' >{{index+1}} <text style='color:#333333'>{{item.empName}}</text></view>
          <view  wx:elif='{{index == 1}}' style='color:#FF9700;font-size:30rpx;text-align:left;margin:25rpx;width:50%;' >{{index+1}} <text style='color:#333333'>{{item.empName}}</text></view>
          <view  wx:elif='{{index == 2}}' style='color:#09C44D;font-size:30rpx;text-align:left;margin:25rpx;width:50%;' >{{index+1}} <text style='color:#333333'>{{item.empName}}</text></view>
          <view  wx:else style='color:#666666;font-size:30rpx;text-align:left;margin:25rpx;width:50%;' >{{index+1}} {{item.empName}}</view>
          <view style='color:#666666;font-size:30rpx;text-align:right;margin:25rpx;width:50%;'>{{item.sums}} 积分</view>
    </view>
    <view class='commonhline' style='height:3rpx;'></view>
</block>

 <view wx:if='{{pointData.length == 0}}' class='nodata_view'>
     <view><image class='nodata_style' src='../../img/common_nodata.png'></image></view> 
</view> 