Ver código fonte

324样式修改

tangjunhao 5 meses atrás
pai
commit
7ff6e0dd9c

+ 1 - 1
src/App.vue

@@ -7,7 +7,7 @@
 
 <style>
 #app {
-  font-family: 'Source Sans-Regular';
+  font-family: 'Microsoft YaHei';
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   color: #2c3e50;

BIN
src/assets/fonts/MSYH.TTC


BIN
src/assets/fonts/MSYHBD.TTC


BIN
src/assets/fonts/MSYHL.TTC


+ 24 - 1
src/assets/fonts/fonts.css

@@ -10,4 +10,27 @@
    /* 对于Black,通常是900  font-weight: 900; */
     font-style: normal;
   }
- 
+ 
+  /* 常规版 - Microsoft YaHei Regular */
+@font-face {
+  font-family: 'Microsoft YaHei';
+  src: url('@/assets/fonts/MSYH.TTC') format('truetype');
+  font-weight: normal;
+  font-style: normal;
+}
+
+/* 加粗版 - Microsoft YaHei Bold */
+@font-face {
+  font-family: 'Microsoft YaHei';
+  src: url('@/assets/fonts/MSYHBD.TTC') format('truetype');
+  font-weight: bold;
+  font-style: normal;
+}
+
+/* 细体版 - Microsoft YaHei Light */
+@font-face {
+  font-family: 'Microsoft YaHei Light';
+  src: url('@/assets/fonts/MSYHL.TTC') format('truetype');
+  font-weight: 300;
+  font-style: normal;
+}

+ 1 - 1
src/components/header.vue

@@ -44,7 +44,7 @@ let title=ref("民用飞机多学科联合优化设计软件");
         font-size: 18px;
         vertical-align: middle;
         color: #fff;
-        font-family: 'Source Sans-Regular';
+        font-family: 'Microsoft YaHei';
         &:hover {
   
         }

+ 32 - 28
src/style/index.css

