Commit bdc8c6fe by 胡悦

修复话术埋点参数

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