InstallChrome.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <div>
  3. <img src="/svg/icon-install-chrome.svg" alt class="install_chrome" @click="clickOpenChrome()" />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'install_chrome',
  9. data() {
  10. return {
  11. }
  12. },
  13. methods: {
  14. clickOpenChrome() {
  15. window.open('https://www.google.com/chrome')
  16. // let extParams = this.isMobile() ? {} : { status: this.reportStatus }
  17. // Report.reportLog({
  18. // baseInfo: {
  19. // appVersionCode: this.appVersionCode,
  20. // mid: this.mid,
  21. // pageSource: Report.pageSource.newUserLandingPage,
  22. // appType,
  23. // machineCode: this.mid
  24. // },
  25. // params: {
  26. // eventData: {
  27. // businessType: Report.businessType.buttonClick,
  28. // objectType: Report.objectType.installButton,
  29. // postId: this.detail.postId,
  30. // srcContentId: this.detail.srcContentId,
  31. // senderId: this.detail.srcUserId,
  32. // },
  33. // extParams: extParams
  34. // }
  35. // })
  36. },
  37. }
  38. }
  39. </script>
  40. <style lang="scss" scoped>
  41. .install_chrome{
  42. cursor: pointer;
  43. }
  44. </style>