Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yangchenggong1_wd
2024-05-23 17:50:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5f5dbc5d30f46340eb8cb8f35b2257e58b78afd3
5f5dbc5d
1 parent
c3880fc7
desc:埋点[登录页 - 登录方式 选择点击]
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginPage.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginPage.ets
View file @
5f5dbc5
...
...
@@ -6,7 +6,7 @@ import { WDRouterPage } from 'wdRouter/src/main/ets/router/WDRouterPage';
import { WDRouterRule } from 'wdRouter/src/main/ets/router/WDRouterRule';
import { Params } from '../../../../../../../commons/wdRouter/oh_modules/wdBean/src/main/ets/bean/content/Params'
import {InterestsHobbiesModel} from '../../../../../../../products/phone/src/main/ets/pages/viewModel/InterestsHobbiesModel'
import { TrackingPageBrowse, TrackConstants, TrackingButton } from 'wdTracking/Index'
import { TrackingPageBrowse, TrackConstants, TrackingButton
, ParamType, Tracking
} from 'wdTracking/Index'
@Extend(Row)
function otherStyle() {
...
...
@@ -314,6 +314,13 @@ struct LoginPage {
}
.onClick(() => {
this.onPageHide()
if(this.checkCodePage){
trackTypeClick(0,TrackConstants.PageName.Phone_Login_Page)
}else{
trackTypeClick(6,TrackConstants.PageName.Login_Page)
}
this.updateAccount()
this.checkCodePage = !this.checkCodePage
this.passwordSwitch = true
...
...
@@ -585,3 +592,12 @@ struct ProtocolComponent {
}
}
function trackTypeClick(typeValue: number,pageId: string){
let params: ParamType = {}
params["loginType"] = typeValue
params["pageName"] = pageId
params["pageId"] = pageId
Tracking.event("login_type_click", params)
}
...
...
Please
register
or
login
to post a comment