Kaynağa Gözat

优化版本时间轴字体颜色

qinzhipeng_v@didiglobal.com 4 yıl önce
ebeveyn
işleme
fe552e0823

+ 1 - 0
src/views/projectManage/version/list/index.vue

@@ -530,6 +530,7 @@ export default {
 }
 .time-line-container {
   margin-top: 20px;
+  padding: 0 20px;
   border: 1px solid rgba(238,238,238,1);
   background: #fcfcfc;
   border-radius: 4px;

+ 3 - 2
src/views/projectManage/version/list/timeLine.vue

@@ -72,10 +72,11 @@ export default {
 }
 .swiper-container::-webkit-scrollbar {display:none}
 .timeline {
-  width: 96%;
+  width: 100%;
   list-style-type: none;
   display: flex;
   padding: 0;
+  margin: 0;
   text-align: center;
 }
 .swiper-slide {
@@ -138,7 +139,7 @@ export default {
   .content0,.content1,.content2 {
     width: 100%;
     font-size: 14px;
-    color: #909399;
+    color: #333;
     position: absolute;
     left: 50%;
     transform: translateX(-50%);