Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
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 5bf09933
authored
May 08, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
7fa4ad93
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
58 additions
and
41 deletions
packageOutput/components/staff/staff.js
packageOutput/components/staff/staff.scss
packageOutput/components/staff/staff.wxml
packagesList/outDetail/components/OutputWork/index.js
packagesList/outDetail/components/WorktableEntrance/index.scss
packagesList/outDetail/components/WorktableEntrance/index.wxml
packagesList/outDetail/components/activitying/index.scss
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.js
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.scss
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.wxml
packagesList/packageOutput/pages/crowdDetail/crowdDetail.js
packagesList/packageOutput/pages/monthReport/monthReport.js
packagesList/packageOutput/pages/monthReport/monthReport.scss
packagesList/packageOutput/pages/monthReport/monthReport.wxml
pages/tab/output/components/BusiCard/BusiCard.scss
packageOutput/components/staff/staff.js
View file @
5bf0993
...
...
@@ -216,6 +216,10 @@ Component({
const
arr
=
this
.
data
.
downType
==
'equity'
?
item
[
k
]
&&
item
[
k
].
map
(
item
=>
accMul
(
item
,
100
))
:
item
[
k
]
return
arr
},
totalOrderAmount
:(
item
,
k
)
=>
{
const
arr
=
this
.
data
.
downType
==
'crowType'
?
item
[
k
]
&&
item
[
k
].
map
(
item
=>
accMul
(
item
,
0.01
))
:
item
[
k
]
return
arr
},
}
return
obj
...
...
packageOutput/components/staff/staff.scss
View file @
5bf0993
...
...
@@ -135,6 +135,7 @@
font-size
:
20rpx
;
color
:
#1B233D
;
background
:
#F9F9F9
;
white-space
:
normal
;
image
{
width
:
36rpx
;
...
...
packageOutput/components/staff/staff.wxml
View file @
5bf0993
...
...
@@ -31,10 +31,12 @@
<view class="flex_direction_column_item" wx:for="{{sfaff}}" wx:for-index="index" wx:key="index">
<view class='item_name'>{{item.name}}</view>
<view wx:for="{{item.list}}" wx:for-item="litem" wx:for-index="lindex" wx:key="lindex" class='item_name item_desc'>
<image wx:if="{{item.name == '员工'&& litem.avatarUrl}}" src="{{ litem.avatarUrl? litem.avatarUrl:''}}"></image>
<block wx:if="{{item.name == '转化率'}}">{{litem?litem+'%': '--'}}</block>
<image wx:if="{{item.name == '员工'&& litem.avatarUrl}}" src="{{ litem.avatarUrl? litem.avatarUrl:''}}" mode="scaleToFill"></image>
<text>
<block wx:if="{{item.name == '转化率'}}">{{litem?litem+'%': '--'}}</block>
<block wx:elif="{{item.name == '员工'}}">{{litem.transferName?litem.transferName:'--'}}</block>
<block wx:else>{{filter.thousand(litem)||'--'}}</block>
</text>
</view>
</view>
</view>
...
...
packagesList/outDetail/components/OutputWork/index.js
View file @
5bf0993
...
...
@@ -295,6 +295,7 @@ Component({
},
/**柱状图 */
getHistogram
()
{
wx
.
showLoading
()
const
barObj
=
this
.
selectComponent
(
'#bar'
)
let
{
dataType
...
...
@@ -311,6 +312,7 @@ Component({
// endTime: ''
}
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
wx
.
hideLoading
()
this
.
setData
({
chartData
:
res
})
...
...
packagesList/outDetail/components/WorktableEntrance/index.scss
View file @
5bf0993
...
...
@@ -27,5 +27,5 @@
height
:
calc
(
100%
-
64rpx
);
}
.content-box
{
padding
:
0
16rpx
5
0rpx
16rpx
;
padding
:
0
16rpx
8
0rpx
16rpx
;
}
\ No newline at end of file
packagesList/outDetail/components/WorktableEntrance/index.wxml
View file @
5bf0993
...
...
@@ -5,7 +5,7 @@
</view>
<view class="main-box">
<activity-tab class="activityItem" bind:activityTab="activityTab" tabList="{{tabList}}"></activity-tab>
<scroll-view scroll-y class="content" class="content" refresher-enabled bindrefresherrefresh="activityRefresh" bindscrolltolower="scrollonReachBottom" bindscroll="scrollIng" refresher-triggered="{{activeTrigger}}" style="{{!listData.length ? 'padding-top: 16rpx;' : ''}}{{'height: calc(100% -
5
0rpx);'}}">
<scroll-view scroll-y class="content" class="content" refresher-enabled bindrefresherrefresh="activityRefresh" bindscrolltolower="scrollonReachBottom" bindscroll="scrollIng" refresher-triggered="{{activeTrigger}}" style="{{!listData.length ? 'padding-top: 16rpx;' : ''}}{{'height: calc(100% -
9
0rpx);'}}">
<block wx:if="{{!noResult}}">
<view class="content-box">
<block wx:for="{{listData}}" wx:key="index">
...
...
packagesList/outDetail/components/activitying/index.scss
View file @
5bf0993
...
...
@@ -8,7 +8,6 @@
overflow
:
hidden
;
// box-shadow: 0 10rpx 20rpx 0 rgba(204, 133, 122, 0.16);
border-radius
:
32rpx
;
.item-bg
{
width
:
100%
;
height
:
100%
;
...
...
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.js
View file @
5bf0993
Component
({
properties
:
{
data
:
{
type
:
Object
,
value
:
{},
observer
(
v
)
{
if
(
!
v
)
return
let
s
=
v
if
(
s
)
{
v
.
sortList
=
[
{
title
:
'访客率'
,
sort
:
s
.
fansRate
},
{
title
:
'转化率'
,
sort
:
s
.
conversionRate
}
]
properties
:
{
data
:
{
type
:
Object
,
value
:
{},
observer
(
v
)
{
if
(
!
v
)
return
let
s
=
v
if
(
s
)
{
v
.
numList
=
[
{
title
:
'浏览量'
,
num
:
s
.
browsCount
},
{
title
:
'访客量'
,
num
:
s
.
visitCount
},
{
title
:
'订单量'
,
num
:
s
.
orderCount
}
]
v
.
sortList
=
[
{
title
:
'访客率'
,
sort
:
s
.
fansRate
},
{
title
:
'转化率'
,
sort
:
s
.
conversionRate
}
]
}
this
.
setData
({
data
:
v
})
}
}
this
.
setData
({
data
:
v
})
}
}
},
},
/**
* 组件的初始数据
*/
data
:
{
/**
* 组件的初始数据
*/
data
:
{
},
},
/**
* 组件的方法列表
*/
methods
:
{
/**
* 组件的方法列表
*/
methods
:
{
}
}
})
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.scss
View file @
5bf0993
...
...
@@ -15,12 +15,12 @@
top
:
40rpx
;
left
:
50%
;
transform
:
translate
(
-50%
);
width
:
4
58
.18
rpx
;
height
:
2
9
8rpx
;
width
:
4
06
rpx
;
height
:
2
8
8rpx
;
image
{
width
:
4
58
.18
rpx
;
height
:
2
9
8rpx
;
width
:
4
06
rpx
;
height
:
2
8
8rpx
;
}
}
...
...
packagesList/packageOutput/components/invertAnalyse/invertAnalyse.wxml
View file @
5bf0993
...
...
@@ -4,7 +4,7 @@
</view>
<view class="funnel-content">
<view class="left">
<view wx:for="{{data.numList}}" wx:key="index">{{item.title}}<text>{{item.num}}</text></view>
<view wx:for="{{data.numList}}" wx:key="index">{{item.title}}<text>{{item.num
||0
}}</text></view>
</view>
<view class="right">
<view class="sort-box" wx:for="{{data.sortList}}" wx:key="index">
...
...
packagesList/packageOutput/pages/crowdDetail/crowdDetail.js
View file @
5bf0993
...
...
@@ -59,7 +59,7 @@ Page({
totalShareCount
:
'转发次数'
,
totalVisitorRank
:
'访客总数'
,
totalBrowseCount
:
'浏览总数'
,
totalOrder
Rank
:
'成交单量'
,
totalOrder
Count
:
'成交单量'
,
conversionRate
:
'转化率'
,
}
ActivityApi
.
activityStaffRank
({
activityId
}).
then
(
res
=>
{
...
...
packagesList/packageOutput/pages/monthReport/monthReport.js
View file @
5bf0993
...
...
@@ -8,6 +8,7 @@ Page({
data
:
{
show
:
false
,
date
:
'2023年4月10日'
,
maxDate
:
new
Date
().
getTime
(),
navStyle
:
'background-color: rgba(0,0,0,0);'
,
currentDate
:
new
Date
().
getTime
(),
timeValue
:
new
Date
().
format
(
'yyyy-MM-dd'
),
...
...
packagesList/packageOutput/pages/monthReport/monthReport.scss
View file @
5bf0993
...
...
@@ -150,11 +150,14 @@
top
:
97rpx
;
left
:
207rpx
;
z-index
:
10
;
.bill-bg
{
width
:
233
.52rpx
!
important
;
height
:
358
.06rpx
!
important
;
}
.bill-num
,
.bill-name
{
width
:
233
.52rpx
!
important
;
}
}
&
:nth-child
(
2
)
{
...
...
packagesList/packageOutput/pages/monthReport/monthReport.wxml
View file @
5bf0993
...
...
@@ -62,6 +62,6 @@
</scroll-view>
</view>
<popup bind:hidePopup="cancel" bind:confirm="confirm" show="{{show}}" height="50vh">
<van-datetime-picker value="{{ currentDate }}" type="{{timeType=='day'?'date':'year-month'}}" bind:input="onInput" />
<van-datetime-picker
max-date="{{ maxDate }}"
value="{{ currentDate }}" type="{{timeType=='day'?'date':'year-month'}}" bind:input="onInput" />
</popup>
</view>
\ No newline at end of file
pages/tab/output/components/BusiCard/BusiCard.scss
View file @
5bf0993
...
...
@@ -63,14 +63,14 @@
text-align
:
center
;
font-size
:
20rpx
;
color
:
#999999
;
margin
:
10rpx
0
;
margin
-top
:
16rpx
;
.price
{
font-weight
:
500
;
font-size
:
28rpx
;
color
:
#323436
;
font-weight
:
600
;
margin-bottom
:
1
6
rpx
;
margin-bottom
:
1
0
rpx
;
}
}
}
\ 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