<template> <div> <img src="/svg/icon-install-chrome.svg" alt class="install_chrome" @click="clickOpenChrome()" /> </div> </template> <script> export default { name: 'install_chrome', data() { return { } }, methods: { clickOpenChrome() { window.open('https://www.google.com/chrome') // let extParams = this.isMobile() ? {} : { status: this.reportStatus } // Report.reportLog({ // baseInfo: { // appVersionCode: this.appVersionCode, // mid: this.mid, // pageSource: Report.pageSource.newUserLandingPage, // appType, // machineCode: this.mid // }, // params: { // eventData: { // businessType: Report.businessType.buttonClick, // objectType: Report.objectType.installButton, // postId: this.detail.postId, // srcContentId: this.detail.srcContentId, // senderId: this.detail.srcUserId, // }, // extParams: extParams // } // }) }, } } </script> <style lang="scss" scoped> .install_chrome{ cursor: pointer; } </style>