liuyifan il y a 5 ans
Parent
commit
7250dc8d90
2 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 4 4
      WebChart_2.0/js/index.js
  2. 4 4
      WebUI/CallCenterWeb.UI/js/index.js

+ 4 - 4
WebChart_2.0/js/index.js

@@ -562,9 +562,9 @@ function timeLimit () {
562 562
         dataType: 'json',
563 563
         async: false,
564 564
         success: function(data) {
565
-            var contentAuthDate = '<span style="font-size: 20px; color: red">' + 
566
-            '您的系统授权将于' + data.AuthDate + ' 00:00过期,请您尽快联系本项目的项目负责人以获取授权,避免影响您对系统的正常使用。' +
567
-            '</span>'
565
+			var contentAuthDate = '<div style="font-size: 28px; color: red; padding: 10px 50px 0 50px; line-height: 40px">' + 
566
+            '您的系统授权将于' + data.AuthDate + ' 00:00过期,请您尽快联系本项目的项目负责人以获取授权,避免系统无法正常使用。' +
567
+            '</div>'
568 568
             if (parseInt(data.day) < 30) {
569 569
                 layer.confirm(contentAuthDate, {
570 570
                     title: ['提示'],
@@ -575,4 +575,4 @@ function timeLimit () {
575 575
         }
576 576
     });
577 577
 }
578
-var timer = setInterval(timeLimit, 1800000);
578
+var timer = setInterval(timeLimit, 600000);

+ 4 - 4
WebUI/CallCenterWeb.UI/js/index.js

@@ -1861,13 +1861,13 @@ function timeLimit () {
1861 1861
             token: $.cookie("token")
1862 1862
         },
1863 1863
         success: function(data) {
1864
-            var contentAuthDate = '<span style="font-size: 20px; color: red">' + 
1865
-            '您的系统授权将于' + data.AuthDate + ' 00:00过期,请您尽快联系本项目的项目负责人以获取授权,避免影响您对系统的正常使用。' +
1866
-            '</span>'
1864
+            var contentAuthDate = '<div style="font-size: 28px; color: red; padding: 20px 80px 0 80px; line-height: 40px">' + 
1865
+            '您的系统授权将于' + data.AuthDate + ' 00:00过期,请您尽快联系本项目的项目负责人以获取授权,避免系统无法正常使用。' +
1866
+            '</div>'
1867 1867
             if (parseInt(data.day) < 30) {
1868 1868
                 layer.confirm(contentAuthDate, {
1869 1869
                     title: ['提示'],
1870
-                    area: ['700px', '200px'],
1870
+                    area: ['700px', '330px'],
1871 1871
                     btn: ['确定'],
1872 1872
                     // yes:function (index, layero) {
1873 1873
                     //     window.location.href = "login.html";