|
|
@@ -8,32 +8,31 @@
|
|
|
<mescroll-uni :ref="'mescrollRef' + i" @init="mescrollInit" :height="height" :down="downOption" @down="downCallback"
|
|
|
:up="upOption" @up="upCallback" @emptyclick="emptyClick">
|
|
|
|
|
|
- <view class="flex-col list" v-for="(item,index) in 30">
|
|
|
+ <view class="flex-col list" v-for="(item,index) in rankDate">
|
|
|
|
|
|
|
|
|
- <view class="flex-row justify-center" v-if="index === 0">
|
|
|
- <view class="flex-col justify-evenly medal">
|
|
|
- <text>第一名:对对对</text>
|
|
|
- <text>3000</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+<!-- <view class="flex-row justify-center" v-if="index === 0">-->
|
|
|
+<!-- <view class="flex-col justify-evenly medal">-->
|
|
|
+<!-- <text>第一名:对对对</text>-->
|
|
|
+<!-- <text>3000</text>-->
|
|
|
+<!-- </view>-->
|
|
|
+<!-- </view>-->
|
|
|
|
|
|
- <view class="flex-col justify-evenly medal medal2" v-if="index === 1">
|
|
|
- <text>第二名:滴滴滴</text>
|
|
|
- <text>2000</text>
|
|
|
- </view>
|
|
|
+<!-- <view class="flex-col justify-evenly medal medal2" v-if="index === 1">-->
|
|
|
+<!-- <text>第二名:滴滴滴</text>-->
|
|
|
+<!-- <text>2000</text>-->
|
|
|
+<!-- </view>-->
|
|
|
|
|
|
- <view class="flex-col justify-evenly medal medal3" v-if="index === 2">
|
|
|
- <text>第三名:龙傲天</text>
|
|
|
- <text>1000</text>
|
|
|
- </view>
|
|
|
+<!-- <view class="flex-col justify-evenly medal medal3" v-if="index === 2">-->
|
|
|
+<!-- <text>第三名:龙傲天</text>-->
|
|
|
+<!-- <text>1000</text>-->
|
|
|
+<!-- </view>-->
|
|
|
|
|
|
|
|
|
-
|
|
|
- <view class="flex-row justify-between listItem" :class="{listItemFirst:index === 3}" v-if="index > 2">
|
|
|
+ <view class="flex-row justify-between listItem" :class="{listItemFirst:index === 3}" >
|
|
|
<text>{{index + 1}}.</text>
|
|
|
- <text>芝士蛋糕hi</text>
|
|
|
- <text>12225</text>
|
|
|
+ <text>{{ item.expandUserName }}</text>
|
|
|
+ <text>{{ item.total }}</text>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
@@ -45,6 +44,7 @@
|
|
|
import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
|
|
|
import MescrollMoreItemMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mixins/mescroll-more-item.js"
|
|
|
import NextSwipeAction from "../../../components/next-swipe-action/next-swipe-action";
|
|
|
+ import {object} from "../../../uni_modules/uv-ui-tools/libs/function/test";
|
|
|
|
|
|
export default {
|
|
|
mixins: [MescrollMixin, MescrollMoreItemMixin], // 注意此处还需使用MescrollMoreItemMixin (必须写在MescrollMixin后面)
|
|
|
@@ -82,7 +82,7 @@
|
|
|
return 0
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+ rankDate: [],
|
|
|
height: [Number, String], // mescroll的高度
|
|
|
|
|
|
},
|