提交 efc932f5 编写于 作者: 杨广俊's avatar 杨广俊

埋点及排序自测

上级 901087ed
......@@ -30,7 +30,7 @@
</template>
<script>
//import { sortParmData } from '@/utils/index'
import { sortParmData } from '@/utils/index'
import {
m_search_result_course_detail1,
m_search_result_course_order,
......
......@@ -33,6 +33,7 @@
</template>
<script>
import { sortParmData } from '@/utils/index'
import {
m_search_result_five_minutes_detail,
m_search_result_five_minutes_order,
......
......@@ -26,15 +26,7 @@
</template>
<script>
// import teacherTop from '../../components/teachers/teach-top-new';
// import {
// teacher_back,
// fast_sicon,
// hot_teacher,
// screen,
// teacher,
// teacherother
// } from '../../utils/buryingPoint';
import { sortParmData } from '@/utils/index'
import {
m_search_result_health_cartoon_detail,
m_search_result_health_cartoon_order,
......@@ -115,12 +107,6 @@ export default {
})
},
goToPage(item) {
let obj = {
}
console.log(item);
// let url = pageJumpUrl();
// console.log(url.pageListUrl);
let itemData = {
"imageUrl": "",
"appModuleInfo": {
......@@ -131,14 +117,6 @@ export default {
"paramList": []
}
};
obj = {
menuLevel: 1,
menuCode: 'm_home',
functionCode: 'f_five_minutes',
actionCode: 'c_content',
labelId: item.id,
labelValue: item.title,
}
itemData.title = item.name;
itemData.appModuleInfo["paramList"] = [{
"key": "className",
......@@ -162,8 +140,6 @@ export default {
})
let paramList = this.setEventByModuleCode(itemData);
// alert(itemData.appModuleInfo.code)
// alert(JSON.stringify(paramList))
rocNative.dispatchEventByModuleCode({
modeCode: itemData.appModuleInfo.code,
jsonString: paramList
......@@ -184,17 +160,7 @@ export default {
labelValue: orderIndex,
createdTime: new Date().getTime(),
})
// this.appBuryingPointEntrust({
// ...teacher,
// labelId: item.doctorId,
// labelValue: item.doctorName
// })
},
// 埋点
appBuryingPointEntrust(val) {
rocNative.appBuryingPointEntrust(val)
},
//排序
sortFun() {
this.dir = this.dir == 1 ? 2 : 1;
......@@ -234,11 +200,6 @@ export default {
}
})
// this.appBuryingPointEntrust({
// ...teacher,
// labelId: _this.dir,
// labelValue: _this.dir === 1 ? '升序' : '降序'
// })
},
orderAction(orderIndex) {
this.pageBurialPoin({
......
......@@ -26,14 +26,7 @@
</template>
<script>
// import {
// teacher_back,
// fast_sicon,
// hot_teacher,
// screen,
// teacher,
// teacherother
// } from '../../utils/buryingPoint';
import { sortParmData } from '@/utils/index'
import {
m_search_result_lecturer_detail,
m_search_result_lecturer_order,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册