|
@@ -14,10 +14,16 @@
|
|
</view>
|
|
</view>
|
|
<view class="content">
|
|
<view class="content">
|
|
<view style='padding-left:20px;color:#AFB3BF;font-size:14px;' v-if='show==false'>近期客户</view>
|
|
<view style='padding-left:20px;color:#AFB3BF;font-size:14px;' v-if='show==false'>近期客户</view>
|
|
- <view v-if='searchKeyWord.length>0&&show==true' class='searchwrap' v-for='item in gridList' @click='checkcustomer(item)'>
|
|
|
|
- {{item.customerName}}({{item.customerPhone}})
|
|
|
|
|
|
+
|
|
|
|
+ <view v-for='item in gridList'>
|
|
|
|
+ <view v-if='searchKeyWord.length>0&&show==true' class='searchwrap' @click='checkcustomer(item)'>
|
|
|
|
+ {{item.customerName}}({{item.customerPhone}})
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view @click='recentcustomer(item)' class='wrap' v-else>{{item.searchContent}}</view>
|
|
|
|
|
|
+ <view v-for='item in gridList' style='display:inline-block;'>
|
|
|
|
+ <view @click='recentcustomer(item)' class='wrap' v-if='show==false'>{{item.searchContent}}</view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view v-show="isContent">
|
|
<view v-show="isContent">
|
|
@@ -125,6 +131,7 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if(res.data.data){
|
|
if(res.data.data){
|
|
this.gridList=res.data.data.records
|
|
this.gridList=res.data.data.records
|
|
|
|
+ console.log(this.gridList)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
this.$api.doRequest('get', '/identityAuthenticationInfo/identityAuthenticationInfoCustomer',{
|
|
this.$api.doRequest('get', '/identityAuthenticationInfo/identityAuthenticationInfoCustomer',{
|
|
@@ -181,6 +188,7 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
uni.setStorageSync('checkcustomer',item)
|
|
uni.setStorageSync('checkcustomer',item)
|
|
|
|
+ that.show=false
|
|
uni.navigateBack()
|
|
uni.navigateBack()
|
|
})
|
|
})
|
|
.catch(res => {
|
|
.catch(res => {
|
|
@@ -237,6 +245,7 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ that.show=false
|
|
uni.navigateBack()
|
|
uni.navigateBack()
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
})
|
|
})
|
|
@@ -791,7 +800,7 @@
|
|
background: #F5F6F9;
|
|
background: #F5F6F9;
|
|
margin: 5px 10px;
|
|
margin: 5px 10px;
|
|
border-radius: 20px;
|
|
border-radius: 20px;
|
|
- width: 42%;
|
|
|
|
|
|
+ width: 92%;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
padding: 10px;
|
|
padding: 10px;
|
|
}
|
|
}
|