123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <view class=' toppoint_view' >
- <view class='commonHview'>
- <view class='header_left_view' bindtap='btnClick' id='{{idAddPoint}}'>
- <image src='../../img/add_point.png' class='im_sty1'></image>
- <text class='add_text_sty'>加分单</text>
- </view>
- <view style='width:6rpx;height:50rpx;background-color:#F2F2F2;margin-top:10rpx;'></view>
- <view class='header_left_view' bindtap='btnClick' id='{{idMinusPoint}}' >
- <image src='../../img/minus_point.png' class='im_sty1'></image>
- <text class='minus_text_sty'>减分单</text>
- </view>
- </view>
- <view class='commonhline' style='height:20rpx;'></view>
- <view class="swiper-tab" >
- <view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">加分记录</view>
- <view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">扣分记录</view>
- <view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">积分排名</view>
- </view>
- </view>
- <view wx:if='{{(currentTab == 0 && addList.length == 0) || (currentTab == 1 && minusList.length == 0) || (currentTab == 2 && points_rank.all_points.length == 0)}}' class='nodata_view'>
- <view><image class='nodata_style' src='../../img/common_nodata.png'></image></view>
- </view>
- <swiper current="{{currentTab}}" class="swiper-box" duWration="300" bindchange="bindChange"
- style="height:{{winHeight-31}}px;margin:185rpx 0 0 0;">
- <swiper-item>
- <scroll-view scroll-y="true" >
- <view wx:for='{{addList}}' bindtap='addListClick' data-item='{{item}}' >
- <template is='addPointTem' data='{{...item}}' />
- </view>
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view scroll-y="true">
- <view wx:for='{{minusList}}' bindtap='minusListClick' data-item='{{item}}' >
- <template is='minusPointTem' data='{{...item}}'/>
- </view>
- </scroll-view>
- </swiper-item>
- <swiper-item >
- <scroll-view scroll-y="true" >
- <view class='commonHview' style='background-color:#B1F4AE;height:100rpx;' wx:if='{{points_rank.my_rank}}'>
- <view style='color:#333333;font-size:30rpx;text-align:left;margin:25rpx;width:50%;'>当前排名:{{points_rank.my_rank.rank}}</view>
- <view style='color:#666666;font-size:30rpx;text-align:right;margin:25rpx;width:50%;'>{{points_rank.my_rank.point}} 积分</view>
- </view>
- <block wx:for='{{points_rank.all_points}}'>
- <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.name}}</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.name}}</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.name}}</text></view>
- <view wx:else style='color:#666666;font-size:30rpx;text-align:left;margin:25rpx;width:50%;' >{{index+1}} {{item.name}}</view>
- <view style='color:#666666;font-size:30rpx;text-align:right;margin:25rpx;width:50%;'>{{item.point}} 积分</view>
- </view>
- <view class='commonhline' style='height:3rpx;'></view>
- </block>
- </scroll-view>
- </swiper-item>
- </swiper>
- <template name='addPointTem'>
- <view class='commonHview' >
- <view class='add_item_left_sty'>
- <view style='color:#333333;font-size:30rpx;overflow:hidden; text-overflow:ellipsis;white-space:nowrap;'>{{categoryName}}</view>
- <view style='color:#20AB41;font-size:30rpx;margin-top:20rpx;'>{{score}}</view>
- </view>
- <view class='add_item_right_sty'>
- <view wx:if='{{invoicesStatus==1}}' style='color:#666666;font-size:26rpx;' >待通过</view>
- <view wx:elif='{{invoicesStatus==2}}' style='color:#666666;font-size:26rpx;' >已通过</view>
- <view wx:elif='{{invoicesStatus==3}}' style='color:#666666;font-size:26rpx;' >不通过</view>
- <view style='color:#666666;font-size:26rpx;margin-top:20rpx;'>{{invoicesDate}}</view>
- </view>
- </view>
- <view class='commonhline' style='height:3rpx;'></view>
- </template>
- <template name='minusPointTem'>
- <view class='commonHview' >
- <view class='add_item_left_sty'>
- <view style='color:#333333;font-size:30rpx;overflow:hidden; text-overflow:ellipsis;white-space:nowrap;'>{{categoryName}}</view>
- <view style='color:#CB0404;font-size:30rpx;margin-top:20rpx;'>{{score}}</view>
- </view>
- <view class='add_item_right_sty'>
- <view style='color:#666666;font-size:26rpx;'>扣分人:{{fillName}}</view>
- <view style='color:#666666;font-size:26rpx;margin-top:20rpx;'>{{invoicesDate}}</view>
- </view>
- </view>
- <view class='commonhline' style='height:3rpx;'></view>
- </template>
- <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>
- <!-- <template name='ordertep'>
- <view class='commonHview itemRow' >
- <view><image src='../../img/common_header_boy.png' class='img1'></image></view>
- <view class='commonVview itemMsg'>
- <view style='font-size:28rpx;'>西红柿</view>
- <view style='color:#999999;font-size:24rpx;line-height:40rpx;'>1斤</view>
- <view style='color:#999999;font-size:24rpx;'>实付款<text style='color:#FF0000;'>¥28</text></view>
- </view>
- <view class='itemStatue_finish'>已完成</view>
- </view>
- <view class='commonhline' style='height:3rpx;'></view>
- </template> -->
|