网格
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="AppMerchantManage">
|
||||
<AiTopFixed>
|
||||
<u-search placeholder="请输入姓名、手机号、店面" :show-action="false" v-model="keyword" @search="current=1,getList()"/>
|
||||
<u-search placeholder="请输入姓名、手机号、店面" :show-action="false" v-model="keyword" confirm-type="search" @search="current = 1, getList()"/>
|
||||
</AiTopFixed>
|
||||
<div class="list">
|
||||
<div class="item" v-for="item in list" :key="item.id" @click="linkTo('./detail?id=' + item.id)">
|
||||
@@ -61,13 +61,13 @@
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
if (this.current > this.pages) return
|
||||
if (this.current > this.pages && this.current !== 1) return
|
||||
|
||||
this.$http.post('/app/appcompany/list', null, {
|
||||
params: {
|
||||
size: 10,
|
||||
current: this.current,
|
||||
con: this.keyword,
|
||||
businessName: this.keyword
|
||||
},
|
||||
}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user