ws 1 år sedan
förälder
incheckning
ed83415c31

+ 1 - 0
nngkxxdp/src/main/resources/static/mxt/css/index-app.css

@@ -611,6 +611,7 @@ line-height: 24px;
    text-overflow: ellipsis;
    margin-top: -42px;
    padding-bottom: 10px;
+   text-align: center;
 }
 
 .line-limit-2 {

+ 1 - 1
nngkxxdp/src/main/resources/static/mxt/js/index-app.js

@@ -14,7 +14,7 @@ function getajaxTop(params, path) {
                 for (var i = 1; i < res.data.length; i++) {
                     liText += `<li><span class='line-limit-2' onclick="openUrl('${res.data[i].url}')">${res.data[i].title}</span><img src="${res.data[i].cover}" alt=""></li >`;
                 }
-                var htmlText = `<img style="cursor: pointer" onclick="openUrl('${res.data[0].url}')" src="${res.data[0].cover}" alt='' class='img' /><div style='width: 310px;left: 50px;' class='messageDialogTitle'>${res.data[0].title}</div><ul>${liText}</ul>`;
+                var htmlText = `<img style="cursor: pointer" onclick="openUrl('${res.data[0].url}')" src="${res.data[0].cover}" alt='' class='img' /><div style='' class='messageDialogTitle'>${res.data[0].title}</div><ul>${liText}</ul>`;
                 $(".messagetop").html(htmlText);
             }
         },

+ 2 - 2
nngkxxdp/src/main/resources/static/mxt/mxt-app.html

@@ -59,8 +59,8 @@
 			width: 100% !important;
 		}
 		.app-message .messageDialogTitle {
-			left: calc(2% + 15px) !important;
-			width: calc(96% - 30px) !important;
+			/* left: calc(2% + 15px) !important;
+			width: calc(96% - 30px) !important; */
 			text-align: center;
 		}
 		.app-message ul {