Commit a50aec1f authored by haiyoucuv's avatar haiyoucuv

new 模板

parent 4e7e409c
{
"name": "spark_template",
"name": "@grace/template",
"private": true,
"version": "0.0.1",
"type": "module",
......
......@@ -5,7 +5,7 @@ import { logClick, logExposure } from "@spark/utils/src-js/md";
const appId = CFG.appID;
const dcm = "202." + CFG.projectId + ".0.0";
const domain = "https://embedlog.duiba.com.cn";
const MDList = new Array(50).fill("").map((v, i) => {
const MDList = new Array(2).fill("").map((v, i) => {
return {
ele: `.md${i + 1}`,
data: {
......
......@@ -5,7 +5,9 @@ import * as utils from "./utils";
const clickMapper = new Map();
const handleClick = (click: any[]) => {
click.forEach((item) => {
// 元素在文档, 并且没有绑定点击埋点
// 那么需要绑定点击埋点
if (typeof item.ele === "string") {
......
......@@ -16,7 +16,7 @@ class HomeDemo extends React.Component {
render() {
return <div className="homeDemo md1">
<div className="homeImg" />
<div className="homeImg md1" />
<img src={png} />
当前为活动首页
<SvgaPlayer className="svga" src={svga} />
......
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