|
@@ -1,6 +1,7 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
+ {{$global:=.}}
|
|
|
<meta charset="UTF-8">
|
|
|
<title>{{.tdk.Title}}</title>
|
|
|
<meta name="Keywords" content='{{.tdk.KeyWords}}'/>
|
|
@@ -18,7 +19,7 @@
|
|
|
<link href='{{Cdn}}/common-module/pc-dialog/css/collect-user-info.css?v={{Msg "version"}}' rel="stylesheet">
|
|
|
<link href='{{Cdn}}/jyseo/css/report.css?v={{Msg "version"}}' rel="stylesheet" />
|
|
|
<script src="https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js"></script>
|
|
|
- <script src="/common-module/public/head.js"></script>
|
|
|
+ <script src='{{Cdn}}/common-module/public/head.js?v={{Msg "version"}}'></script>
|
|
|
|
|
|
</head>
|
|
|
<body>
|
|
@@ -70,8 +71,8 @@
|
|
|
</section>
|
|
|
<aside class="report-main--aside">
|
|
|
<!-- 右侧广告位 -->
|
|
|
- <section class="report-aside-ad" {{if not .hasLogin}} data-quick-login="login" {{end}}>
|
|
|
- <img src="/jyseo/image/report-aside-ad.png" alt="首页侧边栏广告位">
|
|
|
+ <section class="report-aside-ad">
|
|
|
+ <img src="/jyseo/image/report-aside-ad.png" data-leave-info alt="首页侧边栏广告位">
|
|
|
</section>
|
|
|
<!-- 热门专题分析报告 -->
|
|
|
<section class="aside-card aside-hot-special">
|
|
@@ -141,9 +142,14 @@
|
|
|
<script src='{{Cdn}}/jyseo/js/common.js?v={{Msg "version"}}'></script>
|
|
|
<script src='{{Cdn}}/common-module/pc-dialog/js/pc-collect-user-info.min.js?v={{Msg "version"}}'></script>
|
|
|
<script>
|
|
|
+ var hasLogin = {{$global.hasLogin}}
|
|
|
$(function () {
|
|
|
- $('.report-aside-ad').click(function(){
|
|
|
- vm.isNeedSubmit('pc_briefinghomepage_dzhfxbg')
|
|
|
+ $('img[data-leave-info]').click(function(){
|
|
|
+ if (hasLogin) {
|
|
|
+ vm.isNeedSubmit('pc_briefinghomepage_dzhfxbg')
|
|
|
+ } else {
|
|
|
+ window.jyCoreSDK.$plugins.login.hooks.open()
|
|
|
+ }
|
|
|
})
|
|
|
$('img[error-src]').each(function(e, item){
|
|
|
var errorSrc = $(this).attr('error-src')
|