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