Explorar o código

可视化自适应

buzhi hai 1 ano
pai
achega
b61b38d297

+ 5 - 5
src/views/VisualDisplay/src/compontent/header.vue

@@ -57,7 +57,7 @@ onBeforeUnmount(() => {
57 57
   right: 4%;
58 58
   top: 45%;
59 59
   transform: translate(0, -50%);
60
-  font-size: 20px;
60
+  font-size: 0.25rem;
61 61
   color: white;
62 62
   font-weight: 500;
63 63
   font-family: '黑体';
@@ -65,12 +65,12 @@ onBeforeUnmount(() => {
65 65
 .header .time::before{
66 66
   content:"";
67 67
   display: inline-block;
68
-  width: 24px;
69
-  height: 24px;
68
+  width: 0.3rem;
69
+  height: 0.3rem;
70 70
   background: url('@/assets/ksh/home/icon-time.png') no-repeat;
71 71
   background-size: 100% 100%;
72 72
   position: absolute;
73
-  top: -2px;
74
-  left: -35px;
73
+  top: -0.025rem;
74
+  left: -0.4375rem;
75 75
 }
76 76
 </style>

+ 208 - 154
src/views/VisualDisplay/src/pages/cf/index.vue

@@ -89,7 +89,7 @@
89 89
             </div>
90 90
           </div>
91 91
         </el-col>
92
-        <el-col :span="15" style="padding-right: 15px">
92
+        <el-col :span="15" style="padding-right: 0.1875rem">
93 93
           <div class="map-area">
94 94
             <div class="operation-box">
95 95
               <el-radio-group v-model="tabPosition" @change="tabClick" style="width: 80%">
@@ -104,7 +104,7 @@
104 104
                   @change="cangSelect"
105 105
                   v-model="cangName"
106 106
                   placeholder="选择货位"
107
-                  style="width: 150px"
107
+                  style="width: 1.875rem"
108 108
                 >
109 109
                   <el-option
110 110
                     v-for="(item, index) in cangOptions"
@@ -121,7 +121,7 @@
121 121
             <div class="hw-rightcon">
122 122
               <div v-if="tabPosition == 'hwk'">
123 123
                 <h3 class="hwk_title"><i></i>货位信息</h3>
124
-                <el-form class="formstyletwo" ref="form" :model="baseformhw" label-width="140px">
124
+                <el-form class="formstyletwo" ref="form" :model="baseformhw" label-width="1.75rem">
125 125
                   <el-row :gutter="30">
126 126
                     <!-- <el-col :span="16"> -->
127 127
                     <el-col :span="8">
@@ -143,7 +143,7 @@
143 143
                     <!-- <el-col :span="8">
144 144
                   <div class="img" style="width: 100%;text-align:center">
145 145
                       <el-image
146
-                        style="width: 240px; height: 240px;cursor: pointer;margin-top: -28px;"
146
+                        style="width: 240px; height: 240px;cursor: pointer;margin-top: -0.35rem;"
147 147
                         :src="qrCodeUrl"
148 148
                         fit="fill"
149 149
                         @click="handleCodeShow"
@@ -204,7 +204,7 @@
204 204
                 <el-form :inline="true" class="formstylethree" ref="form" :model="searchform">
205 205
                   <el-form-item label="业务日期">
206 206
                     <el-date-picker
207
-                      style="width: 180px"
207
+                      style="width: 2.25rem"
208 208
                       @change="searchCrk"
209 209
                       clearable
210 210
                       v-model="searchform.ywrq"
@@ -216,7 +216,7 @@
216 216
                   </el-form-item>
217 217
                   <el-form-item label="出入库类型">
218 218
                     <el-select
219
-                      style="width: 180px"
219
+                      style="width: 2.25rem"
220 220
                       @change="searchCrk"
221 221
                       v-model="searchform.crklx"
222 222
                       placeholder="请选择"
@@ -248,13 +248,13 @@
248 248
                       </el-table-column>
249 249
                       <el-table-column prop="ywrq" label="业务时间" align="center" />
250 250
                       <el-table-column prop="lspzmc" label="粮食品种" align="center">
251
-                        <template #default="scope">
251
+                        <!-- <template #default="scope">
252 252
                           <dict-tag
253 253
                             v-if="scope.row.lspzmc"
254 254
                             :type="DICT_TYPE.SYSTEM_LSPZ"
255 255
                             :value="scope.row.lspzmc"
256 256
                           />
257
-                        </template>
257
+                        </template> -->
258 258
                       </el-table-column>
259 259
                       <el-table-column prop="lsdjbm" label="粮食等级" align="center" />
260 260
                       <el-table-column prop="jz" label="净重(公斤)" align="center" />
@@ -289,8 +289,8 @@
289 289
               </div>
290 290
               <div v-if="tabPosition == 'zj'">
291 291
                 <!-- <h3><i></i>检测记录</h3> -->
292
-                <div class="resettablewrap resettablewrap-spe" style="margin-bottom: 10px">
293
-                  <el-scrollbar style="height: 500px">
292
+                <div class="resettablewrap resettablewrap-spe" style="margin-bottom: 0.125rem">
293
+                  <el-scrollbar style="height: 6.25rem">
294 294
                     <el-table
295 295
                       :data="zhijTableData"
296 296
                       style="width: 100%; overflow-x: hidden"
@@ -313,13 +313,13 @@
313 313
                         </template>
314 314
                       </el-table-column>
315 315
                       <el-table-column prop="lspzmc" label="粮食品种" align="center">
316
-                        <template #default="scope">
316
+                        <!-- <template #default="scope">
317 317
                           <dict-tag
318 318
                             v-if="scope.row.lspzmc"
319 319
                             :type="DICT_TYPE.SYSTEM_LSPZ"
320 320
                             :value="scope.row.lspzmc"
321 321
                           />
322
-                        </template>
322
+                        </template> -->
323 323
                       </el-table-column>
324 324
                       <el-table-column prop="lsdjbm" label="粮食等级" align="center" />
325 325
                       <el-table-column prop="jcrrxm" label="检测人员姓名" align="center" />
@@ -349,7 +349,7 @@
349 349
                   </el-radio-group>
350 350
                 </div> -->
351 351
                 <div>
352
-                  <el-form class="formstyletwo" ref="form" :model="wensdform" label-width="200px">
352
+                  <el-form class="formstyletwo" ref="form" :model="wensdform" label-width="2.5rem">
353 353
                     <el-row :gutter="30">
354 354
                       <el-col :span="8">
355 355
                         <el-form-item label="仓廒名称">
@@ -432,7 +432,7 @@
432 432
                 </div>
433 433
               </div>
434 434
               <div v-if="tabPosition == 'sy'">
435
-                <el-scrollbar style="height: 600px">
435
+                <el-scrollbar style="height: 7.5rem">
436 436
                   <div class="resettablewrap">
437 437
                     <el-table
438 438
                       :data="crkTableDataSy"
@@ -497,19 +497,19 @@
497 497
     </div>
498 498
 
499 499
     <div class="dialog_file">
500
-      <el-dialog title="" v-model="Dialogfiles" width="1150px" top="15vh">
500
+      <el-dialog title="" v-model="Dialogfiles" width="14.375rem" top="15vh">
501 501
         <template #header="{}">
502 502
           <div class="dialog_title">
503 503
             <span class="dialog_title_text">{{ searchform.crklx == 0 ? '出库' : '入库' }}单</span>
504 504
           </div>
505 505
         </template>
506
-        <el-scrollbar class="hw-rightcon" style="height: 600px; margin: 0">
506
+        <el-scrollbar class="hw-rightcon" style="height: 7.5rem; margin: 0">
507 507
           <el-form
508 508
             class="formstyletwo"
509
-            style="height: 600px; padding: 15px"
509
+            style="height: 7.5rem; padding: 0.1875rem"
510 510
             ref="form"
511 511
             :model="crkDetail"
512
-            label-width="140px"
512
+            label-width="1.75rem"
513 513
           >
514 514
             <h3 class="hwk_title"><i></i>基础信息</h3>
515 515
             <el-row :gutter="20">
@@ -586,6 +586,7 @@
586 586
 </template>
587 587
 
588 588
 <script lang="ts" setup>
589
+import '@/utils/flexible'
589 590
 import * as Api from '../../api'
590 591
 import Header from '@/views/VisualDisplay/src/compontent/header.vue'
591 592
 import { DICT_TYPE } from '@/utils/dict'
@@ -845,18 +846,19 @@ onMounted(() => {
845 846
 .container-page {
846 847
   width: 100%;
847 848
   height: 100%;
848
-  overflow: auto;
849
+  overflow-x: hidden;
850
+  overflow-y: auto;
849 851
   background: url('@/assets/ksh/home/bj.jpg') no-repeat;
850 852
   background-size: 100% 100%;
851 853
   color: #ffffff;
852 854
 }
853 855
 .header {
854
-  width: 1920px;
855
-  height: 110px;
856
+  width: 24rem;
857
+  height: 1.375rem;
856 858
 }
857 859
 .container-body {
858
-  width: 1920px;
859
-  height: 970px;
860
+  width: 24rem;
861
+  height: 12.125rem;
860 862
 }
861 863
 @media (min-width: 1920px) and (min-height: 1080px) {
862 864
   .container-page {
@@ -868,8 +870,8 @@ onMounted(() => {
868 870
   width: 100%;
869 871
   // height: 88vh;
870 872
   // height: 100%;
871
-  height: 930px;
872
-  padding: 10px 15px;
873
+  height: 11.625rem;
874
+  padding: 0.125rem 0.1875rem;
873 875
 }
874 876
 .kqxx_box .box_khxx {
875 877
   width: 100%;
@@ -887,18 +889,18 @@ onMounted(() => {
887 889
 }
888 890
 .kqxx_box .box_title {
889 891
   width: 100%;
890
-  height: 45px;
891
-  padding-left: 50px;
892
+  height: 0.5625rem;
893
+  padding-left: 0.625rem;
892 894
   display: flex;
893 895
   align-items: center;
894 896
   margin-bottom: 0;
895 897
 }
896 898
 .kqxx_box .box_title .title-top {
897
-  font-size: 28px;
899
+  font-size: 0.35rem;
898 900
   font-family: 'Pangmen';
899 901
   position: relative;
900
-  letter-spacing: 4px;
901
-  // margin-top: 5px;
902
+  letter-spacing: 0.05rem;
903
+  // margin-top: 0.0625rem;
902 904
   background: linear-gradient(to bottom, #f2fcfd, #a3e0fb);
903 905
   -webkit-background-clip: text;
904 906
   -webkit-text-fill-color: transparent;
@@ -906,65 +908,67 @@ onMounted(() => {
906 908
 .kqxx_box .box_title .title-top::before {
907 909
   content: '';
908 910
   display: inline-block;
909
-  width: 13px;
910
-  height: 16px;
911
+  width: 0.1625rem;
912
+  height: 0.2rem;
911 913
   background: url('@/assets/ksh/home/icon-square.png') no-repeat;
912 914
   background-size: 100% 100%;
913 915
   position: absolute;
914
-  left: -28px;
915
-  top: 8px;
916
+  left: -0.35rem;
917
+  top: 0.1rem;
916 918
 }
917 919
 .kqxx_box .box_khxx .kqxx_content {
918 920
   width: 100%;
919
-  height: calc(100% - 45px);
920
-  padding: 20px;
921
+  height: calc(100% - 0.5625rem);
922
+  padding: 0.25rem;
921 923
   display: flex;
922 924
   flex-direction: column;
923 925
   justify-content: space-around;
924 926
 }
925 927
 .kqxx_box .box_khxx .box_item {
926 928
   display: flex;
927
-  height: 50px;
929
+  height: 0.625rem;
928 930
 }
929 931
 
930 932
 .kqxx_content .box_item .box_icon {
931
-  width: 50px;
932
-  height: 50px;
933
-  background-size: 100% 100%;
933
+  width: 0.625rem;
934
+  height: 0.625rem;
934 935
 }
935 936
 .kqxx_content .box_item .icon_kh1 {
936 937
   background: url('@/assets/ksh/cf/icon-dwmc.png') no-repeat;
938
+  background-size: 100% 100%;
937 939
 }
938 940
 .kqxx_content .box_item .icon_kh2 {
939 941
   background: url('@/assets/ksh/cf/icon-lxdh.png') no-repeat;
942
+  background-size: 100% 100%;
940 943
 }
941 944
 .kqxx_content .box_item .icon_kh3 {
942 945
   background: url('@/assets/ksh/cf/icon-xydm.png') no-repeat;
946
+  background-size: 100% 100%;
943 947
 }
944 948
 .kqxx_content .box_content {
945 949
   display: flex;
946
-  padding-right: 24px;
947
-  margin-left: 28px;
950
+  padding-right: 0.3rem;
951
+  margin-left: 0.35rem;
948 952
   justify-content: space-between;
949 953
   background: #203e72;
950 954
   width: 88%;
951
-  border-radius: 8px;
955
+  border-radius: 0.1rem;
952 956
 }
953 957
 .kqxx_content .box_content span {
954
-  height: 35px;
955
-  line-height: 35px;
956
-  margin-top: 8px;
957
-  font-size: 18px;
958
+  height: 0.4375rem;
959
+  line-height: 0.4375rem;
960
+  margin-top: 0.1rem;
961
+  font-size: 0.225rem;
958 962
 }
959 963
 .kqxx_content .box_content .span_left {
960 964
   width: 50%;
961
-  padding-left: 20px;
965
+  padding-left: 0.25rem;
962 966
   text-align: left;
963 967
 }
964 968
 .kqxx_content .box_content .span_right {
965
-  margin-left: 10px;
969
+  margin-left: 0.125rem;
966 970
   width: 50%;
967
-  border-radius: 9px;
971
+  border-radius: 0.1125rem;
968 972
   text-align: right;
969 973
   background: linear-gradient(to bottom, #fefefe, #f2d349);
970 974
   -webkit-background-clip: text;
@@ -972,7 +976,7 @@ onMounted(() => {
972 976
 }
973 977
 
974 978
 .cfxx_content {
975
-  padding: 25px 20px 0;
979
+  padding: 0.3125rem 0.25rem 0;
976 980
   display: flex;
977 981
   flex-direction: column;
978 982
   justify-content: space-around;
@@ -982,32 +986,32 @@ onMounted(() => {
982 986
   display: flex;
983 987
 }
984 988
 .cfxx_content .box_content span {
985
-  height: 41px;
986
-  line-height: 41px;
987
-  font-size: 18px;
989
+  height: 0.5125rem;
990
+  line-height: 0.5125rem;
991
+  font-size: 0.225rem;
988 992
 }
989 993
 .cfxx_content .box_content .span_left {
990
-  width: 167px;
994
+  width: 2.0875rem;
991 995
   color: #ffffff;
992
-  padding-left: 10px;
996
+  padding-left: 0.125rem;
993 997
   background: url('@/assets/ksh/cf/cf-bj.png') no-repeat;
994 998
   background-size: 100% 100%;
995 999
 }
996 1000
 .cfxx_content .box_content .span_right {
997 1001
   flex: 1;
998
-  margin-left: 25px;
999
-  border-radius: 9px;
1002
+  margin-left: 0.3125rem;
1003
+  border-radius: 0.1125rem;
1000 1004
   background: #214076;
1001 1005
   color: #ffffff;
1002
-  padding-left: 10px;
1006
+  padding-left: 0.125rem;
1003 1007
 }
1004 1008
 
1005 1009
 .map-area {
1006
-  padding-top: 20px;
1010
+  padding-top: 0.25rem;
1007 1011
   height: 98%;
1008 1012
   background: url('@/assets/ksh/cf/right-bj.png') no-repeat;
1009 1013
   background-size: 100% 100%;
1010
-  margin-top: 14px;
1014
+  margin-top: 0.175rem;
1011 1015
 }
1012 1016
 
1013 1017
 /*最外层透明*/
@@ -1016,7 +1020,7 @@ onMounted(() => {
1016 1020
   background-color: transparent;
1017 1021
   color: rgba(255, 255, 255, 0.5);
1018 1022
   opacity: 0.8;
1019
-  font-size: 12px;
1023
+  font-size: 0.15rem;
1020 1024
 }
1021 1025
 
1022 1026
 :deep(
@@ -1029,7 +1033,7 @@ onMounted(() => {
1029 1033
 }
1030 1034
 
1031 1035
 :deep(.el-table--medium .el-table__cell) {
1032
-  padding: 2px 0;
1036
+  padding: 0.025rem 0;
1033 1037
 }
1034 1038
 
1035 1039
 .el-table {
@@ -1038,14 +1042,14 @@ onMounted(() => {
1038 1042
 
1039 1043
 :deep(.el-table),
1040 1044
 :deep(.el-table__expanded-cell) {
1041
-  font-size: 14px;
1045
+  font-size: 0.175rem;
1042 1046
 }
1043 1047
 :deep(.el-table th),
1044 1048
 :deep(.el-table tr),
1045 1049
 :deep(.el-table td) {
1046 1050
   background-color: transparent;
1047 1051
   color: #ffffff;
1048
-  height: 45px;
1052
+  height: 0.5625rem;
1049 1053
 }
1050 1054
 
1051 1055
 :deep(.el-table--striped .el-table__body tr.el-table__row--striped td) {
@@ -1068,7 +1072,7 @@ onMounted(() => {
1068 1072
 }
1069 1073
 :deep(.el-table th.el-table__cell.is-leaf, .el-table td.el-table__cell) {
1070 1074
   border-bottom: 0px solid #dfe6ec;
1071
-  font-size: 18px;
1075
+  font-size: 0.225rem;
1072 1076
   font-weight: 500;
1073 1077
   color: #ffffff !important;
1074 1078
 }
@@ -1088,7 +1092,7 @@ onMounted(() => {
1088 1092
 }
1089 1093
 :deep(.el-table tbody tr.two-row) {
1090 1094
   background: url('@/assets/ksh/cf/crk-bj3.png') 0 50% no-repeat !important;
1091
-  background-size: 100% 15px !important;
1095
+  background-size: 100% 0.1875rem !important;
1092 1096
 }
1093 1097
 :deep(.resettablewrap2 .el-table tbody tr) {
1094 1098
   cursor: pointer;
@@ -1109,36 +1113,36 @@ onMounted(() => {
1109 1113
     top: 50%;
1110 1114
     left: 50%;
1111 1115
     transform: translate(-50%, -50%);
1112
-    max-height: calc(100% - 30px);
1116
+    max-height: calc(100% - 0.375rem);
1113 1117
   }
1114 1118
   .el-dialog__body::-webkit-scrollbar {
1115 1119
     display: none;
1116 1120
   }
1117 1121
   .dialog_title {
1118 1122
     color: #ffffff;
1119
-    font-size: 24px;
1120
-    line-height: 20px;
1123
+    font-size: 0.3rem;
1124
+    line-height: 0.25rem;
1121 1125
     position: relative;
1122 1126
     .dialog_title_text {
1123
-      margin-left: 30px;
1124
-      // margin-top: -10px;
1127
+      margin-left: 0.375rem;
1128
+      // margin-top: -0.125rem;
1125 1129
       position: relative;
1126 1130
     }
1127 1131
     .dialog_title_text::before {
1128 1132
       content: '';
1129 1133
       display: inline-block;
1130
-      width: 13px;
1131
-      height: 16px;
1134
+      width: 0.1625rem;
1135
+      height: 0.2rem;
1132 1136
       background: url('@/assets/ksh/home/icon-square.png') no-repeat;
1133 1137
       background-size: 100% 100%;
1134 1138
       position: absolute;
1135
-      top: 8px;
1136
-      left: -24px;
1139
+      top: 0.1rem;
1140
+      left: -0.3rem;
1137 1141
     }
1138 1142
   }
1139 1143
   .el-dialog__headerbtn {
1140
-    top: 6px;
1141
-    right: 6px;
1144
+    top: 0.075rem;
1145
+    right: 0.075rem;
1142 1146
   }
1143 1147
   .el-dialog__headerbtn .el-dialog__close {
1144 1148
     display: none;
@@ -1146,8 +1150,8 @@ onMounted(() => {
1146 1150
   .el-dialog__headerbtn::before {
1147 1151
     content: '';
1148 1152
     display: inline-block;
1149
-    width: 15px;
1150
-    height: 15px;
1153
+    width: 0.1875rem;
1154
+    height: 0.1875rem;
1151 1155
     background: url('@/assets/ksh/dialog/close.png') no-repeat;
1152 1156
     background-size: 100% 100%;
1153 1157
   }
@@ -1158,37 +1162,37 @@ onMounted(() => {
1158 1162
   background-color: transparent;
1159 1163
   border-width: 0;
1160 1164
   color: #ffffff;
1161
-  font-size: 16px;
1165
+  font-size: 0.2rem;
1162 1166
   padding: 0;
1163 1167
 }
1164 1168
 .resettablewrap .el-tag {
1165 1169
   background-color: transparent;
1166 1170
   border-width: 0;
1167 1171
   color: #ffffff;
1168
-  font-size: 14px;
1172
+  font-size: 0.175rem;
1169 1173
   padding: 0;
1170 1174
 }
1171 1175
 .resettablewrap2 .el-tag {
1172 1176
   background-color: transparent;
1173 1177
   border-width: 0;
1174 1178
   color: #ffffff;
1175
-  font-size: 14px;
1179
+  font-size: 0.175rem;
1176 1180
   padding: 0;
1177 1181
 }
1178 1182
 .operation-box {
1179 1183
   position: relative;
1180
-  margin: 0 20px 20px;
1184
+  margin: 0 0.25rem 0.25rem;
1181 1185
   .el-radio-button {
1182
-    margin-right: 10px;
1183
-    margin-bottom: 10px;
1186
+    margin-right: 0.125rem;
1187
+    margin-bottom: 0.125rem;
1184 1188
   }
1185 1189
   .el-radio-button__inner {
1186 1190
     background: linear-gradient(to bottom, #152c61 25%, #183a72 50%, #4780db 100%);
1187 1191
     color: #c2c7d6;
1188
-    padding: 10px 40px;
1189
-    border: 1px solid #6caad7 !important;
1190
-    border-radius: 5px;
1191
-    font-size: 16px;
1192
+    padding: 0.125rem 0.5rem;
1193
+    border: 0.0125rem solid #6caad7 !important;
1194
+    border-radius: 0.0625rem;
1195
+    font-size: 0.2rem;
1192 1196
     // border-left: 0;
1193 1197
   }
1194 1198
   .is-active .el-radio-button__inner {
@@ -1198,7 +1202,7 @@ onMounted(() => {
1198 1202
   }
1199 1203
   .el-radio-button:first-child .el-radio-button__inner,
1200 1204
   .el-radio-button:last-child .el-radio-button__inner {
1201
-    border-radius: 5px;
1205
+    border-radius: 0.0625rem;
1202 1206
   }
1203 1207
   .changecang {
1204 1208
     position: absolute;
@@ -1208,84 +1212,91 @@ onMounted(() => {
1208 1212
     width: 23%;
1209 1213
     justify-content: space-between;
1210 1214
     // .el-input__inner {
1211
-    //   font-size: 18px;
1212
-    //   border: 1px solid #4187b5;
1215
+    //   font-size: 0.225rem;
1216
+    //   border: 0.0125rem solid #4187b5;
1213 1217
     //   color: #ffffff;
1214 1218
     //   background: linear-gradient(
1215 1219
     //     rgba(13, 69, 121, 0.3) 0%,
1216 1220
     //     rgba(22, 37, 73, 0.3) 50%,
1217 1221
     //     rgba(13, 69, 121, 0.3) 100%
1218 1222
     //   );
1219
-    //   box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
1223
+    //   box-shadow: 0 0.025rem 0.15rem 0 rgba(0, 0, 0, 0.1);
1220 1224
     // }
1221 1225
     .el-select__wrapper {
1222 1226
       background: linear-gradient(to bottom, #152c61 25%, #183a72 50%, #4780db 100%) !important;
1223
-
1224
-      border: 1px solid #6caad7 !important;
1225
-      border-radius: 5px;
1227
+      border: 0.0125rem solid #6caad7 !important;
1228
+      border-radius: 0.0625rem;
1226 1229
       box-shadow: none;
1227
-      height: 38px;
1230
+      height: 0.475rem;
1231
+      font-size: 0.175rem;
1232
+      gap: 0.075rem;
1233
+      line-height: 0.3rem;
1234
+      min-height: 0.4rem;
1235
+      padding: 0.05rem 0.15rem;
1228 1236
     }
1229 1237
     .el-select__placeholder {
1230 1238
       color: #c2c7d6;
1231 1239
     }
1232 1240
     .changecangBtn {
1233
-      width: 100px;
1234
-      height: 38px;
1241
+      width: 1.25rem;
1242
+      height: 0.475rem;
1235 1243
       background: linear-gradient(to bottom, #152c61 25%, #183a72 50%, #4780db 100%) !important;
1236 1244
       color: #c2c7d6;
1237
-      border-radius: 5px;
1238
-      font-size: 16px;
1245
+      border-radius: 0.0625rem;
1246
+      font-size: 0.2rem;
1239 1247
     }
1240 1248
   }
1241 1249
 }
1242 1250
 .hw-rightcon {
1243
-  margin: 0px 20px;
1251
+  margin: 0px 0.25rem;
1244 1252
   h3 {
1245 1253
     background: #2c498b;
1246
-    height: 36px;
1247
-    padding: 5px 0;
1248
-    font-size: 20px;
1254
+    height: 0.45rem;
1255
+    padding: 0.0625rem 0;
1256
+    font-size: 0.25rem;
1249 1257
     font-weight: bold;
1250
-    margin: 10px 0px 20px;
1258
+    margin: 0.125rem 0px 0.25rem;
1251 1259
     color: #ffffff;
1252 1260
     i {
1253 1261
       float: left;
1254
-      width: 5px;
1255
-      height: 5px;
1262
+      width: 0.0625rem;
1263
+      height: 0.0625rem;
1256 1264
       background: #ebd35a;
1257
-      margin: 12px 10px 0 0;
1265
+      margin: 0.15rem 0.125rem 0 0;
1258 1266
     }
1259 1267
   }
1260 1268
   .formstyletwo .el-form-item {
1261
-    margin-bottom: 30px;
1269
+    margin-bottom: 0.375rem;
1262 1270
   }
1263 1271
   .formstyletwo .el-form-item__label {
1264 1272
     color: #ffffff;
1265 1273
     background: #1d3770;
1266
-    font-size: 16px;
1267
-    margin-right: 5px;
1274
+    font-size: 0.2rem;
1275
+    margin-right: 0.0625rem;
1268 1276
     justify-content: flex-start;
1269
-    padding-left: 15px;
1277
+    padding-left: 0.1875rem;
1270 1278
     text-align: center;
1271 1279
   }
1272 1280
   .formstyletwo .el-input {
1273
-    font-size: 16px;
1281
+    font-size: 0.2rem;
1274 1282
   }
1275 1283
   .formstyletwo .el-form-item {
1276
-    margin-bottom: 18px;
1284
+    margin-bottom: 0.225rem;
1277 1285
   }
1278 1286
   .formstyletwo .el-form-item__content {
1279
-    padding-left: 10px;
1287
+    padding-left: 0.125rem;
1280 1288
   }
1281 1289
   .formstyletwo .el-input__wrapper {
1282 1290
     background: url('@/assets/ksh/cf/streak-bg.png') center left repeat;
1283 1291
     border-radius: 0;
1284
-    border-bottom-right-radius: 20px;
1292
+    border-bottom-right-radius: 0.25rem;
1285 1293
     border: 0px none;
1286 1294
     color: #9fbae3;
1287
-    padding-left: 25px;
1295
+    padding-left: 0.3125rem;
1288 1296
     box-shadow: none;
1297
+    font-size: 0.175rem;
1298
+    padding: 0.0125rem 0.1375rem;
1299
+    height: 0.4rem;
1289 1300
   }
1290 1301
   .formstyletwo .el-input__inner {
1291 1302
     color: #9fbae3;
@@ -1298,14 +1309,14 @@ onMounted(() => {
1298 1309
   }
1299 1310
 
1300 1311
   .primaryBtn {
1301
-    margin-bottom: 18px;
1312
+    margin-bottom: 0.225rem;
1302 1313
   }
1303 1314
 
1304 1315
   .radiobox {
1305
-    margin-bottom: 20px;
1316
+    margin-bottom: 0.25rem;
1306 1317
     .el-radio {
1307 1318
       color: #9dc0d0;
1308
-      font-size: 18px;
1319
+      font-size: 0.225rem;
1309 1320
     }
1310 1321
     .el-radio__inner {
1311 1322
       background: #415078;
@@ -1315,19 +1326,48 @@ onMounted(() => {
1315 1326
 }
1316 1327
 
1317 1328
 .formstylethree {
1329
+  .el-form-item--default {
1330
+    --font-size: 0.175rem;
1331
+    margin-bottom: 0.225rem;
1332
+  }
1333
+  .el-form-item {
1334
+    --font-size: 0.175rem;
1335
+    margin-bottom: 0.225rem;
1336
+    margin-right: 0.4rem;
1337
+  }
1338
+  .el-form-item__label {
1339
+    height: 0.4rem;
1340
+    line-height: 0.4rem;
1341
+    padding: 0 0.15rem 0 0;
1342
+  }
1343
+  .el-date-editor.el-input,
1344
+  .el-date-editor.el-input__wrapper {
1345
+    height: 0.4rem;
1346
+  }
1347
+  .el-form-item--default .el-form-item__content {
1348
+    line-height: 0.4rem;
1349
+  }
1318 1350
   .el-input__wrapper {
1319 1351
     background: linear-gradient(to bottom, #1d366f 25%, #1f57a7 100%) !important;
1320
-    border: 1px solid #6caad7 !important;
1321
-    border-radius: 5px;
1352
+    border: 0.0125rem solid #6caad7 !important;
1353
+    border-radius: 0.0625rem;
1322 1354
     box-shadow: none;
1323 1355
     color: #ffffff;
1356
+    font-size: 0.175rem;
1357
+    padding: 0.0125rem 0.1375rem;
1358
+    height: 0.4rem;
1324 1359
   }
1325 1360
   .el-select__wrapper {
1326 1361
     background: linear-gradient(to bottom, #1d366f 25%, #1f57a7 100%) !important;
1327
-    border: 1px solid #6caad7 !important;
1328
-    border-radius: 5px;
1362
+    border: 0.0125rem solid #6caad7 !important;
1363
+    border-radius: 0.0625rem;
1329 1364
     box-shadow: none;
1330
-    height: 30px;
1365
+    height: 0.375rem;
1366
+    font-size: 0.175rem;
1367
+    gap: 0.075rem;
1368
+    line-height: 0.3rem;
1369
+    min-height: 0.4rem;
1370
+    padding: 0.05rem 0.15rem;
1331 1371
   }
1332 1372
   .el-input__inner {
1333 1373
     color: #c2c7d6;
@@ -1339,42 +1379,42 @@ onMounted(() => {
1339 1379
     color: #ffffff;
1340 1380
   }
1341 1381
   .searchBtn {
1342
-    width: 100px;
1343
-    height: 30px;
1382
+    width: 1.25rem;
1383
+    height: 0.375rem;
1344 1384
     background: linear-gradient(to bottom, #1d366f 25%, #1f57a7 100%) !important;
1345 1385
     color: #ffffff;
1346
-    border-radius: 5px;
1347
-    font-size: 16px;
1348
-    margin-bottom: 18px;
1386
+    border-radius: 0.0625rem;
1387
+    font-size: 0.2rem;
1388
+    margin-bottom: 0.225rem;
1349 1389
   }
1350 1390
 }
1351 1391
 
1352 1392
 .el-pagination {
1353
-  margin-top: 10px;
1393
+  margin-top: 0.125rem;
1354 1394
   text-align: center;
1355 1395
   color: #8baecd;
1356
-  font-size: 16px;
1396
+  font-size: 0.2rem;
1357 1397
   .el-pagination__total {
1358 1398
     color: #8baecd;
1359
-    font-size: 16px !important;
1399
+    font-size: 0.2rem !important;
1360 1400
   }
1361 1401
   .el-pagination__jump {
1362 1402
     color: #8baecd;
1363
-    font-size: 16px;
1403
+    font-size: 0.2rem;
1364 1404
   }
1365 1405
   .el-pager li {
1366 1406
     background: none;
1367
-    font-size: 16px !important;
1407
+    font-size: 0.2rem !important;
1368 1408
     color: #8baecd;
1369 1409
   }
1370 1410
   span:not([class*='suffix']) {
1371
-    font-size: 16px;
1411
+    font-size: 0.2rem;
1372 1412
   }
1373 1413
   .el-select .el-input .el-input__inner {
1374 1414
     background: none;
1375
-    border: 1px solid #3d6fbe;
1415
+    border: 0.0125rem solid #3d6fbe;
1376 1416
     color: #ffffff;
1377
-    font-size: 16px;
1417
+    font-size: 0.2rem;
1378 1418
   }
1379 1419
   .btn-next,
1380 1420
   .btn-prev {
@@ -1383,35 +1423,43 @@ onMounted(() => {
1383 1423
   }
1384 1424
   .btn-next .el-icon,
1385 1425
   .btn-prev .el-icon {
1386
-    font-size: 16px !important;
1426
+    font-size: 0.2rem !important;
1387 1427
   }
1388 1428
   button:disabled {
1389 1429
     background: none;
1390 1430
   }
1391 1431
   .el-pagination__editor.el-input .el-input__inner {
1392 1432
     // background: #162d60;
1393
-    // border: 1px solid #3d6fbe;
1433
+    // border: 0.0125rem solid #3d6fbe;
1394 1434
     background: none;
1395 1435
     border: 0;
1396 1436
     color: #ffffff;
1397 1437
   }
1398 1438
   .el-input__wrapper {
1399 1439
     background: none;
1400
-    box-shadow: 0 0 0 1px #4f78d9 inset;
1440
+    box-shadow: 0 0 0 0.0125rem #4f78d9 inset;
1441
+    font-size: 0.175rem;
1442
+    padding: 0.0125rem 0.1375rem;
1443
+    height: 0.4rem;
1401 1444
   }
1402 1445
 
1403 1446
   .el-select__wrapper {
1404 1447
     // background: linear-gradient(to bottom, #1d366f 25%, #1f57a7 100%) !important;
1405 1448
     background: #162b65;
1406
-    border: 1px solid #4f78d9 !important;
1407
-    border-radius: 5px;
1449
+    border: 0.0125rem solid #4f78d9 !important;
1450
+    border-radius: 0.0625rem;
1408 1451
     box-shadow: none;
1409
-    // height: 30px;
1452
+    height: 0.375rem;
1410 1453
     color: #ffffff;
1454
+    font-size: 0.175rem;
1455
+    gap: 0.075rem;
1456
+    line-height: 0.3rem;
1457
+    min-height: 0.4rem;
1458
+    padding: 0.05rem 0.15rem;
1411 1459
   }
1412 1460
   .el-select__wrapper.is-hovering:not(.is-focused) {
1413 1461
     // box-shadow: none;
1414
-    box-shadow: 0 0 0 1px #4f78d9 inset;
1462
+    box-shadow: 0 0 0 0.0125rem #4f78d9 inset;
1415 1463
   }
1416 1464
   .el-select__placeholder {
1417 1465
     color: #ffffff;
@@ -1424,19 +1472,19 @@ onMounted(() => {
1424 1472
 
1425 1473
 .image_preview {
1426 1474
   width: 95%;
1427
-  height: 280px;
1428
-  // padding: 0 20px;
1429
-  // margin: 20px;
1430
-  // margin: 20px 20px 0;
1475
+  height: 3.5rem;
1476
+  // padding: 0 0.25rem;
1477
+  // margin: 0.25rem;
1478
+  // margin: 0.25rem 0.25rem 0;
1431 1479
   // .demo-image__error .image-slot {
1432
-  //   font-size: 20px;
1480
+  //   font-size: 0.25rem;
1433 1481
   // }
1434 1482
   // .demo-image__error .image-slot .el-icon {
1435
-  //   font-size: 20px;
1483
+  //   font-size: 0.25rem;
1436 1484
   // }
1437 1485
   // .demo-image__error .el-image {
1438 1486
   //   width: 100%;
1439
-  //   height: 100px;
1487
+  //   height: 1.25rem;
1440 1488
   // }
1441 1489
   .el-image {
1442 1490
     position: relative;
@@ -1450,4 +1498,10 @@ onMounted(() => {
1450 1498
     transform: translate(-50%, -50%);
1451 1499
   }
1452 1500
 }
1501
+.el-select-dropdown__wrap .el-select-dropdown__item {
1502
+  font-size: 0.175rem;
1503
+  height: 0.425rem;
1504
+  line-height: 0.425rem;
1505
+  padding: 0 0.4rem 0 0.25rem;
1506
+}
1453 1507
 </style>

+ 1 - 1
src/views/VisualDisplay/src/pages/compontent/Map2.vue

@@ -338,7 +338,7 @@ const initEcharts = (geoJson, name, chart) => {
338 338
         // symbol: 'circle',
339 339
         symbol: img2,
340 340
         // symbol: isBack.value ? 'image://' + img3 : img2,
341
-        symbolSize: [20, 30],
341
+        symbolSize: [20, 25],
342 342
         // symbolSize: 18,
343 343
         // symbolOffset: [0, -20],
344 344
         z: 999,

+ 54 - 51
src/views/VisualDisplay/src/pages/compontent/cbkc.vue

@@ -243,9 +243,9 @@ const chartRander2 = () => {
243 243
 const setClass = () => {
244 244
   const spanElement = document.querySelectorAll('.title_all')
245 245
   const spanWidth = spanElement[0].offsetWidth
246
-  console.log(spanElement, 'spanWidth-==========')
247
-
248
-  if (spanWidth > 284) {
246
+  // console.log(window.innerWidth, 'document-==========')
247
+  let data = window.innerWidth / 6.9
248
+  if (spanWidth > data) {
249 249
     spanElement[0].classList.add('title_sp')
250 250
     spanElement[1].classList.add('title_sp')
251 251
   }
@@ -285,26 +285,26 @@ onMounted(() => {
285 285
 .cbkc_box {
286 286
   // padding: 0 0 0 55px;
287 287
   width: 95%;
288
-  height: 930px;
288
+  height: 11.625rem;
289 289
   // background: pink;
290 290
   background: url('@/assets/ksh/home/right-bj.png') no-repeat;
291 291
   background-size: 100% 100%;
292
-  margin-top: 5px;
292
+  margin-top: 0.0625rem;
293 293
 }
294 294
 .cbkc_box .box_title {
295 295
   width: 100%;
296
-  height: 45px;
296
+  height: 0.5625rem;
297 297
   display: flex;
298
-  padding-left: 50px;
298
+  padding-left: 0.625rem;
299 299
   align-items: center;
300 300
   position: relative;
301 301
 }
302 302
 .cbkc_box .box_title .title-top {
303 303
   font-family: 'Pangmen';
304
-  font-size: 30px;
304
+  font-size: 0.375rem;
305 305
   position: relative;
306
-  letter-spacing: 4px;
307
-  margin-top: 5px;
306
+  letter-spacing: 0.05rem;
307
+  margin-top: 0.0625rem;
308 308
   background: linear-gradient(to bottom, #f2fcfd, #a3e0fb);
309 309
   -webkit-background-clip: text;
310 310
   -webkit-text-fill-color: transparent;
@@ -312,28 +312,28 @@ onMounted(() => {
312 312
 .cbkc_box .box_title .title-top::before {
313 313
   content: '';
314 314
   display: inline-block;
315
-  width: 13px;
316
-  height: 16px;
315
+  width: 0.1625rem;
316
+  height: 0.2rem;
317 317
   background: url('@/assets/ksh/home/icon-square.png') no-repeat;
318 318
   background-size: 100% 100%;
319 319
   position: absolute;
320
-  left: -28px;
321
-  top: 8px;
320
+  left: -0.35rem;
321
+  top: 0.1rem;
322 322
 }
323 323
 
324 324
 .cbkc_box .box_title .title-unit {
325 325
   // font-family: "Youyuan";
326
-  font-size: 16px;
326
+  font-size: 0.2rem;
327 327
   color: #c6e9fc;
328 328
   position: absolute;
329
-  right: 20px;
329
+  right: 0.25rem;
330 330
   bottom: 0;
331 331
 }
332 332
 .cbkc_box .box_content {
333 333
   height: 40%;
334 334
   width: 100%;
335 335
   position: relative;
336
-  // padding-top: 20px;
336
+  // padding-top: 0.25rem;
337 337
   // background: rgba(255, 192, 203, 0.188);
338 338
 }
339 339
 .cbkc_box .box_content .title {
@@ -345,37 +345,38 @@ onMounted(() => {
345 345
 }
346 346
 .cbkc_box .box_content .title div {
347 347
   flex: 50%;
348
-  font-size: 22px;
348
+  font-size: 0.275rem;
349 349
   color: #ffffff;
350 350
   height: 34px;
351
-  line-height: 34px;
352
-  padding-left: 15px;
351
+  line-height: 0.425rem;
352
+  padding-left: 0.1875rem;
353 353
 }
354 354
 .title_left {
355 355
   display: flex;
356 356
 }
357 357
 .title_left .title_bg {
358
-  width: 150px;
358
+  width: 1.85rem;
359
+  height: 0.385rem;
359 360
   background: url('@/assets/ksh/home/right-span-bj.png') no-repeat;
360 361
   background-size: 100% 100%;
361 362
   text-align: left;
362
-  padding-left: 25px;
363
+  padding-left: 0.3125rem;
363 364
   // padding-right: 20px;
364 365
 }
365 366
 .title_left .title_all {
366
-  font-size: 18px;
367
-  line-height: 40px;
367
+  font-size: 0.225rem;
368
+  line-height: 0.5rem;
368 369
   color: #efb929;
369 370
 }
370 371
 .title_left .title_kq {
371
-  font-size: 16px;
372
+  font-size: 0.2rem;
372 373
 }
373 374
 .title_left .title_sp {
374
-  line-height: 22px !important;
375
+  line-height: 0.275rem !important;
375 376
 }
376 377
 .cbkc_box .echarts_box {
377 378
   width: 100%;
378
-  height: 198px;
379
+  height: 2.475rem;
379 380
   display: flex;
380 381
   justify-content: center;
381 382
   position: relative;
@@ -384,54 +385,56 @@ onMounted(() => {
384 385
   // left: -8%;
385 386
 }
386 387
 .cbkc_box .charts {
387
-  width: 315px;
388
-  height: 198px;
388
+  width: 3.9375rem;
389
+  height: 2.475rem;
389 390
   background: url('@/assets/ksh/home/chart-bj.png') no-repeat;
390
-  // background-size: 300px;
391
-  background-position: 0 -2px;
391
+  background-size: 100% 100%;
392
+  background-position: 0 -0.025rem;
392 393
 }
393 394
 .cbkc_box .box_content .img_bg {
394
-  width: 61px;
395
-  height: 58px;
395
+  width: 0.7625rem;
396
+  height: 0.725rem;
396 397
   // background: url('@/assets/ksh/home/icon-pzjg.png') no-repeat;
397 398
   /* background-size: 300px;
398 399
   background-position: -30px -28px; */
399 400
   position: absolute;
400 401
   top: 50%;
401 402
   left: 50%;
402
-  transform: translate(-30px, -28px);
403
+  transform: translate(-0.375rem, -0.35rem);
403 404
   // transform: scale(75%);
404 405
   /* z-index: -1; */
405 406
   pointer-events: none;
406 407
 }
407 408
 .cbkc_box .pjzg .img_bg {
408 409
   background: url('@/assets/ksh/home/icon-pzjg.png') no-repeat;
410
+  background-size: 100% 100%;
409 411
 }
410 412
 .cbkc_box .shnf .img_bg {
411 413
   background: url('@/assets/ksh/home/icon-shnf.png') no-repeat;
414
+  background-size: 100% 100%;
412 415
 }
413 416
 
414 417
 .echarts_list {
415 418
   width: 100%;
416 419
   height: 40%;
417
-  padding-top: 20px;
420
+  padding-top: 0.25rem;
418 421
   // background: pink;
419 422
   display: flex;
420 423
   flex-wrap: wrap;
421 424
   // justify-content: space-around;
422 425
   .list_item {
423 426
     width: 44%;
424
-    height: 30px;
425
-    line-height: 30px;
427
+    height: 0.375rem;
428
+    line-height: 0.375rem;
426 429
     margin-left: 5%;
427 430
     display: flex;
428 431
     // justify-content: space-around;
429 432
     align-items: center;
430
-    font-size: 12px;
433
+    font-size: 0.15rem;
431 434
     // font-weight: 700;
432 435
     // border-bottom: 1px dashed #8ec4ff;
433 436
     text-align: center;
434
-    background-size: 100% 30px;
437
+    background-size: 100% 0.375rem;
435 438
     // .item_color {
436 439
     //   width: 8px;
437 440
     //   height: 8px;
@@ -440,8 +443,8 @@ onMounted(() => {
440 443
     .item_name {
441 444
       flex: 1;
442 445
       color: #e9f3f9;
443
-      margin-left: 25px;
444
-      font-size: 16px;
446
+      margin-left: 0.3125rem;
447
+      font-size: 0.2rem;
445 448
       text-align: left;
446 449
       white-space: nowrap;
447 450
       overflow: hidden;
@@ -473,29 +476,29 @@ onMounted(() => {
473 476
   }
474 477
   .list_item2 {
475 478
     width: 40%;
476
-    height: 30px;
477
-    line-height: 30px;
479
+    height: 0.375rem;
480
+    line-height: 0.375rem;
478 481
     margin-left: 5%;
479 482
     display: flex;
480 483
     justify-content: space-around;
481 484
     align-items: center;
482
-    font-size: 12px;
485
+    font-size: 0.15rem;
483 486
     // font-weight: 700;
484 487
     border-bottom: 1px solid #384568;
485 488
     text-align: center;
486 489
     background-size: 100% 30px;
487 490
     position: relative;
488 491
     .item_color {
489
-      width: 8px;
490
-      height: 8px;
492
+      width: 0.1rem;
493
+      height: 0.1rem;
491 494
       // transform: rotate(45deg);
492 495
       border-radius: 50%;
493 496
     }
494 497
     .item_name {
495
-      width: 100px;
498
+      width: 1.25rem;
496 499
       color: #e9f3f9;
497
-      margin: 0 15px;
498
-      font-size: 16px;
500
+      margin: 0 0.1875rem;
501
+      font-size: 0.2rem;
499 502
       text-align: left;
500 503
     }
501 504
     .item_percentage {
@@ -509,10 +512,10 @@ onMounted(() => {
509 512
     .item_line {
510 513
       display: inline-block;
511 514
       width: 45%;
512
-      height: 1px;
515
+      height: 0.0125rem;
513 516
       position: absolute;
514 517
       left: 0;
515
-      bottom: -1px;
518
+      bottom: -0.0125rem;
516 519
       // background: pink;
517 520
     }
518 521
   }

+ 0 - 1
src/views/VisualDisplay/src/pages/compontent/mapPop.vue

@@ -117,7 +117,6 @@ export default {
117 117
 }
118 118
 </script>
119 119
 <script setup lang="ts">
120
-import '@/utils/flexible'
121 120
 import { defineProps, watch, ref } from 'vue'
122 121
 import { number } from 'vue-types'
123 122
 const props = defineProps(

+ 100 - 110
src/views/VisualDisplay/src/pages/index.vue

@@ -6,15 +6,10 @@
6 6
     <div class="container-body">
7 7
       <el-row style="height: 100%" :gutter="10">
8 8
         <el-col :span="18">
9
-          <el-form
10
-            style="padding-left: 20px; margin-top: 15px"
11
-            inline
12
-            ref="mapFormRef"
13
-            :model="mapFormData"
14
-          >
9
+          <el-form class="map_form" inline ref="mapFormRef" :model="mapFormData">
15 10
             <el-form-item label="日期" name="cxrq">
16 11
               <el-date-picker
17
-                style="width: 160px"
12
+                class="w-160"
18 13
                 v-model="mapFormData.cxrq"
19 14
                 value-format="YYYY-MM-DD"
20 15
                 placeholder="选择日期"
@@ -22,12 +17,7 @@
22 17
               />
23 18
             </el-form-item>
24 19
             <el-form-item label="行政区划" name="xzqhdm">
25
-              <el-select
26
-                style="width: 160px"
27
-                v-model="mapFormData.xzqhdm"
28
-                placeholder="请选择"
29
-                clearable
30
-              >
20
+              <el-select class="w-160" v-model="mapFormData.xzqhdm" placeholder="请选择" clearable>
31 21
                 <el-option
32 22
                   v-for="item in xzqhdmOptions"
33 23
                   :key="item.areaCode"
@@ -37,12 +27,7 @@
37 27
               </el-select>
38 28
             </el-form-item>
39 29
             <el-form-item label="粮食品种" name="lspzmc">
40
-              <el-select
41
-                style="width: 160px"
42
-                v-model="mapFormData.lspzmc"
43
-                placeholder="请选择"
44
-                clearable
45
-              >
30
+              <el-select class="w-160" v-model="mapFormData.lspzmc" placeholder="请选择" clearable>
46 31
                 <el-option
47 32
                   v-for="item in lspzOptions"
48 33
                   :key="item.value"
@@ -53,7 +38,7 @@
53 38
             </el-form-item>
54 39
             <el-form-item label="粮食等级" name="lsdjdm">
55 40
               <el-select
56
-                style="width: 160px"
41
+                class="w-160"
57 42
                 v-model="mapFormData.lsdjdm"
58 43
                 placeholder="请选择"
59 44
                 :options="lsdjOptions"
@@ -68,15 +53,8 @@
68 53
               </el-select>
69 54
             </el-form-item>
70 55
             <el-form-item label="库区名称" name="kqmc">
71
-              <!-- <el-input
72
-              style="width: 160px"
73
-              v-model="mapFormData.kqmc"
74
-              placeholder="请输入"
75
-              clearable
76
-            /> -->
77
-
78 56
               <el-select
79
-                style="width: 160px"
57
+                class="w-160"
80 58
                 value-key="id"
81 59
                 v-model="mapFormData.kqmc"
82 60
                 filterable
@@ -180,6 +158,7 @@
180 158
 </template>
181 159
 
182 160
 <script lang="ts" setup>
161
+import '@/utils/flexible'
183 162
 import Map from './compontent/Map2.vue'
184 163
 import Cbkc from './compontent/cbkc.vue'
185 164
 import Header from '../compontent/header.vue'
@@ -303,6 +282,7 @@ const getMapList = (data: any, isBackData: any) => {
303 282
   mapFormData.value.xzqhdm = data.xzqhdm + ''
304 283
   xzqhName.value = data.mapName
305 284
   isBack.value = isBackData.isBack
285
+
306 286
   if (isSearch.value) {
307 287
     router.push({
308 288
       query: {
@@ -320,51 +300,43 @@ onMounted(() => {
320 300
 </script>
321 301
 
322 302
 <style scoped>
323
-.ant-form-item {
324
-  margin-bottom: 0 !important;
325
-}
326
-.primaryAdd {
327
-  margin-right: 10px;
328
-}
329 303
 .snowy-buttom-left {
330
-  margin-left: 8px;
304
+  margin-left: 0.1rem;
331 305
 }
332 306
 .map-area {
333
-  margin-top: 10px;
334
-  /* height: 100vh; */
307
+  margin-top: 0.125rem;
335 308
   height: 100%;
336 309
 }
337 310
 .datacard {
338 311
   width: 100%;
339
-  /* height: 100%; */
340
-  height: 860px;
312
+  height: 10.75rem;
341 313
   background: url('@/assets/ksh/home/left-bj.png') no-repeat;
342 314
   background-size: 100% 100%;
343 315
   display: flex;
344 316
   flex-direction: column;
345
-  padding: 8px 20px;
317
+  padding: 0.1rem 0.25rem;
346 318
 }
347 319
 .datacard-title {
348 320
   width: 70%;
349
-  height: 30px;
321
+  height: 0.375rem;
350 322
   background: url('@/assets/ksh/home/left-span-bj.png') no-repeat;
351 323
   background-size: 100% 100%;
352
-  margin-top: 15px;
324
+  margin-top: 0.1875rem;
353 325
 }
354 326
 .datacard-title span {
355 327
   color: #ffffff;
356
-  font-size: 22px;
328
+  font-size: 0.275rem;
357 329
   font-weight: 700;
358
-  margin-left: 24px;
330
+  margin-left: 0.3rem;
359 331
 }
360 332
 .datacard-item {
361 333
   width: 100%;
362
-  height: 99px;
334
+  height: 1.2375rem;
363 335
   background: url('@/assets/ksh/home/left-kuang-bj.png') no-repeat;
364 336
   background-size: 100% 100%;
365
-  font-size: 18px;
337
+  font-size: 0.225rem;
366 338
   display: flex;
367
-  margin-top: 20px;
339
+  margin-top: 0.25rem;
368 340
 }
369 341
 .datacard-item .item-left {
370 342
   flex: 35%;
@@ -373,83 +345,54 @@ onMounted(() => {
373 345
   justify-content: flex-end;
374 346
 }
375 347
 .datacard-item .item-left span {
376
-  width: 80px;
377
-  height: 80px;
378
-  margin-top: 4px;
348
+  width: 1rem;
349
+  height: 1rem;
350
+  margin-top: 0.05rem;
379 351
   background: url('@/assets/ksh/home/left-icon.png') no-repeat;
380 352
   background-size: 100% 100%;
381 353
   position: relative;
382 354
 }
383
-.datacard-item .item-left .item-icon1::after {
355
+.datacard-item .item-left .item-icon1::after,
356
+.datacard-item .item-left .item-icon2::after,
357
+.datacard-item .item-left .item-icon3::after,
358
+.datacard-item .item-left .item-icon4::after,
359
+.datacard-item .item-left .item-icon5::after,
360
+.datacard-item .item-left .item-icon6::after {
384 361
   content: '';
385 362
   display: inline-block;
386
-  width: 30px;
387
-  height: 30px;
363
+  width: 0.375rem;
364
+  height: 0.375rem;
388 365
   position: absolute;
389
-  top: 24px;
390
-  left: 25px;
366
+  top: 0.3rem;
367
+  left: 0.3125rem;
368
+}
369
+.datacard-item .item-left .item-icon1::after {
391 370
   background: url('@/assets/ksh/home/icon-cckd.png') no-repeat;
392 371
   background-size: 100% 100%;
393 372
 }
394 373
 .datacard-item .item-left .item-icon2::after {
395
-  content: '';
396
-  display: inline-block;
397
-  width: 30px;
398
-  height: 30px;
399
-  position: absolute;
400
-  top: 24px;
401
-  left: 25px;
402 374
   background: url('@/assets/ksh/home/icon-cfgs.png') no-repeat;
403 375
   background-size: 100% 100%;
404 376
 }
405 377
 .datacard-item .item-left .item-icon3::after {
406
-  content: '';
407
-  display: inline-block;
408
-  width: 30px;
409
-  height: 30px;
410
-  position: absolute;
411
-  top: 24px;
412
-  left: 25px;
413 378
   background: url('@/assets/ksh/home/icon-crzl.png') no-repeat;
414 379
   background-size: 100% 100%;
415 380
 }
416 381
 .datacard-item .item-left .item-icon4::after {
417
-  content: '';
418
-  display: inline-block;
419
-  width: 30px;
420
-  height: 30px;
421
-  position: absolute;
422
-  top: 24px;
423
-  left: 25px;
424 382
   background: url('@/assets/ksh/home/icon-ckl.png') no-repeat;
425 383
   background-size: 100% 100%;
426 384
 }
427 385
 .datacard-item .item-left .item-icon5::after {
428
-  content: '';
429
-  display: inline-block;
430
-  width: 30px;
431
-  height: 30px;
432
-  position: absolute;
433
-  top: 24px;
434
-  left: 25px;
435 386
   background: url('@/assets/ksh/home/icon-rkl.png') no-repeat;
436 387
   background-size: 100% 100%;
437 388
 }
438 389
 .datacard-item .item-left .item-icon6::after {
439
-  content: '';
440
-  display: inline-block;
441
-  width: 30px;
442
-  height: 30px;
443
-  position: absolute;
444
-  top: 24px;
445
-  left: 25px;
446 390
   background: url('@/assets/ksh/home/icon-cbkc.png') no-repeat;
447 391
   background-size: 100% 100%;
448 392
 }
449 393
 .datacard-item .item-right {
450 394
   flex: 65%;
451 395
   height: 100%;
452
-  /* background: aqua; */
453 396
   display: flex;
454 397
   flex-direction: column;
455 398
   justify-content: center;
@@ -457,7 +400,7 @@ onMounted(() => {
457 400
 }
458 401
 .datacard-item .item-right .item-title {
459 402
   color: #e0e6f9;
460
-  margin-bottom: 15px;
403
+  margin-bottom: 0.1875rem;
461 404
 }
462 405
 .datacard-item .item-right .item-content {
463 406
   font-weight: 700;
@@ -466,25 +409,24 @@ onMounted(() => {
466 409
   -webkit-text-fill-color: transparent;
467 410
 }
468 411
 .container-page {
469
-  /* width: 1920px !important;
470
-  height: 1080px !important; */
471 412
   width: 100%;
472 413
   height: 100%;
473
-  overflow: auto;
414
+  overflow-x: hidden;
415
+  overflow-y: auto;
474 416
   background: url('@/assets/ksh/home/bj.jpg') no-repeat;
475 417
   background-size: 100% 100%;
476 418
 }
477 419
 .header {
478
-  width: 1920px;
479
-  height: 110px;
420
+  width: 24rem;
421
+  height: 1.375rem;
480 422
   text-align: center;
481
-  font-size: 24px;
423
+  font-size: 0.3rem;
482 424
   font-weight: 700;
483 425
   font-family: '黑体';
484 426
 }
485 427
 .container-body {
486
-  width: 1920px;
487
-  height: 970px;
428
+  width: 24rem;
429
+  height: 12.125rem;
488 430
 }
489 431
 @media (min-width: 1920px) and (min-height: 1080px) {
490 432
   .container-page {
@@ -492,16 +434,6 @@ onMounted(() => {
492 434
   }
493 435
 }
494 436
 
495
-.primarySele {
496
-  background: linear-gradient(to bottom, #081f4e, #1b5198);
497
-  border: #3c4d7e;
498
-  border-radius: 3px;
499
-  box-shadow: #3c4d7e 0 0 1px 1px;
500
-  color: #dee3ed;
501
-  margin-left: 15px;
502
-  margin-top: -16px;
503
-  width: 80px;
504
-}
505 437
 :deep(.el-input__wrapper) {
506 438
   background: linear-gradient(to bottom, #0a2354, #1b5198);
507 439
   border: #4385b5;
@@ -536,4 +468,62 @@ onMounted(() => {
536 468
   /* box-shadow: none; */
537 469
   box-shadow: 0 0 0 1px #4f78d9 inset;
538 470
 }
471
+.primarySele {
472
+  background: linear-gradient(to bottom, #081f4e, #1b5198);
473
+  border: #3c4d7e;
474
+  border-radius: 0.0375rem;
475
+  box-shadow: #3c4d7e 0 0 1px 1px;
476
+  color: #dee3ed;
477
+  margin-left: 0.1875rem;
478
+  margin-top: -0.2rem;
479
+  width: 1rem;
480
+}
481
+</style>
482
+<style lang="scss">
483
+.map_form {
484
+  padding-left: 0.25rem;
485
+  margin-top: 0.1875rem;
486
+  .w-160 {
487
+    width: 2rem;
488
+  }
489
+  .el-form-item--default {
490
+    --font-size: 0.175rem;
491
+    margin-bottom: 0.225rem;
492
+  }
493
+  .el-form-item {
494
+    --font-size: 0.175rem;
495
+    margin-bottom: 0.225rem;
496
+    margin-right: 0.4rem;
497
+  }
498
+  .el-form-item__label {
499
+    height: 0.4rem;
500
+    line-height: 0.4rem;
501
+    padding: 0 0.15rem 0 0;
502
+  }
503
+  .el-form-item--default .el-form-item__content {
504
+    line-height: 0.4rem;
505
+  }
506
+  .el-select__wrapper {
507
+    font-size: 0.175rem;
508
+    gap: 0.075rem;
509
+    line-height: 0.3rem;
510
+    min-height: 0.4rem;
511
+    padding: 0.05rem 0.15rem;
512
+  }
513
+  .el-input__wrapper {
514
+    font-size: 0.175rem;
515
+    padding: 0.0125rem 0.1375rem;
516
+  }
517
+}
518
+.el-date-editor.el-input,
519
+.el-date-editor.el-input__wrapper {
520
+  height: 0.4rem;
521
+}
522
+.el-select__selection {
523
+  max-height: 0.3rem;
524
+}
525
+.el-button {
526
+  font-size: 0.175rem;
527
+  height: 0.4rem;
528
+}
539 529
 </style>

+ 158 - 146
src/views/VisualDisplay/src/pages/kq/index.vue

@@ -129,13 +129,13 @@
129 129
     </div>
130 130
 
131 131
     <div class="dialog_splb">
132
-      <el-dialog title="" v-model="Dialogvideo" width="1050px" top="15vh">
132
+      <el-dialog title="" v-model="Dialogvideo" width="13.125rem" top="15vh">
133 133
         <template #header="{}">
134 134
           <div class="dialog_title">
135 135
             <span class="dialog_title_text">视频列表</span>
136 136
             <div class="search_splb">
137 137
               <el-input
138
-                style="width: 260px"
138
+                style="width: 3.25rem"
139 139
                 v-model="kqmc"
140 140
                 @keyup.enter="searchClick()"
141 141
                 placeholder="请输入库区"
@@ -144,10 +144,10 @@
144 144
             </div>
145 145
           </div>
146 146
         </template>
147
-        <el-row style="height: 600px">
148
-          <el-col :span="6" style="margin-left: 20px" class="content_list">
147
+        <el-row style="height: 7.5rem">
148
+          <el-col :span="6" style="margin-left: 0.25rem" class="content_list">
149 149
             <div class="check_box">
150
-              <el-scrollbar class="custom-scrollbar" style="height: 500px">
150
+              <el-scrollbar class="custom-scrollbar" style="height: 6.25rem">
151 151
                 <el-checkbox-group @change="handleSetVideo" v-model="checkList" class="">
152 152
                   <el-checkbox
153 153
                     :label="item.jkdmc"
@@ -167,7 +167,7 @@
167 167
       </el-dialog>
168 168
     </div>
169 169
     <div class="dialog_cwxx">
170
-      <el-dialog title="" v-model="dialogVisibleDetail" width="840px" top="15vh">
170
+      <el-dialog title="" v-model="dialogVisibleDetail" width="10.5rem" top="15vh">
171 171
         <template #header="{}">
172 172
           <div class="dialog_title">
173 173
             <span class="dialog_title_text">财务信息补充</span>
@@ -184,8 +184,8 @@
184 184
             </div>
185 185
             <div class="cwxx_top_item">
186 186
               <span>上一年度总资产:</span>
187
-              <el-input style="width: 120px" v-model="cwxxData.syndzzc" placeholder="" />
188
-              <span style="margin-left: 5px">万元</span>
187
+              <el-input style="width: 1.5rem" v-model="cwxxData.syndzzc" placeholder="" />
188
+              <span style="margin-left: 0.0625rem">万元</span>
189 189
             </div>
190 190
           </div>
191 191
           <div class="cwxx_center">
@@ -197,17 +197,17 @@
197 197
               <div class="cwxx_item cwxx_title"> {{ item.cn }}年财务情况 </div>
198 198
               <div class="cwxx_item">
199 199
                 <span>总负债:</span>
200
-                <el-input style="width: 100px" v-model="item.zfz" placeholder="" />
200
+                <el-input style="width: 1.25rem" v-model="item.zfz" placeholder="" />
201 201
                 <span class="item_span">万元</span>
202 202
               </div>
203 203
               <div class="cwxx_item">
204 204
                 <span>营业收入:</span>
205
-                <el-input style="width: 100px" v-model="item.yysr" placeholder="" />
205
+                <el-input style="width: 1.25rem" v-model="item.yysr" placeholder="" />
206 206
                 <span class="item_span">万元</span>
207 207
               </div>
208 208
               <div class="cwxx_item">
209 209
                 <span>净利润:</span>
210
-                <el-input style="width: 100px" v-model="item.jlr" placeholder="" />
210
+                <el-input style="width: 1.25rem" v-model="item.jlr" placeholder="" />
211 211
                 <span class="item_span">万元</span>
212 212
               </div>
213 213
             </div>
@@ -227,6 +227,7 @@
227 227
 </template>
228 228
 
229 229
 <script lang="ts" setup>
230
+import '@/utils/flexible'
230 231
 import './static/h5play/h5player.min'
231 232
 import { Msg } from '@/utils/jytools'
232 233
 import Header from '@/views/VisualDisplay/src/compontent/header.vue'
@@ -521,18 +522,19 @@ onMounted(() => {
521 522
 .container-page {
522 523
   width: 100%;
523 524
   height: 100%;
524
-  overflow: auto;
525
+  overflow-x: hidden;
526
+  overflow-y: auto;
525 527
   background: url('@/assets/ksh/home/bj.jpg') no-repeat;
526 528
   background-size: 100% 100%;
527 529
   color: #ffffff;
528 530
 }
529 531
 .header {
530
-  width: 1920px;
531
-  height: 110px;
532
+  width: 24rem;
533
+  height: 1.375rem;
532 534
 }
533 535
 .container-body {
534
-  width: 1920px;
535
-  height: 970px;
536
+  width: 24rem;
537
+  height: 12.125rem;
536 538
 }
537 539
 @media (min-width: 1920px) and (min-height: 1080px) {
538 540
   .container-page {
@@ -542,25 +544,25 @@ onMounted(() => {
542 544
 .kqxx_box {
543 545
   width: 95%;
544 546
   margin-left: 5%;
545
-  height: 930px;
546
-  padding: 0 10px;
547
+  height: 11.625rem;
548
+  padding: 0 0.125rem;
547 549
   background: url('@/assets/ksh/kq/left-bj.png') no-repeat;
548 550
   background-size: 100% 100%;
549
-  margin-top: 5px;
551
+  margin-top: 0.0625rem;
550 552
 }
551 553
 .kqxx_box .box_title {
552 554
   width: 100%;
553
-  height: 45px;
554
-  padding-left: 40px;
555
+  height: 0.5625rem;
556
+  padding-left: 0.5rem;
555 557
   display: flex;
556 558
   align-items: center;
557
-  margin-bottom: 20px;
559
+  margin-bottom: 0.25rem;
558 560
 }
559 561
 .kqxx_box .box_title .title-top {
560
-  font-size: 28px;
562
+  font-size: 0.35rem;
561 563
   font-family: 'Pangmen';
562 564
   position: relative;
563
-  letter-spacing: 4px;
565
+  letter-spacing: 0.05rem;
564 566
   // margin-top: 5px;
565 567
   background: linear-gradient(to bottom, #f2fcfd, #a3e0fb);
566 568
   -webkit-background-clip: text;
@@ -569,13 +571,13 @@ onMounted(() => {
569 571
 .kqxx_box .box_title .title-top::before {
570 572
   content: '';
571 573
   display: inline-block;
572
-  width: 13px;
573
-  height: 16px;
574
+  width: 0.1625rem;
575
+  height: 0.2rem;
574 576
   background: url('@/assets/ksh/home/icon-square.png') no-repeat;
575 577
   background-size: 100% 100%;
576 578
   position: absolute;
577
-  left: -28px;
578
-  top: 8px;
579
+  left: -0.35rem;
580
+  top: 0.1rem;
579 581
 }
580 582
 .kqxx_box .box_table {
581 583
   width: 100%;
@@ -584,7 +586,7 @@ onMounted(() => {
584 586
 }
585 587
 
586 588
 .map-area {
587
-  margin-top: 10px;
589
+  margin-top: 0.125rem;
588 590
   height: 100%;
589 591
 }
590 592
 .map-area .map_top {
@@ -603,18 +605,18 @@ onMounted(() => {
603 605
 }
604 606
 .map-area .kqxx_title {
605 607
   width: 100%;
606
-  height: 45px;
607
-  padding-left: 50px;
608
+  height: 0.5625rem;
609
+  padding-left: 0.625rem;
608 610
   display: flex;
609 611
   justify-content: space-between;
610 612
   align-content: center;
611 613
 }
612 614
 .map-area .kqxx_title .kqxx_title_top {
613
-  font-size: 28px;
615
+  font-size: 0.35rem;
614 616
   font-family: 'Pangmen';
615 617
   position: relative;
616
-  letter-spacing: 4px;
617
-  margin-top: 12px;
618
+  letter-spacing: 0.05rem;
619
+  margin-top: 0.15rem;
618 620
   background: linear-gradient(to bottom, #f2fcfd, #a3e0fb);
619 621
   -webkit-background-clip: text;
620 622
   -webkit-text-fill-color: transparent;
@@ -622,57 +624,57 @@ onMounted(() => {
622 624
 .map-area .kqxx_title .kqxx_title_top::before {
623 625
   content: '';
624 626
   display: inline-block;
625
-  width: 13px;
626
-  height: 16px;
627
+  width: 0.1625rem;
628
+  height: 0.2rem;
627 629
   background: url('@/assets/ksh/home/icon-square.png') no-repeat;
628 630
   background-size: 100% 100%;
629 631
   position: absolute;
630
-  left: -28px;
631
-  top: 8px;
632
+  left: -0.35rem;
633
+  top: 0.1rem;
632 634
 }
633 635
 .map-area .kqxx_title .title_btn {
634 636
   cursor: pointer;
635
-  width: 120px;
636
-  height: 36px;
637
-  padding-top: 7px;
638
-  padding-right: 10px;
637
+  width: 1.5rem;
638
+  height: 0.45rem;
639
+  padding-top: 0.0875rem;
640
+  padding-right: 0.125rem;
639 641
   text-align: right;
640 642
   float: right;
641
-  margin-top: 20px;
642
-  margin-right: 25px;
643
+  margin-top: 0.25rem;
644
+  margin-right: 0.3125rem;
643 645
   background: linear-gradient(to bottom, #1e3372, #1e5aa2);
644 646
   border: 1px solid #397ca9;
645
-  border-radius: 5px;
647
+  border-radius: 0.0625rem;
646 648
 }
647 649
 .map-area .kqxx_title .title_btn span {
648
-  font-size: 16px;
650
+  font-size: 0.2rem;
649 651
   position: relative;
650 652
 }
651 653
 .map-area .kqxx_title .title_btn span::before {
652 654
   content: '';
653 655
   display: inline-block;
654
-  width: 20px;
655
-  height: 20px;
656
+  width: 0.25rem;
657
+  height: 0.25rem;
656 658
   position: absolute;
657
-  top: 2px;
658
-  left: -26px;
659
+  top: 0.025rem;
660
+  left: -0.325rem;
659 661
   background: url('@/assets/ksh/kq/icon-sp.png') no-repeat;
660 662
   background-size: 100% 100%;
661 663
 }
662 664
 .map-area .kqxx_title .title_btn2 {
663 665
   cursor: pointer;
664
-  width: 120px;
665
-  height: 36px;
666
-  padding-top: 8px;
666
+  width: 1.5rem;
667
+  height: 0.45rem;
668
+  padding-top: 0.1rem;
667 669
   // padding-right: 12px;
668 670
   text-align: center;
669 671
   float: right;
670
-  margin-top: 20px;
671
-  margin-right: 25px;
672
+  margin-top: 0.25rem;
673
+  margin-right: 0.3125rem;
672 674
   background: linear-gradient(to bottom, #1e3372, #1e5aa2);
673 675
   border: 1px solid #397ca9;
674
-  border-radius: 5px;
675
-  font-size: 16px;
676
+  border-radius: 0.0625rem;
677
+  font-size: 0.2rem;
676 678
 }
677 679
 .map-area .img_content {
678 680
   width: 100%;
@@ -681,7 +683,7 @@ onMounted(() => {
681 683
   justify-content: center;
682 684
 }
683 685
 .map-area .img_content img {
684
-  margin-top: 30px;
686
+  margin-top: 0.375rem;
685 687
   // width: 90%;
686 688
   // height: auto;
687 689
   object-fit: contain;
@@ -689,60 +691,60 @@ onMounted(() => {
689 691
 .kqxx_content {
690 692
   width: 100%;
691 693
   height: 75%;
692
-  padding-top: 30px;
694
+  padding-top: 0.375rem;
693 695
   display: flex;
694 696
   flex-wrap: wrap;
695 697
   justify-content: flex-start;
696 698
 }
697 699
 .kqxx_content .box_item {
698 700
   width: 45%;
699
-  height: 50px;
701
+  height: 0.625rem;
700 702
   margin-left: 3.5%;
701 703
   display: flex;
702 704
 }
703 705
 .kqxx_content .box_item .box_icon {
704
-  width: 50px;
705
-  height: 50px;
706
+  width: 0.625rem;
707
+  height: 0.625rem;
706 708
   background: url('@/assets/ksh/kq/ku-icon-bj.png') no-repeat;
707 709
   background-size: 100% 100%;
708 710
   position: relative;
709 711
 }
710 712
 .kqxx_content .box_content {
711 713
   display: flex;
712
-  padding-right: 18px;
713
-  margin-left: 10px;
714
+  padding-right: 0.225rem;
715
+  margin-left: 0.125rem;
714 716
   justify-content: space-between;
715 717
   background: url('@/assets/ksh/kq/kq-bj.png') no-repeat;
716 718
   background-size: 100% 100%;
717 719
   width: 85%;
718 720
 }
719 721
 .kqxx_content .box_content span {
720
-  height: 35px;
721
-  line-height: 35px;
722
-  margin-top: 8px;
723
-  font-size: 18px;
722
+  height: 0.4375rem;
723
+  line-height: 0.4375rem;
724
+  margin-top: 0.1rem;
725
+  font-size: 0.225rem;
724 726
 }
725 727
 .kqxx_content .box_content .span_left {
726
-  width: 160px;
727
-  padding-left: 20px;
728
+  width: 2rem;
729
+  padding-left: 0.25rem;
728 730
 }
729 731
 .kqxx_content .box_content .span_tyshxydm {
730
-  font-size: 16px;
731
-  line-height: 20px;
732
-  margin-top: 6px;
732
+  font-size: 0.2rem;
733
+  line-height: 0.25rem;
734
+  margin-top: 0.075rem;
733 735
 }
734 736
 .kqxx_content .box_content .span_right {
735
-  margin-left: 10px;
737
+  margin-left: 0.125rem;
736 738
   width: 80%;
737
-  border-radius: 9px;
739
+  border-radius: 0.1125rem;
738 740
   color: #0df5f0;
739 741
   text-align: right;
740 742
 }
741 743
 .kqxx_content .box_content .span_special {
742
-  line-height: 20px;
744
+  line-height: 0.25rem;
743 745
 }
744 746
 .kqxx_content .box_content .span_special2 {
745
-  font-size: 16px;
747
+  font-size: 0.2rem;
746 748
 }
747 749
 .kqxx_content .box_content .span_detail {
748 750
   cursor: pointer;
@@ -754,7 +756,7 @@ onMounted(() => {
754 756
   background-color: transparent;
755 757
   color: rgba(255, 255, 255, 0.5);
756 758
   opacity: 0.8;
757
-  font-size: 12px;
759
+  font-size: 0.15rem;
758 760
 }
759 761
 
760 762
 :deep(
@@ -767,7 +769,7 @@ onMounted(() => {
767 769
 }
768 770
 
769 771
 :deep(.el-table--medium .el-table__cell) {
770
-  padding: 2px 0;
772
+  padding: 0.025rem 0;
771 773
 }
772 774
 
773 775
 .el-table {
@@ -776,14 +778,14 @@ onMounted(() => {
776 778
 
777 779
 :deep(.el-table),
778 780
 :deep(.el-table__expanded-cell) {
779
-  font-size: 14px;
781
+  font-size: 0.175rem;
780 782
 }
781 783
 :deep(.el-table th),
782 784
 :deep(.el-table tr),
783 785
 :deep(.el-table td) {
784 786
   background-color: transparent;
785 787
   color: #ffffff;
786
-  height: 60px;
788
+  height: 0.75rem;
787 789
 }
788 790
 
789 791
 :deep(.el-table--striped .el-table__body tr.el-table__row--striped td) {
@@ -806,7 +808,7 @@ onMounted(() => {
806 808
 }
807 809
 :deep(.el-table th.el-table__cell.is-leaf, .el-table td.el-table__cell) {
808 810
   border-bottom: 0px solid #dfe6ec;
809
-  font-size: 20px;
811
+  font-size: 0.25rem;
810 812
   font-weight: 500;
811 813
 }
812 814
 :deep(.el-table thead tr) {
@@ -825,7 +827,7 @@ onMounted(() => {
825 827
 }
826 828
 :deep(.el-table tbody tr.two-row) {
827 829
   background: url('@/assets/ksh/kq/list-bj2.png') 0 50% no-repeat !important;
828
-  background-size: 100% 15px !important;
830
+  background-size: 100% 0.1875rem !important;
829 831
 }
830 832
 :deep(.el-table tbody tr) {
831 833
   cursor: pointer;
@@ -833,36 +835,43 @@ onMounted(() => {
833 835
 
834 836
 .kqxx_content .box_item .box_icon::before {
835 837
   content: '';
836
-  width: 25px;
837
-  height: 25px;
838
+  width: 0.3125rem;
839
+  height: 0.3125rem;
838 840
   position: absolute;
839
-  top: 12px;
840
-  left: 12px;
841
-  background-size: 100% 100%;
841
+  top: 0.15rem;
842
+  left: 0.15rem;
842 843
 }
843 844
 .kqxx_content .box_item .icon_kq1::before {
844 845
   background: url('@/assets/ksh/kq/icon-kqmc.png') no-repeat;
846
+  background-size: 100% 100%;
845 847
 }
846 848
 .kqxx_content .box_item .icon_kq2::before {
847 849
   background: url('@/assets/ksh/kq/icon-kqbm.png') no-repeat;
850
+  background-size: 100% 100%;
848 851
 }
849 852
 .kqxx_content .box_item .icon_kq3::before {
850 853
   background: url('@/assets/ksh/kq/icon-qymc.png') no-repeat;
854
+  background-size: 100% 100%;
851 855
 }
852 856
 .kqxx_content .box_item .icon_kq4::before {
853 857
   background: url('@/assets/ksh/kq/icon-xydm.png') no-repeat;
858
+  background-size: 100% 100%;
854 859
 }
855 860
 .kqxx_content .box_item .icon_kq5::before {
856 861
   background: url('@/assets/ksh/kq/icon-cfsl.png') no-repeat;
862
+  background-size: 100% 100%;
857 863
 }
858 864
 .kqxx_content .box_item .icon_kq6::before {
859 865
   background: url('@/assets/ksh/kq/icon-ygsl.png') no-repeat;
866
+  background-size: 100% 100%;
860 867
 }
861 868
 .kqxx_content .box_item .icon_kq7::before {
862 869
   background: url('@/assets/ksh/kq/icon-sjcr.png') no-repeat;
870
+  background-size: 100% 100%;
863 871
 }
864 872
 .kqxx_content .box_item .icon_kq8::before {
865 873
   background: url('@/assets/ksh/kq/icon-cwzk.png') no-repeat;
874
+  background-size: 100% 100%;
866 875
 }
867 876
 
868 877
 // 弹窗
@@ -880,31 +889,31 @@ onMounted(() => {
880 889
     top: 50%;
881 890
     left: 50%;
882 891
     transform: translate(-50%, -50%);
883
-    max-height: calc(100% - 30px);
892
+    max-height: calc(100% - 0.375rem);
884 893
   }
885 894
   .el-dialog__body::-webkit-scrollbar {
886 895
     display: none;
887 896
   }
888 897
   .dialog_title {
889 898
     color: #ffffff;
890
-    font-size: 24px;
891
-    line-height: 20px;
899
+    font-size: 0.3rem;
900
+    line-height: 0.25rem;
892 901
     position: relative;
893 902
     .dialog_title_text {
894
-      margin-left: 30px;
903
+      margin-left: 0.375rem;
895 904
       // margin-top: -10px;
896 905
       position: relative;
897 906
     }
898 907
     .dialog_title_text::before {
899 908
       content: '';
900 909
       display: inline-block;
901
-      width: 13px;
902
-      height: 16px;
910
+      width: 0.1625rem;
911
+      height: 0.2rem;
903 912
       background: url('@/assets/ksh/home/icon-square.png') no-repeat;
904 913
       background-size: 100% 100%;
905 914
       position: absolute;
906
-      top: 8px;
907
-      left: -24px;
915
+      top: 0.1rem;
916
+      left: -0.3rem;
908 917
     }
909 918
     .search_splb {
910 919
       position: absolute;
@@ -914,19 +923,19 @@ onMounted(() => {
914 923
     }
915 924
     .search_splb .search_icon {
916 925
       display: inline-block;
917
-      width: 17px;
918
-      height: 17px;
926
+      width: 0.2125rem;
927
+      height: 0.2125rem;
919 928
       background: url('@/assets/ksh/dialog/icon-search.png') no-repeat;
920 929
       background-size: 100% 100%;
921 930
       position: absolute;
922
-      right: 8px;
923
-      top: 7px;
931
+      right: 0.1rem;
932
+      top: 0.0875rem;
924 933
       cursor: pointer;
925 934
     }
926 935
   }
927 936
   .el-dialog__headerbtn {
928
-    top: 6px;
929
-    right: 6px;
937
+    top: 0.075rem;
938
+    right: 0.075rem;
930 939
   }
931 940
   .el-dialog__headerbtn .el-dialog__close {
932 941
     display: none;
@@ -934,8 +943,8 @@ onMounted(() => {
934 943
   .el-dialog__headerbtn::before {
935 944
     content: '';
936 945
     display: inline-block;
937
-    width: 15px;
938
-    height: 15px;
946
+    width: 0.1875rem;
947
+    height: 0.1875rem;
939 948
     background: url('@/assets/ksh/dialog/close.png') no-repeat;
940 949
     background-size: 100% 100%;
941 950
   }
@@ -945,9 +954,12 @@ onMounted(() => {
945 954
   // background: linear-gradient(to bottom, #121e42, #304687);
946 955
   background: transparent;
947 956
   border: #1863ad;
948
-  border-radius: 3px;
957
+  border-radius: 0.0375rem;
949 958
   box-shadow: #1863ad 0 0 1px 1px;
950 959
   color: #ffffff;
960
+  font-size: 0.175rem;
961
+  padding: 0.0125rem 0.1375rem;
962
+  height: 0.4rem;
951 963
 }
952 964
 :deep(.el-input__inner) {
953 965
   color: #e1e7f3;
@@ -962,7 +974,7 @@ onMounted(() => {
962 974
 :deep(.content_list) {
963 975
   width: 100%;
964 976
   height: 100%;
965
-  padding: 18px 0;
977
+  padding: 0.225rem 0;
966 978
   .check_box {
967 979
     width: 100%;
968 980
     height: 100%;
@@ -970,24 +982,24 @@ onMounted(() => {
970 982
     background-size: 100% 100%;
971 983
     .list_item {
972 984
       width: 100%;
973
-      padding: 20px 20px;
974
-      margin-top: 15px;
985
+      padding: 0.25rem 0.25rem;
986
+      margin-top: 0.1875rem;
975 987
     }
976 988
     .el-checkbox__label {
977
-      font-size: 18px;
978
-      padding-left: 18px;
989
+      font-size: 0.225rem;
990
+      padding-left: 0.225rem;
979 991
       color: #ffffff;
980 992
     }
981 993
     .el-checkbox__inner {
982
-      width: 18px;
983
-      height: 18px;
984
-      border: 1px solid #1f77d1;
994
+      width: 0.225rem;
995
+      height: 0.225rem;
996
+      border: 0.0125rem solid #1f77d1;
985 997
       background: transparent;
986 998
     }
987 999
     .el-checkbox__inner::after {
988
-      height: 8px;
989
-      left: 5px;
990
-      width: 5px;
1000
+      height: 0.1rem;
1001
+      left: 0.0625rem;
1002
+      width: 0.0625rem;
991 1003
       border-color: #7cbbed;
992 1004
     }
993 1005
   }
@@ -1002,26 +1014,26 @@ onMounted(() => {
1002 1014
   flex-wrap: wrap;
1003 1015
   width: 100%;
1004 1016
   height: 100%;
1005
-  padding: 15px;
1017
+  padding: 0.1875rem;
1006 1018
 }
1007 1019
 .view_box .view_item {
1008 1020
   width: 45%;
1009 1021
   height: 48%;
1010 1022
   background: #cccccc7e;
1011
-  border-radius: 10px;
1023
+  border-radius: 0.125rem;
1012 1024
 }
1013 1025
 
1014 1026
 .table-box {
1015
-  margin-top: 20px;
1027
+  margin-top: 0.25rem;
1016 1028
   background: url('@/assets/ksh/dialog/sp-list-bj.png') no-repeat;
1017 1029
   background-size: 100% 100%;
1018 1030
 }
1019 1031
 
1020 1032
 .video-box {
1021
-  width: 756px !important;
1022
-  height: 608px !important;
1033
+  width: 9.45rem !important;
1034
+  height: 7.6rem !important;
1023 1035
   // overflow: hidden;
1024
-  padding: 30px 20px 15px;
1036
+  padding: 0.375rem 0.25rem 0.1875rem;
1025 1037
 }
1026 1038
 
1027 1039
 // 弹窗2
@@ -1039,35 +1051,35 @@ onMounted(() => {
1039 1051
     top: 50%;
1040 1052
     left: 50%;
1041 1053
     transform: translate(-50%, -50%);
1042
-    max-height: calc(100% - 30px);
1054
+    max-height: calc(100% - 0.375rem);
1043 1055
   }
1044 1056
   .el-dialog__body::-webkit-scrollbar {
1045 1057
     display: none;
1046 1058
   }
1047 1059
   .dialog_title {
1048 1060
     color: #ffffff;
1049
-    font-size: 24px;
1050
-    line-height: 20px;
1061
+    font-size: 0.3rem;
1062
+    line-height: 0.25rem;
1051 1063
     position: relative;
1052 1064
     .dialog_title_text {
1053
-      margin-left: 30px;
1065
+      margin-left: 0.375rem;
1054 1066
       position: relative;
1055 1067
     }
1056 1068
     .dialog_title_text::before {
1057 1069
       content: '';
1058 1070
       display: inline-block;
1059
-      width: 13px;
1060
-      height: 16px;
1071
+      width: 0.1625rem;
1072
+      height: 0.2rem;
1061 1073
       background: url('@/assets/ksh/home/icon-square.png') no-repeat;
1062 1074
       background-size: 100% 100%;
1063 1075
       position: absolute;
1064
-      top: 8px;
1065
-      left: -24px;
1076
+      top: 0.1rem;
1077
+      left: -0.3rem;
1066 1078
     }
1067 1079
   }
1068 1080
   .el-dialog__headerbtn {
1069
-    top: 6px;
1070
-    right: 6px;
1081
+    top: 0.075rem;
1082
+    right: 0.075rem;
1071 1083
   }
1072 1084
   .el-dialog__headerbtn .el-dialog__close {
1073 1085
     display: none;
@@ -1075,8 +1087,8 @@ onMounted(() => {
1075 1087
   .el-dialog__headerbtn::before {
1076 1088
     content: '';
1077 1089
     display: inline-block;
1078
-    width: 15px;
1079
-    height: 15px;
1090
+    width: 0.1875rem;
1091
+    height: 0.1875rem;
1080 1092
     background: url('@/assets/ksh/dialog/close.png') no-repeat;
1081 1093
     background-size: 100% 100%;
1082 1094
   }
@@ -1085,7 +1097,7 @@ onMounted(() => {
1085 1097
     // background: linear-gradient(to bottom, #121e42, #304687);
1086 1098
     background: #14538c;
1087 1099
     border: #14538c;
1088
-    border-radius: 5px;
1100
+    border-radius: 0.0625rem;
1089 1101
     box-shadow: #14538c 0 0 1px 1px;
1090 1102
     color: #ffffff;
1091 1103
   }
@@ -1097,23 +1109,23 @@ onMounted(() => {
1097 1109
 
1098 1110
 .cwxx_content {
1099 1111
   width: 100%;
1100
-  height: 420px;
1101
-  padding: 5px 10px;
1112
+  height: 5.25rem;
1113
+  padding: 0.0625rem 0.125rem;
1102 1114
   color: #ffffff;
1103
-  font-size: 16px;
1115
+  font-size: 0.2rem;
1104 1116
   .cwxx_top {
1105 1117
     display: flex;
1106 1118
     justify-content: space-between;
1107
-    padding: 25px 0;
1119
+    padding: 0.3125rem 0;
1108 1120
     .cwxx_top_item_span {
1109
-      margin-right: 15px;
1121
+      margin-right: 0.1875rem;
1110 1122
     }
1111 1123
   }
1112 1124
   .cwxx_center {
1113 1125
     display: flex;
1114 1126
     justify-content: space-between;
1115 1127
     width: 100%;
1116
-    height: 260px;
1128
+    height: 3.25rem;
1117 1129
   }
1118 1130
   .cwxx_center_item {
1119 1131
     width: 30%;
@@ -1124,23 +1136,23 @@ onMounted(() => {
1124 1136
     flex-direction: column;
1125 1137
     align-items: center;
1126 1138
     .cwxx_item {
1127
-      margin: 15px 0;
1139
+      margin: 0.1875rem 0;
1128 1140
       span {
1129 1141
         display: inline-block;
1130
-        width: 85px;
1142
+        width: 1.0625rem;
1131 1143
         text-align: right;
1132 1144
       }
1133 1145
       .item_span {
1134
-        width: 40px;
1146
+        width: 0.5rem;
1135 1147
       }
1136 1148
     }
1137 1149
   }
1138 1150
   .cwxx_bottom {
1139 1151
     display: flex;
1140 1152
     align-items: center;
1141
-    margin-top: 15px;
1153
+    margin-top: 0.1875rem;
1142 1154
     .cwxx_bottom_span {
1143
-      width: 60px;
1155
+      width: 0.75rem;
1144 1156
     }
1145 1157
   }
1146 1158
 }