Przeglądaj źródła

Merge branch 'dev4.5' of http://192.168.3.207:8080/qmx/jy into dev4.5

zhangyuhan 4 lat temu
rodzic
commit
b0a68980f3

+ 7 - 3
src/jfw/modules/followent/src/web/templates/_error.html

@@ -554,12 +554,16 @@ function infoListCss(){
 (function(){
     var myhost = location.host;
     var nowYear = new Date().getFullYear()
+    var copyrightMap = {
+        com: '京ICP备14030217号-3',
+        cn: '京ICP备2021020018号-1'
+    }
 	if(myhost.indexOf("jianyu360.com")>=0){
-		$("#cpinfo").html("©2015-" + nowYear + " jianyu360.com 版权所有 | " + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>')
+		$("#cpinfo").html("©2015-" + nowYear + " jianyu360.com 版权所有 | " + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">'+ copyrightMap.com +'</a>')
 	}else if(myhost.indexOf("jianyu360.cn")>=0){
-		$("#cpinfo").html("©2015-" + nowYear + " jianyu360.cn 版权所有 | " + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>')
+		$("#cpinfo").html("©2015-" + nowYear + " jianyu360.cn 版权所有 | " + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">'+ copyrightMap.cn +'</a>')
 	}else{
-		$("#cpinfo").html("©2015-" + nowYear + " jianyu360.com 版权所有 | 豫ICP备15016539号-2")
+		$("#cpinfo").html("©2015-" + nowYear + " jianyu360.com 版权所有 | " + copyrightMap.com)
 	}
 
 	$(".j-bottom .jy_province font").click(function(){

+ 14 - 2
src/web/templates/_error.html

@@ -604,9 +604,21 @@ function infoListCss(){
 <script type="text/javascript">
 // ajax部分匿名函数自执行,防止泄露全局变量
 $(function(){
+    var host = location.host
+    var copyrightMap = {
+        com: '京ICP备14030217号-3',
+        cn: '京ICP备2021020018号-1'
+    }
     // 动态设置copyright
-    var copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>'
-    $('.copyright').text(copyright)
+    var copyright = ''
+    if (host.indexOf('jianyu360.com') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    } else if (host.indexOf('jianyu360.cn') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.cn 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.cn + '</a>'
+    } else {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    }
+    $('.copyright').html(copyright)
 
   	$(".j-bottom .jy_province font").click(function(){
   		var scope = $(this).text();

+ 14 - 1
src/web/templates/active/index_bak.html

@@ -120,7 +120,20 @@
 $(function(){
     haslogin({{.T.logid}});
     // 动态设置copyright
-    var copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>'
+    var host = location.host
+    var copyrightMap = {
+        com: '京ICP备14030217号-3',
+        cn: '京ICP备2021020018号-1'
+    }
+    // 动态设置copyright
+    var copyright = ''
+    if (host.indexOf('jianyu360.com') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    } else if (host.indexOf('jianyu360.cn') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.cn 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.cn + '</a>'
+    } else {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    }
     $('.copyright').html(copyright)
 })
 //

+ 14 - 1
src/web/templates/common/mobilebottom.html

@@ -7,7 +7,20 @@
 <script type="text/javascript">
 $(function () {
     // 动态设置copyright
-    var copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>'
+    var host = location.host
+    var copyrightMap = {
+        com: '京ICP备14030217号-3',
+        cn: '京ICP备2021020018号-1'
+    }
+    // 动态设置copyright
+    var copyright = ''
+    if (host.indexOf('jianyu360.com') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    } else if (host.indexOf('jianyu360.cn') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.cn 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.cn + '</a>'
+    } else {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    }
     $('.copyright').html(copyright)
 })
 function zbSeatch(id){

+ 14 - 1
src/web/templates/common/pcbottom.html

@@ -709,7 +709,20 @@ if (location.href.indexOf('jyblog') === -1) {
 <script type="text/javascript">
 (function(){
 	// 动态设置copyright
-    var copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>'
+    var host = location.host
+    var copyrightMap = {
+        com: '京ICP备14030217号-3',
+        cn: '京ICP备2021020018号-1'
+    }
+    // 动态设置copyright
+    var copyright = ''
+    if (host.indexOf('jianyu360.com') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    } else if (host.indexOf('jianyu360.cn') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.cn 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.cn + '</a>'
+    } else {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    }
     $('.copyright').html(copyright)
 
 	$(".j-bottom .jy_province font").click(function(){

+ 14 - 1
src/web/templates/frontRouter/pc/squeeze/sess/test.html

@@ -433,7 +433,20 @@ $(function () {
     // 处理低高度屏幕下无法显示下方文字
     $('#index').css('min-height', document.documentElement.clientHeight + 'px')
     // 动态设置copyright
-    var copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>'
+    var host = location.host
+    var copyrightMap = {
+        com: '京ICP备14030217号-3',
+        cn: '京ICP备2021020018号-1'
+    }
+    // 动态设置copyright
+    var copyright = ''
+    if (host.indexOf('jianyu360.com') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    } else if (host.indexOf('jianyu360.cn') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.cn 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.cn + '</a>'
+    } else {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    }
     $('.copyright').html(copyright)
     //弹窗
     if (times<1604505600000&&times>1604246400000){

+ 14 - 1
src/web/templates/pc/index.html

@@ -587,7 +587,20 @@ $(function () {
     // 处理低高度屏幕下无法显示下方文字
     $('#index').css('min-height', document.documentElement.clientHeight + 'px')
     // 动态设置copyright
-    var copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">京ICP备14030217号-3</a>'
+    var host = location.host
+    var copyrightMap = {
+        com: '京ICP备14030217号-3',
+        cn: '京ICP备2021020018号-1'
+    }
+    // 动态设置copyright
+    var copyright = ''
+    if (host.indexOf('jianyu360.com') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    } else if (host.indexOf('jianyu360.cn') >= 0) {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.cn 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.cn + '</a>'
+    } else {
+        copyright = '©2015-' + new Date().getFullYear() + ' jianyu360.com 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + copyrightMap.com + '</a>'
+    }
     $('.copyright').html(copyright)
     //弹窗
     if (times<1604505600000&&times>1604246400000){