Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-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 889682c0
authored
Oct 20, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
细节修改
1 parent
4735cfdf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
13 deletions
pages/tab/index/components/activityDiagnosis/activityDiagnosis.wxml
pages/tab/index/components/activityOverview/activityOverview.js
pages/tab/index/components/activityOverview/activityOverview.wxml
pages/tab/index/components/invertAnalyse/invertAnalyse.js
pages/tab/index/components/activityDiagnosis/activityDiagnosis.wxml
View file @
889682c
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<view class="earnings-box">
<view class="earnings-box">
<view class="left">
<view class="left">
<view class="title">累计收益</view>
<view class="title">累计收益</view>
<view class="sort">最终排名:{{item.statics.incomeRank}}</view>
<view class="sort">最终排名:{{item.statics.incomeRank
|| "-"
}}</view>
</view>
</view>
<view class="integral-num">{{fn.filterIntegral(item.statics.income)}}<text>积分</text></view>
<view class="integral-num">{{fn.filterIntegral(item.statics.income)}}<text>积分</text></view>
</view>
</view>
...
...
pages/tab/index/components/activityOverview/activityOverview.js
View file @
889682c
...
@@ -37,15 +37,6 @@ Component({
...
@@ -37,15 +37,6 @@ Component({
{
title
:
'访客'
,
num
:
s
.
fansCount
,
sort
:
s
.
fansCountRank
},
{
title
:
'访客'
,
num
:
s
.
fansCount
,
sort
:
s
.
fansCountRank
},
{
title
:
'订单'
,
num
:
s
.
orderCount
,
sort
:
s
.
orderCountRank
}
{
title
:
'订单'
,
num
:
s
.
orderCount
,
sort
:
s
.
orderCountRank
}
]
]
v
.
numList
=
[
{
title
:
'浏览量'
,
num
:
s
.
browseCount
},
{
title
:
'访问量'
,
num
:
s
.
fansCount
},
{
title
:
'订单量'
,
num
:
s
.
orderCount
}
]
v
.
sortList
=
[
{
title
:
'访客率'
,
sort
:
s
.
conversionRate
},
{
title
:
'转化率'
,
sort
:
s
.
browseRate
}
]
}
}
this
.
setData
({
data
:
v
})
this
.
setData
({
data
:
v
})
}
}
...
...
pages/tab/index/components/activityOverview/activityOverview.wxml
View file @
889682c
...
@@ -25,8 +25,8 @@
...
@@ -25,8 +25,8 @@
<view class="overview-item-box" style="{{backStyle[0]}}">
<view class="overview-item-box" style="{{backStyle[0]}}">
<view class="all" wx:for="{{data.overviewData}}" wx:for-item="val" wx:for-index="key" wx:key="key" bind:tap="jump" data-index="{{key}}">
<view class="all" wx:for="{{data.overviewData}}" wx:for-item="val" wx:for-index="key" wx:key="key" bind:tap="jump" data-index="{{key}}">
<view class="title">{{val.title}}</view>
<view class="title">{{val.title}}</view>
<view class="number">{{val.num}}</view>
<view class="number">{{val.num
|| 0
}}</view>
<view class="sort"><text>最终排名:</text>{{val.sort}}</view>
<view class="sort"><text>最终排名:</text>{{val.sort
|| '-'
}}</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/tab/index/components/invertAnalyse/invertAnalyse.js
View file @
889682c
...
@@ -11,6 +11,7 @@ Component({
...
@@ -11,6 +11,7 @@ Component({
value
:
{},
value
:
{},
observer
(
v
)
{
observer
(
v
)
{
let
s
=
v
.
statics
let
s
=
v
.
statics
console
.
log
(
v
)
if
(
s
)
{
if
(
s
)
{
v
.
numList
=
[
v
.
numList
=
[
{
title
:
'浏览量'
,
num
:
s
.
browseCount
},
{
title
:
'浏览量'
,
num
:
s
.
browseCount
},
...
@@ -19,7 +20,7 @@ Component({
...
@@ -19,7 +20,7 @@ Component({
]
]
v
.
sortList
=
[
v
.
sortList
=
[
{
title
:
'访客率'
,
sort
:
s
.
conversionRate
},
{
title
:
'访客率'
,
sort
:
s
.
conversionRate
},
{
title
:
'转化率'
,
sort
:
s
.
browse
Rate
}
{
title
:
'转化率'
,
sort
:
s
.
fans
Rate
}
]
]
}
}
this
.
setData
({
data
:
v
})
this
.
setData
({
data
:
v
})
...
...
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