Commit cb184cf4 authored by 王炽's avatar 王炽

5555555

parent 3f522cde
...@@ -64,6 +64,7 @@ import { xingmaLabDetailConfig, getImageUrl } from './config.js' ...@@ -64,6 +64,7 @@ import { xingmaLabDetailConfig, getImageUrl } from './config.js'
import { fetchRecordDetail, fetchFavoriteAdd, fetchFavoriteRemove } from '@/api/xingmaLab.js' import { fetchRecordDetail, fetchFavoriteAdd, fetchFavoriteRemove } from '@/api/xingmaLab.js'
import { useHomeStore } from '@/stores/home.js' import { useHomeStore } from '@/stores/home.js'
import { useUserStore } from '@/stores/user.js' import { useUserStore } from '@/stores/user.js'
import md from '../../md';
// 组件名称 // 组件名称
defineOptions({ defineOptions({
...@@ -159,7 +160,7 @@ const handleLikeClick = async () => { ...@@ -159,7 +160,7 @@ const handleLikeClick = async () => {
//TODO:埋点 //TODO:埋点
md.sensorComponentLogTake({ md.sensorComponentLogTake({
xcxComponentClick: "true", xcxComponentClick: "true",
pageName: "星妈lab-藏品详情页", pageName: "星妈lab-藏品详情页",
componentName: "藏品详情", componentName: "藏品详情",
componentContent: "收藏" componentContent: "收藏"
}); });
...@@ -215,7 +216,7 @@ const handleShareClick = () => { ...@@ -215,7 +216,7 @@ const handleShareClick = () => {
//TODO:埋点 //TODO:埋点
md.sensorComponentLogTake({ md.sensorComponentLogTake({
xcxComponentClick: "true", xcxComponentClick: "true",
pageName: "星妈lab-藏品详情页", pageName: "星妈lab-藏品详情页",
componentName: "藏品详情", componentName: "藏品详情",
componentContent: "分享" componentContent: "分享"
}); });
...@@ -257,14 +258,14 @@ onMounted(async () => { ...@@ -257,14 +258,14 @@ onMounted(async () => {
md.sensorComponentLogTake({ md.sensorComponentLogTake({
xcxComponentExposure: "true", xcxComponentExposure: "true",
pageName: "星妈lab-藏品详情页", pageName: "星妈lab-藏品详情页",
componentName: "藏品详情", componentName: "藏品详情",
componentContent: "收藏" componentContent: "收藏"
}); });
md.sensorComponentLogTake({ md.sensorComponentLogTake({
xcxComponentExposure: "true", xcxComponentExposure: "true",
pageName: "星妈lab-藏品详情页", pageName: "星妈lab-藏品详情页",
componentName: "藏品详情", componentName: "藏品详情",
componentContent: "分享" componentContent: "分享"
}); });
......
...@@ -118,6 +118,7 @@ import Xingmalabnotimepop from '@/components/xingmaLab/Xingmalabnotimepop.vue' ...@@ -118,6 +118,7 @@ import Xingmalabnotimepop from '@/components/xingmaLab/Xingmalabnotimepop.vue'
import { useXingmaLabStore } from '@/stores/xingmaLab.js' import { useXingmaLabStore } from '@/stores/xingmaLab.js'
import { uploadImage } from '@/api/common.js' import { uploadImage } from '@/api/common.js'
import { fetchRecordPublish } from '@/api/xingmaLab.js' import { fetchRecordPublish } from '@/api/xingmaLab.js'
import md from '../../md';
// 组件名称 // 组件名称
defineOptions({ defineOptions({
......
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