diff --git a/datav/css/visual.css b/datav/css/visual.css index 23b677c..b8900eb 100644 --- a/datav/css/visual.css +++ b/datav/css/visual.css @@ -97,17 +97,25 @@ html, body, form{overflow-y:auto;height:100%;} .visual_left .visual_box{height:18%;margin-bottom: 2%;} .visual_right .visual_box{height:18%;margin-bottom: 2%;} .visual_left .visual_box:nth-child(1), -.visual_right .visual_box:nth-child(1), +.visual_right .visual_box:nth-child(1) { + height: 39%; +} + .visual_left .visual_box:nth-child(2), .visual_right .visual_box:nth-child(2) { - height: 34%; + height: 24%; +} + +.visual_left .visual_box:nth-child(3), +.visual_right .visual_box:nth-child(3) { + height: 23%; } .visual_box .visual_title{position:relative;height:35px;margin:5px 0;} .visual_box .visual_title span{color:#fff;font-size:18px;line-height:35px;} .visual_box .visual_title img{width:100%;position:absolute;left:0;bottom:0;} .visual_box .visual_chart{height:calc(100% - 35px);} -.visual_left{width:25%;height:100%;float:left;margin-top: -15px;} +.visual_left{width:30%;height:100%;float:left;margin-top: -15px;} .visual_left .sfzcll{position:relative;} .visual_left .sfzcll a{width:32%;text-align:center;line-height:25px;color:#fff;display:inline-block;} .visual_left .sfzcll .sfzcll_pos_box{width:100%;height:calc(100% - 30px);} @@ -125,14 +133,14 @@ html, body, form{overflow-y:auto;height:100%;} .visual_left .sfzcll .sfzcll_box .sfzcll_smallBk .ygl{color:#00ffc6;} .visual_left .sfzcll .sfzcll_box .sfzcll_smallBk .ygh{color:#ffe400;} -.visual_con{width:50%;height:100%;float:left;padding:0 20px 0 20px;} +.visual_con{width:40%;height:100%;float:left;padding:0 20px 0 20px;} .visual_con .visual_conTop{display:grid;grid-template-columns:repeat(5,1fr);grid-auto-rows:80px;gap:10px;margin-bottom:10px;} .visual_con .visual_conTop .visual_conTop_box{height:100%;padding:0;} .visual_con .visual_conTop .visual_conTop1{width:100%;height:100%;float:none;} .visual_con .visual_conTop .visual_conTop1>div{background:url(../images/ksh40.png) no-repeat;background-size:100% 100%;} .visual_con .visual_conTop .visual_conTop2{width:30%;height:100%;float:left;} .visual_con .visual_conTop .visual_conTop2>div{background:url(../images/ksh39.png) no-repeat;background-size:100% 100%;} -.visual_right{width:25%;height:100%;float:right;margin-top: -15px;} +.visual_right{width:30%;height:100%;float:right;margin-top: -15px;} .visual_con .visual_conTop .visual_conTop_box>div{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;} .visual_con .visual_conTop .visual_conTop_box>div h3{color:#fff;font-size:14px;padding:0;margin:0;text-align:center;width:100%;} .visual_con .visual_conTop .visual_conTop_box>div p{width:100%;float:none;line-height:1.2;color:#20dbfd;text-shadow:0 0 12px #00d8ff;font-size:24px;font-family: 'yjsz';text-align:center;padding:5px 0 0 0;margin:0;} @@ -267,9 +275,17 @@ html, body, form{overflow-y:auto;height:100%;} flex: 1; text-align: center; } +/* 优化列宽分配 */ +.order_list_header span:nth-child(1), .order_item span:nth-child(1) { flex: 0.4; } /* 序号 */ +.order_list_header span:nth-child(2), .order_item span:nth-child(2) { flex: 1.4; } /* 运单号 */ +.order_list_header span:nth-child(3), .order_item span:nth-child(3) { flex: 1; } /* 起始地 */ +.order_list_header span:nth-child(4), .order_item span:nth-child(4) { flex: 1; } /* 目的地 */ +.order_list_header span:nth-child(5), .order_item span:nth-child(5) { flex: 0.6; } /* 状态 */ +.order_list_header span:nth-child(6), .order_item span:nth-child(6) { flex: 1.2; } /* 预计送达 */ + .order_list_content { flex: 1; - overflow-y: auto; + overflow-y: hidden; /* 隐藏滚动条,使用自动滚动 */ } .order_item { display: flex; @@ -404,7 +420,7 @@ html, body, form{overflow-y:auto;height:100%;} .market_list_header span { color: #aaa; - font-size: 13px; + font-size: 14px; text-align: center; font-weight: bold; } @@ -424,7 +440,7 @@ html, body, form{overflow-y:auto;height:100%;} .market_item span { color: #fff; - font-size: 12px; + font-size: 13px; text-align: center; overflow: hidden; text-overflow: ellipsis; diff --git a/datav/index.html b/datav/index.html index 1ceb9f5..0426701 100644 --- a/datav/index.html +++ b/datav/index.html @@ -5,7 +5,7 @@ - + @@ -31,11 +31,9 @@
-
-