Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2dd9f62f
authored
Aug 30, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
我的门店触底加载
1 parent
51b89e18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
pages/tab/outputValue/components/merchant/merchant.js
pages/tab/outputValue/components/merchant/merchant.scss
pages/tab/outputValue/components/merchant/merchant.wxml
pages/tab/outputValue/components/merchant/merchant.js
View file @
2dd9f62
...
@@ -257,9 +257,10 @@ Component({
...
@@ -257,9 +257,10 @@ Component({
})
})
},
},
getMerchantList
(
isReset
=
false
)
{
getMerchantList
(
isReset
=
false
)
{
console
.
log
(
'getMerchantList---'
)
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
searchForm
,
merchantList
,
isAsk
}
=
this
.
data
let
{
searchForm
,
merchantList
,
isAsk
,
isEnd
}
=
this
.
data
if
(
isAsk
)
{
if
(
isAsk
||
isEnd
)
{
return
true
return
true
}
}
this
.
setData
({
this
.
setData
({
...
...
pages/tab/outputValue/components/merchant/merchant.scss
View file @
2dd9f62
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
// padding-top: 16rpx;
// padding-top: 16rpx;
background-color
:
#F2F3F7
;
background-color
:
#F2F3F7
;
height
:
100%
;
height
:
100%
;
padding
:
0
16rpx
;
padding
:
0
16rpx
10rpx
;
}
}
.btn-box
{
.btn-box
{
...
...
pages/tab/outputValue/components/merchant/merchant.wxml
View file @
2dd9f62
<!--pages/tab/outputValue/components/merchant/merchant.wxml-->
<!--pages/tab/outputValue/components/merchant/merchant.wxml-->
<scroll-view class="merchant" id="scroller" scroll-y
="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="merchantRefresh" lower-threshold='50' scroll-top="{{busiScrollTop}}
">
<scroll-view class="merchant" id="scroller" scroll-y
enable-back-to-top refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="merchantRefresh" refresher-threshold="104" scroll-top="{{scrollTop}}" bindscrolltolower="getMore
">
<!-- 全部 - 服务商总产值 -->
<!-- 全部 - 服务商总产值 -->
<service-total wx:if="{{merchantList.length}}" serviceName="{{serviceName}}" totalObj="{{totalObj}}"></service-total>
<service-total wx:if="{{merchantList.length}}" serviceName="{{serviceName}}" totalObj="{{totalObj}}"></service-total>
<view wx:for="{{merchantList}}" wx:key="index">
<view wx:for="{{merchantList}}" wx:key="index">
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment