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.4 KiB
47 lines
2.4 KiB
<!--pages/index/subpage/ranking/ranking.wxml-->
|
|
<l-icon name="left" color="black" size="48" class="back" bindtap="back"/>
|
|
<view class="top">
|
|
<image mode="widthFix" style="width: 100%;height: 420rpx;position:absolute;z-index: -1;" src="./image/img_phbang@2x.png"></image>
|
|
<view class="title">{{title}}</view>
|
|
<view class="time">{{month}}</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 wx:if="{{type==='1'}}" class="dis" wx:for="{{rank1}}" wx:key="index" data_id="{{item}}">
|
|
<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" style="margin-bottom: 0rpx;">{{item.title}}</view>
|
|
<!-- <view class="text_tip">{{item.subtitle}}</view> -->
|
|
</view>
|
|
<view class="count">
|
|
<view class="num">{{item.effectValue}}</view>
|
|
<view class="num_tip">传播值</view>
|
|
</view>
|
|
</view>
|
|
<!-- 员工排行榜 -->
|
|
<view wx:if="{{type==='2'}}" class="dis" wx:for="{{rank2}}" wx:key="index" data_id="{{item}}">
|
|
<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.title}}</view>
|
|
<view class="text_tip">{{item.subtitle?item.subtitle:'-'}}</view>
|
|
</view>
|
|
<view class="count">
|
|
<view class="num">{{item.effectValue}}</view>
|
|
<view class="num_tip">传播值</view>
|
|
</view>
|
|
</view> |