liuqiao 1 năm trước cách đây
mục cha
commit
efc55d19c3
2 tập tin đã thay đổi với 7 bổ sung6 xóa
  1. 2 2
      src/style/style.css
  2. 5 4
      src/view/index/first-left.vue

+ 2 - 2
src/style/style.css

@@ -1693,8 +1693,8 @@ background-color: #F9A466  !important;
   font-size: 10px;
 }
 .zongji .jcshijian{
-  line-height: 1.5;
-  font-size:8px;
+  line-height: 1.2;
+  font-size:0.0521rem;
   text-align: center;
   white-space:nowrap;
 }

+ 5 - 4
src/view/index/first-left.vue

@@ -86,9 +86,9 @@
             <div id="line" style="width: 1.526rem;height:1.03rem;"></div></div>
             <div class="zongji"  v-if="props.classradio=='Water'" >
                 <div class="zongjili img3">{{ heightnum }}<span>m</span></div>
-                <div class="zongjili img4 imf">
-                  <!-- <p class="jcshijian">2024-03-20</p> -->
-                  <p>{{ maxtime.steptime }}</p></div>
+                <div class="zongjili img4">
+                  <p class="jcshijian">{{datetime}}</p>
+                  <p style="text-align: center;font-size: 0.0625rem;">{{ maxtime.steptime }}</p></div>
               </div>
             </div>
             </div>
@@ -186,6 +186,7 @@ let heightnum=ref("0");
 let maxtime=ref({
   steptime:"03:02"
 });
+let datetime=ref();
 let jcname=ref("监测点");
 let danwei=ref();
 let state=ref();
@@ -312,7 +313,7 @@ await request(params)
   .then((res) => {
     if (res.returnCode == "000000000") {
       //成功
-    
+      datetime.value=res.endtime.slice(0,10);
       if(res.state=='1'){
       //  vtkmodel.clearModeAddJg(); //隐藏模版显示结果
       job.value = res;