Commit bdc8c6fe by 胡悦

修复话术埋点参数

1 parent 3fd499ec
......@@ -128,8 +128,8 @@ export default {
async backPage() {
const {type} = this
let idList
if(type == 'read') idList = this.recordDetailList.map(item => item.id);
else if (type == 'view') idList = [this.messageInfo.id];
if(type == 'read') idList = this.recordDetailList.map(item => item.scriptId);
else if (type == 'view') idList = [this.messageInfo.scriptId];
// 埋点
const result = await uni.$api.commonApi.extractExcellent({
scriptIdList: idList,
......@@ -302,6 +302,7 @@ export default {
margin-top: toRpx(17);
color: #666;
font-size: toRpx(28);
line-height: toRpx(48);
}
}
......
......@@ -87,7 +87,7 @@ export default {
async backPage(ids) {
let idList = ids
if (!idList) {
idList = [this.messageInfo.id];
idList = [this.messageInfo.scriptId];
}
// 埋点
const result = await uni.$api.commonApi.extractExcellent({
......@@ -119,7 +119,7 @@ export default {
try {
this.isProcessing = true;
let idList
idList = [this.messageInfo.id];
idList = [this.messageInfo.scriptId];
// this.back(idList)
// 接口调用
const res = await uni.$api.commonApi.updateMessageStatus({
......@@ -263,6 +263,7 @@ export default {
margin-top: toRpx(17);
color: #666;
font-size: toRpx(28);
line-height: toRpx(48);
}
}
......
......@@ -104,7 +104,7 @@ export default {
}
.outstanding-tip-item {
width: calc(100% - #{toRpx(128)});
width: 100%;
padding: toRpx(24) toRpx(32);
border-radius: toRpx(16);
background-color: #fff;
......@@ -142,6 +142,7 @@ export default {
padding: toRpx(17) 0;
color: #666;
font-size: toRpx(28);
line-height: toRpx(48);
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!