Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
f0b80869
Commit
f0b80869
authored
Sep 04, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
666666
parent
cb184cf4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
100 additions
and
2 deletions
+100
-2
xingmaLab.less
pages/xingmaLab/xingmaLab.less
+11
-1
xingmaLab.vue
pages/xingmaLab/xingmaLab.vue
+10
-1
Integral.vue
views/Integral.vue
+79
-0
No files found.
pages/xingmaLab/xingmaLab.less
View file @
f0b80869
...
...
@@ -80,10 +80,20 @@
margin-left: 22rpx;
width: 707rpx;
height:auto;
.item_cangguan_img{
.item_cangguan_img
1
{
width: 100%;
height: auto;
.item_cangguan_img{
width: 100%;
height: auto;
}
// .item_cangguan_img_up{
// width: 90%;
// height: 90%;
// }
}
.item_cangguan_bottom{
position: absolute;
margin-top: -104rpx;
...
...
pages/xingmaLab/xingmaLab.vue
View file @
f0b80869
...
...
@@ -23,7 +23,16 @@
<view
v-for=
"(item, index) in cangguanList"
:key=
"index"
class=
"item_cangguan"
@
click=
"handleItemClick_cangguan(item, index)"
>
<image
class=
"item_cangguan_img"
:src=
"`$
{item.imgUrl}`" mode="widthFix" />
<!--
<image
class=
"item_cangguan_img"
:src=
"`$
{item.imgUrl}`" mode="widthFix">
<image
class=
"item_cangguan_img_up"
:src=
"`$
{item.imgUrl}`" mode="widthFix">
</image>
</image>
-->
<view
class=
"item_cangguan_img1"
:style=
"`background-image: url($
{item.imgUrl}); background-size: 707rpx auto; background-repeat: no-repeat;`"
mode="widthFix">
<image
class=
"item_cangguan_img"
:src=
"`$
{item.imgUrl}`" mode="widthFix">
</image>
<!--
<image
class=
"item_cangguan_img_up"
:src=
"`$
{item.imgUrl}`" mode="widthFix">
</image>
-->
</view>
<view
class=
"item_cangguan_bottom"
>
<view
class=
"item_cangguan_bottom_bg"
>
</view>
...
...
views/Integral.vue
View file @
f0b80869
...
...
@@ -1726,6 +1726,21 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
mdMap
.
value
.
push
(
'积分服务页-首屏'
);
}
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"true"
,
pageName
:
"积分服务页"
,
componentName
:
"等级卡牌"
,
componentContent
:
"查看升级攻略"
}
);
if
(
memberInfo
.
grade
==
0
&&
!
memberInfo
.
orderUpgrade
&&
points
>=
1
){
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"true"
,
pageName
:
"积分服务页"
,
componentName
:
"等级卡牌"
,
componentContent
:
"累计积分"
}
);
}
const
{
data
}
=
await
fetchIntegralJSON
();
...
...
@@ -1848,6 +1863,8 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
}
if
(
islogin
.
value
){
vipCardMd
(
vipLevel
.
value
);
nickName
.
value
=
memberInfo
.
value
.
memberName
;
// 清空之前的数据
// vipLvDatas.value = [];//??????????
...
...
@@ -1878,6 +1895,45 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
}
const
vipCardMd
=
(
vipLevel
,
isExposure
=
true
)
=>
{
if
(
isExposure
){
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"true"
,
pageName
:
"积分服务页"
,
componentName
:
"等级卡牌"
,
componentContent
:
"等级卡牌点击"
+
lvNameMd
(
vipLevel
)
}
);
}
else
{
md
.
sensorComponentLogTake
({
xcxComponentClick
:
"true"
,
pageName
:
"积分服务页"
,
componentName
:
"等级卡牌"
,
componentContent
:
"等级卡牌点击"
+
lvNameMd
(
vipLevel
)
}
);
}
}
const
lvNameMd
=
(
lv
)
=>
{
switch
(
lv
){
case
0
:
return
'V1黄金会员'
;
break
;
case
1
:
return
'V2铂金会员'
;
break
;
case
2
:
return
'V3钻石会员'
;
break
;
case
3
:
return
'V4星光会员'
;
break
;
case
4
:
return
'V5星耀会员'
;
break
;
}
}
//banner点击事件
const
bannerHandler
=
(
item
,
index
)
=>
{
let
buttonName
=
''
;
...
...
@@ -1922,6 +1978,13 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
buttonName
:
"攻略"
,
}
);
md
.
sensorComponentLogTake
({
xcxComponentClick
:
"true"
,
pageName
:
"积分服务页"
,
componentName
:
"等级卡牌"
,
componentContent
:
"查看升级攻略"
}
);
gotoGonglue
();
// const url = vipIntegral.value.gonglue.url;
// const type = vipIntegral.value.gonglue.type;
...
...
@@ -1974,6 +2037,13 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
buttonName
:
"积分明细"
,
}
);
md
.
sensorComponentLogTake
({
xcxComponentClick
:
"true"
,
pageName
:
"积分服务页"
,
componentName
:
"等级卡牌"
,
componentContent
:
"累计积分"
}
);
const
url
=
vipIntegral
.
value
.
jifenmingxi
.
url
.
replace
(
"{crmid
}
"
,
memberInfo
.
value
.
memberId
);
const
type
=
vipIntegral
.
value
.
jifenmingxi
.
type
;
console
.
log
(
'积分明细链接:=='
,
url
)
...
...
@@ -2062,6 +2132,14 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
const
currentIndex
=
e
.
detail
.
current
;
// console.log('当前swiper-item索引:', currentIndex);
itemIndex
.
value
=
currentIndex
;
md
.
sensorComponentLogTake
({
xcxComponentClick
:
"true"
,
pageName
:
"积分服务页"
,
componentName
:
"等级卡牌"
,
componentContent
:
"等级卡牌切换"
}
);
vipCardMd
(
currentIndex
);
// 获取当前滚动位置
// const scrollLeft = e.detail.scrollLeft;
// const directionVal = ref(0.3);
...
...
@@ -2380,6 +2458,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
return
;
}
vipCardMd
(
vipLevel
.
value
,
false
);
const
item
=
vipIntegral
.
value
.
vipCardInfo
;
if
(
item
.
url
==
""
){
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment