zhangxc 4 年之前
父節點
當前提交
be7bed7761
共有 3 個文件被更改,包括 11 次插入8 次删除
  1. 8 5
      src/css/cdss.less
  2. 二進制
      src/images/new.png
  3. 3 3
      src/js/cdss.js

+ 8 - 5
src/css/cdss.less

@@ -27,7 +27,7 @@ body{
     position: absolute;
     position: absolute;
     left: 0;
     left: 0;
     width: 100%;
     width: 100%;
-    bottom: 10px;
+    bottom: 14px;
     background-color: #fff;
     background-color: #fff;
 }
 }
 .disclaimer {
 .disclaimer {
@@ -41,11 +41,14 @@ body{
     z-index: 98;
     z-index: 98;
     .version-tip{
     .version-tip{
         margin-left: 20px;
         margin-left: 20px;
+        display: inline-block;
         font-size: 12px;
         font-size: 12px;
+        line-height: 12px;
         padding-right: 34px;
         padding-right: 34px;
         cursor: pointer;
         cursor: pointer;
         &.new-icon{
         &.new-icon{
             background: url(../images/new.png) 100% 0px no-repeat;
             background: url(../images/new.png) 100% 0px no-repeat;
+            background-size: 27px;
         }
         }
     }
     }
     .logo {
     .logo {
@@ -202,7 +205,7 @@ body{
 }
 }
 .moduleItem{
 .moduleItem{
     border: 1px solid #EAEDF1;
     border: 1px solid #EAEDF1;
-    margin: 0 0 20px 0;
+    margin: 0 0 10px 0;
 }
 }
 .longBox,.shortBox{
 .longBox,.shortBox{
     padding: 5px 15px;
     padding: 5px 15px;
@@ -242,14 +245,14 @@ body{
     color: #3B9ED0;
     color: #3B9ED0;
 }
 }
 .moduleTitle{
 .moduleTitle{
-    height: 40px;
-    line-height: 40px;
+    height: 35px;
+    line-height: 35px;
     font-size: 14px;
     font-size: 14px;
     font-weight: 600;
     font-weight: 600;
     .titleIcon{
     .titleIcon{
         width: 24px;
         width: 24px;
         position: relative;
         position: relative;
-        top: 8px;
+        top: 6px;
         margin: 0 8px;
         margin: 0 8px;
     }
     }
 }
 }

二進制
src/images/new.png


+ 3 - 3
src/js/cdss.js

@@ -56,7 +56,7 @@ getMRInfo().then(res =>{
     if(res.data.code == '0'){
     if(res.data.code == '0'){
         msg = res.data.data ||{}
         msg = res.data.data ||{}
         window.msg = msg
         window.msg = msg
-        getConf().then(res =>{
+        return getConf().then(res =>{
           if(res.data.code == '0'){
           if(res.data.code == '0'){
             // const configArr = res.data.data.pushSetList || []
             // const configArr = res.data.data.pushSetList || []
             // getPageInfo(configArr)
             // getPageInfo(configArr)
@@ -183,7 +183,7 @@ function moreInfo() {
 }
 }
 
 
 function getVersion() {
 function getVersion() {
-  post(config.getVersion, 'confArr').then((res) => {
+  return post(config.getVersion, 'confArr').then((res) => {
     const data = res.data.data;
     const data = res.data.data;
     const ver = localStorage.getItem('versionTime');
     const ver = localStorage.getItem('versionTime');
     const time = data.refreshTime;
     const time = data.refreshTime;
@@ -196,7 +196,7 @@ function getVersion() {
   })
   })
 }
 }
 function getDisclaimer() {
 function getDisclaimer() {
-    post(config.disclaimer, {}).then((res) => {
+    return post(config.disclaimer, {}).then((res) => {
         const data = res.data.data.find(item => item.disclaimerCode == "2");
         const data = res.data.data.find(item => item.disclaimerCode == "2");
         $(".responsibility").html(data.description);
         $(".responsibility").html(data.description);
         // $(".iframeWrap").css({height: $(window).height()-115-$(".responsibility").height()+"px"})
         // $(".iframeWrap").css({height: $(window).height()-115-$(".responsibility").height()+"px"})