|
|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="container"> |
|
|
<view class="container"> |
|
|
<scroll-view class="scroll-view" scroll-y @scrolltolower="loadMore" :show-scrollbar="false"> |
|
|
<scroll-view v-if="electionList.length !== 0" class="scroll-view" scroll-y @scrolltolower="loadMore" :show-scrollbar="false"> |
|
|
<view v-for="(item, index) in electionList" :key="index" class="election-item"> |
|
|
<view v-for="(item, index) in electionList" :key="index" class="election-item"> |
|
|
<view class="year-title"> |
|
|
<view class="year-title"> |
|
|
<view class="headpart"> |
|
|
<view class="headpart"> |
|
|
@ -49,6 +49,9 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
|
|
|
<view v-else> |
|
|
|
|
|
<ex-empty :height="55" :tips="'暂无数据~'" /> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
|