proudct-detail.js
1005 Bytes
const {
ANDROID_PRODUCT_DETAIL
} = require('../../scene-types/scene-types');
module.exports = {
[ANDROID_PRODUCT_DETAIL]: [
{op: 'YB_LAUNCH_APP2', name: '启动app', single: true},
{op: 'YB_PAGE_ENTER', name: '第一次打开页面', equals: { PAGE_ID: 'sy' }},
{op: 'YB_PAGE_ENTER', name: '第一次打开页面2'},
{op: 'YB_PAGE_ENTER'},
{op: 'YB_ENTER_CHOICE'},
{op: 'YB_PAGE_EXIT', equals: { PAGE_ID: 'xbxzy' }},
{op: 'YB_PAGE_EXIT'},
{op: 'YB_CATEGORY'},
{op: 'YB_AUTO_TRACK'},
{op: 'YB_PAGE_EXIT', priority: 11},
{op: 'YB_PAGE_ENTER'},
{op: 'YB_CHOOSE_FOR_YOU'},
{op: 'YB_AUTO_TRACK'},
{op: 'YB_GOODS_LIST'},
{op: 'YB_SHOW_GOODS_LIST'},
{op: 'YB_PAGE_EXIT'},
{op: 'YB_PAGE_ENTER'},
{op: 'YB_GOODS_LIST_DT'},
{op: 'YB_AUTO_TRACK'},
{op: 'YB_GDS_DT_INFO'},
{op: 'YB_PAGE_ENTER'},
{op: 'YB_PAGE_EXIT', validate: (log) => {
return log.param.PAGE_ID === 'pl';
}},
{op: 'YB_CHOOSE_FOR_YOU'}
]
};