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 8be8e62a
authored
Dec 06, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
产值优化
1 parent
7c76bf04
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
10 deletions
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
pages/tab/outputValue/components/merchant/merchant.js
pages/tab/outputValue/components/merchantCom/constant.js
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.scss
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.wxml
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
View file @
8be8e62
...
...
@@ -45,6 +45,10 @@ Component({
label
:
'太阳膜'
},
{
id
:
'2'
,
label
:
'精品'
},
{
id
:
'3'
,
label
:
'售后众筹'
},
...
...
pages/tab/outputValue/components/merchant/merchant.js
View file @
8be8e62
...
...
@@ -124,10 +124,14 @@ Component({
this
.
dealMonth
(
isReset
)
let
params
=
{
partnerMerchantId
:
userInfo
.
subLoginUser
.
isSuper
?
''
:
userInfo
.
subLoginUser
.
merchantId
,
merchantId
:
searchForm
.
shopMerchantIds
.
length
?
searchForm
.
shopMerchantIds
[
0
]
:
''
,
merchantId
List
:
searchForm
.
shopMerchantIds
.
length
&&
searchForm
.
shopMerchantIds
[
0
]
?
searchForm
.
shopMerchantIds
:
''
,
sceneType
:
searchForm
.
sceneType
,
...
this
.
data
.
pageCof
}
if
(
params
.
sceneType
==
2
)
{
params
.
sceneType
=
1
;
params
.
boutique
=
true
}
wx
.
$api
.
showLoading
(
'加载中...'
)
const
paiName
=
searchForm
.
sceneType
?
'getQuerySceneList'
:
'getAllSceneList'
outputValueApi
[
paiName
](
params
).
then
(
res
=>
{
...
...
pages/tab/outputValue/components/merchantCom/constant.js
View file @
8be8e62
const
sceneFormList
=
[{
label
:
'太阳膜'
,
name
:
'scene1Total'
name
:
'scene1SolarFilmTotal'
,
scene
:
1.1
},
{
label
:
'精品'
,
name
:
'scene2Total'
name
:
'scene1BoutiqueTotal'
,
scene
:
1.1
},
{
label
:
'售后众筹'
,
name
:
'scene3Total'
name
:
'scene3Total'
,
scene
:
1.3
},
{
label
:
'会员权益/升级'
,
name
:
'scene0Total'
name
:
'scene0Total'
,
scene
:
2.1
}]
const
sceneToInfo
=
[{
...
...
@@ -17,6 +21,10 @@ const sceneToInfo = [{
label
:
'太阳膜'
,
name
:
'membranes'
},
{
type
:
2
,
label
:
'精品'
,
name
:
'scene2Total'
},
{
type
:
0
,
label
:
'会员权益/升级'
,
name
:
'member'
...
...
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.scss
View file @
8be8e62
...
...
@@ -23,7 +23,8 @@
border-top
:
0
.3rpx
solid
#E4E6EE
;
padding-top
:
4rpx
;
.list
{
&
:nth-child
(
1
)
{
border-top
:
none
;
&
:nth-child
(
2
)
{
border-top
:
none
;
}
}
...
...
@@ -201,14 +202,12 @@
.tips-store
{
box-sizing
:
border-box
;
width
:
64rpx
;
height
:
28rpx
;
background
:
#fc8f28
26
;
border-radius
:
5rpx
;
font-weight
:
400
;
font-size
:
20rpx
;
color
:
#FC8F28
;
padding
:
0
12
rpx
;
padding
:
4rpx
10
rpx
;
margin-left
:
8rpx
;
}
...
...
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.wxml
View file @
8be8e62
...
...
@@ -37,7 +37,7 @@
<view class="title-box flex-between {{index == 0 ? 'title-box-first' : ''}}">
<view class="title-block">
<view class="title-name text-hide">{{item.merchantName}}</view>
<text class="tips-store">
门店
</text>
<text class="tips-store">
{{subItem.scene}}
</text>
</view>
<view>
<view class="num-blue"><text class="f-24">¥</text>{{filter.money_three_for_two_thousands(item.curMonthTotalData[subItem.name] || 0)}}
...
...
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