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 70bf3a79
authored
Mar 30, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
汇总页面
1 parent
61fa6b74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.wxml
pages/tab/output/components/client/client.js
View file @
70bf3a7
...
@@ -28,7 +28,15 @@ Component({
...
@@ -28,7 +28,15 @@ Component({
totalPages
:
-
1
,
totalPages
:
-
1
,
list
:
[],
list
:
[],
tabActive
:
'store'
,
tabActive
:
'store'
,
merchantList
:
[]
merchantList
:
[],
formData
:
{
busiIdx
:
0
,
// 全部,精品升级,会员权益
timeIdx
:
0
,
// 售后众筹
proIdx
:
0
,
statusIdx
:
0
},
},
},
lifetimes
:
{
lifetimes
:
{
attached
()
{
attached
()
{
...
@@ -80,7 +88,11 @@ Component({
...
@@ -80,7 +88,11 @@ Component({
let
params
=
{
let
params
=
{
...
busiSearchData
,
...
busiSearchData
,
merchantIds
:
merchantList
.
map
(
item
=>
item
.
merchantId
)
merchantIds
:
merchantList
.
map
(
item
=>
item
.
merchantId
)
// merchantIds: ['44211227', '44211547', '10011000']
}
}
this
.
setData
({
formData
:
JSON
.
parse
(
JSON
.
stringify
(
totalTabModule
.
data
.
formData
))
})
console
.
log
(
params
,
'params--'
)
console
.
log
(
params
,
'params--'
)
outputApi
.
getBusiStatistics
(
params
).
then
(
res
=>
{
outputApi
.
getBusiStatistics
(
params
).
then
(
res
=>
{
console
.
log
(
res
,
'汇总----'
)
console
.
log
(
res
,
'汇总----'
)
...
...
pages/tab/output/components/client/client.wxml
View file @
70bf3a7
...
@@ -53,5 +53,16 @@
...
@@ -53,5 +53,16 @@
</view>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
<scroll-view wx:if="{{tabActive == 'business'}}" class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}"></scroll-view>
<scroll-view wx:if="{{tabActive == 'business'}}" class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}">
<!-- 全部 -->
<view wx:if="{{formData.busiIdx == 0}}">
<view></view>
</view>
<!-- 精品升级 -->
<view wx:if="{{formData.busiIdx == 1}}">精品升级</view>
<!-- 售后众筹 -->
<view wx:if="{{formData.busiIdx == 2}}">售后众筹</view>
<!-- 会员权益/升级 -->
<view wx:if="{{formData.busiIdx == 3}}">会员权益/升级</view>
</scroll-view>
<crowdfund-poster item="{{posterItem}}" id="poster" scrollImg="{{false}}" bindlongtouch="longtouch" />
<crowdfund-poster item="{{posterItem}}" id="poster" scrollImg="{{false}}" bindlongtouch="longtouch" />
\ No newline at end of file
\ No newline at end of file
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