This commit is contained in:
2024-02-02 13:44:55 +08:00
parent 72472034f9
commit ac634dfaf8
10 changed files with 732 additions and 39 deletions

View File

@@ -6,8 +6,8 @@
</cu-custom>
<view class="search">
<uni-easyinput prefixIcon="search" borderColor="#DCDFE6" v-model="paramter.customerphone" placeholder="请输入手机号后四位"
@confirm="search" maxlength="4" />
<uni-easyinput prefixIcon="search" borderColor="#DCDFE6" v-model="paramter.params.customerPhone" placeholder="请输入手机号后四位"
@confirm="search" maxlength="4" @clear="search" />
</view>
<scroll-view v-if="dataList.length" class="list" :scroll-y="true" @scrolltolower="lower">
@@ -49,7 +49,7 @@
currentPage: 1,
pagesize: 20,
params: {
customerphone: ''
customerPhone: ''
},
},
dataList: [],
@@ -109,7 +109,7 @@
getByPageCloudMini() {
serve.getByPageCloudMini(this.paramter).then(res => {
if (res.code === 20000) {
if (!res.data.list.length) {
if (!res.data.list.length && this.paramter.currentPage != 1) {
uni.showToast({
title: '没有更多订单啦~',
icon: 'none'