Commit 45c72498 authored by lg's avatar lg

chore: xxx

parent df39ef3e
...@@ -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('开始请求 fetchAct915LotteryJSON 接口...') console.log('开始请求 fetchAct1015LotteryJSON 接口...')
const response = await fetchLotteryConfig() const response = await fetchLotteryConfig()
console.log('fetchAct915LotteryJSON 接口返回结果:', response) console.log('fetchAct1015LotteryJSON 接口返回结果:', 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('fetchAct915LotteryJSON 接口请求失败:', error) console.error('fetchAct1015LotteryJSON 接口请求失败:', error)
} }
} }
// 加载抽奖信息 // 加载抽奖信息
const loadLotteryInfo = async () => { const loadLotteryInfo = async () => {
try { try {
console.log('开始请求 getAct915LotteryInfo 接口...') console.log('开始请求 getAct1015LotteryInfo 接口...')
const response = await fetchLotteryInfo() const response = await fetchLotteryInfo()
console.log('getAct915LotteryInfo 接口返回结果:', response) console.log('getAct1015LotteryInfo 接口返回结果:', 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('getAct915LotteryInfo 接口请求失败:', error) console.error('getAct1015LotteryInfo 接口请求失败:', 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('getAct915LotteryDraw 接口返回结果:', response) console.log('getAct1015LotteryDraw 接口返回结果:', 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('getAct915LotteryDraw 接口请求失败:', error) console.error('getAct1015LotteryDraw 接口请求失败:', 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: "规则、奖品、立即抽奖"
}); });
......
...@@ -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: [
......
...@@ -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({
......
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