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
45c72498
Commit
45c72498
authored
Oct 12, 2025
by
lg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: xxx
parent
df39ef3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
15 deletions
+22
-15
index.vue
activities/1015/lottery/index.vue
+13
-13
mock-configs.js
activities/1015/mock-configs.js
+1
-1
Integral.vue
views/Integral.vue
+8
-1
No files found.
activities/1015/lottery/index.vue
View file @
45c72498
...
@@ -223,7 +223,7 @@ const handleBack = () => {
...
@@ -223,7 +223,7 @@ const handleBack = () => {
console
.
log
(
'点击返回按钮'
)
console
.
log
(
'点击返回按钮'
)
// md.sensorComponentLogTake({
// md.sensorComponentLogTake({
// xcxComponentClick: "true",
// xcxComponentClick: "true",
// pageName: "
915专题活动抽奖页
",
// pageName: "
1015专题活动页面
",
// componentName: "返回按钮",
// componentName: "返回按钮",
// componentContent: "返回"
// componentContent: "返回"
// });
// });
...
@@ -254,7 +254,7 @@ const handleRuleClick = () => {
...
@@ -254,7 +254,7 @@ const handleRuleClick = () => {
console
.
log
(
'点击规则按钮'
)
console
.
log
(
'点击规则按钮'
)
md
.
sensorComponentLogTake
({
md
.
sensorComponentLogTake
({
xcxComponentClick
:
"true"
,
xcxComponentClick
:
"true"
,
pageName
:
"
915专题活动抽奖页
"
,
pageName
:
"
1015专题活动页面
"
,
componentName
:
"抽奖板块"
,
componentName
:
"抽奖板块"
,
componentContent
:
"规则"
componentContent
:
"规则"
});
});
...
@@ -271,7 +271,7 @@ const handleAwardClick = () => {
...
@@ -271,7 +271,7 @@ const handleAwardClick = () => {
console
.
log
(
'点击奖品按钮'
)
console
.
log
(
'点击奖品按钮'
)
md
.
sensorComponentLogTake
({
md
.
sensorComponentLogTake
({
xcxComponentClick
:
"true"
,
xcxComponentClick
:
"true"
,
pageName
:
"
915专题活动抽奖页
"
,
pageName
:
"
1015专题活动页面
"
,
componentName
:
"抽奖板块"
,
componentName
:
"抽奖板块"
,
componentContent
:
"奖品"
componentContent
:
"奖品"
});
});
...
@@ -330,9 +330,9 @@ const handleAwardClick = () => {
...
@@ -330,9 +330,9 @@ const handleAwardClick = () => {
// 加载规则弹窗配置
// 加载规则弹窗配置
const
loadRuleModalConfig
=
async
()
=>
{
const
loadRuleModalConfig
=
async
()
=>
{
try
{
try
{
console
.
log
(
'开始请求 fetchAct
9
15LotteryJSON 接口...'
)
console
.
log
(
'开始请求 fetchAct
10
15LotteryJSON 接口...'
)
const
response
=
await
fetchLotteryConfig
()
const
response
=
await
fetchLotteryConfig
()
console
.
log
(
'fetchAct
9
15LotteryJSON 接口返回结果:'
,
response
)
console
.
log
(
'fetchAct
10
15LotteryJSON 接口返回结果:'
,
response
)
if
(
response
&&
response
.
ok
&&
response
.
data
)
{
if
(
response
&&
response
.
ok
&&
response
.
data
)
{
ruleModalConfig
.
value
=
response
.
data
ruleModalConfig
.
value
=
response
.
data
...
@@ -341,16 +341,16 @@ const loadRuleModalConfig = async () => {
...
@@ -341,16 +341,16 @@ const loadRuleModalConfig = async () => {
console
.
warn
(
'规则弹窗配置接口返回异常:'
,
response
)
console
.
warn
(
'规则弹窗配置接口返回异常:'
,
response
)
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'fetchAct
9
15LotteryJSON 接口请求失败:'
,
error
)
console
.
error
(
'fetchAct
10
15LotteryJSON 接口请求失败:'
,
error
)
}
}
}
}
// 加载抽奖信息
// 加载抽奖信息
const
loadLotteryInfo
=
async
()
=>
{
const
loadLotteryInfo
=
async
()
=>
{
try
{
try
{
console
.
log
(
'开始请求 getAct
9
15LotteryInfo 接口...'
)
console
.
log
(
'开始请求 getAct
10
15LotteryInfo 接口...'
)
const
response
=
await
fetchLotteryInfo
()
const
response
=
await
fetchLotteryInfo
()
console
.
log
(
'getAct
9
15LotteryInfo 接口返回结果:'
,
response
)
console
.
log
(
'getAct
10
15LotteryInfo 接口返回结果:'
,
response
)
if
(
response
&&
response
.
ok
)
{
if
(
response
&&
response
.
ok
)
{
remainingTimes
.
value
=
response
.
data
.
remainingChances
remainingTimes
.
value
=
response
.
data
.
remainingChances
...
@@ -370,7 +370,7 @@ const loadLotteryInfo = async () => {
...
@@ -370,7 +370,7 @@ const loadLotteryInfo = async () => {
startNoticeCarousel
()
startNoticeCarousel
()
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'getAct
9
15LotteryInfo 接口请求失败:'
,
error
)
console
.
error
(
'getAct
10
15LotteryInfo 接口请求失败:'
,
error
)
uni
.
showToast
({
uni
.
showToast
({
title
:
'网络错误,请稍后重试'
,
title
:
'网络错误,请稍后重试'
,
icon
:
'none'
icon
:
'none'
...
@@ -419,7 +419,7 @@ const stopNoticeCarousel = () => {
...
@@ -419,7 +419,7 @@ const stopNoticeCarousel = () => {
const
handleDrawClick
=
async
()
=>
{
const
handleDrawClick
=
async
()
=>
{
md
.
sensorComponentLogTake
({
md
.
sensorComponentLogTake
({
xcxComponentClick
:
"true"
,
xcxComponentClick
:
"true"
,
pageName
:
"
915专题活动抽奖页
"
,
pageName
:
"
1015专题活动页面
"
,
componentName
:
"抽奖板块"
,
componentName
:
"抽奖板块"
,
componentContent
:
"立即抽奖"
componentContent
:
"立即抽奖"
});
});
...
@@ -443,7 +443,7 @@ const handleDrawClick = async () => {
...
@@ -443,7 +443,7 @@ const handleDrawClick = async () => {
try
{
try
{
const
response
=
await
lotteryDraw
()
const
response
=
await
lotteryDraw
()
console
.
log
(
'getAct
9
15LotteryDraw 接口返回结果:'
,
response
)
console
.
log
(
'getAct
10
15LotteryDraw 接口返回结果:'
,
response
)
if
(
response
&&
response
.
ok
)
{
if
(
response
&&
response
.
ok
)
{
remainingTimes
.
value
=
response
.
data
.
remainingChances
remainingTimes
.
value
=
response
.
data
.
remainingChances
...
@@ -470,7 +470,7 @@ const handleDrawClick = async () => {
...
@@ -470,7 +470,7 @@ const handleDrawClick = async () => {
})
})
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'getAct
9
15LotteryDraw 接口请求失败:'
,
error
)
console
.
error
(
'getAct
10
15LotteryDraw 接口请求失败:'
,
error
)
uni
.
hideLoading
()
uni
.
hideLoading
()
isDrawing
.
value
=
false
isDrawing
.
value
=
false
uni
.
showToast
({
uni
.
showToast
({
...
@@ -548,7 +548,7 @@ onMounted(() => {
...
@@ -548,7 +548,7 @@ onMounted(() => {
md
.
sensorComponentLogTake
({
md
.
sensorComponentLogTake
({
xcxComponentExposure
:
"true"
,
xcxComponentExposure
:
"true"
,
pageName
:
"
915专题活动抽奖页
"
,
pageName
:
"
1015专题活动页面
"
,
componentName
:
"抽奖板块"
,
componentName
:
"抽奖板块"
,
componentContent
:
"规则、奖品、立即抽奖"
componentContent
:
"规则、奖品、立即抽奖"
});
});
...
...
activities/1015/mock-configs.js
View file @
45c72498
...
@@ -13,7 +13,7 @@ export function homeConfig(){
...
@@ -13,7 +13,7 @@ export function homeConfig(){
},
},
shareConfig
:
{
shareConfig
:
{
title
:
'星妈会超级品牌周来啦!'
,
title
:
'星妈会超级品牌周来啦!'
,
path
:
'/activities/1015/home
/index
'
,
path
:
'/activities/1015/home'
,
imageUrl
:
'https://course.feihe.com/momclub-picture/Act915Page/v2/act915ShareImg.png'
,
imageUrl
:
'https://course.feihe.com/momclub-picture/Act915Page/v2/act915ShareImg.png'
,
},
},
components
:
[
components
:
[
...
...
views/Integral.vue
View file @
45c72498
...
@@ -425,7 +425,7 @@
...
@@ -425,7 +425,7 @@
<!-- 会员活动 -->
<!-- 会员活动 -->
<view class="
vip
-
active
-
area
">
<view class="
vip
-
active
-
area
">
<text class="
vip
-
title
" :style="
{
color
:
itemIndex
===
4
?
'#fff0df'
:
'#1d1e25'
}
">会员活动</text>
<text class="
vip
-
title
"
@click="
clickVipAct
"
:style="
{
color
:
itemIndex
===
4
?
'#fff0df'
:
'#1d1e25'
}
">会员活动</text>
<swiper
<swiper
class="
vip
-
active
-
swiper
"
class="
vip
-
active
-
swiper
"
:indicator-dots="
vipActive
.
length
>
1
"
:indicator-dots="
vipActive
.
length
>
1
"
...
@@ -643,6 +643,13 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
...
@@ -643,6 +643,13 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
// 可以设置默认样式或显示错误提示
// 可以设置默认样式或显示错误提示
}
}
function clickVipAct(){
jump({
type: JumpType.INNER,
url: '/activities/1015/home'
}
)
}
const orderUpgrade = ref(false);
const orderUpgrade = ref(false);
// const maxVal = ref([]);
// const maxVal = ref([]);
const integralData = ref({
const integralData = ref({
...
...
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