|
@@ -1,28 +1,29 @@
|
|
|
- <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 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 class='commonhline' style='height:20rpx;'></view>
|
|
|
-
|
|
|
-
|
|
|
-<view class="swiper-tab" style='margin-top:100rpx;'>
|
|
|
- <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 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" style="height:{{winHeight-31}}px;margin:85rpx 0 0 0;" bindchange="bindChange">
|
|
|
+<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" style="height:100%;">
|
|
|
<view wx:for='{{addList}}' bindtap='addListClick' data-item='{{item}}' >
|
|
@@ -64,7 +65,7 @@
|
|
|
<template name='addPointTem'>
|
|
|
<view class='commonHview' >
|
|
|
<view class='add_item_left_sty'>
|
|
|
- <view style='color:#333333;font-size:30rpx;'>加分标准</view>
|
|
|
+ <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'>
|
|
@@ -80,7 +81,7 @@
|
|
|
<template name='minusPointTem'>
|
|
|
<view class='commonHview' >
|
|
|
<view class='add_item_left_sty'>
|
|
|
- <view style='color:#333333;font-size:30rpx;'>扣分标准</view>
|
|
|
+ <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'>
|