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 52e2980e
authored
Aug 29, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v4.27.0_0831' of
http://192.168.3.233:8090/saas_plus/business-assi…
…stant into v4.27.0_0831
2 parents
32a716d2
d5d28663
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
132 additions
and
94 deletions
components/CalendarMonth/CalendarMonth.wxml
components/Popup/Popup.wxss
packageMine/pages/customerManagement/customerList/customerList.scss
packageMine/pages/serviceManage/components/StoreApply/StoreApply.scss
packageMine/pages/serviceManage/serviceList/serviceList.scss
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.js
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
packagesList/packageOutput/pages/newSummary/newSummary.wxml
pages/tab/mine/mine.wxml
pages/tab/outputValue/components/ScreenBox/ScreenBox.js
pages/tab/outputValue/components/ScreenBox/ScreenBox.wxml
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.wxml
pages/tab/outputValue/components/SwitchAccountPopup/SwitchAccountPopup.scss
pages/tab/outputValue/components/employees/employess.scss
pages/tab/outputValue/components/employees/employess.wxml
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/merchantCom/MerchantScene/MerchantScene.wxml
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.scss
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.wxml
pages/tab/outputValue/components/selectMerchantPopup/selectMerchantPopup.scss
pages/tab/outputValue/outputValue.js
pages/tab/outputValue/outputValue.scss
pages/tab/outputValue/outputValue.wxml
components/CalendarMonth/CalendarMonth.wxml
View file @
52e2980
...
...
@@ -74,7 +74,7 @@
<block wx:for="{{yearList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
<swiper-item class="calenderMonth">
<block wx:for="{{item}}" wx:for-item="monItem" wx:for-index="monIndex" wx:key="monIndex">
<view bindtap="monChoose" data-type="month" data-index="{{monIndex}}" data-yearindex="{{index}}" data-data="{{monItem}}" class="monItem {{monItem.start?'active':''}} {{monItem.select?'select':''}} {{monItem.end?'end':''}} {{monItem.disable?'disable':''}}">
<view bindtap="monChoose" data-type="month" data-index="{{monIndex}}" data-yearindex="{{index}}" data-data="{{monItem}}" class="monItem {{monItem.start?'active':''}} {{monItem.select?'select':''}} {{monItem.end?'end':''}} {{monItem.disable?'disable':''}}"
style="background: {{monItem.start || monItem.end ? calenderColor : ''}};color: {{monItem.select ? calenderColor : ''}};"
>
<view>{{monItem.label}}</view>
<view class="text" wx:if="{{monItem.start}}">开始</view>
<view class="text" wx:if="{{monItem.end}}">结束</view>
...
...
components/Popup/Popup.wxss
View file @
52e2980
...
...
@@ -76,7 +76,7 @@
height: 80rpx;
box-sizing: border-box;
border-radius: 12rpx;
font-size:
28
rpx;
font-size:
32
rpx;
}
.popup-footer .doubtn {
...
...
@@ -84,7 +84,7 @@
height: 80rpx;
box-sizing: border-box;
border-radius: 12rpx;
font-size:
28
rpx;
font-size:
32
rpx;
}
.popup-footer .cancel {
...
...
packageMine/pages/customerManagement/customerList/customerList.scss
View file @
52e2980
...
...
@@ -93,6 +93,7 @@
border-bottom
:
2rpx
dotted
#CCCED1
;
.message
{
width
:
calc
(
100%
-
36rpx
);
display
:
flex
;
.avatar
{
...
...
@@ -106,10 +107,12 @@
display
:
flex
;
flex-flow
:
column
;
justify-content
:
center
;
width
:
calc
(
100%
-
84rpx
);
.name
{
color
:
#323436
;
font-size
:
28rpx
;
word-break
:
break-all
;
}
.tips
{
...
...
packageMine/pages/serviceManage/components/StoreApply/StoreApply.scss
View file @
52e2980
...
...
@@ -44,6 +44,7 @@
padding
:
24rpx
32rpx
;
.message
{
width
:
calc
(
100%
-
84rpx
);
display
:
flex
;
.avatar
{
...
...
@@ -57,10 +58,12 @@
display
:
flex
;
flex-flow
:
column
;
justify-content
:
center
;
width
:
calc
(
100%
-
84rpx
);
.merchant
{
color
:
#323436
;
font-size
:
28rpx
;
word-break
:
break-all
;
}
.contact
{
...
...
packageMine/pages/serviceManage/serviceList/serviceList.scss
View file @
52e2980
...
...
@@ -92,6 +92,7 @@
padding
:
24rpx
32rpx
;
.message
{
width
:
calc
(
100%
-
36rpx
);
display
:
flex
;
.avatar
{
...
...
@@ -105,10 +106,12 @@
display
:
flex
;
flex-flow
:
column
;
justify-content
:
center
;
width
:
calc
(
100%
-
84rpx
);
.merchant
{
color
:
#323436
;
font-size
:
28rpx
;
word-break
:
break-all
;
}
.contact
{
...
...
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.js
View file @
52e2980
...
...
@@ -58,11 +58,13 @@ Component({
merchantFormList
:
[
{
label
:
'预计活动时间'
,
name
:
'time'
name
:
'time'
,
className
:
'medium-no-bold'
},
{
label
:
'实际活动时间'
,
name
:
'realTime'
name
:
'realTime'
,
className
:
'medium-no-bold'
},
{
label
:
'订单数'
,
...
...
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
View file @
52e2980
...
...
@@ -7,7 +7,7 @@
.box
{
background-color
:
#FFFFFF
;
border-radius
:
8
rpx
;
border-radius
:
16
rpx
;
margin-bottom
:
20rpx
;
}
...
...
@@ -31,7 +31,7 @@
&
-txt
{
font-family
:
"ali-medium"
;
font-weight
:
500
;
//
font-weight: 500;
height
:
40rpx
;
line-height
:
40rpx
;
margin-bottom
:
12rpx
;
...
...
@@ -132,6 +132,11 @@
color
:
#323436
;
}
&
-txt
.medium-no-bold
{
font-family
:
"ali-medium"
;
font-weight
:
400
;
}
&
-txt
.red
{
color
:
#F35251
;
}
...
...
packagesList/packageOutput/pages/newSummary/newSummary.wxml
View file @
52e2980
...
...
@@ -24,7 +24,7 @@
bind:tapCalendar="tapCalendar"
rangeAll
dateType="range"
calenderColor="#3
582E
E"
calenderColor="#3
666F
E"
vertical
minDate="2020-10-01"
maxDate="{{ dateObj.today }}"
...
...
pages/tab/mine/mine.wxml
View file @
52e2980
...
...
@@ -15,14 +15,14 @@
<view class="utilBoxTitle">常用工具</view>
<view class="boxItemCon">
<view wx:for="{{boxItemList}}" wx:key="index" class="{{item.isHide ? '': 'item'}}" data-path="{{item.path}}" data-item="{{item}}" bind:tap="navGO">
<
view
wx:if="{{!item.isHide}}">
<
block
wx:if="{{!item.isHide}}">
<view class="imgcon">
<view wx:if="{{item.hasRedPot}}" class="redPot" hidden="{{!item.isRead}}" ></view>
<view wx:if="{{item.newTips}}" class="new" hidden="{{!versionData.isNew}}">new</view>
<glsx-image class="img" src="{{IMAGES['icon' + index]}}" />
</view>
<view class="name">{{item.name}}</view>
</
view
>
</
block
>
</view>
<!-- <view class="update" bindtap="jump">
<view class="icon">
...
...
pages/tab/outputValue/components/ScreenBox/ScreenBox.js
View file @
52e2980
...
...
@@ -8,7 +8,9 @@ Component({
formData
:
Object
,
tabBarStyle
:
String
,
isShowFilterScreen
:
Boolean
,
tabType
:
Number
tabType
:
Number
,
statusBarHeight
:
Number
,
navigationBarHeight
:
Number
},
/**
...
...
@@ -50,11 +52,17 @@ Component({
// 筛选
filterTypeFn
()
{
this
.
setData
({
confirmShow
:
!
this
.
data
.
confirmShow
confirmShow
:
true
})
this
.
data
.
confirmShow
?
wx
.
pro
.
hideTabBar
({
wx
.
pro
.
hideTabBar
({
animation
:
true
})
:
wx
.
pro
.
showTabBar
({
})
},
hideTypeFn
()
{
this
.
setData
({
confirmShow
:
false
})
wx
.
pro
.
showTabBar
({
animation
:
true
})
},
...
...
pages/tab/outputValue/components/ScreenBox/ScreenBox.wxml
View file @
52e2980
...
...
@@ -12,4 +12,4 @@
<!-- 选择门店 -->
<select-merchant-popup wx:if="{{popupShow}}" bind:hidePopup="handleSlectMerchant" bindmerchantConfirm="handleMerchantChange" selectInfo="{{formData}}" popShow="{{popupShow}}" merchantRange="{{merchantList}}"/>
<!-- 筛选 -->
<screen-confirm-box wx:if="{{pageLoaded}}" bindscreenFlag="handleScreenFlag" tabBarStyle="{{tabBarStyle}}" show="{{confirmShow}}" userInfo="{{userInfo}}" formData="{{formData}}" tabType="{{tabType}}" bindchangeService="hanbleChangeService"></screen-confirm-box>
\ No newline at end of file
<screen-confirm-box wx:if="{{pageLoaded}}" bindscreenFlag="handleScreenFlag" statusBarHeight="{{statusBarHeight}}" navigationBarHeight="{{navigationBarHeight}}" tabBarStyle="{{tabBarStyle}}" show="{{confirmShow}}" userInfo="{{userInfo}}" formData="{{formData}}" tabType="{{tabType}}" bindchangeService="hanbleChangeService"></screen-confirm-box>
\ No newline at end of file
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.js
View file @
52e2980
...
...
@@ -23,7 +23,9 @@ Component({
}
},
tabType
:
Number
,
// tab值 0我的门店 1我的员工
userInfo
:
Object
userInfo
:
Object
,
statusBarHeight
:
Number
,
navigationBarHeight
:
Number
},
/**
...
...
@@ -209,6 +211,11 @@ Component({
isReset
:
false
})
},
// 日期组件
showCalendar
(
e
)
{
let
calendarMonthModule
=
this
.
selectComponent
(
'#calendarMonth'
)
calendarMonthModule
.
showCalendar
&&
calendarMonthModule
.
showCalendar
(
e
)
},
confirm
()
{
if
(
this
.
data
.
screenConfirmFlag
)
return
wx
.
$api
.
showLoading
(
'加载中'
)
...
...
@@ -252,9 +259,9 @@ Component({
formData
.
endTime
=
''
}
// this.setDate()
this
.
setData
({
isShowCalendarMonth
:
false
})
//
this.setData({
//
isShowCalendarMonth: false
//
})
formData
.
sceneType
=
''
formData
.
staffUUIDs
=
[]
if
(
tabType
==
0
)
{
...
...
pages/tab/outputValue/components/ScreenConfirmBox/ScreenConfirmBox.wxml
View file @
52e2980
<!--pages/tab/output/components/ScreenConfirmBox/ScreenConfirmBox.wxml-->
<wxs src="../../index.wxs" module="filter" />
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{
height}}px);margin-top:{{tabBarStyle}}px
;"
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{
statusBarHeight + navigationBarHeight}}px);margin-top:calc({{statusBarHeight + navigationBarHeight}}px)
;"
hidden="{{!show}}">
<view class="main" style="padding-bottom:{{btnHeight}}px;min-height: calc(100% - {{btnHeight}}px);">
<view class="box">
...
...
@@ -24,13 +24,14 @@
自定义月份
<view class="picker_box">
<CalendarMonth
id="calendarMonth"
wx:if="{{isShowCalendarMonth}}"
allowSameDay
shortcut
bindselect="dateRangeSelect"
rangeAll
dateType="range"
calenderColor="#3
582E
E"
calenderColor="#3
666F
E"
vertical
minDate="2020-10-01"
maxDate="{{ dateObj.today }}"
...
...
@@ -49,11 +50,15 @@
</view>
</view>
<view class="date_box">
<view class="date_item" wx:if="{{formData.startTime}}">{{filter.filterDate(formData.startTime) || '开始时间'}}</view>
<view class="date_item placeholder" wx:else>请选择</view>
<view bindtap="showCalendar" data-type="show">
<view class="date_item" wx:if="{{formData.startTime}}">{{filter.filterDate(formData.startTime) || '开始时间'}}</view>
<view class="date_item placeholder" wx:else>请选择</view>
</view>
<view>-</view>
<view class="date_item" wx:if="{{formData.endTime}}">{{filter.filterDate(formData.endTime) || '结束时间'}}</view>
<view class="date_item placeholder" wx:else>请选择</view>
<view bindtap="showCalendar" data-type="show">
<view class="date_item" wx:if="{{formData.endTime}}">{{filter.filterDate(formData.endTime) || '结束时间'}}</view>
<view class="date_item placeholder" wx:else>请选择</view>
</view>
</view>
</view>
<view class="box" wx:if="{{tabType == 0}}">
...
...
pages/tab/outputValue/components/SwitchAccountPopup/SwitchAccountPopup.scss
View file @
52e2980
...
...
@@ -24,8 +24,8 @@
}
.search-box
.search-input
.search-icon
{
width
:
2
8rpx
;
height
:
2
8rpx
;
width
:
4
8rpx
;
height
:
4
8rpx
;
margin
:
0
10rpx
0
26rpx
;
}
...
...
@@ -38,6 +38,7 @@
.search-box
.search-input
.input
{
font-size
:
28rpx
;
width
:
calc
(
100%
-
136rpx
);
text-align
:
left
;
}
.input-placeholder
{
...
...
@@ -80,7 +81,8 @@
color
:
#323436
;
line-height
:
80rpx
;
padding
:
0
32rpx
;
font-size
:
28rpx
;
font-weight
:
normal
;
}
.active
{
...
...
pages/tab/outputValue/components/employees/employess.scss
View file @
52e2980
...
...
@@ -64,11 +64,12 @@
}
.output_text
{
position
:
relative
;
text
{
color
:
#4772FC
;
font-size
:
36rpx
;
font-family
:
'ali-bold'
;
font-weight
:
700
;
font-family
:
"ali-bold"
;
color
:
#4772FC
;
font-size
:
36rpx
;
font-weight
:
700
;
.unit
{
font-size
:
24rpx
;
}
}
.merchant_num
{
...
...
@@ -114,6 +115,7 @@
font-size
:
28rpx
;
.title
{
font-size
:
24rpx
;
font-weight
:
normal
;
color
:
#8A8C90
;
}
.flex_spa-arr
{
...
...
@@ -122,7 +124,6 @@
.flex
{
box-sizing
:
border-box
;
padding-right
:
30rpx
;
font-family
:
'ali-bold'
;
}
.flex_1
{
width
:
calc
(
100%
-
552rpx
);
...
...
pages/tab/outputValue/components/employees/employess.wxml
View file @
52e2980
...
...
@@ -22,8 +22,8 @@
<view class="name">{{item.staffName}}</view>
<view class="role_name" wx:if="{{item.staffRoleName && item.staffRoleName != '系统默认角色'}}">「<view>{{item.staffRoleName}}</view>」</view>
</view>
<view wx:if="{{item.totalOutputValue < 1000000}}" class="output_text"><text
style="font-size: 24rpx;">¥</text><text>{{filter.money_three_for_two_thousands(item.totalOutputValue || '0.00', true)}}</text>
</view>
<view wx:else class="output_text" style="padding-right: 18rpx;"><text
style="font-size: 24rpx;">¥</text><text>一百万</text>
<text style="font-size: 24rpx;position: absolute;top: 0;right: 0;">+</text></view>
<view wx:if="{{item.totalOutputValue < 1000000}}" class="output_text"><text
class="unit">¥</text>{{filter.money_three_for_two_thousands(item.totalOutputValue || '0.00', true)}}
</view>
<view wx:else class="output_text" style="padding-right: 18rpx;"><text
class="unit">¥</text>一百万
<text style="font-size: 24rpx;position: absolute;top: 0;right: 0;">+</text></view>
</view>
<view class="flex_spa-be">
<view class="merchant_num">服务门店·{{item.outputValueType == 1 ? item.outputValueStats.length : item.constructionStats.length}}家</view>
...
...
@@ -44,11 +44,11 @@
</view>
<block wx:for="{{item.outputValueStats}}" wx:for-index="subIndex" wx:for-item="subItem" wx:key="subIndex">
<view hidden="{{subIndex >= 3 && !item.showMore}}" class="item_content">
<view class="merchant_item flex_spa-arr" style="{{(item.outputValueStats.length > 3 &&
!item.showMore && subIndex == 2) || (item.outputValueStats.length > 3 &&
item.showMore && subIndex == (item.outputValueStats.length - 1)) || (item.outputValueStats.length <= 3 && subIndex == (item.outputValueStats.length - 1)) ? 'border:none;' : ''}}">
<view class="merchant_item flex_spa-arr" style="{{(item.outputValueStats.length > 3 &&
(!item.showMore && subIndex == 2) ||
item.showMore && subIndex == (item.outputValueStats.length - 1)) || (item.outputValueStats.length <= 3 && subIndex == (item.outputValueStats.length - 1)) ? 'border:none;' : ''}}">
<view class="flex_3 name flex">{{subItem.shopMerchantName}}</view>
<view class="flex_2 flex">
<view class="font_wei700">{{'
¥
' + filter.money_three_for_two_thousands(subItem.totalOrderMoney || '0.00', true)}}</view>
<view class="font_wei500">{{'
¥
' + filter.money_three_for_two_thousands(subItem.customerUnitPrice || '0.00', true)}}</view>
<view class="font_wei700">{{'
¥
' + filter.money_three_for_two_thousands(subItem.totalOrderMoney || '0.00', true)}}</view>
<view class="font_wei500">{{'
¥
' + filter.money_three_for_two_thousands(subItem.customerUnitPrice || '0.00', true)}}</view>
</view>
<view class="flex_1 flex">
<view class="font_wei700">{{subItem.orderCount}}单</view>
...
...
@@ -73,16 +73,16 @@
</view>
<block wx:for="{{item.constructionStats}}" wx:for-index="subIndex" wx:for-item="subItem" wx:key="subIndex">
<view hidden="{{subIndex >= 3 && !item.showMore}}" class="item_content">
<view class="merchant_item flex_spa-arr" style="{{(item.outputValueStats.length > 3 &&
!item.showMore && subIndex == 2) || (item.outputValueStats.length > 3 &&
item.showMore && subIndex == (item.outputValueStats.length - 1)) || (item.outputValueStats.length <= 3 && subIndex == (item.outputValueStats.length - 1)) ? 'border:none;' : ''}}">
<view class="merchant_item flex_spa-arr" style="{{(item.outputValueStats.length > 3 &&
(!item.showMore && subIndex == 2) ||
item.showMore && subIndex == (item.outputValueStats.length - 1)) || (item.outputValueStats.length <= 3 && subIndex == (item.outputValueStats.length - 1)) ? 'border:none;' : ''}}">
<view class="flex_3 name flex">{{subItem.shopMerchantName}}</view>
<view class="flex_2 flex">
<view class="font_wei700">升级膜{{subItem.upgradeConstructionCount || '-'}}台/次</view>
<view class="font_wei400">赠送膜{{subItem.notUpgradeConstructionCount || '-'}}台/次</view>
</view>
<view class="flex_1 flex">
<view class="font_wei700" wx:if="{{subItem.upgradeIncentiveFee && subItem.upgradeConstructionCount}}">
¥
{{subItem.upgradeIncentiveFee}}X{{subItem.upgradeConstructionCount}}</view>
<view class="font_wei700" wx:if="{{subItem.upgradeIncentiveFee && subItem.upgradeConstructionCount}}">
¥
{{subItem.upgradeIncentiveFee}}X{{subItem.upgradeConstructionCount}}</view>
<view class="font_wei700" wx:if="{{!subItem.upgradeIncentiveFee || !subItem.upgradeConstructionCount}}">-</view>
<view class="font_wei400" wx:if="{{subItem.notUpgradeIncentiveFee && subItem.notUpgradeConstructionCount}}">
¥
{{subItem.notUpgradeIncentiveFee}}X{{subItem.notUpgradeConstructionCount}}</view>
<view class="font_wei400" wx:if="{{subItem.notUpgradeIncentiveFee && subItem.notUpgradeConstructionCount}}">
¥
{{subItem.notUpgradeIncentiveFee}}X{{subItem.notUpgradeConstructionCount}}</view>
<view class="font_wei400" wx:if="{{!subItem.notUpgradeIncentiveFee || !subItem.notUpgradeConstructionCount}}">-</view>
</view>
</view>
...
...
pages/tab/outputValue/components/merchant/merchant.js
View file @
52e2980
...
...
@@ -23,8 +23,8 @@ Component({
},
tabBarStyle
:
{
type
:
Number
,
observer
:
function
(
n
)
{
if
(
n
)
this
.
setData
({
emptyDataStyle
:
`height: calc(100vh -
${
n
}
px - 88rpx - 24rpx)`
})
observer
:
function
(
n
)
{
if
(
n
)
this
.
setData
({
emptyDataStyle
:
`height: calc(100vh -
${
n
}
px - 88rpx - 24rpx)`
})
}
}
},
...
...
@@ -234,7 +234,7 @@ Component({
let
_currentDate
=
new
Date
()
// 获取前n个月的日期
let
_endMonthDate
=
new
Date
()
let
searchStart
=
''
let
searchStart
=
startTime
?
new
Date
(
startTime
.
replace
(
/-/g
,
'/'
))
:
''
// 翻页
if
(
startYearMonth
&&
endYearMonth
)
{
_currentDate
=
new
Date
(
startYearMonth
)
...
...
@@ -242,7 +242,8 @@ Component({
}
else
if
(
startTime
&&
endTime
)
{
_currentDate
=
new
Date
(
endTime
.
replace
(
/-/g
,
'/'
))
_endMonthDate
=
new
Date
(
endTime
.
replace
(
/-/g
,
'/'
))
searchStart
=
new
Date
(
startTime
.
replace
(
/-/g
,
'/'
))
console
.
log
(
_currentDate
,
'_currentDate---'
)
console
.
log
(
_endMonthDate
,
'_endMonthDate---'
)
}
_endMonthDate
.
setMonth
(
_currentDate
.
getMonth
()
-
monthInterval
)
let
_startMonthDate
=
new
Date
(
isReset
?
_currentDate
:
_endMonthDate
)
...
...
@@ -258,7 +259,7 @@ Component({
getMerchantList
(
isReset
=
false
)
{
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
searchForm
,
merchantList
,
isAsk
}
=
this
.
data
if
(
isAsk
)
{
if
(
isAsk
)
{
return
true
}
this
.
setData
({
...
...
pages/tab/outputValue/components/merchant/merchant.scss
View file @
52e2980
...
...
@@ -8,19 +8,12 @@
padding
:
0
16rpx
;
}
.merchant-content
{
// margin: 0 16rpx;
margin-bottom
:
44rpx
;
}
.btn-box
{
padding
-bottom
:
44
rpx
;
padding
:
40rpx
0
60
rpx
;
}
.btn
{
width
:
256rpx
;
height
:
80rpx
;
line-height
:
80rpx
;
font-size
:
24rpx
;
color
:
#5A6066
;
text-align
:
center
;
...
...
@@ -31,5 +24,5 @@
font-size
:
24rpx
;
text-align
:
center
;
color
:
#CCCED1
;
padding
-bottom
:
60rpx
;
padding
:
40rpx
0
60rpx
;
}
\ No newline at end of file
pages/tab/outputValue/components/merchant/merchant.wxml
View file @
52e2980
...
...
@@ -2,7 +2,7 @@
<scroll-view class="merchant" id="scroller" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindrefresherrefresh="merchantRefresh" lower-threshold='50' scroll-top="{{busiScrollTop}}">
<!-- 全部 - 服务商总产值 -->
<service-total wx:if="{{merchantList.length}}" serviceName="{{serviceName}}" totalObj="{{totalObj}}"></service-total>
<view wx:for="{{merchantList}}" wx:key="index"
class="merchant-content"
>
<view wx:for="{{merchantList}}" wx:key="index">
<!-- 全部 -->
<merchant-all wx:if="{{!searchForm.sceneType}}" curInfo="{{item}}" searchForm="{{searchForm}}"></merchant-all>
<!-- 指定场景:太阳膜,售后众筹,会员权益/升级 -->
...
...
pages/tab/outputValue/components/merchantCom/MerchantScene/MerchantScene.wxml
View file @
52e2980
...
...
@@ -22,9 +22,7 @@
<view wx:for="{{sceneTopList}}" wx:key="index" class="top-right-box">
<view class="label">{{item.label}}</view>
<view class="num-grey">
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>
{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData[item.name] || 0)}}
<text wx:if="{{item.suffix}}">{{item.suffix}}</text>
<text wx:if="{{item.prefix}}">{{item.prefix}}</text>{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData[item.name] || 0)}}<text wx:if="{{item.suffix}}">{{item.suffix}}</text>
</view>
</view>
</view>
...
...
@@ -69,9 +67,7 @@
<view wx:for="{{sceneFormList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx" class="cur-block {{sceneObj.name}}">
<view class="label">{{subItem.label}}</view>
<view class="num">
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>
{{filter.money_three_for_two_thousands(item.curDayTotalData[subItem.name] || 0)}}
<text wx:if="{{subItem.suffix}}">{{subItem.suffix}}</text>
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>{{filter.money_three_for_two_thousands(item.curDayTotalData[subItem.name] || 0)}}<text wx:if="{{subItem.suffix}}">{{subItem.suffix}}</text>
</view>
</view>
</view>
...
...
@@ -86,9 +82,7 @@
<view wx:for="{{sceneFormList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx" class="cur-block {{sceneObj.name}}">
<view wx:if="{{currentMonth != curInfo.yearMonth}}" class="label">{{subItem.label}}</view>
<view class="num">
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>
{{filter.money_three_for_two_thousands(item.curMonthTotalData[0][subItem.name] || 0)}}
<text wx:if="{{subItem.suffix}}">{{subItem.suffix}}</text>
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>{{filter.money_three_for_two_thousands(item.curMonthTotalData[0][subItem.name] || 0)}}<text wx:if="{{subItem.suffix}}">{{subItem.suffix}}</text>
</view>
</view>
</view>
...
...
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.scss
View file @
52e2980
...
...
@@ -215,12 +215,8 @@
.label
{
font-size
:
28rpx
;
color
:
#323436
;
margin-bottom
:
16rpx
;
}
.label.num-grey
{
color
:
#8A8C90
;
margin-bottom
:
16rpx
;
}
.icon-arrow
{
...
...
pages/tab/outputValue/components/merchantCom/merchantAll/merchantAll.wxml
View file @
52e2980
...
...
@@ -35,7 +35,7 @@
<view class="list-content">
<view class="flex">
<view wx:for="{{sceneFormList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx" class="cur-block">
<view class="label
num-grey
flex-center">
<view class="label flex-center">
{{subItem.label}}
<glsx-image src="output/icon-arrow-right.png" class="icon-arrow" />
</view>
...
...
pages/tab/outputValue/components/selectMerchantPopup/selectMerchantPopup.scss
View file @
52e2980
...
...
@@ -42,8 +42,8 @@
color
:
rgba
(
200
,
201
,
204
,
.89
);
}
.search-icon
{
width
:
2
8rpx
;
height
:
2
8rpx
;
width
:
4
8rpx
;
height
:
4
8rpx
;
}
.search-clear
{
width
:
36rpx
;
...
...
@@ -54,6 +54,7 @@
font-size
:
28rpx
;
width
:
calc
(
100%
-
136rpx
);
margin-left
:
10rpx
;
text-align
:
left
;
}
}
}
...
...
@@ -68,6 +69,8 @@
width
:
100%
;
height
:
80rpx
;
color
:
#323436
;
font-size
:
28rpx
;
font-weight
:
normal
;
line-height
:
80rpx
;
padding
:
0
32rpx
;
}
...
...
pages/tab/outputValue/outputValue.js
View file @
52e2980
...
...
@@ -39,7 +39,7 @@ Page({
isShowFilterScreen
:
false
})
this
.
childEle
=
this
.
selectComponent
(
'#screenBox'
)
this
.
childEle
.
filter
TypeFn
()
this
.
childEle
.
hide
TypeFn
()
},
// 切换园区
tapPicker
()
{
...
...
@@ -170,11 +170,7 @@ Page({
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{
wx
.
pro
.
showTabBar
({
animation
:
true
})
},
onHide
()
{},
/**
* 生命周期函数--监听页面卸载
...
...
pages/tab/outputValue/outputValue.scss
View file @
52e2980
...
...
@@ -33,6 +33,19 @@
height
:
34rpx
;
}
.bg_iamge
{
width
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
z-index
:
-1
;
.image_class
{
background-color
:
#fff
;
width
:
100%
;
height
:
100%
;
}
}
.layout
{
box-sizing
:
border-box
;
position
:
relative
;
...
...
@@ -45,19 +58,19 @@
height
:
100vh
;
overflow
:
hidden
;
&
:
:
after
{
content
:
''
;
width
:
100%
;
// height: 486rpx;
height
:
264rpx
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/background.png')
no-repeat
;
background-size
:
100%
100%
;
background-color
:
#fff
;
position
:
absolute
;
left
:
0
;
top
:
0
;
z-index
:
-1
;
}
//
&::after {
//
content: '';
//
width: 100%;
//
// height: 486rpx;
//
height: 264rpx;
//
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/background.png') no-repeat;
//
background-size: 100% 100%;
//
background-color: #fff;
//
position: absolute;
//
left: 0;
//
top: 0;
//
z-index: -1;
//
}
.tabContainer
{
// height: 100rpx;
...
...
pages/tab/outputValue/outputValue.wxml
View file @
52e2980
...
...
@@ -3,7 +3,7 @@
<block>
<tab wx:if="{{!isShowFilterScreen}}" noLine="{{true}}" tab="{{tabList}}" itemWidth="{{'136rpx'}}" tabBoxStyle="{{tabBoxStyle}}" index="{{tabIndx}}" unreadClueCount="{{unreadClueCount}}" bindclick="changeTabIndx" class="tabContainer" />
<view class="screen_box">
<screen-box id="screenBox" formData="{{screenFormData}}" tabType="{{tabIndx}}" tabBarStyle="{{tabBarStyle}}" isShowFilterScreen="{{isShowFilterScreen}}" bindconfirm="screenConfirm"></screen-box>
<screen-box id="screenBox" formData="{{screenFormData}}"
statusBarHeight="{{statusBarHeight}}" navigationBarHeight="{{navigationBarHeight}}"
tabType="{{tabIndx}}" tabBarStyle="{{tabBarStyle}}" isShowFilterScreen="{{isShowFilterScreen}}" bindconfirm="screenConfirm"></screen-box>
</view>
</block>
<block wx:if="{{isShowFilterScreen}}">
...
...
@@ -13,6 +13,9 @@
<view>筛选</view>
</block>
</navigation-bar>
<view class="bg_iamge" style="height: calc({{statusBarHeight + navigationBarHeight}}px + 88rpx);">
<glsx-image src="{{'output/background.png'}}" class="image_class" />
</view>
<view class="layout" style="padding-top:calc({{statusBarHeight + navigationBarHeight}}px + 88rpx);">
<!-- 我的门店 -->
<view class="comCom" hidden="{{tabIndx != 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