Commit 7cdcadb5 by tang

feat: 分页问题

parent 5204e461
...@@ -19,28 +19,26 @@ ...@@ -19,28 +19,26 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class="col-lg-4 text-left"> <div class="col-lg-4 text-left">
<el-button type="primary" size="small" @click="casesFrontList" <el-button type="primary" size="small" @click="casesFrontList"
>搜索 >搜索
</el-button </el-button
> >
</div> </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>
<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> </div>
</template> </template>
......
...@@ -40,25 +40,24 @@ ...@@ -40,25 +40,24 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class="col-lg-4 text-left"> <div class="col-lg-4 text-left">
<el-button type="primary" size="small" @click="partnersFrontList" <el-button type="primary" size="small" @click="partnersFrontList"
>搜索</el-button >搜索</el-button
> >
</div> </div>
<ul class="main-list"> </div>
<!-- 注意!这里请后台开发的同学替换成循环输出 top 20 --> <ul class="main-list">
<li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)"> <!-- 注意!这里请后台开发的同学替换成循环输出 top 20 -->
<a> {{ tmp.title }}</a> <li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)">
</li> <a> {{ tmp.title }}</a>
</ul> </li>
<pages </ul>
<pages
:currPage="pageParams.currPage" :currPage="pageParams.currPage"
:pageSize="pageParams.pageSize" :pageSize="pageParams.pageSize"
:total="pageParams.total" :total="pageParams.total"
@getLimit="receivePagesChild" @getLimit="receivePagesChild"
/> />
</div>
</div> </div>
</div> </div>
</template> </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