Commit 44041618 authored by mengcuiguang's avatar mengcuiguang

记录添加分页

parent fd3fa185
<template>
<view class="body">
<status-title :showBack="true">我的订单</status-title>
<z-paging class="flex-1" ref="paging" v-model="dataList" @query="queryList">
<z-paging class="flex-1" ref="paging" v-model="dataList" @query="queryList" :defaultPageNo="1"
:defaultPageSize="500">
<view v-for="(item, i) in dataList" :key="i">
<view class="flex m-20 pd-20"
style="justify-content:space-between;background-color:white;border-radius:10rpx;">
......@@ -39,6 +40,10 @@
queryList(page, size) {
this.post({
url: '/vip/getOrderList',
data: {
page,
size
},
showLoading: false,
success: ({
data
......
<template>
<view class="body">
<status-title :showBack="true">观看记录</status-title>
<z-paging class="flex-1" ref="paging" v-model="dataList" @query="queryList">
<z-paging class="flex-1" ref="paging" v-model="dataList" @query="queryList" :defaultPageNo="1"
:defaultPageSize="500">
<view style="font-size: 30rpx;font-weight: 777;margin-left: 12rpx;margin-top: 10rpx;">最近观看</view>
<view v-for="(item, i) in dataList" :key="i">
......@@ -69,6 +70,10 @@
queryList(page, size) {
this.post({
url: '/vedio/history',
data: {
page,
size
},
showLoading: false,
success: ({
data
......
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