Commit 7cdcadb5 by tang

feat: 分页问题

parent 5204e461
......@@ -19,28 +19,26 @@
</el-option>
</el-select>
</div>
<div class="col-lg-4 text-left">
<el-button type="primary" size="small" @click="casesFrontList"
>搜索
</el-button
>
</div>
<ul class="main-list">
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)">
<a> {{ tmp.title }}</a>
</li>
</ul>
<pages
:currPage="pageParams.currPage"
:pageSize="pageParams.pageSize"
:total="pageParams.total"
@getLimit="receivePagesChild"
/>
</div>
<ul class="main-list">
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)">
<a> {{ tmp.title }}</a>
</li>
</ul>
<pages
:currPage="pageParams.currPage"
:pageSize="pageParams.pageSize"
:total="pageParams.total"
@getLimit="receivePagesChild"
/>
</div>
</div>
</template>
......
......@@ -40,25 +40,24 @@
</el-option>
</el-select>
</div>
<div class="col-lg-4 text-left">
<el-button type="primary" size="small" @click="partnersFrontList"
>搜索</el-button
>
</div>
<ul class="main-list">
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)">
<a> {{ tmp.title }}</a>
</li>
</ul>
<pages
</div>
<ul class="main-list">
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)">
<a> {{ tmp.title }}</a>
</li>
</ul>
<pages
:currPage="pageParams.currPage"
:pageSize="pageParams.pageSize"
:total="pageParams.total"
@getLimit="receivePagesChild"
/>
</div>
/>
</div>
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment