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 6f9c2e23
authored
Nov 09, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
增加埋点
2 parents
4e2b90b1
b2f40fe8
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
98 additions
and
25 deletions
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
pages/tab/index/components/indexClue/indexClue.js
pages/tab/index/components/product/product.js
pages/tab/index/index.js
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.scss
View file @
6f9c2e2
...
@@ -132,15 +132,15 @@
...
@@ -132,15 +132,15 @@
background
:
#F7F8FC
;
background
:
#F7F8FC
;
border-radius
:
20rpx
;
border-radius
:
20rpx
;
margin-top
:
16rpx
;
margin-top
:
16rpx
;
padding
:
0
12rpx
;
.rank-title
{
.rank-title
{
position
:
relative
;
position
:
relative
;
height
:
5
2rpx
;
height
:
7
2rpx
;
line-height
:
5
2rpx
;
line-height
:
7
2rpx
;
text-align
:
center
;
text-align
:
center
;
font-size
:
20rpx
;
font-size
:
20rpx
;
color
:
#5A6066
;
color
:
#5A6066
;
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 {
...
@@ -154,21 +154,79 @@
...
@@ -154,21 +154,79 @@
.rank-table
{
.rank-table
{
color
:
#5A6066
;
color
:
#5A6066
;
font-size
:
20rpx
;
font-size
:
20rpx
;
padding-left
:
20rpx
;
.rank
{
.rank
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
height
:
64rpx
;
height
:
64rpx
;
padding-bottom
:
16rpx
;
padding
:
20rpx
16rpx
;
border-bottom
:
1rpx
dotted
rgba
(
204
,
206
,
209
,
0
.50
);
.rank-left
{
display
:
flex
;
}
&
-num
{
&
-num
{
width
:
40rpx
;
width
:
40rpx
;
line-height
:
64rpx
;
line-height
:
64rpx
;
text-align
:
center
;
}
}
.rank-head
{
.rank-head
{
width
:
64rpx
;
width
:
64rpx
;
height
:
64rpx
;
height
:
64rpx
;
margin-right
:
12rpx
;
}
.rank-content
{
font-size
:
20rpx
;
.rank-row
{
display
:
flex
;
height
:
32rpx
;
line-height
:
32rpx
;
margin-bottom
:
8rpx
;
&
-name
{
font-size
:
24rpx
;
color
:
#3666FE
;
margin-right
:
12rpx
;
}
&
-dept
{
color
:
#8A8C90
;
}
&
-txt
{
color
:
rgba
(
90
,
96
,
102
,
1
);
padding
:
0
10rpx
0
0
;
}
&
-txt
:
:
after
{
display
:
inline-block
;
content
:
''
;
background-color
:
#CCCED1
;
width
:
1
.2rpx
;
height
:
54%
;
margin-left
:
10rpx
;
}
&
-txt
:last-child::after
{
background-color
:
transparent
;
}
}
.rank-row
:last-child
{
margin-bottom
:
0
;
}
}
.rank-price
{
text-align
:
right
;
font-size
:
26rpx
;
color
:
#F35251
;
height
:
64rpx
;
line-height
:
64rpx
;
}
}
// .th,
// .th,
...
@@ -184,6 +242,10 @@
...
@@ -184,6 +242,10 @@
// }
// }
}
}
.rank
:last-child
{
border
:
none
;
}
.tr-no-data
{
.tr-no-data
{
text-align
:
center
;
text-align
:
center
;
height
:
32rpx
;
height
:
32rpx
;
...
@@ -194,11 +256,16 @@
...
@@ -194,11 +256,16 @@
.btn-more
{
.btn-more
{
height
:
56rpx
;
height
:
56rpx
;
line-height
:
56rpx
;
line-height
:
56rpx
;
color
:
#5A6066
;
//
color: #5A6066;
border
:
2rpx
solid
#EEEEEE
;
//
border: 2rpx solid #EEEEEE;
border-radius
:
28rpx
;
//
border-radius: 28rpx;
text-align
:
center
;
text-align
:
center
;
margin
:
0
20rpx
16rpx
;
margin
:
0
20rpx
;
.icon-more
{
width
:
92rpx
;
height
:
36rpx
;
}
}
}
}
}
}
}
...
...
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.wxml
View file @
6f9c2e2
...
@@ -68,30 +68,32 @@
...
@@ -68,30 +68,32 @@
</view>
</view>
</view> -->
</view> -->
<view class="rank-table">
<view class="rank-table">
<
block
wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<
view
wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view class="rank">
<view class="rank">
<view class="rank-left">
<view class="rank-num">{{idx + 1}}</view>
<view class="rank-num">{{idx + 1}}</view>
<glsx-image class="rank-head" src="output/icon-head.webp"></glsx-image>
<glsx-image class="rank-head" src="output/icon-head.webp"></glsx-image>
<view
>
<view class="rank-content"
>
<view
>
<view class="rank-row"
>
<text
>{{subItem.shareName}}</text>
<text class="rank-row-name"
>{{subItem.shareName}}</text>
<text
>运营部</text>
<text class="rank-row-dept"
>运营部</text>
</view>
</view>
<view
>
<view class="rank-row"
>
<text>访客
</text>
<text class="rank-row-txt">访客136人
</text>
<text
>成交</text>
<text class="rank-row-txt"
>成交</text>
</view>
</view>
</view>
</view>
<view>¥{{subItem.totalAmount}}</view>
</view>
<view class="rank-price">¥ {{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 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>
<view wx:if="{{j == 0}}">{{idx + 1}}</view>
<text wx:if="{{i.prefix}}">{{i.prefix}}</text>
<text wx:if="{{i.prefix}}">{{i.prefix}}</text>
{{subItem[i.name]}}
{{subItem[i.name]}}
</view> -->
</view> -->
</view>
</view>
</
block
>
</
view
>
<view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">
<view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">
查看更多
<glsx-image class="icon-more" src="output/icon-more.webp"></glsx-image>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/tab/index/components/indexClue/indexClue.js
View file @
6f9c2e2
...
@@ -325,11 +325,12 @@ Component({
...
@@ -325,11 +325,12 @@ Component({
// sceneCodeList: ['SC001', 'SC002','SC003','SC004']
// sceneCodeList: ['SC001', 'SC002','SC003','SC004']
};
};
//申请活动
//申请活动
wx
.
$router
.
go
(
"packageOutput.openBusiness"
,
params
);
// wx.$router.go("packageOutput.openBusiness", params);
wx
.
$router
.
go
(
"/packagesList/packageOutput/pages/openBusiness"
,
params
);
}
else
{
}
else
{
//申请门店
//申请门店
// let { type, item } = e.currentTarget.dataset
// let { type, item } = e.currentTarget.dataset
wx
.
$router
.
go
(
"apply"
,
item
?.
clueId
||
""
);
wx
.
$router
.
go
(
"
/packagesList/apply/pages/
apply"
,
item
?.
clueId
||
""
);
}
}
// wx.$router.go('apply',1235)
// wx.$router.go('apply',1235)
},
},
...
...
pages/tab/index/components/product/product.js
View file @
6f9c2e2
...
@@ -280,16 +280,15 @@ Component({
...
@@ -280,16 +280,15 @@ Component({
imgTopArr
,
imgTopArr
,
stickyTop
stickyTop
}
=
this
.
data
;
}
=
this
.
data
;
console
.
log
(
"idx: "
,
imgTopArr
[
idx
],
stickyTop
);
//
console.log("idx: ", imgTopArr[idx], stickyTop);
// this.setData({
// this.setData({
// intoViewId: `to-${idx}`,
// intoViewId: `to-${idx}`,
// });
// });
// wx.$eventbus.emit('evt_page_index',idx)
// wx.$eventbus.emit('evt_page_index',idx)
//判断当前路径
//判断当前路径
let
currentUrl
=
this
.
getCurrentPageUrl
();
let
currentUrl
=
this
.
getCurrentPageUrl
();
console
.
log
(
'currentUrl: '
,
currentUrl
);
//
console.log('currentUrl: ', currentUrl);
if
(
currentUrl
==
"/pages/tab/index/index"
)
{
if
(
currentUrl
==
"/pages/tab/index/index"
)
{
console
.
log
(
123546
)
wx
.
pageScrollTo
({
wx
.
pageScrollTo
({
// scrollTop: imgTopArr[idx] - stickyTop + 88 + 34
// scrollTop: imgTopArr[idx] - stickyTop + 88 + 34
scrollTop
:
imgTopArr
[
idx
]
-
stickyTop
+
44
+
36
scrollTop
:
imgTopArr
[
idx
]
-
stickyTop
+
44
+
36
...
...
pages/tab/index/index.js
View file @
6f9c2e2
...
@@ -490,6 +490,10 @@ Page({
...
@@ -490,6 +490,10 @@ Page({
getVideoUrl
(
params
){
getVideoUrl
(
params
){
this
.
setData
(
params
)
this
.
setData
(
params
)
},
},
//申请活动
gotoApply
(){
wx
.
$router
.
go
(
"/packagesList/apply/pages/apply"
);
},
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
...
...
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