|
@@ -186,8 +186,10 @@ import {
|
|
|
getChromeStorage,
|
|
|
} from "@/uilts/chromeExtension";
|
|
|
import { getBalance, getMineLuckdropRecords } from "@/http/account";
|
|
|
+import Report from "@/logcenter/log";
|
|
|
import router from "@/router/popup.js";
|
|
|
import VHead from '@/view/popup/components/head.vue'
|
|
|
+
|
|
|
let withdraw_info = inject('withdraw_info')
|
|
|
withdraw_info.paypal = {}
|
|
|
|
|
@@ -253,6 +255,15 @@ onMounted(() => {
|
|
|
if (isLogin.value) {
|
|
|
getAccountBalance();
|
|
|
getLuckdropRecordsList();
|
|
|
+ Report.reportLog({
|
|
|
+ pageSource: Report.pageSource.denetHomePage,
|
|
|
+ businessType: Report.businessType.pageView,
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ Report.reportLog({
|
|
|
+ pageSource: Report.pageSource.denetLogin,
|
|
|
+ businessType: Report.businessType.pageView,
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
});
|
|
@@ -407,6 +418,11 @@ const withdrawBack = () => {
|
|
|
// };
|
|
|
|
|
|
const loginAction = () => {
|
|
|
+ Report.reportLog({
|
|
|
+ pageSource: Report.pageSource.denetLogin,
|
|
|
+ businessType: Report.businessType.buttonClick,
|
|
|
+ objectType: Report.objectType.loginButton
|
|
|
+ });
|
|
|
login();
|
|
|
};
|
|
|
|
|
@@ -443,9 +459,19 @@ const sendTwitter = (params) => {
|
|
|
};
|
|
|
// 点击提现
|
|
|
const clickWithdraw = () => {
|
|
|
+ Report.reportLog({
|
|
|
+ pageSource: Report.pageSource.denetHomePage,
|
|
|
+ businessType: Report.businessType.buttonClick,
|
|
|
+ objectType: Report.objectType.withdrawButton
|
|
|
+ });
|
|
|
router.push('/withdraw/home');
|
|
|
}
|
|
|
const clickTopUp = () => {
|
|
|
+ Report.reportLog({
|
|
|
+ pageSource: Report.pageSource.denetHomePage,
|
|
|
+ businessType: Report.businessType.buttonClick,
|
|
|
+ objectType: Report.objectType.topupButton
|
|
|
+ });
|
|
|
router.push('/top-up/home');
|
|
|
}
|
|
|
|