From b62e15cb355a057b9cf289bcd602e063a5cab2f4 Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Thu, 21 Jan 2021 09:43:19 +0800 Subject: [PATCH] * Adjust CSS style. --- module/index/css/index.css | 14 +++++++++++++- module/index/view/index.html.php | 16 ++++++++-------- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/module/index/css/index.css b/module/index/css/index.css index 24d87480e8..945a519d84 100644 --- a/module/index/css/index.css +++ b/module/index/css/index.css @@ -91,4 +91,16 @@ body.menu-hide {padding-left: 0;} #upgradeContent {display:none; position: absolute; right: 30px; top: -290px; height:282px; background-color: #fff; left: 0px; padding: 5px 0; border: 1px solid rgba(0,0,0,.15); border-color: rgba(0,0,0,.1); opacity: 1; border-radius: 4px; box-shadow: 0 6px 12px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.1);} #latestVersionList {height: 190px; overflow: auto;} -.upgrade-conten {color: #8a8a8a} + +.version-name {width: 20%;} +.version-date {width: 15%; color: #8a8a8a;} +.version-explain {width: 45%; color: #8a8a8a;} +.version-actions {width: 20%;} + +@media screen and (max-height: 768px) +{ +.version-name {width: 25%;} +.version-date {width: 20%; color: #8a8a8a;} +.version-explain {width: 25%; color: #8a8a8a; overflow: hidden; text-overflow:ellipsis; white-space: nowrap;} +.version-actions {width: 30%;} +} diff --git a/module/index/view/index.html.php b/module/index/view/index.html.php index a73cd5889b..30d4a32a62 100644 --- a/module/index/view/index.html.php +++ b/module/index/view/index.html.php @@ -78,10 +78,10 @@ js::set('defaultOpen', $open); - - - - + + + +
index->versionName;?>index->releaseDate;?>index->explain;?>index->actions;?>index->versionName;?>index->releaseDate;?>index->explain;?>index->actions;?>
@@ -96,10 +96,10 @@ js::set('defaultOpen', $open); - zentaoPMS . $version->name;?> - date;?> - explain;?> - + zentaoPMS . $version->name;?> + date;?> + explain;?> + index->upgrade;?> index->log;?>