You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.3 KiB
47 lines
2.3 KiB
<!--pages/index/subpage/ranking/ranking.wxml-->
|
|
<l-icon name="left" color="black" size="48" class="back" bindtap="back"/>
|
|
<view class="top">
|
|
<image style="width: 100%;position: absolute;z-index: -1;" src="./image/img_phbang@2x.png"></image>
|
|
<view class="title">{{title}}</view>
|
|
<view class="time">2022-05-01~2022-06-01</view>
|
|
</view>
|
|
<view class="nav">
|
|
<view class="nav_text" data-type="1" bindtap="typechange">经销商</view>
|
|
<view class="nav_text" data-type="2" bindtap="typechange">员工</view>
|
|
<view class="nav_tip" style="transform: translateX({{as}});"></view>
|
|
</view>
|
|
<!-- 经销商排行榜 -->
|
|
<view class="dis" wx:if="{{as === '-500%'}}" wx:for="{{distributor}}" wx:key="index">
|
|
<view class="dis_image">
|
|
<image class="rank_num" wx:if="{{index === 0}}" src="/images/img_diyi@3x.png"></image>
|
|
<image class="rank_num" wx:if="{{index === 1}}" src="/images/img_dier@3x.png"></image>
|
|
<image class="rank_num" wx:if="{{index === 2}}" src="/images/img_disan@3x.png"></image>
|
|
<view class="rank_num" wx:if="{{index !== 0 &&index !== 1 &&index !== 2 }}">{{index >= 9 ? index + 1 : '0' + (index + 1)}}</view>
|
|
</view>
|
|
<view class="dis_text">
|
|
<view class="text_title">{{item.name}}</view>
|
|
<view class="text_tip">{{item.add}}</view>
|
|
</view>
|
|
<view class="count">
|
|
<view class="num">{{item.count}}</view>
|
|
<view class="num_tip">传播值</view>
|
|
</view>
|
|
</view>
|
|
<!-- 员工排行榜 -->
|
|
<view class="dis" wx:if="{{as === '500%'}}" wx:for="{{distributor}}" wx:key="index">
|
|
<view class="dis_image">
|
|
<image class="rank_num" wx:if="{{index === 0}}" src="/images/img_diyi@3x.png"></image>
|
|
<image class="rank_num" wx:if="{{index === 1}}" src="/images/img_dier@3x.png"></image>
|
|
<image class="rank_num" wx:if="{{index === 2}}" src="/images/img_disan@3x.png"></image>
|
|
<view class="rank_num" wx:if="{{index !== 0 &&index !== 1 &&index !== 2 }}">{{index >= 9 ? index + 1 : '0' + (index + 1)}}</view>
|
|
</view>
|
|
<view style="width: 68rpx;height: 68rpx;background-color: #FEAC5E;border-radius: 50%;margin-right: 16rpx;"></view>
|
|
<view class="dis_text">
|
|
<view class="text_title">{{item.name}}</view>
|
|
<view class="text_tip">{{item.add}}</view>
|
|
</view>
|
|
<view class="count">
|
|
<view class="num">{{item.count}}</view>
|
|
<view class="num_tip">传播值</view>
|
|
</view>
|
|
</view> |