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 f3e23b90
authored
Aug 28, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改
1 parent
35047fe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
20 deletions
pages/tab/outputValue/components/employees/employess.scss
pages/tab/outputValue/components/employees/employess.wxml
pages/tab/outputValue/components/employees/employess.scss
View file @
f3e23b9
...
...
@@ -132,12 +132,18 @@
width
:
314rpx
;
padding-right
:
52rpx
;
}
.font_wei
{
.font_wei
700
{
font-size
:
28rpx
;
font-weight
:
700
;
color
:
#323436
;
margin-bottom
:
8rpx
;
}
.font_wei500
{
font-weight
:
500
;
}
.font_wei400
{
font-weight
:
400
;
}
.name
{
font-size
:
26rpx
;
color
:
#323436
;
...
...
pages/tab/outputValue/components/employees/employess.wxml
View file @
f3e23b9
...
...
@@ -10,7 +10,7 @@
refresher-threshold="104"
scroll-top="{{scrollTop}}"
class="list"
style="height: {{searchFormData.startTime && searchFormData.endTime ? 'calc(100
vh
- 48rpx)' : '100%'}}"
style="height: {{searchFormData.startTime && searchFormData.endTime ? 'calc(100
%
- 48rpx)' : '100%'}}"
refresher-triggered="{{triggered}}">
<view class="empty_box"></view>
<block wx:for="{{dataList}}" wx:key="index">
...
...
@@ -40,18 +40,20 @@
<view class="title flex_spa-arr">
<view class="flex_3 flex">服务门店</view>
<view class="flex_2 flex">产值/客单价</view>
<view class="flex_1
padd_r16
flex">订单/转化率</view>
<view class="flex_1 flex">订单/转化率</view>
</view>
<block wx:for="{{item.outputValueStats}}" wx:for-index="subIndex" wx:for-item="subItem" wx:key="subIndex">
<view class="merchant_item flex_spa-arr" wx:if="{{subIndex < 3 || item.showMore}}" style="{{(item.outputValueStats.length > 3 && !item.showMore && subIndex == 2) || (item.outputValueStats.length > 3 && item.showMore && subIndex == (item.outputValueStats.length - 1)) ? 'border:none;' : ''}}">
<view class="flex_3 name flex">{{subItem.shopMerchantName}}</view>
<view class="flex_2 flex">
<view class="font_wei">{{'¥' + filter.money_three_for_two_thousands(subItem.totalOrderMoney || '0.00', true)}}</view>
<view>{{'¥' + filter.money_three_for_two_thousands(subItem.customerUnitPrice || '0.00', true)}}</view>
</view>
<view class="flex_1 padd_r16 flex">
<view class="font_wei">{{subItem.orderCount}}单</view>
<view>{{subItem.conversionRate}}%</view>
<view hidden="{{subIndex >= 3 && !item.showMore}}">
<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)) ? '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>
<view class="flex_1 flex">
<view class="font_wei700">{{subItem.orderCount}}单</view>
<view class="font_wei500">{{subItem.conversionRate}}%</view>
</view>
</view>
</view>
<view class="showMore" wx:if="{{subIndex >= 3 && subIndex === (item.outputValueStats.length - 1) && !item.showMore}}" bindtap="showMore" data-index="{{index}}" data-flag="{{true}}">
...
...
@@ -67,20 +69,20 @@
<view class="title flex_spa-arr" >
<view class="flex_3 flex">服务门店</view>
<view class="flex_2 flex">订单台次</view>
<view class="flex_1
padd_r16
flex">激励费</view>
<view class="flex_1 flex">激励费</view>
</view>
<block wx:for="{{item.constructionStats}}" wx:for-index="subIndex" wx:for-item="subItem" wx:key="subIndex">
<view class="merchant_item flex_spa-arr" style="{{item.constructionStats.length > 3 && !item.showMore && subIndex == 2 ? 'border:none;' : ''}}" wx:if="{{subIndex < 3 || item.showMore}}">
<view class="flex_3 name flex">{{subItem.shopMerchantName}}</view>
<view class="flex_2 flex">
<view class="font_wei">升级膜{{subItem.upgradeConstructionCount || '-'}}台/次</view>
<view>赠送膜{{subItem.notUpgradeConstructionCount || '-'}}台/次</view>
<view class="font_wei
700
">升级膜{{subItem.upgradeConstructionCount || '-'}}台/次</view>
<view
class="font_wei400"
>赠送膜{{subItem.notUpgradeConstructionCount || '-'}}台/次</view>
</view>
<view class="flex_1
padd_r16
flex">
<view class="font_wei" wx:if="{{subItem.upgradeIncentiveFee}}">¥{{subItem.upgradeIncentiveFee}}X{{subItem.upgradeConstructionCount}}</view>
<view class="font_wei" wx:if="{{!subItem.upgradeIncentiveFee}}">-</view>
<view wx:if="{{subItem.notUpgradeIncentiveFee}}">¥{{subItem.notUpgradeIncentiveFee}}X{{subItem.notUpgradeConstructionCount}}</view>
<view wx:if="{{!subItem.notUpgradeIncentiveFee}}">-</view>
<view class="flex_1 flex">
<view class="font_wei
700
" wx:if="{{subItem.upgradeIncentiveFee}}">¥{{subItem.upgradeIncentiveFee}}X{{subItem.upgradeConstructionCount}}</view>
<view class="font_wei
700
" wx:if="{{!subItem.upgradeIncentiveFee}}">-</view>
<view
class="font_wei400"
wx:if="{{subItem.notUpgradeIncentiveFee}}">¥{{subItem.notUpgradeIncentiveFee}}X{{subItem.notUpgradeConstructionCount}}</view>
<view
class="font_wei400"
wx:if="{{!subItem.notUpgradeIncentiveFee}}">-</view>
</view>
</view>
<view class="showMore" wx:if="{{subIndex >= 3 && subIndex === (item.constructionStats.length - 1) && !item.showMore}}" bindtap="showMore" data-index="{{index}}">
...
...
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