Commit 45c72498 authored by lg's avatar lg

chore: xxx

parent df39ef3e
......@@ -223,7 +223,7 @@ const handleBack = () => {
console.log('点击返回按钮')
// md.sensorComponentLogTake({
// xcxComponentClick: "true",
// pageName: "915专题活动抽奖页",
// pageName: "1015专题活动页面",
// componentName: "返回按钮",
// componentContent: "返回"
// });
......@@ -254,7 +254,7 @@ const handleRuleClick = () => {
console.log('点击规则按钮')
md.sensorComponentLogTake({
xcxComponentClick: "true",
pageName: "915专题活动抽奖页",
pageName: "1015专题活动页面",
componentName: "抽奖板块",
componentContent: "规则"
});
......@@ -271,7 +271,7 @@ const handleAwardClick = () => {
console.log('点击奖品按钮')
md.sensorComponentLogTake({
xcxComponentClick: "true",
pageName: "915专题活动抽奖页",
pageName: "1015专题活动页面",
componentName: "抽奖板块",
componentContent: "奖品"
});
......@@ -330,9 +330,9 @@ const handleAwardClick = () => {
// 加载规则弹窗配置
const loadRuleModalConfig = async () => {
try {
console.log('开始请求 fetchAct915LotteryJSON 接口...')
console.log('开始请求 fetchAct1015LotteryJSON 接口...')
const response = await fetchLotteryConfig()
console.log('fetchAct915LotteryJSON 接口返回结果:', response)
console.log('fetchAct1015LotteryJSON 接口返回结果:', response)
if (response && response.ok && response.data) {
ruleModalConfig.value = response.data
......@@ -341,16 +341,16 @@ const loadRuleModalConfig = async () => {
console.warn('规则弹窗配置接口返回异常:', response)
}
} catch (error) {
console.error('fetchAct915LotteryJSON 接口请求失败:', error)
console.error('fetchAct1015LotteryJSON 接口请求失败:', error)
}
}
// 加载抽奖信息
const loadLotteryInfo = async () => {
try {
console.log('开始请求 getAct915LotteryInfo 接口...')
console.log('开始请求 getAct1015LotteryInfo 接口...')
const response = await fetchLotteryInfo()
console.log('getAct915LotteryInfo 接口返回结果:', response)
console.log('getAct1015LotteryInfo 接口返回结果:', response)
if (response && response.ok) {
remainingTimes.value = response.data.remainingChances
......@@ -370,7 +370,7 @@ const loadLotteryInfo = async () => {
startNoticeCarousel()
}
} catch (error) {
console.error('getAct915LotteryInfo 接口请求失败:', error)
console.error('getAct1015LotteryInfo 接口请求失败:', error)
uni.showToast({
title: '网络错误,请稍后重试',
icon: 'none'
......@@ -419,7 +419,7 @@ const stopNoticeCarousel = () => {
const handleDrawClick = async () => {
md.sensorComponentLogTake({
xcxComponentClick: "true",
pageName: "915专题活动抽奖页",
pageName: "1015专题活动页面",
componentName: "抽奖板块",
componentContent: "立即抽奖"
});
......@@ -443,7 +443,7 @@ const handleDrawClick = async () => {
try {
const response = await lotteryDraw()
console.log('getAct915LotteryDraw 接口返回结果:', response)
console.log('getAct1015LotteryDraw 接口返回结果:', response)
if (response && response.ok) {
remainingTimes.value = response.data.remainingChances
......@@ -470,7 +470,7 @@ const handleDrawClick = async () => {
})
}
} catch (error) {
console.error('getAct915LotteryDraw 接口请求失败:', error)
console.error('getAct1015LotteryDraw 接口请求失败:', error)
uni.hideLoading()
isDrawing.value = false
uni.showToast({
......@@ -548,7 +548,7 @@ onMounted(() => {
md.sensorComponentLogTake({
xcxComponentExposure: "true",
pageName: "915专题活动抽奖页",
pageName: "1015专题活动页面",
componentName: "抽奖板块",
componentContent: "规则、奖品、立即抽奖"
});
......
......@@ -13,7 +13,7 @@ export function homeConfig(){
},
shareConfig: {
title: '星妈会超级品牌周来啦!',
path: '/activities/1015/home/index',
path: '/activities/1015/home',
imageUrl: 'https://course.feihe.com/momclub-picture/Act915Page/v2/act915ShareImg.png',
},
components: [
......
......@@ -425,7 +425,7 @@
<!-- 会员活动 -->
<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
class="vip-active-swiper"
:indicator-dots="vipActive.length > 1"
......@@ -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 maxVal = ref([]);
const integralData = ref({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment