|
@@ -12,6 +12,14 @@
|
|
|
</app-statusbar>
|
|
</app-statusbar>
|
|
|
</template>
|
|
</template>
|
|
|
<div ref="containerRef" class="home-main__container" :style="{ backgroundImage: `url(${getFileUrl(topBanners)})` }">
|
|
<div ref="containerRef" class="home-main__container" :style="{ backgroundImage: `url(${getFileUrl(topBanners)})` }">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <button type="button" style="border: 1px solid #000; padding: 20px; background-color: #fff;"
|
|
|
|
|
+ @click="trackEvent('Lead')">Facebook Test</button>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<app-block class="home-main__notice">
|
|
<app-block class="home-main__notice">
|
|
|
<h4 @click="$router.push({ name: 'notice-list' })">
|
|
<h4 @click="$router.push({ name: 'notice-list' })">
|
|
|
<span>{{ $t('routes.notice') }}</span>
|
|
<span>{{ $t('routes.notice') }}</span>
|
|
@@ -55,12 +63,15 @@
|
|
|
import { shallowRef, onMounted, onActivated, onDeactivated } from 'vue'
|
|
import { shallowRef, onMounted, onActivated, onDeactivated } from 'vue'
|
|
|
import { Cell, CellGroup, Search, Icon } from 'vant'
|
|
import { Cell, CellGroup, Search, Icon } from 'vant'
|
|
|
import { getFileUrl } from '@/filters'
|
|
import { getFileUrl } from '@/filters'
|
|
|
|
|
+import { useMetaPixel } from '@/hooks/meta-pixel'
|
|
|
import { queryImageConfigs } from '@/services/api/common'
|
|
import { queryImageConfigs } from '@/services/api/common'
|
|
|
import { queryNewTitles } from '@/services/api/news'
|
|
import { queryNewTitles } from '@/services/api/news'
|
|
|
import { useNoticeStore, useGoodsCollectionStore } from '@/stores'
|
|
import { useNoticeStore, useGoodsCollectionStore } from '@/stores'
|
|
|
import plus from '@/utils/h5plus'
|
|
import plus from '@/utils/h5plus'
|
|
|
import ProductList from '../../product/list/components/waterfall-list/index.vue'
|
|
import ProductList from '../../product/list/components/waterfall-list/index.vue'
|
|
|
|
|
|
|
|
|
|
+const { trackEvent } = useMetaPixel()
|
|
|
|
|
+
|
|
|
const noticeStore = useNoticeStore()
|
|
const noticeStore = useNoticeStore()
|
|
|
const goodsCollectionStore = useGoodsCollectionStore()
|
|
const goodsCollectionStore = useGoodsCollectionStore()
|
|
|
|
|
|