Commit a21919e4 authored by 张九刚's avatar 张九刚

feat: fixbug

parent 5198e7ea
......@@ -72,6 +72,12 @@ const selectedFeedText = ref('母乳+奶粉混合喂养')
const selectFeed = (index) => {
selectIndex.value = index
emit('update:selectedIndex', index)
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "生长曲线",
popName: "喂养方式选择弹窗",
buttonName: feedOptions.value[index].name
});
}
// 取消按钮事件
......@@ -103,7 +109,7 @@ const handleOkTouchEnd = () => {
// 发送事件通知主页面
emit('change', selectedFeed, index)//只能传一个参数
closePopup()
closePopup("nonePop")
}
// 点击喂养方式选择
......@@ -126,26 +132,27 @@ const onFeedChange = (feedOption, index) => {
}, 300)
}
const closePopup = () => {
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "生长曲线",
popName: "喂养方式选择弹窗",
buttonName: "取消"
});
emit('update:visible', false)
}
watch(() => props.visible, (newVal) => {
if (newVal) {
const closePopup = (type) => {
if (type !== 'nonePop') {
md.sensorPopLogTake({
xcxPopExposure: "true",
xcxPopClick: "true",
toolName: "生长曲线",
popName: "喂养方式选择弹窗"
popName: "喂养方式选择弹窗",
buttonName: "取消"
});
}
})
emit('update:visible', false)
watch(() => props.visible, (newVal) => {
if (newVal) {
md.sensorPopLogTake({
xcxPopExposure: "true",
toolName: "生长曲线",
popName: "喂养方式选择弹窗"
});
}
})
}
</script>
<style lang="less" scoped>
......
......@@ -146,6 +146,7 @@
<script setup>
import { getCurrentInstance, computed,onMounted } from 'vue'
import { YEAR_GIFT_IMAGES } from './yearGiftImages.js'
import md from '../../md.js'
// 获取全局属性
const { proxy } = getCurrentInstance()
......
{
"swiperList": [
{
"videoUrl": "https://course.feihe.com/momclub-picture/brandpage/bannerVideo.mp4",
"link": {},
"title": "北纬47°黄金种植带",
"url": "brandpage/Banner41.png"
},
{
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/0eMxbWB3R_0g06HZPUEj5Q"
},
"title": "飞鹤自由牧场",
"url": "brandpage/Banner42.png"
},
{
"link": {
"extra": {},
"type": 1,
"url": "/reservation/home/index"
},
"title": "飞鹤哈尔滨智能产业园",
"url": "brandpage/Banner44.png"
}
],
"video2Channel": {
"finderUserName": "",
"videoUrl": "brandpage/videoChannel/video2Channel/V1/1.mp4",
"posterUrl": "",
"feedId": "",
"title": "品牌故事视频2"
},
"product": [
[
{
"productId": "",
"shareTitle": "星飞帆经典 3段",
"link": "",
"contentImgLen": 20,
"title": "超凡 吸收",
"skuId": "",
"shareImg": "brandpage/products/share/0/0_1.jpg",
"contentImg": "0-1",
"desc": "星飞帆经典 3段",
"bgUrl": "brandpage/pic_0_1.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓睿 3段",
"link": "",
"contentImgLen": 25,
"title": "顶配 脑育",
"skuId": "",
"shareImg": "brandpage/products/share/0/0_2.jpg",
"contentImg": "0-2",
"desc": "星飞帆卓睿 3段",
"bgUrl": "brandpage/pic_0_2.png"
},
{
"swiperList": [
{
"productId": "",
"shareTitle": "星飞帆卓耀 3段",
"link": "",
"contentImgLen": 28,
"title": "亲和 自护",
"skuId": "",
"shareImg": "brandpage/products/share/0/0_3.jpg",
"contentImg": "0-3",
"desc": "星飞帆卓耀 3段",
"bgUrl": "brandpage/pic_0_3.png"
"videoUrl": "https://course.feihe.com/momclub-picture/brandpage/bannerVideo.mp4",
"link": {},
"title": "北纬47°黄金种植带",
"url": "brandpage/Banner41.png"
},
{
"productId": "749098220531287139",
"shareTitle": "爱本跃动蛋白营养粉",
"link": "",
"contentImgLen": 15,
"title": " 4维 效力",
"skuId": "749098220531287140",
"shareImg": "brandpage/products/share/0/0_4.jpg",
"contentImg": "0-4",
"desc": "爱本跃动蛋白营养粉",
"bgUrl": "brandpage/pic_0_4.png"
},
{
"productId": "693279214116405585",
"shareTitle": "高钙奶酪泡芙脆",
"link": "",
"contentImgLen": 15,
"title": "高钙 爆脆",
"skuId": "693279214116405586",
"shareImg": "brandpage/products/share/0/0_5.jpg",
"contentImg": "0-5",
"desc": "高钙奶酪泡芙脆",
"bgUrl": "brandpage/pic_0_5.png"
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/0eMxbWB3R_0g06HZPUEj5Q"
},
"title": "飞鹤自由牧场",
"url": "brandpage/Banner42.png"
},
{
"productId": "543558664688883066",
"shareTitle": "北纬47度黄糯玉米",
"link": "",
"contentImgLen": 5,
"title": "软糯 Q弹",
"skuId": "543560605494007100",
"shareImg": "brandpage/products/share/0/0_6.jpg",
"contentImg": "0-6",
"desc": "北纬47度黄糯玉米",
"bgUrl": "brandpage/pic_0_6.png"
"link": {
"extra": {},
"type": 1,
"url": "/reservation/home/index"
},
"title": "飞鹤哈尔滨智能产业园",
"url": "brandpage/Banner44.png"
}
],
[
{
"productId": "",
"shareTitle": "星飞帆经典 3段",
"link": "",
"contentImgLen": 20,
"title": "超凡 吸收",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_1.jpg",
"contentImg": "1-1",
"desc": "星飞帆经典 3段",
"bgUrl": "brandpage/pic_1_1.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓睿 3段",
"link": "",
"contentImgLen": 25,
"title": "顶配 脑育",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_2.jpg",
"contentImg": "1-2",
"desc": "星飞帆卓睿 3段",
"bgUrl": "brandpage/pic_1_2.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓耀 3段",
"link": "",
"contentImgLen": 28,
"title": "亲和 自护",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_3.jpg",
"contentImg": "1-3",
"desc": "星飞帆卓耀 3段",
"bgUrl": "brandpage/pic_1_3.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓睿A2奶源",
"link": "",
"contentImgLen": 20,
"title": "顶配 A 2",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_4.jpg",
"contentImg": "1-4",
"desc": "星飞帆卓睿A2奶源",
"bgUrl": "brandpage/pic_1_4.png"
},
{
"productId": "",
"shareTitle": "臻稚卓蓓 3段",
"link": "",
"contentImgLen": 28,
"title": "活性 有机",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_5.jpg",
"contentImg": "1-5",
"desc": "臻稚卓蓓 3段",
"bgUrl": "brandpage/pic_1_5.png"
},
{
"productId": "",
"shareTitle": "臻爱倍护 3段",
"link": "",
"contentImgLen": 20,
"title": "高端 乳铁",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_6.jpg",
"contentImg": "1-6",
"desc": "臻爱倍护 3段",
"bgUrl": "brandpage/pic_1_6.png"
}
"video2Channel": {
"finderUserName": "",
"videoUrl": "brandpage/videoChannel/video2Channel/V1/1.mp4",
"posterUrl": "",
"feedId": "",
"title": "品牌故事视频2"
},
"product": [
[
{
"productId": "",
"shareTitle": "星飞帆经典 3段",
"link": "",
"contentImgLen": 20,
"title": "超凡 吸收",
"skuId": "",
"shareImg": "brandpage/products/share/0/0_1.jpg",
"contentImg": "0-1",
"desc": "星飞帆经典 3段",
"bgUrl": "brandpage/pic_0_1.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓睿 3段",
"link": "",
"contentImgLen": 25,
"title": "顶配 脑育",
"skuId": "",
"shareImg": "brandpage/products/share/0/0_2.jpg",
"contentImg": "0-2",
"desc": "星飞帆卓睿 3段",
"bgUrl": "brandpage/pic_0_2.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓耀 3段",
"link": "",
"contentImgLen": 28,
"title": "亲和 自护",
"skuId": "",
"shareImg": "brandpage/products/share/0/0_3.jpg",
"contentImg": "0-3",
"desc": "星飞帆卓耀 3段",
"bgUrl": "brandpage/pic_0_3.png"
},
{
"productId": "749098220531287139",
"shareTitle": "爱本跃动蛋白营养粉",
"link": "",
"contentImgLen": 15,
"title": " 4维 效力",
"skuId": "749098220531287140",
"shareImg": "brandpage/products/share/0/0_4.jpg",
"contentImg": "0-4",
"desc": "爱本跃动蛋白营养粉",
"bgUrl": "brandpage/pic_0_4.png"
},
{
"productId": "693279214116405585",
"shareTitle": "高钙奶酪泡芙脆",
"link": "",
"contentImgLen": 15,
"title": "高钙 爆脆",
"skuId": "693279214116405586",
"shareImg": "brandpage/products/share/0/0_5.jpg",
"contentImg": "0-5",
"desc": "高钙奶酪泡芙脆",
"bgUrl": "brandpage/pic_0_5.png"
},
{
"productId": "543558664688883066",
"shareTitle": "北纬47度黄糯玉米",
"link": "",
"contentImgLen": 5,
"title": "软糯 Q弹",
"skuId": "543560605494007100",
"shareImg": "brandpage/products/share/0/0_6.jpg",
"contentImg": "0-6",
"desc": "北纬47度黄糯玉米",
"bgUrl": "brandpage/pic_0_6.png"
}
],
[
{
"productId": "",
"shareTitle": "星飞帆经典 3段",
"link": "",
"contentImgLen": 20,
"title": "超凡 吸收",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_1.jpg",
"contentImg": "1-1",
"desc": "星飞帆经典 3段",
"bgUrl": "brandpage/pic_1_1.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓睿 3段",
"link": "",
"contentImgLen": 25,
"title": "顶配 脑育",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_2.jpg",
"contentImg": "1-2",
"desc": "星飞帆卓睿 3段",
"bgUrl": "brandpage/pic_1_2.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓耀 3段",
"link": "",
"contentImgLen": 28,
"title": "亲和 自护",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_3.jpg",
"contentImg": "1-3",
"desc": "星飞帆卓耀 3段",
"bgUrl": "brandpage/pic_1_3.png"
},
{
"productId": "",
"shareTitle": "星飞帆卓睿A2奶源",
"link": "",
"contentImgLen": 20,
"title": "顶配 A 2",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_4.jpg",
"contentImg": "1-4",
"desc": "星飞帆卓睿A2奶源",
"bgUrl": "brandpage/pic_1_4.png"
},
{
"productId": "",
"shareTitle": "臻稚卓蓓 3段",
"link": "",
"contentImgLen": 28,
"title": "活性 有机",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_5.jpg",
"contentImg": "1-5",
"desc": "臻稚卓蓓 3段",
"bgUrl": "brandpage/pic_1_5.png"
},
{
"productId": "",
"shareTitle": "臻爱倍护 3段",
"link": "",
"contentImgLen": 20,
"title": "高端 乳铁",
"skuId": "",
"shareImg": "brandpage/products/share/1/1_6.jpg",
"contentImg": "1-6",
"desc": "臻爱倍护 3段",
"bgUrl": "brandpage/pic_1_6.png"
}
],
[
{
"productId": "739634042657637394",
"shareTitle": "飞鹤臻贵儿童配方奶粉",
"link": "",
"contentImgLen": 10,
"title": "向上 成长",
"skuId": "739635029460743612",
"shareImg": "brandpage/products/share/4/4_1.jpg",
"contentImg": "5-11",
"desc": "飞鹤臻贵儿童配方奶粉",
"bgUrl": "brandpage/pic_5_1.png"
},
{
"productId": "770087385697019251",
"shareTitle": "飞鹤臻贵悦智配方奶粉",
"link": "",
"contentImgLen": 10,
"title": "悦享 活力",
"skuId": "770087385697019252",
"shareImg": "brandpage/products/share/4/4_2.jpg",
"contentImg": "5-21",
"desc": "飞鹤臻贵悦智配方奶粉",
"bgUrl": "brandpage/pic_5_2.png"
},
{
"productId": "584206109842248681",
"shareTitle": "飞鹤牧场浓厚纯牛奶",
"link": "",
"contentImgLen": 10,
"title": "浓厚 醇香",
"skuId": "743707906122896598",
"shareImg": "brandpage/products/share/4/4_3.jpg",
"contentImg": "5-31",
"desc": "飞鹤牧场浓厚纯牛奶",
"bgUrl": "brandpage/pic_5_3.png"
},
{
"productId": "411619746805715934",
"shareTitle": "六水香长粒香大米",
"link": "",
"contentImgLen": 8,
"title": "当季 新米",
"skuId": "411619746805715935",
"shareImg": "brandpage/products/share/4/4_4.jpg",
"contentImg": "5-41",
"desc": "六水香长粒香大米",
"bgUrl": "brandpage/pic_5_4.png"
},
{
"productId": "675921531863073227",
"shareTitle": "红富士晒晒苹果肉",
"link": "",
"contentImgLen": 10,
"title": "三蒸 三晒",
"skuId": "675921531863073230",
"shareImg": "brandpage/products/share/4/4_5.jpg",
"contentImg": "5-51",
"desc": "红富士晒晒苹果肉",
"bgUrl": "brandpage/pic_5_5.png"
},
{
"productId": "599340570081015525",
"shareTitle": "内衣专护洗衣液",
"link": "",
"contentImgLen": 11,
"title": "深层 洁净",
"skuId": "599340570081015526",
"shareImg": "brandpage/products/share/4/4_6.jpg",
"contentImg": "5-61",
"desc": "内衣专护洗衣液",
"bgUrl": "brandpage/pic_5_6.png"
}
],
[
{
"productId": "545768683314537529",
"shareTitle": "北纬47度白甜糯玉米",
"link": "",
"contentImgLen": 5,
"title": "含有 叶酸",
"skuId": "545770687080957074",
"shareImg": "brandpage/products/share/4/4_1.jpg",
"contentImg": "4-1",
"desc": "北纬47度白甜糯玉米",
"bgUrl": "brandpage/pic_4_1.png"
},
{
"productId": "555503303308649561",
"shareTitle": "北纬47度黄糯玉米",
"link": "",
"contentImgLen": 5,
"title": "软糯 Q弹",
"skuId": "555503303308649562",
"shareImg": "brandpage/products/share/4/4_2.jpg",
"contentImg": "4-2",
"desc": "北纬47度黄糯玉米",
"bgUrl": "brandpage/pic_4_2.png"
},
{
"productId": "469675861496440509",
"shareTitle": "北纬47度低GI水果玉米粒袋装",
"link": "",
"contentImgLen": 5,
"title": "开袋 即食",
"skuId": "469675861496440510",
"shareImg": "brandpage/products/share/4/4_3.jpg",
"contentImg": "4-3",
"desc": "北纬47度低GI\n水果玉米粒袋装",
"bgUrl": "brandpage/pic_4_3.png"
},
{
"productId": "733411972814471679",
"shareTitle": "北纬47度东北烧烤味玉米段",
"link": "",
"contentImgLen": 5,
"title": "秘制 工艺",
"skuId": "733468301522154622",
"shareImg": "brandpage/products/share/4/4_4.jpg",
"contentImg": "4-4",
"desc": "北纬47度东北\n烧烤味玉米段",
"bgUrl": "brandpage/pic_4_4.png"
},
{
"productId": "701593489939273114",
"shareTitle": "N47°植物酵素乳",
"link": "",
"contentImgLen": 10,
"title": "0乳糖 低GI",
"skuId": "701593489939273115",
"shareImg": "brandpage/products/share/4/4_5.jpg",
"contentImg": "4-5",
"desc": "N47°植物酵素乳",
"bgUrl": "brandpage/pic_4_5.png"
},
{
"productId": "705230699873112222",
"shareTitle": "N47°水果玉米汁",
"link": "",
"contentImgLen": 8,
"title": "轻卡 低GI",
"skuId": "705230699873112223",
"shareImg": "brandpage/products/share/4/4_6.jpg",
"contentImg": "4-6",
"desc": "N47°水果玉米汁",
"bgUrl": "brandpage/pic_4_6.png"
}
],
[
{
"productId": "749098220531287139",
"shareTitle": "爱本跃动蛋白营养粉",
"link": "",
"contentImgLen": 20,
"title": " 4维 效力",
"skuId": "749098220531287140",
"shareImg": "brandpage/products/share/2/2_1.jpg",
"contentImg": "2-1",
"desc": "爱本跃动蛋白营养粉",
"bgUrl": "brandpage/pic_2_1.png"
},
{
"productId": "748659115456528889",
"shareTitle": "爱本牛初乳",
"link": "",
"contentImgLen": 15,
"title": "初乳 精华",
"skuId": "7748659115456528890",
"shareImg": "brandpage/products/share/2/2_2.jpg",
"contentImg": "2-2",
"desc": "爱本牛初乳",
"bgUrl": "brandpage/pic_2_2.png"
},
{
"productId": "768991288915277214",
"shareTitle": "爱本每日蛋白营养糊",
"link": "",
"contentImgLen": 15,
"title": "每日 蛋白",
"skuId": "768991288915277215",
"shareImg": "brandpage/products/share/2/2_3.jpg",
"contentImg": "2-3",
"desc": "爱本每日蛋白营养糊",
"bgUrl": "brandpage/pic_2_3.png"
},
{
"productId": "767546274051183809",
"shareTitle": "爱本纤纤益生菌羽衣甘蓝蛋白粉",
"link": "",
"contentImgLen": 10,
"title": "腰腹 燃脂",
"skuId": "767546274051183810",
"shareImg": "brandpage/products/share/2/2_4.jpg",
"contentImg": "2-4",
"desc": "爱本纤纤益生菌\n羽衣甘蓝蛋白粉",
"bgUrl": "brandpage/pic_2_4.png"
},
{
"productId": "749443379821195324",
"shareTitle": "爱本参芝初乳肽",
"link": "",
"contentImgLen": 10,
"title": "药食 同源",
"skuId": "749443379821195325",
"shareImg": "brandpage/products/share/2/2_5.jpg",
"contentImg": "2-5",
"desc": "爱本参芝初乳肽",
"bgUrl": "brandpage/pic_2_5.png"
},
{
"productId": "753354110711035152",
"shareTitle": "爱本悦眠功能粉",
"link": "",
"contentImgLen": 15,
"title": "一夜 天亮",
"skuId": "753354110711035153",
"shareImg": "brandpage/products/share/2/2_6.jpg",
"contentImg": "2-6",
"desc": "爱本悦眠功能粉",
"bgUrl": "brandpage/pic_2_6.png"
}
],
[
{
"productId": "759563658744492290",
"shareTitle": "爱上吃菜乳酪",
"link": "",
"contentImgLen": 10,
"title": "高钙 高纤",
"skuId": "759563658744492293",
"shareImg": "brandpage/products/share/3/3_1.jpg",
"contentImg": "3-1",
"desc": "爱上吃菜乳酪",
"bgUrl": "brandpage/pic_3_1.png"
},
{
"productId": "693279214116405585",
"shareTitle": "高钙奶酪泡芙脆",
"link": "",
"contentImgLen": 15,
"title": "高钙 爆脆",
"skuId": "693279214116405586",
"shareImg": "brandpage/products/share/3/3_2.jpg",
"contentImg": "3-2",
"desc": "高钙奶酪泡芙脆",
"bgUrl": "brandpage/pic_3_2.png"
},
{
"productId": "772183835488032281",
"shareTitle": "高纤黑巧乳酪",
"link": "",
"contentImgLen": 10,
"title": "醇香 黑巧",
"skuId": "772183835488032282",
"shareImg": "brandpage/products/share/3/3_3.jpg",
"contentImg": "3-3",
"desc": "高纤黑巧乳酪",
"bgUrl": "brandpage/pic_3_3.png"
},
{
"productId": "716141706338247497",
"shareTitle": "超新星水果奶酪",
"link": "",
"contentImgLen": 15,
"title": "10倍 奶钙",
"skuId": "716141706338247498",
"shareImg": "brandpage/products/share/3/3_4.jpg",
"contentImg": "3-4",
"desc": "超新星水果奶酪",
"bgUrl": "brandpage/pic_3_4.png"
},
{
"productId": "717871366421930449",
"shareTitle": "厚切流心芝士片",
"link": "",
"contentImgLen": 10,
"title": "浓郁 爆浆",
"skuId": "717871366421930450",
"shareImg": "brandpage/products/share/3/3_5.jpg",
"contentImg": "3-5",
"desc": "厚切流心芝士片",
"bgUrl": "brandpage/pic_3_5.png"
},
{
"productId": "551135905055024574",
"shareTitle": "嚼奶粉乳酪",
"link": "",
"contentImgLen": 10,
"title": "洁净 配方",
"skuId": "596810081919086853",
"shareImg": "brandpage/products/share/3/3_6.jpg",
"contentImg": "3-6",
"desc": "嚼奶粉乳酪",
"bgUrl": "brandpage/pic_3_6.png"
}
]
],
[
{
"productId": "739634042657637394",
"shareTitle": "飞鹤臻贵儿童配方奶粉",
"link": "",
"contentImgLen": 10,
"title": "向上 成长",
"skuId": "739635029460743612",
"shareImg": "brandpage/products/share/4/4_1.jpg",
"contentImg": "5-11",
"desc": "飞鹤臻贵儿童配方奶粉",
"bgUrl": "brandpage/pic_5_1.png"
},
{
"productId": "770087385697019251",
"shareTitle": "飞鹤臻贵悦智配方奶粉",
"link": "",
"contentImgLen": 10,
"title": "悦享 活力",
"skuId": "770087385697019252",
"shareImg": "brandpage/products/share/4/4_2.jpg",
"contentImg": "5-21",
"desc": "飞鹤臻贵悦智配方奶粉",
"bgUrl": "brandpage/pic_5_2.png"
},
{
"productId": "584206109842248681",
"shareTitle": "飞鹤牧场浓厚纯牛奶",
"link": "",
"contentImgLen": 10,
"title": "浓厚 醇香",
"skuId": "743707906122896598",
"shareImg": "brandpage/products/share/4/4_3.jpg",
"contentImg": "5-31",
"desc": "飞鹤牧场浓厚纯牛奶",
"bgUrl": "brandpage/pic_5_3.png"
},
{
"productId": "411619746805715934",
"shareTitle": "六水香长粒香大米",
"link": "",
"contentImgLen": 8,
"title": "当季 新米",
"skuId": "411619746805715935",
"shareImg": "brandpage/products/share/4/4_4.jpg",
"contentImg": "5-41",
"desc": "六水香长粒香大米",
"bgUrl": "brandpage/pic_5_4.png"
},
{
"productId": "675921531863073227",
"shareTitle": "红富士晒晒苹果肉",
"link": "",
"contentImgLen": 10,
"title": "三蒸 三晒",
"skuId": "675921531863073230",
"shareImg": "brandpage/products/share/4/4_5.jpg",
"contentImg": "5-51",
"desc": "红富士晒晒苹果肉",
"bgUrl": "brandpage/pic_5_5.png"
},
{
"productId": "599340570081015525",
"shareTitle": "内衣专护洗衣液",
"link": "",
"contentImgLen": 11,
"title": "深层 洁净",
"skuId": "599340570081015526",
"shareImg": "brandpage/products/share/4/4_6.jpg",
"contentImg": "5-61",
"desc": "内衣专护洗衣液",
"bgUrl": "brandpage/pic_5_6.png"
}
"videoUrl": "https://course.feihe.com/momclub-picture/brandpage/banner_1%E6%85%A2%E4%BA%BA%E8%8A%82x%E9%A3%9E%E9%B9%A4%2B-%2B%E5%9C%9FFINAL.mp4",
"erqiPeizhi": {
"ipImg4": "https://course.feihe.com/momclub-picture/brandpage/ip4.png",
"ipTitle3": "视频号",
"title1": "飞鹤产品家族",
"ipTitle4": "小红书",
"title2": "飞鹤品牌IP鹤小飞一家",
"ipTitle1": "毛绒可爱发夹",
"title3": "飞鹤ESG",
"ipTitle2": "大容量吨吨桶水杯",
"iphexiaofeiUrl": "https://course.feihe.com/momclub-picture/brandpage/v1_iphexiaofei.png",
"ipImg1": "https://course.feihe.com/momclub-picture/brandpage/v1_ip1.png",
"ipImg3": "https://course.feihe.com/momclub-picture/brandpage/ip3.png",
"ipImg2": "https://course.feihe.com/momclub-picture/brandpage/v1_ip2.png"
},
"video1Channel": {
"finderUserName": "sphgexisAi0pRGm",
"videoUrl": "brandpage/videoChannel/video1Channel/V2/1.mp4",
"posterUrl": "",
"feedId": "export/UzFfAgtgekIEAQAAAAAABbEMmxr36QAAAAstQy6ubaLX4KHWvLEZgBPEgaJkYSYbLr6JzNPgMJp7tTZCYcYsIpU6Z0fgSnSE",
"title": "品牌故事视频1"
},
"esgInfoList": [
[
{
"desc2": "飞鹤践行低碳节能,打造绿色产业链;承担龙头责任,引领行业创新发展;履行社会责任,构建共富共享生态",
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/UebPA-2XenAdw7lTs2NttA"
},
"desc": "中国飞鹤发布2024年ESG报告",
"bgUrl": "brandpage/esg1.png"
},
{
"desc2": "中国飞鹤于2025年4月初在全国范围内启动一项总规模12亿元的生育补贴计划,为符合条件的孕期家庭提供不少于1500元的补贴",
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/TpjCyjCf2Df3t1RMfi-JKQ"
},
"desc": "12亿元生育补贴计划",
"bgUrl": "brandpage/esg2.png"
},
{
"desc2": "百年大计,教育为本;教育大计,教师为本。近三年来,飞鹤已投入超过6500万元开展专项助教活动,惠及在职专任教师超过28万人",
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/fvo6LV95tCIPA_lda9L7zw"
},
"desc": "教育公益",
"bgUrl": "brandpage/esg3.png"
}
]
],
[
{
"productId": "545768683314537529",
"shareTitle": "北纬47度白甜糯玉米",
"link": "",
"contentImgLen": 5,
"title": "含有 叶酸",
"skuId": "545770687080957074",
"shareImg": "brandpage/products/share/4/4_1.jpg",
"contentImg": "4-1",
"desc": "北纬47度白甜糯玉米",
"bgUrl": "brandpage/pic_4_1.png"
},
"qrInfoList": [
{
"productId": "555503303308649561",
"shareTitle": "北纬47度黄糯玉米",
"link": "",
"contentImgLen": 5,
"title": "软糯 Q弹",
"skuId": "555503303308649562",
"shareImg": "brandpage/products/share/4/4_2.jpg",
"contentImg": "4-2",
"desc": "北纬47度黄糯玉米",
"bgUrl": "brandpage/pic_4_2.png"
"qrUrl": "brandpage/qrhxf_sph.png",
"title": "视频号",
"desc": "扫码关注<span style='color:#D3A358;'>鹤小飞一家</span>视频号,看超多有爱的趣味故事"
},
{
"productId": "469675861496440509",
"shareTitle": "北纬47度低GI水果玉米粒袋装",
"link": "",
"contentImgLen": 5,
"title": "开袋 即食",
"skuId": "469675861496440510",
"shareImg": "brandpage/products/share/4/4_3.jpg",
"contentImg": "4-3",
"desc": "北纬47度低GI\n水果玉米粒袋装",
"bgUrl": "brandpage/pic_4_3.png"
},
{
"productId": "733411972814471679",
"shareTitle": "北纬47度东北烧烤味玉米段",
"link": "",
"contentImgLen": 5,
"title": "秘制 工艺",
"skuId": "733468301522154622",
"shareImg": "brandpage/products/share/4/4_4.jpg",
"contentImg": "4-4",
"desc": "北纬47度东北\n烧烤味玉米段",
"bgUrl": "brandpage/pic_4_4.png"
},
{
"productId": "701593489939273114",
"shareTitle": "N47°植物酵素乳",
"link": "",
"contentImgLen": 10,
"title": "0乳糖 低GI",
"skuId": "701593489939273115",
"shareImg": "brandpage/products/share/4/4_5.jpg",
"contentImg": "4-5",
"desc": "N47°植物酵素乳",
"bgUrl": "brandpage/pic_4_5.png"
},
{
"productId": "705230699873112222",
"shareTitle": "N47°水果玉米汁",
"link": "",
"contentImgLen": 8,
"title": "轻卡 低GI",
"skuId": "705230699873112223",
"shareImg": "brandpage/products/share/4/4_6.jpg",
"contentImg": "4-6",
"desc": "N47°水果玉米汁",
"bgUrl": "brandpage/pic_4_6.png"
"qrUrl": "brandpage/qrhxf_wxxd.png",
"title": "微信小店",
"desc": "扫码进入<span style='color:#D3A358;'>鹤小飞一家</span>店铺,挑选精美限量周边"
}
],
[
{
"productId": "749098220531287139",
"shareTitle": "爱本跃动蛋白营养粉",
"link": "",
"contentImgLen": 20,
"title": " 4维 效力",
"skuId": "749098220531287140",
"shareImg": "brandpage/products/share/2/2_1.jpg",
"contentImg": "2-1",
"desc": "爱本跃动蛋白营养粉",
"bgUrl": "brandpage/pic_2_1.png"
},
{
"productId": "748659115456528889",
"shareTitle": "爱本牛初乳",
"link": "",
"contentImgLen": 15,
"title": "初乳 精华",
"skuId": "7748659115456528890",
"shareImg": "brandpage/products/share/2/2_2.jpg",
"contentImg": "2-2",
"desc": "爱本牛初乳",
"bgUrl": "brandpage/pic_2_2.png"
},
{
"productId": "768991288915277214",
"shareTitle": "爱本每日蛋白营养糊",
"link": "",
"contentImgLen": 15,
"title": "每日 蛋白",
"skuId": "768991288915277215",
"shareImg": "brandpage/products/share/2/2_3.jpg",
"contentImg": "2-3",
"desc": "爱本每日蛋白营养糊",
"bgUrl": "brandpage/pic_2_3.png"
},
{
"productId": "767546274051183809",
"shareTitle": "爱本纤纤益生菌羽衣甘蓝蛋白粉",
"link": "",
"contentImgLen": 10,
"title": "腰腹 燃脂",
"skuId": "767546274051183810",
"shareImg": "brandpage/products/share/2/2_4.jpg",
"contentImg": "2-4",
"desc": "爱本纤纤益生菌\n羽衣甘蓝蛋白粉",
"bgUrl": "brandpage/pic_2_4.png"
},
{
"productId": "749443379821195324",
"shareTitle": "爱本参芝初乳肽",
"link": "",
"contentImgLen": 10,
"title": "药食 同源",
"skuId": "749443379821195325",
"shareImg": "brandpage/products/share/2/2_5.jpg",
"contentImg": "2-5",
"desc": "爱本参芝初乳肽",
"bgUrl": "brandpage/pic_2_5.png"
},
{
"productId": "753354110711035152",
"shareTitle": "爱本悦眠功能粉",
"link": "",
"contentImgLen": 15,
"title": "一夜 天亮",
"skuId": "753354110711035153",
"shareImg": "brandpage/products/share/2/2_6.jpg",
"contentImg": "2-6",
"desc": "爱本悦眠功能粉",
"bgUrl": "brandpage/pic_2_6.png"
}
"productTabList": [
"全部",
"母婴全阶",
"星妈优选",
"北纬47°",
"功能营养",
"儿童产品"
],
[
{
"productId": "759563658744492290",
"shareTitle": "爱上吃菜乳酪",
"link": "",
"contentImgLen": 10,
"title": "高钙 高纤",
"skuId": "759563658744492293",
"shareImg": "brandpage/products/share/3/3_1.jpg",
"contentImg": "3-1",
"desc": "爱上吃菜乳酪",
"bgUrl": "brandpage/pic_3_1.png"
},
{
"productId": "693279214116405585",
"shareTitle": "高钙奶酪泡芙脆",
"link": "",
"contentImgLen": 15,
"title": "高钙 爆脆",
"skuId": "693279214116405586",
"shareImg": "brandpage/products/share/3/3_2.jpg",
"contentImg": "3-2",
"desc": "高钙奶酪泡芙脆",
"bgUrl": "brandpage/pic_3_2.png"
},
{
"productId": "772183835488032281",
"shareTitle": "高纤黑巧乳酪",
"link": "",
"contentImgLen": 10,
"title": "醇香 黑巧",
"skuId": "772183835488032282",
"shareImg": "brandpage/products/share/3/3_3.jpg",
"contentImg": "3-3",
"desc": "高纤黑巧乳酪",
"bgUrl": "brandpage/pic_3_3.png"
},
"swiperIconList": [
{
"productId": "716141706338247497",
"shareTitle": "超新星水果奶酪",
"link": "",
"contentImgLen": 15,
"title": "10倍 奶钙",
"skuId": "716141706338247498",
"shareImg": "brandpage/products/share/3/3_4.jpg",
"contentImg": "3-4",
"desc": "超新星水果奶酪",
"bgUrl": "brandpage/pic_3_4.png"
"baseUrl": "brandpage/corn1.png",
"activeUrl": "brandpage/corn2.png",
"text": "北纬47°生态"
},
{
"productId": "717871366421930449",
"shareTitle": "厚切流心芝士片",
"link": "",
"contentImgLen": 10,
"title": "浓郁 爆浆",
"skuId": "717871366421930450",
"shareImg": "brandpage/products/share/3/3_5.jpg",
"contentImg": "3-5",
"desc": "厚切流心芝士片",
"bgUrl": "brandpage/pic_3_5.png"
"baseUrl": "brandpage/cattle1.png",
"activeUrl": "brandpage/cattle2.png",
"text": "13家自有牧场"
},
{
"productId": "551135905055024574",
"shareTitle": "嚼奶粉乳酪",
"link": "",
"contentImgLen": 10,
"title": "洁净 配方",
"skuId": "596810081919086853",
"shareImg": "brandpage/products/share/3/3_6.jpg",
"contentImg": "3-6",
"desc": "嚼奶粉乳酪",
"bgUrl": "brandpage/pic_3_6.png"
"baseUrl": "brandpage/factory1.png",
"activeUrl": "brandpage/factory2.png",
"text": "工厂游预约"
}
]
],
"videoUrl": "https://course.feihe.com/momclub-picture/brandpage/banner_1%E6%85%A2%E4%BA%BA%E8%8A%82x%E9%A3%9E%E9%B9%A4%2B-%2B%E5%9C%9FFINAL.mp4",
"erqiPeizhi": {
"ipImg4": "https://course.feihe.com/momclub-picture/brandpage/ip4.png",
"title1": "飞鹤产品家族",
"title2": "飞鹤品牌IP鹤小飞一家",
"title3": "飞鹤ESG",
"iphexiaofeiUrl": "https://course.feihe.com/momclub-picture/brandpage/v1_iphexiaofei.png",
"ipImg1": "https://course.feihe.com/momclub-picture/brandpage/v1_ip1.png",
"ipImg3": "https://course.feihe.com/momclub-picture/brandpage/ip3.png",
"ipImg2": "https://course.feihe.com/momclub-picture/brandpage/v1_ip2.png",
"ipTitle1": "毛绒可爱发卡",
"ipTitle2": "大容量吨吨桶水杯",
"ipTitle3": "视频号",
"ipTitle4": "小红书"
},
"video1Channel": {
"finderUserName": "sphgexisAi0pRGm",
"videoUrl": "brandpage/videoChannel/video1Channel/V2/1.mp4",
"posterUrl": "",
"title":"品牌故事视频1",
"feedId": "export/UzFfAgtgekIEAQAAAAAABbEMmxr36QAAAAstQy6ubaLX4KHWvLEZgBPEgaJkYSYbLr6JzNPgMJp7tTZCYcYsIpU6Z0fgSnSE"
},
"esgInfoList": [
[
{
"desc2": "飞鹤践行低碳节能,打造绿色产业链;承担龙头责任,引领行业创新发展;履行社会责任,构建共富共享生态",
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/UebPA-2XenAdw7lTs2NttA"
},
"desc": "中国飞鹤发布2024年ESG报告",
"bgUrl": "brandpage/esg1.png"
},
{
"desc2": "中国飞鹤于2025年4月初在全国范围内启动一项总规模12亿元的生育补贴计划,为符合条件的孕期家庭提供不少于1500元的补贴",
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/TpjCyjCf2Df3t1RMfi-JKQ"
},
"desc": "12亿元生育补贴计划",
"bgUrl": "brandpage/esg2.png"
},
{
"desc2": "百年大计,教育为本;教育大计,教师为本。近三年来,飞鹤已投入超过6500万元开展专项助教活动,惠及在职专任教师超过28万人",
"link": {
"extra": {},
"type": 3,
"url": "https://mp.weixin.qq.com/s/fvo6LV95tCIPA_lda9L7zw"
},
"desc": "教育公益",
"bgUrl": "brandpage/esg3.png"
}
]
],
"qrInfoList": [
{
"qrUrl": "brandpage/qrhxf_sph.png",
"title": "视频号",
"desc": "扫码关注<span style='color:#D3A358;'>鹤小飞一家</span>视频号,看超多有爱的趣味故事"
},
{
"qrUrl": "brandpage/qrhxf_wxxd.png",
"title": "微信小店",
"desc": "扫码进入<span style='color:#D3A358;'>鹤小飞一家</span>店铺,挑选精美限量周边"
}
],
"productTabList": [
"全部",
"母婴全阶",
"星妈优选",
"北纬47°",
"功能营养",
"儿童产品"
],
"swiperIconList": [
{
"baseUrl": "brandpage/corn1.png",
"activeUrl": "brandpage/corn2.png",
"text": "北纬47°生态"
},
{
"baseUrl": "brandpage/cattle1.png",
"activeUrl": "brandpage/cattle2.png",
"text": "13家自有牧场"
},
{
"baseUrl": "brandpage/factory1.png",
"activeUrl": "brandpage/factory2.png",
"text": "工厂游预约"
}
],
"ipDesc": "鹤小飞一家是由鹤爸、鹤妈、鹤小飞(哥哥)、鹤小小(妹妹) 组成的一家。\n四口热爱生活、积极向上,是他们一家对生活的态度。"
}
\ No newline at end of file
],
"ipDesc": "鹤小飞一家是由鹤爸、鹤妈、鹤小飞(哥哥)、鹤小小(妹妹) 组成的一家。\n四口热爱生活、积极向上,是他们一家对生活的态度。"
}
\ No newline at end of file
......@@ -218,9 +218,9 @@ const onAdd = () => {
})
popup.value.open()
md.sensorComponentLogTake({
xcxComponentExposure: "true",
xcxPopExposure: "true",
toolName: "产检提醒",
componentName: "选择产检项目弹窗"
popName: "选择产检项目弹窗"
});
// 回显数据
......@@ -230,7 +230,15 @@ const onAdd = () => {
}
}
// 关闭项目弹窗
const onPopupClose = () => {
const onPopupClose = (type) => {
if (type !== 'nonePop') {
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "产检提醒",
popName: "选择产检项目弹窗",
buttonName: "关闭"
});
}
wx.setPageStyle({
style: {
overflow: 'auto'
......@@ -238,12 +246,7 @@ const onPopupClose = () => {
})
selectedAirports.value = []
popup.value.close()
md.sensorComponentLogTake({
xcxComponentClick: "true",
toolName: "产检提醒",
componentName: "选择产检项目弹窗",
buttonName: "关闭"
});
}
// 检查是否已选中
const isSelected = (id) => {
......@@ -259,9 +262,9 @@ const toggleSelect = (airport) => {
itemName: airport.itemName
});
md.sensorComponentLogTake({
xcxComponentClick: "true",
xcxPopClick: "true",
toolName: "产检提醒",
componentName: "选择产检项目弹窗",
popName: "选择产检项目弹窗",
buttonName: airport.itemName
});
} else {
......@@ -277,11 +280,11 @@ const saveSelection = () => {
const uniqueMap = new Map();
combined.forEach(item => uniqueMap.set(item.id, item));
listData.value = Array.from(uniqueMap.values());
onPopupClose();
md.sensorComponentLogTake({
xcxComponentClick: "true",
onPopupClose("nonePop");
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "产检提醒",
componentName: "选择产检项目弹窗",
popName: "选择产检项目弹窗",
buttonName: "确认"
});
};
......
......@@ -3590,7 +3590,7 @@ async function onSuccessJump() {
xcxPopClick: "true",
toolName: "喂养记录",
popName: "添加成功弹窗",
buttonName: "关闭"
buttonName: "咨询专家"
});
}
......@@ -3601,7 +3601,7 @@ function onSuccessClose() {
xcxPopClick: "true",
toolName: "喂养记录",
popName: "添加成功弹窗",
buttonName: "咨询专家"
buttonName: "关闭"
});
// 跳转至记录页面
uni.navigateTo({
......
......@@ -731,13 +731,16 @@ function editRecord(index) {
}
function closeEditPopup() {
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "喂养记录",
popName: "日历页确认修改内容弹窗",
buttonName: "取消"
function closeEditPopup(type) {
if (type !== 'nonePop') {
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "喂养记录",
popName: "日历页确认修改内容弹窗",
buttonName: "取消"
});
}
showEditPopup.value = false
editingRecord.value = null
editForm.value = { time: '', type: '', content: '' }
......@@ -886,7 +889,7 @@ async function saveEditRecord() {
icon: 'none'
})
closeEditPopup()
closeEditPopup('nonePop')
// 清空缓存,确保获取最新数据
clearCache()
......
......@@ -195,6 +195,7 @@ const visible = ref(false)
// 时间
const time = ref('')
const isClickClose = ref(false)
// 保存要修改的id
const editId = ref(null)
......@@ -343,14 +344,17 @@ const onBtn = (type) => {
}
// 提醒关闭
const close = () => {
const close = (type) => {
if (type !== 'nonePop') {
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "产检提醒",
popName: "设置提醒时间弹窗",
buttonName: "取消"
});
}
showPicker.value = false;
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "产检提醒",
popName: "设置提醒时间弹窗",
buttonName: "取消"
});
}
// 选择提醒事件
const handleChange = (e) => {
......@@ -366,7 +370,7 @@ const handleConfirm = () => {
});
selectedValue.value = options[pickerValue.value].id;
console.log(selectedValue.value, homeInfo.value.wxTemplateId, babyId.value)
close();
close("nonePop");
// 订阅提醒
uni.requestSubscribeMessage({
tmplIds: [homeInfo.value.wxTemplateId],
......@@ -381,6 +385,9 @@ const handleConfirm = () => {
}
watch(visible, (newVal) => {
if (!newVal) {
if (isClickClose.value) {
return
}
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "产检提醒",
......@@ -401,6 +408,7 @@ const onEdit = (id, newTime) => {
time.value = newTime
visible.value = true
editId.value = id
isClickClose.value = false
md.sensorPopLogTake({
xcxPopExposure: "true",
toolName: "产检提醒",
......@@ -416,6 +424,7 @@ const handleDateConfirm = (date) => {
time.value = date;
console.log(editId.value, time.value)
onEditTime()
isClickClose.value = true
md.sensorPopLogTake({
xcxPopClick: "true",
toolName: "产检提醒",
......@@ -574,7 +583,7 @@ onShow(async () => {
publicFn()
})
onMounted(() => {
isClickClose.value = false
md.sensorLogTake({
xcxPage: "小程序页面浏览事件",
pageName: "产检提醒首页"
......
......@@ -118,6 +118,11 @@
xcxClick: '品牌故事-次屏页面点击',
pageName: '品牌故事-次屏页面',
buttonName: `${productTabList[channelTabIndex] + '中的' + infoItem.title}+'商品'`
}" :data-comlog="{
xcxComponentClick: 'true',
pageName: '品牌故事页',
componentName: '飞鹤产品家族',
componentContent: '产品家族商品-' + infoItem.desc
}" @tap="jumpProduct(infoItem, $event)">
<view class="flexbox">
<view class="infotitle">
......
......@@ -663,7 +663,7 @@ export default {
buttonName: `第${index + 1}张焦点图-入口`,
});
md.sensorComponentLogTake({
xcxComponentExposure: "true",
xcxComponentClick: "true",
pageName: "首页",
componentName: "首页banner",
componentContent: item.title
......
......@@ -439,7 +439,7 @@ const handleChangeBaby = (e) => {
xcxComponentExposure: "true",
pageName: "我的页面",
componentName: "资料编辑",
componentContent: "状态展开"
componentContent: "展开"
})
md.sensorComponentLogTake({
xcxComponentExposure: "true",
......
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