Commit cb184cf4 authored by 王炽's avatar 王炽

5555555

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