|
@ -93,9 +93,13 @@ |
|
|
</div> |
|
|
</div> |
|
|
</el-scrollbar> |
|
|
</el-scrollbar> |
|
|
<div class="tableFoot"> |
|
|
<div class="tableFoot"> |
|
|
<span @click="leftPage()" id="leftPage" class="leftPage"><</span> |
|
|
|
|
|
|
|
|
<span @click="throttledleftPage()" id="leftPage" class="leftPage" |
|
|
|
|
|
><</span |
|
|
|
|
|
> |
|
|
{{ currentPage }}/<span>{{ totalPage }}</span> |
|
|
{{ currentPage }}/<span>{{ totalPage }}</span> |
|
|
<span @click="rightPage()" id="rightPage" class="rightPage">></span> |
|
|
|
|
|
|
|
|
<span @click="throttledrightPage()" id="rightPage" class="rightPage" |
|
|
|
|
|
>></span |
|
|
|
|
|
> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -341,6 +345,11 @@ const leftPage = async (item) => { |
|
|
leftPageBtn.style.background = "#ccc"; |
|
|
leftPageBtn.style.background = "#ccc"; |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const throttledleftPage = _.throttle(leftPage, 500, { |
|
|
|
|
|
trailing: false, |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
const rightPage = async (item) => { |
|
|
const rightPage = async (item) => { |
|
|
if (currentPage.value == totalPage.value) { |
|
|
if (currentPage.value == totalPage.value) { |
|
|
return; |
|
|
return; |
|
@ -370,6 +379,10 @@ const rightPage = async (item) => { |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const throttledrightPage = _.throttle(rightPage, 500, { |
|
|
|
|
|
trailing: false, |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
//揭示奖品 |
|
|
//揭示奖品 |
|
|
const lookPrize = async (item) => { |
|
|
const lookPrize = async (item) => { |
|
|
// 未进入抽奖禁止揭晓 |
|
|
// 未进入抽奖禁止揭晓 |
|
|