|
|
|
@ -37,21 +37,21 @@ |
|
|
|
<view class="podium"> |
|
|
|
<view class="podium-card podium-second" :class="{'podium-empty': !rankItem(1).workerName}"> |
|
|
|
<view class="podium-crown silver">2</view> |
|
|
|
<image class="podium-avatar" :src="rankItem(1).icon || '/static/images/img/songshu.png'" mode="aspectFill"></image> |
|
|
|
<image class="podium-avatar" :src="rankItem(1).icon || '../../static/image/songshu.png'" mode="aspectFill"></image> |
|
|
|
<view class="podium-name">{{displayName(rankItem(1))}}</view> |
|
|
|
<view class="podium-count">{{displayCount(rankItem(1))}}单</view> |
|
|
|
<view class="podium-base">NO.2</view> |
|
|
|
</view> |
|
|
|
<view class="podium-card podium-first" :class="{'podium-empty': !rankItem(0).workerName}"> |
|
|
|
<view class="podium-crown gold">1</view> |
|
|
|
<image class="podium-avatar champion" :src="rankItem(0).icon || '/static/images/img/songshu.png'" mode="aspectFill"></image> |
|
|
|
<image class="podium-avatar champion" :src="rankItem(0).icon || '../../static/image/songshu.png'" mode="aspectFill"></image> |
|
|
|
<view class="podium-name">{{displayName(rankItem(0))}}</view> |
|
|
|
<view class="podium-count">{{displayCount(rankItem(0))}}单</view> |
|
|
|
<view class="podium-base">NO.1</view> |
|
|
|
</view> |
|
|
|
<view class="podium-card podium-third" :class="{'podium-empty': !rankItem(2).workerName}"> |
|
|
|
<view class="podium-crown bronze">3</view> |
|
|
|
<image class="podium-avatar" :src="rankItem(2).icon || '/static/images/img/songshu.png'" mode="aspectFill"></image> |
|
|
|
<image class="podium-avatar" :src="rankItem(2).icon || '../../static/image/songshu.png'" mode="aspectFill"></image> |
|
|
|
<view class="podium-name">{{displayName(rankItem(2))}}</view> |
|
|
|
<view class="podium-count">{{displayCount(rankItem(2))}}单</view> |
|
|
|
<view class="podium-base">NO.3</view> |
|
|
|
@ -68,7 +68,7 @@ |
|
|
|
<view class="list-total">{{fireList.length}} 人上榜</view> |
|
|
|
</view> |
|
|
|
<view v-if="fireList.length == 0" class="empty-box"> |
|
|
|
<image src="/static/images/img/songshu.png" mode="aspectFit"></image> |
|
|
|
<image src="../../static/image/songshu.png" mode="aspectFit"></image> |
|
|
|
<view>暂无配送员上榜</view> |
|
|
|
</view> |
|
|
|
<view v-for="(item,index) in fireList" :key="index" class="content-item"> |
|
|
|
@ -76,7 +76,7 @@ |
|
|
|
<uni-icons v-if="index < 3" type="medal-filled" size="22" :color="medalColor(index)"></uni-icons> |
|
|
|
<text v-else>{{index + 1}}</text> |
|
|
|
</view> |
|
|
|
<image class="box-avatar" :src="item.icon || '/static/images/img/songshu.png'" mode="aspectFill"></image> |
|
|
|
<image class="box-avatar" :src="item.icon || '../../static/image/songshu.png'" mode="aspectFill"></image> |
|
|
|
<view class="box-right"> |
|
|
|
<view class="box-right-num">{{item.workerName == null?'暂无':item.workerName}}</view> |
|
|
|
<view class="box-right-name">当前排名第 {{index + 1}}</view> |
|
|
|
|