修改
This commit is contained in:
parent
b4c35011c7
commit
cd678de1a9
@ -9,7 +9,8 @@
|
||||
<view class="head_tit">
|
||||
<view class="" style="display: flex;align-items: center;">
|
||||
<view class="back" @click='backjJump()' style="margin-right:17rpx ;">
|
||||
<view class="iconfont icon-xiangzuo" style="color: #333333;"></view>
|
||||
<u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||
height="50.82rpx"></u--image>
|
||||
</view>
|
||||
<view style="font-size: 40rpx;font-weight: 700;transform: skewX(-10deg);">
|
||||
<!-- {{titName}} -->
|
||||
|
@ -9,7 +9,8 @@
|
||||
<view class="head_tit">
|
||||
<view class="" style="display: flex;align-items: center;">
|
||||
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
||||
<view class="iconfont icon-xiangzuo" style="color: #333333;"></view>
|
||||
<u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||
height="50.82rpx"></u--image>
|
||||
</view>
|
||||
<view style="font-size: 40rpx;font-weight: 700;transform: skewX(-10deg);">
|
||||
<!-- {{titName}} -->
|
||||
|
@ -141,7 +141,7 @@
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
<u-loadmore :status="status" />
|
||||
</view>
|
||||
|
||||
<!-- 热搜 -->
|
||||
@ -414,6 +414,7 @@
|
||||
menuList: [],
|
||||
street: "",
|
||||
showPicker: false,
|
||||
status: "loadmore",
|
||||
// 下拉菜单
|
||||
downMenu: [{
|
||||
title: '默认',
|
||||
@ -920,19 +921,33 @@
|
||||
},
|
||||
//上划加载更多
|
||||
onReachBottom() {
|
||||
if (this.count === this.storeList.length) {
|
||||
if (this.count === 0) {
|
||||
this.sotreParam.page += 1
|
||||
|
||||
let rqData = {
|
||||
keyword: this.sotreParam.keyword,
|
||||
page: this.sotreParam.page,
|
||||
limit: 10,
|
||||
order: this.sotreParam.order,
|
||||
category_id: this.sotreParam.category_id,
|
||||
type_id: this.sotreParam.type_id,
|
||||
street_id: this.sotreParam.street_id,
|
||||
credit_buy: this.credit_buy
|
||||
}
|
||||
if (this.latitude) {
|
||||
rqData.location = this.latitude + ',' + this.longitude
|
||||
}
|
||||
// console.log(rqData)
|
||||
storeMerchantList(rqData).then(res => {
|
||||
if (res.data.list == 0) {
|
||||
this.status = "nomore"
|
||||
return
|
||||
}
|
||||
uni.showToast({
|
||||
title: '已加载全部',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
});
|
||||
} else {
|
||||
this.sotreParam.page += 1
|
||||
this.storeMerchantList()
|
||||
}
|
||||
this.count = res.data.count
|
||||
this.storeList.push(...res.data.list)
|
||||
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -9,7 +9,8 @@
|
||||
<view class="head_tit">
|
||||
<view class="" style="display: flex;align-items: center;">
|
||||
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
||||
<view class="iconfont icon-xiangzuo" style="color: #333333;"></view>
|
||||
<u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||
height="50.82rpx"></u--image>
|
||||
</view>
|
||||
<view style="font-size: 40rpx;font-weight: 700;transform: skewX(-10deg);">
|
||||
<!-- {{titName}} -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user