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 1c6c6811
authored
Nov 09, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
活动汇总样式
1 parent
ccbc5a7b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
65 deletions
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.js
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.js
View file @
1c6c681
...
@@ -68,9 +68,8 @@ Component({
...
@@ -68,9 +68,8 @@ Component({
],
],
tableHeadList
:
[
tableHeadList
:
[
{
{
label
:
''
,
label
:
'rankIdx'
,
width
:
''
,
width
:
'40rpx'
width
:
'28rpx'
},
},
{
{
label
:
'业务员'
,
label
:
'业务员'
,
...
...
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
View file @
1c6c681
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
border-radius
:
20rpx
;
border-radius
:
20rpx
;
margin-top
:
16rpx
;
margin-top
:
16rpx
;
.rank-
head
{
.rank-
title
{
position
:
relative
;
position
:
relative
;
height
:
52rpx
;
height
:
52rpx
;
line-height
:
52rpx
;
line-height
:
52rpx
;
...
@@ -143,12 +143,12 @@
...
@@ -143,12 +143,12 @@
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
border-bottom
:
1rpx
solid
rgba
(
204
,
206
,
209
,
0
.50
);
border-bottom
:
1rpx
solid
rgba
(
204
,
206
,
209
,
0
.50
);
.activity-status
{
//
.activity-status {
position
:
absolute
;
//
position: absolute;
top
:
0
;
//
top: 0;
right
:
22rpx
;
//
right: 22rpx;
font-size
:
24rpx
;
//
font-size: 24rpx;
}
//
}
}
}
.rank-table
{
.rank-table
{
...
@@ -156,23 +156,32 @@
...
@@ -156,23 +156,32 @@
font-size
:
20rpx
;
font-size
:
20rpx
;
padding-left
:
20rpx
;
padding-left
:
20rpx
;
.
tr
{
.
rank
{
display
:
flex
;
display
:
flex
;
height
:
32rpx
;
height
:
64rpx
;
line-height
:
32rpx
;
padding-bottom
:
16rpx
;
padding-bottom
:
16rpx
;
.th
,
&
-num
{
.td
{
width
:
40rpx
;
width
:
calc
((
100%
-
116rpx
)
/
4
);
line-height
:
64rpx
;
.icon-rank
{
width
:
24rpx
;
height
:
24rpx
;
vertical-align
:
middle
;
padding-right
:
4rpx
;
}
}
.rank-head
{
width
:
64rpx
;
height
:
64rpx
;
}
}
// .th,
// .td {
// width: calc((100% - 116rpx) / 4);
// .icon-rank {
// width: 24rpx;
// height: 24rpx;
// vertical-align: middle;
// padding-right: 4rpx;
// }
// }
}
}
.tr-no-data
{
.tr-no-data
{
...
...
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
View file @
1c6c681
...
@@ -22,12 +22,7 @@
...
@@ -22,12 +22,7 @@
<view class="down-tips" wx:if="{{index == 0 && isShowTip}}">下载活动海报分享给门店开展活动</view>
<view class="down-tips" wx:if="{{index == 0 && isShowTip}}">下载活动海报分享给门店开展活动</view>
</view>
</view>
<view class="content">
<view class="content">
<view
<view class="content-row" wx:for="{{merchantFormList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
class="content-row"
wx:for="{{merchantFormList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
<view class="content-label">{{subItem.label}}</view>
<view class="content-label">{{subItem.label}}</view>
<view class="content-txt {{subItem.className}}">
<view class="content-txt {{subItem.className}}">
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>
...
@@ -35,9 +30,10 @@
...
@@ -35,9 +30,10 @@
</view>
</view>
</view>
</view>
<!-- 排名 -->
<!-- 排名 -->
<view class="content-rank">
<view class="content-rank" wx:if="{{item.showStaffList.length}}">
<view class="rank-head">
<view class="rank-title">员工任务排名</view>
<view>员工转发数据排名</view>
<!-- <view class="rank-head">
<view>员工任务排名</view>
<view class="activity-status" wx:if="{{item.activityStatus == 1}}">
<view class="activity-status" wx:if="{{item.activityStatus == 1}}">
距离开始{{item.interDays}}天
距离开始{{item.interDays}}天
</view>
</view>
...
@@ -47,33 +43,17 @@
...
@@ -47,33 +43,17 @@
<view class="activity-status" wx:if="{{item.activityStatus == 3 && item.interDays < 8}}">
<view class="activity-status" wx:if="{{item.activityStatus == 3 && item.interDays < 8}}">
已结束{{item.interDays}}天
已结束{{item.interDays}}天
</view>
</view>
</view>
</view>
-->
<view class="rank-table">
<!--
<view class="rank-table">
<view class="tr">
<view class="tr">
<view
<view class="th" style="width: {{subItem.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
class="th"
style="width: {{subItem.width || ''}};"
wx:for="{{tableHeadList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
{{subItem.label}}
{{subItem.label}}
</view>
</view>
</view>
</view>
<view wx:if="{{item.showStaffList.length}}">
<view>
<block
<block wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
wx:for="{{item.showStaffList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
<view class="tr">
<view class="tr">
<view
<view class="td text-hide" style="width: {{i.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="i" wx:for-index="j" wx:key="j">
class="td text-hide"
style="width: {{i.width || ''}};"
wx:for="{{tableHeadList}}"
wx:for-item="i"
wx:for-index="j"
wx:key="j">
<view wx:if="{{j == 0 && idx < 3}}">
<view wx:if="{{j == 0 && idx < 3}}">
<image class="icon-rank" src="{{IMGURL}}output/rank0{{idx + 1}}.png?v={{img_version}}" />
<image class="icon-rank" src="{{IMGURL}}output/rank0{{idx + 1}}.png?v={{img_version}}" />
</view>
</view>
...
@@ -82,15 +62,37 @@
...
@@ -82,15 +62,37 @@
</view>
</view>
</view>
</view>
</block>
</block>
<view
<view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">
wx:if="{{item.staffList.length}}"
class="btn-more"
bindtap="handleMore"
data-idx="{{index}}">
查看更多
查看更多
</view>
</view>
</view>
</view>
<view class="tr-no-data" wx:else>暂无数据</view>
</view> -->
<view class="rank-table">
<block wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="rank">
<view class="rank-num">{{idx + 1}}</view>
<glsx-image class="rank-head" src="output/icon-head.webp"></glsx-image>
<view>
<view>
<text>{{subItem.shareName}}</text>
<text>运营部</text>
</view>
<view>
<text>访客</text>
<text>成交</text>
</view>
</view>
<view>¥{{subItem.totalAmount}}</view>
<!-- <view class="td text-hide" style="width: {{i.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="i" wx:for-index="j" wx:key="j">
<view wx:if="{{j == 0}}">{{idx + 1}}</view>
<text wx:if="{{i.prefix}}">{{i.prefix}}</text>
{{subItem[i.name]}}
</view> -->
</view>
</block>
<view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">
查看更多
</view>
</view>
</view>
</view>
</view>
<!-- 诊断 -->
<!-- 诊断 -->
...
@@ -101,12 +103,7 @@
...
@@ -101,12 +103,7 @@
{{item.suggestTxt}}推荐以下建议:
{{item.suggestTxt}}推荐以下建议:
</view>
</view>
<view class="suggest-block">
<view class="suggest-block">
<view
<view class="suggest-step" wx:for="{{item.suggestList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
class="suggest-step"
wx:for="{{item.suggestList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
<view class="step-label">建议{{idx + 1}}</view>
<view class="step-label">建议{{idx + 1}}</view>
<view class="step-txt">{{subItem}}</view>
<view class="step-txt">{{subItem}}</view>
</view>
</view>
...
...
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