@@ -70,7 +70,7 @@ img{
 .heder_tabs .el-tabs__item{
     width: 150px;
     height: 31px;
-    font-family: 'Source Sans-Regular';
+    font-family: 'Microsoft YaHei';
 }
 body{
     width: 100%;
@@ -137,7 +137,7 @@ body{
 
 .imgzong .listitem span {
     font-size: 14px;
-    font-family: 'Source Sans-Regular';
+    font-family: 'Microsoft YaHei';
     color: rgba(51, 51, 51, 0.8);
 }
 .el-tabs__header{
@@ -145,9 +145,11 @@ body{
     margin: 0;
 }
 .my-header{
-    line-height: 40px;
+    /* line-height: 40px; */
     height: 40px;
-    text-align: left;
+    /* text-align: left; */
+    display: flex;
+    align-items: center;
 }
 .my-header .el-image{
     width: 28px;
@@ -588,9 +590,9 @@ box-sizing: border-box;
   margin-right: 10px;
 }
 .colortext .el-tabs__item{
-  font-family: 'Source Sans-Regular';
+  font-family: 'Microsoft YaHei';
   font-weight: 400;
-  font-size: 16px;
+  font-size: 14px;
   color: #333333;
   line-height: 23px;
   text-align: left;
@@ -605,7 +607,7 @@ box-sizing: border-box;
 } */
 .colortext .el-tabs--left .el-tabs__header.is-left{
   background: #F4F4F4;
-  height: 459px;
+  height: 440px;
 }
 .colortext .el-tabs--left .el-tabs__active-bar.is-left{
   right: auto;
@@ -634,8 +636,9 @@ ul{
   line-height: 40px;
   float: left;
   color: #333;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
+  cursor:default;
 }
 .colortext .XFpdding ul .item.active {
   border-top: 2px solid  #2267B1;;
@@ -647,7 +650,7 @@ ul{
   text-align: left !important;
 }
 .colortext .el-table .cell{
-  font-size: 16px !important;
+  font-size: 14px !important;
   color: #333333;
 }
 .colortext  .el-table .el-table__cell{
@@ -676,7 +679,7 @@ height: 30px;
    background-color:#fafafa; 
    color: #333333;
    font-weight: 400;
-   font-family: 'Source Sans Pro-Regular';
+   font-family: 'Microsoft YaHei';
 }
 .el-table .el-table__row, .el-table .el-table__header-wrapper {
   /* border:1px solid #eee !important;  */
@@ -686,33 +689,33 @@ height: 30px;
   text-align: left !important;
   padding-left: 20px;
   color: #333333;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 
 .colortext .classtable .el-collapse-item {
   
   color: #333333;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 
 .colortext .classtable .el-collapse-item__header{
   padding-left: 20px;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 
 .colortext .classtable .el-radio__label ,.colortext .classtable span,.colortext .classtable .el-checkbox__label{
   color: #333333;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 
 .colortext .el-input__inner {
   color: #333333;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 
 .classtable .header-blue {
@@ -741,6 +744,7 @@ height: 30px;
 
 .classtable .el-table__cell div, .classtable .el-table__cell .el-input__inner {
   text-align: center;
+  align-items: center;
 }
 
 
@@ -753,14 +757,14 @@ height: 30px;
 .dialog_style {
   color: #333333;
   font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
 }
 
 .dialog_style .el-form-item__label,.dialog_style .el-checkbox__label,
 .dialog_style .el-input__inner{
   color: #333333;
   font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
 }
 
 .dialog_style .cloudbox{
@@ -769,7 +773,7 @@ height: 30px;
 
 .dialog_style .cloudbox .el-button{
   color: #333333;
-  font-size: 16px;
+  font-size: 14px;
 }
 
 .el-collapse-item__content {
@@ -780,12 +784,12 @@ height: 30px;
   margin: 0;
 }
 .colortext .el-tabs--left .el-tabs__nav.is-left, .el-tabs--left .el-tabs__nav.is-right, .el-tabs--right .el-tabs__nav.is-left, .el-tabs--right .el-tabs__nav.is-right{
-width: 200px;
+width: 150px;
 }
 .colortext .el-tabs--left .el-tabs__item.is-left, .el-tabs--right .el-tabs__item.is-left {
   justify-content: flex-start;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 .colortext  .el-tabs__nav-wrap::after{
   background-color: #fff;
@@ -824,7 +828,7 @@ width: 200px;
   position: relative;
   font-size: 16px;
   color: #333333;
-  font-family: "Source Sans-Regular";
+  font-family: "Microsoft YaHei";
 }
 .pythfoter .active {
   background-color: #fff;

+ 3 - 3
src/views/echart/area.vue

@@ -169,7 +169,7 @@ const setOptionfun = () => {
         color: "#333333",
         fontSize: 16,
         fontWeight: "normal",
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       }
     },
     tooltip: {
@@ -207,7 +207,7 @@ const setOptionfun = () => {
         nameTextStyle:{
           fontSize: 16,
           color:'#333333',
-          fontFamily:'Source Sans Pro-Regular'
+          fontFamily:'Microsoft YaHei'
         },
         nameLocation: 'middle',
         data: xdata.value,
@@ -233,7 +233,7 @@ const setOptionfun = () => {
         nameTextStyle:{
           fontSize: 16,
           color:'#333333',
-          fontFamily:'Source Sans Pro-Regular'
+          fontFamily:'Microsoft YaHei'
         },
         nameLocation: 'middle',
         axisLine: {

+ 3 - 3
src/views/echart/echartLine.vue

@@ -160,7 +160,7 @@ const linechart = () => {
         color: "#333333",
         fontSize: 16,
         fontWeight: "normal",
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       }
     },
     tooltip: {
@@ -197,7 +197,7 @@ const linechart = () => {
         nameTextStyle:{
           fontSize: 16,
           color:'#333333',
-          fontFamily:'Source Sans Pro-Regular'
+          fontFamily:'Microsoft YaHei'
         },
       nameLocation: 'middle',
       data: xdata.value,
@@ -221,7 +221,7 @@ const linechart = () => {
       nameTextStyle:{
         fontsize:16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation:"middle",
       axisTick: {

+ 2 - 2
src/views/echart/optimize_monitor.vue

@@ -416,7 +416,7 @@ const linechart = () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: 'middle',
       data: xdata.value,
@@ -441,7 +441,7 @@ const linechart = () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: 'middle',
       axisLine: {

+ 3 - 3
src/views/echart/pareto.vue

@@ -150,7 +150,7 @@ const setOptionfunc = async () => {
         color: "#333333",
         fontSize: 16,
         fontWeight: "normal",
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       }
     },
     legend: {
@@ -184,7 +184,7 @@ const setOptionfunc = async () => {
         nameTextStyle:{
           fontSize: 16,
           color:'#333333',
-          fontFamily:'Source Sans Pro-Regular'
+          fontFamily:'Microsoft YaHei'
         },
         nameLocation: 'middle',
         data: xdata.value,
@@ -210,7 +210,7 @@ const setOptionfunc = async () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: 'middle',
       axisTick: {

+ 1 - 1
src/views/echart/pie.vue

@@ -143,7 +143,7 @@ const setOptionfun = () => {
         color: "#333333",
         fontSize: 16,
         fontWeight: "normal",
-        fontFamily: "Source Sans Pro-Regular"
+        fontFamily: "Microsoft YaHei"
       }
     },
     tooltip: {

+ 3 - 3
src/views/echart/process-monitor1.vue

@@ -240,7 +240,7 @@ const linechart = () => {
         color: "#333333",
         fontSize: 16,
         fontWeight: "normal",
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
     },
     tooltip: {
@@ -277,7 +277,7 @@ const linechart = () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: 'middle',
       data: xdata.value,
@@ -301,7 +301,7 @@ const linechart = () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: 'middle',
       axisLine: {

+ 3 - 3
src/views/echart/process-monitor2.vue

@@ -241,7 +241,7 @@ const linechart = () => {
         color: "#333333",
         fontSize: 16,
         fontWeight: "normal",
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
     },
     tooltip: {
@@ -278,7 +278,7 @@ const linechart = () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: "middle",
       data: xdata.value,
@@ -302,7 +302,7 @@ const linechart = () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: "middle",
       axisLine: {

+ 3 - 3
src/views/echart/scatter.vue

@@ -152,7 +152,7 @@ const setOptionfunc = async () => {
         color: "#333333",
         fontSize: 16,
         fontWeight: "normal",
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       }
     },
     legend: {
@@ -186,7 +186,7 @@ const setOptionfunc = async () => {
         nameTextStyle:{
           fontSize: 16,
           color:'#333333',
-          fontFamily:'Source Sans Pro-Regular'
+          fontFamily:'Microsoft YaHei'
         },
         nameLocation: 'middle',
         data: xdata.value,
@@ -212,7 +212,7 @@ const setOptionfunc = async () => {
       nameTextStyle:{
         fontSize: 16,
         color:'#333333',
-        fontFamily:'Source Sans Pro-Regular'
+        fontFamily:'Microsoft YaHei'
       },
       nameLocation: 'middle',
       axisTick: {

+ 35 - 25
src/views/home.vue

@@ -721,7 +721,7 @@
           <!-- Xfiol改版后的 -->
           <el-dialog v-model="dialog.Xfiol" align-center :modal="false" :close-on-click-modal="false"
             :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false"
-            modal-class="summary-dlg2 summary-dlg" :before-close="handleClose" width="675"
+            modal-class="summary-dlg2 summary-dlg" :before-close="handleClose" width="540"
             class="dialog_class bgcolor tianjia colortext sel">
 
             <template #header="{ titleId, titleClass }">
@@ -867,7 +867,7 @@
           <!-- 云图/等值线图 -->
           <el-dialog v-model="dialog.clouddialog" align-center :modal="false" :close-on-click-modal="false"
             :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
-            :before-close="handleClose" width="800" class="dialog_style bgcolor tianjia sel cloudChart" style="height: 72%;">
+            :before-close="handleClose" width="700" class="dialog_style bgcolor tianjia sel cloudChart" style="height: 500px;overflow: auto;">
             <template #header="{ titleId, titleClass }">
               <div class="my-header ">
                 <h4 :id="titleId" :class="titleClass">云图/等值线显示</h4>
@@ -885,7 +885,10 @@
                   </el-col>
                 </el-row>
               </div>
-              <cloudChart/>
+              <div style="height: 400px;overflow: auto;">
+                <cloudChart/>
+              </div>
+              
             </div>
           </el-dialog>
           <!-- 云图二级弹窗 -->
@@ -899,8 +902,8 @@
           :modal-append-to-body="false"
           modal-class="summary-dlg"
           :before-close="handleClose"
-          width="600"
-          class="dialog_class bgcolor tianjia"
+          width="500"
+          class="dialog_class bgcolor tianjia "
           
           >
             <template #header="{ titleId, titleClass }">
@@ -967,7 +970,7 @@
           <!-- 气动分析Xfoil、ADflow -->
           <el-dialog v-model="dialog.XfAD" align-center :modal="false" :close-on-click-modal="false"
             :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
-            :before-close="handleClose" width="860" class="dialog_class bgcolor tianjia sel colortext">
+            :before-close="handleClose" width="700" class="dialog_class bgcolor tianjia sel colortext">
 
             <template #header="{ titleId, titleClass }">
               <div class="my-header ">
@@ -1000,7 +1003,7 @@
           <!-- CST -->
           <el-dialog v-model="dialog.CSTt" align-center :modal="false" :close-on-click-modal="false"
             :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
-            :before-close="handleClose" width="840" class="dialog_class bgcolor colortext tianjia sel">
+            :before-close="handleClose" width="730" class="dialog_class bgcolor colortext tianjia sel">
 
             <template #header="{ titleId, titleClass }">
               <div class="my-header ">
@@ -1042,7 +1045,7 @@
              <!-- 气动分析CST、FFD -->
              <el-dialog v-model="dialog.cstffd" align-center :modal="false" :close-on-click-modal="false"
             :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
-            :before-close="handleClose" width="1000" class="dialog_class bgcolor tianjia sel colortext">
+            :before-close="handleClose" width="900" class="dialog_class bgcolor tianjia sel colortext">
 
             <template #header="{ titleId, titleClass }">
               <div class="my-header ">
@@ -1196,7 +1199,7 @@
                  <!-- 单独的ADflow -->
                  <el-dialog v-model="dialog.isADflow" align-center :modal="false" :close-on-click-modal="false"
             :append-to-body="true" draggable :fullscreen="false" :modal-append-to-body="false" modal-class="summary-dlg"
-            :before-close="handleClose" width="630" class="dialog_class bgcolor tianjia sel colortext">
+            :before-close="handleClose" width="540" class="dialog_class bgcolor tianjia sel colortext">
 
             <template #header="{ titleId, titleClass }">
               <div class="my-header ">
@@ -4152,19 +4155,24 @@ const lbjkheaderCellClassName = ({ columnIndex }) => {
 }
 
 .footerTitle .span {
-  width: 150px;
+  width: 130px;
   height: 32px;
   line-height: 40px;
-  padding: 0 20px;
+  padding: 0 10px;
   box-sizing: border-box;
   cursor: default;
   position: relative;
   font-size: 14px;
   color: #333333;
-  font-family: 'Source Sans-Regular';
+  font-family: 'Microsoft YaHei';
+}
+
+.footerTitle .span .el-image {
+  margin-left: 10px;
 }
+
 .footerTitle .span span{
-  padding-left:20px;
+  padding-left:10px;
 }
 .footerText .el-textarea__inner {
   width: 100%;
@@ -4193,7 +4201,7 @@ const lbjkheaderCellClassName = ({ columnIndex }) => {
    display: none !important;
   } */
 .custom-text {
-  font-family: 'Source Sans-Regular';
+  font-family: 'Microsoft YaHei';
   font-size: 16px;
   color: rgba(51, 51, 51, 1);
   line-height: 24px;
@@ -4204,7 +4212,7 @@ const lbjkheaderCellClassName = ({ columnIndex }) => {
 }
 
 .el-tree .el-tree-node__children .custom-text {
-  font-family: 'Source Sans-Regular';
+  font-family: 'Microsoft YaHei';
   font-size: 14px;
   /* 这里设置为20px,你可以根据需求调整大小 */
 color: rgba(51, 51, 51, 0.8);
@@ -4277,21 +4285,22 @@ color: #2267B1;
   align-items: center;
 }
 .youhualog ul li {
-  font-family: 'Source Sans-Regular';
+  font-family: 'Microsoft YaHei';
   /* flex: 1; */
   /* border-left: 1px solid #B3B3B3; */
   font-size: 14px;
   height: 32px;
   /* line-height: 40px; */
-  width: 140px;
+  width: 120px;
   display: flex;
   /* justify-content: center; */
   align-items: center;
   padding:0 10px;
+  cursor: default;
 }
 
 .youhualog ul li span {
-  margin-left: 20px;
+  margin-left: 10px;
 }
 
 .footer-content {
@@ -4325,7 +4334,7 @@ color: #2267B1;
 .dibu .el-form-item_label {
   color: #333333;
   font-size: 14px;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
 }
 
 .dibu .btncolor {
@@ -4359,21 +4368,22 @@ color: #2267B1;
 
 .classtable .el-table td.el-table__cell, .classtable .el-table th.el-table__cell{
   color: #333333;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 
 .footer-content .classtable .el-table td.el-table__cell,.footer-content .classtable .el-table th.el-table__cell {
   color: #333333;
   font-size: 14px;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
 }
 
 .classtable .el-table td.el-table__cell div {
   height: 31px;
   overflow: hidden;
-  /* display: flex; */
+  display: flex;
   align-items: center; /* 垂直居中 */
+  justify-content: center; /* 水平居中 */
 }
 
 .classtable .el-table td.el-table__cell,
@@ -4439,7 +4449,7 @@ color: #2267B1;
 .jindutiao .percentage-value {
   font-size: 13px;
   color: #333333;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
 }
 .cstleft{
   width:50%;
@@ -4453,7 +4463,7 @@ color: #2267B1;
 .dialog_class {
   color: #333333;
   font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
 }
 
 </style>

+ 4 - 4
src/views/home/newfile.vue

@@ -79,10 +79,10 @@
 </template>
 <div>
   <el-form-item label="名称:" >
-        <el-input v-model="newfile.name" class="w-50 m-2" placeholder="请输入" />
+        <el-input v-model="newfile.name" class="w-50 m-2" placeholder="请输入" maxlength="100"/>
     </el-form-item>
     <el-form-item label="描述:">
-        <el-input v-model="newfile.remark" class="w-50 m-2" placeholder="请输入" />
+        <el-input v-model="newfile.remark" class="w-50 m-2" placeholder="请输入" maxlength="500"/>
     </el-form-item>
 </div>
     <template #footer>
@@ -302,7 +302,7 @@ const clickimg=(data,index,id)=>{
   position: relative; /* 确保 .hoveredImageContainer 相对于 .showImgDiv 定位 */
 }
 .modelStyle{
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
   font-size: 12px;
   color: #333333;
   text-align: center;
@@ -310,7 +310,7 @@ const clickimg=(data,index,id)=>{
 </style>
 <style>
 .custom-collapse .el-collapse-item__header {
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
   font-weight: 500;
   font-size: 14px;
   color: #1A1A1A ;

+ 28 - 6
src/views/home/querylist.vue

@@ -1,11 +1,11 @@
 <template>
     <!-- 打开查询 -->
     <h3 class="opt_tltie"></h3>
-    <div>
+    <div style="width: 100%;height: 100%;overflow: auto;">
         <div class="search-container">
             <el-input
             v-model="gd.searchtag"
-            placeholder="请输入项目名称"
+            placeholder="请输入工程名称"
             class="search-input"
             >
             </el-input>
@@ -13,7 +13,7 @@
         </div>
         <el-table :data="tableData" 
             @row-click="handlerow($event)" 
-            :row-style="{ height: '100px', fontSize: '14px', color: '#1A1A1A', fontWeight: '500',fontFamily: 'Source Sans Pro-Regular'}"
+            :row-style="{ height: '100px', fontSize: '14px', color: '#1A1A1A', fontWeight: '500',fontFamily: 'Microsoft YaHei'}"
             style="width: 100%"
             :header-cell-style="headerCellStyle">
             <el-table-column prop="image" label="模板" width="230">
@@ -41,7 +41,7 @@
             </el-table-column>
             <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width">
                 <template #default="scope">
-                  <el-button size="small" type="text" icon="el-icon-delete" @click.stop="handdelete(scope.$index, scope.row)">删除</el-button>
+                  <el-button size="small" type="text" icon="el-icon-delete" @click.stop="confirmDelete(scope.$index, scope.row)(scope.$index, scope.row)">删除</el-button>
                 </template>
               </el-table-column>
         </el-table>
@@ -67,7 +67,7 @@
 import { ref, onMounted, reactive, } from "vue";
 import { RouterView, RouterLink,useRouter } from "vue-router"
 import { request, uploadFile } from "@/utils/request";
-import { ElMessage, ElButton, ElDialog, ElSelect } from 'element-plus'
+import { ElMessage, ElButton, ElDialog, ElSelect, ElMessageBox } from 'element-plus'
 import { Calendar, Search } from "@element-plus/icons-vue";
 import * as echarts from 'echarts';
 import moment from 'moment';
@@ -107,6 +107,28 @@ const getsensor = () => {
 const searchclick = () => {
     getsensor();
 }
+// 删除提示
+const confirmDelete = (index, row) => {
+  ElMessageBox.confirm(
+    '确定要删除该项吗?删除后不可恢复!',
+    '删除确认',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning',
+    }
+  )
+    .then(() => {
+      handdelete(index, row)
+    })
+    .catch(() => {
+      ElMessage({
+        type: 'info',
+        message: '已取消删除',
+      })
+    })
+}
+
 //删除
 const handdelete=(e,row)=>{
     console.log(row)
@@ -141,7 +163,7 @@ const handlerow=(val)=>{
 const formatDate = datetime => !datetime ? '' : moment(datetime).format('YYYY-MM-DD HH:mm:ss');
 
 const headerCellStyle = () => {
-    return {color: '#1A1A1A', fontFamily: 'Source Sans Pro-Regular', fontWeight: '500'}
+    return {color: '#1A1A1A', fontFamily: 'Microsoft YaHei', fontWeight: '500'}
 }
 </script>
 <style lang="scss" scoped>

+ 2 - 2
src/views/openpage.vue

@@ -93,7 +93,7 @@ span{
   border: none;
   padding: 8px 15px 8px 7px;
   font-size: 18px;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
 }
 }
 
@@ -136,7 +136,7 @@ span{
   .el-menu-item{
     color: #fff;
     padding: 0 45px !important;
-    font-family: 'Source Sans-Regular';
+    font-family: 'Microsoft YaHei';
     font-size: 16px;
   }
 }

+ 5 - 5
src/views/titlecomponent/ADflow.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="XFpdding">
+  <div class="XFpdding" style="height: 400px">
     <ul>
       <li
         class="item"
@@ -8,7 +8,7 @@
         :class="{ active: currentTab1 === index }"
         @click="selectTab1(index)"
       >
-        <img :src="tab.imgSrc"/>
+        <img :src="tab.imgSrc" style="width: 22px;"/>
         {{ tab.name }}
       </li>
     </ul>
@@ -16,7 +16,7 @@
     <!-- 执行 -->
     <div
       class="eldesign classtable"
-      style="margin-top: 10px;height: 400px;"
+      style="margin-top: 10px;"
       v-if="currentTab1 == '0'"
     >
       <div style="display: flex;flex-direction: column;">
@@ -69,7 +69,7 @@
     <!-- 来流参数 v-show="currentTab=='0'"-->
     <div v-show="currentTab1 == '1'">
       <div class="eldesign classtable" style="margin-top: 10px">
-        <el-table :data="inParams" border style="width: 100%; height: 400px" :header-cell-class-name="headerCellClassName">
+        <el-table :data="inParams" border style="width: 100%; " :header-cell-class-name="headerCellClassName">
           <el-table-column type="index" width="70" label="编号" />
           <el-table-column prop="name" label="参数名称">
             <!-- <template #default="{ row }">
@@ -319,7 +319,7 @@
     <!-- 分析参数 v-show="currentTab=='0'"-->
     <div v-show="currentTab1 == '3'">
       <div class="eldesign classtable" style="margin-top: 10px">
-        <el-table :data="outParams" border style="width: 100%; height: 400px" :header-cell-class-name="headerCellClassName">
+        <el-table :data="outParams" border style="width: 100%; " :header-cell-class-name="headerCellClassName">
           <el-table-column type="index" width="70" label="编号" />
           <el-table-column prop="name" label="参数名称" >
           </el-table-column>

+ 9 - 8
src/views/titlecomponent/Cloudsecond.vue

@@ -2,7 +2,7 @@
   <div class="cloudsecond">
     <!-- 文件选择 -->
     <div v-show="activesd.fileselect">
-      <el-form-item label="添加文件:" :label-width="formLabelWidth1" label-position="left">
+      <el-form-item label="添加文件:" :label-width="formLabelWidth3" label-position="left">
         <el-row style="width: 100%">
             <el-col :span="24">
               <el-input
@@ -71,7 +71,7 @@
       </div>
     </div>
     <!-- 云图 -->
-    <div v-show="activesd.cloud" style="height: 550px; overflow: auto;">
+    <div v-show="activesd.cloud" style="height: 450px; overflow: auto;">
       <div>
         <el-collapse v-model="activeNames">
           <el-collapse-item  name="1">
@@ -377,6 +377,7 @@ import { ref, onMounted, reactive, provide, nextTick } from "vue"
 import fileUploads from "../components/fileuploads.vue";
 const meshFileImgSrc = new URL("@/assets/img/open.png", import.meta.url).href;
 
+let formLabelWidth3 = ref(80)
 let formLabelWidth1 = ref(140)
 let formLabelWidth2 = ref(100)
 let cloudFileName = ref('');
@@ -556,8 +557,8 @@ const handleFileUploadSuccess = (data) =>{
 <style>
 .cloudsecond {
   color: #333333;
-  font-size: 16px;
-  font-family: 'Source Sans Pro-Regular';
+  font-size: 14px;
+  font-family: 'Microsoft YaHei';
 }
 
 .tabledomain {
@@ -567,7 +568,7 @@ const handleFileUploadSuccess = (data) =>{
 
 .cloudsecond .el-button, .cloudsecond .el-checkbox__label, .cloudsecond .el-input__inner{
   color: #333333;
-  font-size: 16px;
+  font-size: 14px;
 }
 
 .cloudsecond .el-select {
@@ -575,13 +576,13 @@ const handleFileUploadSuccess = (data) =>{
 }
 
 .cloudsecond .el-form-item__label {
-  font-size: 16px;
+  font-size: 14px;
   color: #333333;
-  font-family: 'Source Sans Pro-Regular' !important;
+  font-family: 'Microsoft YaHei' !important;
 }
 
 .el-collapse-item__header {
-  font-size: 16px;
+  font-size: 14px;
 
   
 }

+ 1 - 1
src/views/titlecomponent/Flight.vue

@@ -8,7 +8,7 @@
         :class="{ active: currentTab1 === index }"
         @click="selectTab1(index)"
       >
-        <img :src="tab.imgSrc" style="width: 24px;margin-top: -8px;"/>
+        <img :src="tab.imgSrc" style="width: 22px;"/>
         {{ tab.name }}
       </li>
     </ul>

+ 6 - 6
src/views/titlecomponent/Xfoil.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="XFpdding">
+  <div class="XFpdding" style="height: 400px">
     <ul>
       <li
         class="item"
@@ -8,14 +8,14 @@
         :class="{ active: currentTab === index }"
         @click="selectTab(index)"
       >
-        <img :src="tab.imgSrc" style="width: 24px;margin-top: -8px;"/>
+        <img :src="tab.imgSrc" style="width: 22px;"/>
         {{ tab.name }}
       </li>
     </ul>
     <!-- 来流参数 -->
     <div v-show="currentTab == '0'">
       <div class="eldesign classtable" style="margin-top: 10px">
-        <el-table :data="inParams" border style="width: 100%; height: 400px" :header-cell-class-name="headerCellClassName">
+        <el-table :data="inParams" border style="width: 100%; " :header-cell-class-name="headerCellClassName">
           <el-table-column type="index" width="70" label="编号"/>
           <!-- <el-table-column prop="code" width="70" label="编码" /> -->
           <el-table-column prop="name" label="参数名称">
@@ -44,10 +44,10 @@
     <!-- 分析参数 -->
     <div v-show="currentTab == '2'">
       <div class="eldesign classtable" style="margin-top: 10px">
-        <el-table :data="outParams" border style="width: 100%;height: 400px" :header-cell-class-name="headerCellClassName">
+        <el-table :data="outParams" border style="width: 100%;" :header-cell-class-name="headerCellClassName">
           <el-table-column type="index" width="70" label="编号" />
           <!-- <el-table-column prop="code" width="70" label="编码" /> -->
-          <el-table-column prop="name" label="参数名称">
+          <el-table-column prop="name" label="参数名称" show-overflow-tooltip>
             <!-- <template #default="{ row }">
               <el-input v-model="row.name" @change="handleEdit(row)" />
             </template> -->
@@ -72,7 +72,7 @@
     </div>
     <!-- 设置参数 -->
     <div v-show="currentTab == '1'">
-      <div class="eldesign classtable" style="margin-top: 10px;height: 400px">
+      <div class="eldesign classtable" style="margin-top: 10px;">
         <el-form-item label="分析对象:" :label-width="formLabelWidth1">
           <el-select
             v-model="xfoilvalue.anobj"

+ 1 - 1
src/views/titlecomponent/csts.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="XFpdding" style="height: 463px;">
+  <div class="XFpdding" style="height: 400px;">
     <div class="numberinput lefttext">
       <el-form>
         <div>

+ 3 - 2
src/views/titlecomponent/ffds.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="XFpdding" style="height: 550px">
+  <div class="XFpdding" style="height: 400px;overflow: auto;">
     <div>
       <el-form-item label="FFD包围盒:" :label-width="formLabelWidth1">
         <el-input
@@ -68,8 +68,9 @@
     <div class="classtable" style="margin-top: 20px;">
       <el-table
         :data="tableDatacst1"
-        style="width: 100%;height: 400px;"
+        style="width: 100%;"
         border
+        max-height="400"
         :header-cell-class-name="headerCellClassName"
       >
         <el-table-column type="index" label="" width="60" />

+ 1 - 1
src/views/vueflow/main.css

@@ -12,7 +12,7 @@ body,
 }
 
 #app {
-  text-transform: uppercase;
+  /* text-transform: uppercase; */
   font-family: 'JetBrains Mono', monospace;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;

+ 1 - 1
src/views/vuetree/index.vue

@@ -1022,7 +1022,7 @@ defineExpose({changeAllEdgesColor,linestrokeWidth,getroter,onSelection,bgcolorfu
   transform:  translateY(-10px); /* 将 label 向上偏移 */
   background: transparent !important;
   font-size: 8px;
-  font-family: 'Source Sans Pro-Regular';
+  font-family: 'Microsoft YaHei';
   color: #333333;
 }
 

+ 1 - 1
src/views/vuetree/main.css

@@ -12,7 +12,7 @@ body,
 }
 
 #app {
-  text-transform: uppercase;
+  /* text-transform: uppercase; */
   font-family: 'JetBrains Mono', monospace;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;