瀏覽代碼

4.13新增静态页面

liuqiao 2 年之前
父節點
當前提交
50b20f3c6e

+ 5 - 1
src/assets/css/theme/0000ff/index.css

@@ -16,4 +16,8 @@
 .custom-0000ff .bkcolor3{
     background-color: rgba(223,223,236,0.9);
     border-color: rgb(223 223 236);
-  }
+  }
+  .custom-0000ff .tabsel{
+    border-bottom:1px solid  #d3d1e5;
+  }
+  

+ 5 - 1
src/assets/css/theme/008000/index.css

@@ -15,4 +15,8 @@
 .custom-008000  .bkcolor3{
     background-color: rgb(150 215 148 / 30%);
     border-color: #3bcf7d;
-  }
+  }
+  .custom-008000   .tabsel{
+    border-bottom:1px solid  #d1e5e5;
+  }
+  

+ 5 - 1
src/assets/css/theme/00a597/index.css

@@ -26,4 +26,8 @@
 .custom-00a597  .bkcolor3{
     background-color: rgba(0,165,151,.1);
     border-color: rgba(0,165,151,.2);
-  }
+  }
+  .custom-00a597  .tabsel{
+    border-bottom:1px solid  #d1e5e5;
+  }
+  

+ 3 - 0
src/assets/css/theme/00a598/index.css

@@ -144,6 +144,9 @@ background-color: #757070;
     .custom-00a598 .left{
       border: none;
     }
+    .custom-00a598 .tabsel{
+      border-bottom:1px solid  #666;
+    }
     /* .el-tabs{
     border-bottom: 1px solid #666;
     } */

+ 3 - 0
src/assets/css/theme/20a0ff/index.css

@@ -16,4 +16,7 @@
 .custom-20a0ff  .bkcolor3{
     background-color: rgba(32,160,255,.1);
     border-color: rgba(32,160,255,.2);
+  }
+  .custom-20a0ff  .tabsel{
+    border-bottom:1px solid  #d1dbe5;
   }

+ 3 - 1
src/assets/css/theme/fa4f52/index.css

@@ -19,4 +19,6 @@
     background-color: rgba(250,79,82,.1);
     border-color: rgba(250,79,82,.2);
   }
- 
+  .custom-fa4f52 .tabsel{
+    border-bottom:1px solid  #e5d3d1;
+  }

File diff suppressed because it is too large
+ 0 - 0
src/assets/css/theme/ff0000/index.css


+ 1 - 1
src/views/index/HCFDLab/echartsHFCD.vue

@@ -261,7 +261,7 @@ export default {
                   layout: "horizontal",
                   align: "center",
                   verticalAlign: "bottom",
-                  itemStyle:{'color':"#fff" }
+                  itemStyle:{'color':"#b6b6b6" }
                 },
         series: [
         ],

+ 472 - 10
src/views/index/HCFDLab/index.vue

@@ -5,7 +5,7 @@
       <div class="toolbar-part-detail lbg_color1 ">
          <!-- 工具栏 -->
       <!-- <transformtool ref="transform" :servertype="servertype" :projectId='project.projectId'  :wstep='wstep' :bStep='bStep' :vStep='vStep'></transformtool> -->
-          <el-tabs   v-model="activeName" type="card" @tab-click="handleClick" style="border-bottom:1px solid">
+          <el-tabs   v-model="activeName" type="card" @tab-click="handleClick" class="tabsel">
 
             <el-tab-pane label="几何建模" name="one"><geometry></geometry></el-tab-pane>
             <!-- 网格划分 -->
@@ -1862,6 +1862,413 @@
         >
       </div>
     </el-dialog>
+    <!--轮廓显示  Contour Displsy-->
+       <el-dialog  :visible.sync="dialog.contour_visiable" 
+     v-if="active=='five7-0'"
+    :modal='false'
+    :close-on-click-modal="false"
+    @close='activecleer()'
+    custom-class='dialoglocation dialog_color'
+     width="385px"
+     :style="styX"
+       >
+            <div slot="title" class=dialog_header>
+     <el-image class="imge" :src="p3" fit="cover" />
+     <span class="text-color">轮廓显示</span>
+  </div>
+  <el-form>
+       <div class="line">
+      <div class="linetext">轮廓</div>
+    </div> 
+    <div class="Squareline  selecr">
+         <el-form-item label="名称" :label-width="formLabelWidth2" >
+      <el-input value="PingYi" autocomplete="off"></el-input>
+      </el-form-item>
+         <el-form-item label="类型" :label-width="formLabelWidth2" >
+      <el-input value="PingYi" autocomplete="off"></el-input>
+      </el-form-item>
+            <el-form-item :label="$t('HCFD.results.scalar') " :label-width="formLabelWidth2">
+      <el-select 
+                  size="mini"
+                  v-model="vSalar"
+                  placeholder="select boundary"
+                >
+                   <el-option
+                            v-for="scalar in volumScalars"
+                            :key="scalar"
+                            :label="scalar"
+                            :value="scalar"
+                          >
+                          </el-option>
+                </el-select>
+        </el-form-item>
+    </div>
+          <div class="line">
+      <div class="linetext"> 标量集</div>
+    </div> 
+       <el-form-item label="水平" :label-width="formLabelWidth2" >
+      <el-input value="" autocomplete="off"></el-input>
+      </el-form-item>
+      <div class="disflex lheig34 liitem">
+                      <el-checkbox-group v-model="velementCheckeds" style="display:flex">
+                        <el-checkbox
+                          label="Horizontal"
+                          @change="ContourvalVolume('Mesh')"
+                        ></el-checkbox>
+                        <el-checkbox
+                          label="Velocity"
+                          @change="ContourvalVolume('Contour')"
+                        ></el-checkbox>
+                      </el-checkbox-group>
+                    </div>  
+         <div class="line">
+      <div class="linetext"> 范围</div>
+    </div>
+    <el-form-item label="最大范围" :label-width="formLabelWidth2" >
+      <el-input value="0" autocomplete="off"></el-input>
+      </el-form-item>
+    <el-form-item label="最小范围" :label-width="formLabelWidth2" >
+      <el-input value="0" autocomplete="off"></el-input>
+      </el-form-item> 
+  </el-form>
+  <div slot="footer" class="dialog-footer">
+        <el-button   @click="dialog.contour_visiable= false"
+          >{{ $t("HCFD.file.cancel")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.contour_visiable = false"
+          >{{ $t("HCFD.file.ok")}}</el-button
+        >
+      </div>
+</el-dialog>
+   <!--线条显示 Line Displsy-->
+       <el-dialog  :visible.sync="dialog.Line_visiable" 
+     v-if="active=='five7-1'"
+    :modal='false'
+    :close-on-click-modal="false"
+    @close='activecleer()'
+    custom-class='dialoglocation dialog_color'
+     width="385px"
+     :style="styX"
+       >
+            <div slot="title" class=dialog_header>
+     <el-image class="imge" :src="p9" fit="cover" />
+     <span class="text-color">线显示</span>
+  </div>
+  <el-form>
+       <div class="line">
+      <div class="linetext">线</div>
+    </div> 
+    <div class="Squareline  selecr">
+         <el-form-item label="名称" :label-width="formLabelWidth2" >
+      <el-input value="PingYi" autocomplete="off"></el-input>
+      </el-form-item>
+         <el-form-item label="类型" :label-width="formLabelWidth2" >
+      <el-input value="PingYi" autocomplete="off"></el-input>
+      </el-form-item>
+            <el-form-item :label="$t('HCFD.results.scalar') " :label-width="formLabelWidth2">
+      <el-select 
+                  size="mini"
+                  v-model="vSalar"
+                  placeholder="select boundary"
+                >
+                   <el-option
+                            v-for="scalar in volumScalars"
+                            :key="scalar"
+                            :label="scalar"
+                            :value="scalar"
+                          >
+                          </el-option>
+                </el-select>
+        </el-form-item>
+    </div>
+          <div class="line">
+      <div class="linetext"> 标量集</div>
+    </div>  
+       <el-form-item label="水平" :label-width="formLabelWidth2" >
+      <el-input value="" autocomplete="off"></el-input>
+      </el-form-item>
+         <div class="line">
+      <div class="linetext"> 范围</div>
+    </div>
+    <el-form-item label="最大范围" :label-width="formLabelWidth2" >
+      <el-input value="0" autocomplete="off"></el-input>
+      </el-form-item>
+    <el-form-item label="最小范围" :label-width="formLabelWidth2" >
+      <el-input value="0" autocomplete="off"></el-input>
+      </el-form-item> 
+  </el-form>
+  <div slot="footer" class="dialog-footer">
+        <el-button   @click="dialog.Line_visiable= false"
+          >{{ $t("HCFD.file.cancel")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Line_visiable = false"
+          >{{ $t("HCFD.file.ok")}}</el-button
+        >
+      </div>
+</el-dialog>
+<!--Vector 矢量  -->
+ <el-dialog  :visible.sync="dialog.Vector_visiable" 
+     v-if="active=='five7-2'"
+    :modal='false'
+    :close-on-click-modal="false"
+    @close='activecleer()'
+    custom-class='dialoglocation dialog_color'
+     width="385px"
+     :style="styX"
+       >
+            <div slot="title" class=dialog_header>
+     <el-image class="imge" :src="p4" fit="cover" />
+     <span class="text-color">矢量</span>
+  </div>
+  <el-form>
+       <div class="line">
+      <div class="linetext">矢量</div>
+    </div> 
+    <div class="Squareline  selecr">
+          <el-form-item label="u" :label-width="formLabelWidth2">
+      <el-select 
+                  size="mini"
+                  v-model="vSalar"
+                  placeholder="select boundary"
+                >
+                   <el-option
+                            v-for="scalar in volumScalars"
+                            :key="scalar"
+                            :label="scalar"
+                            :value="scalar"
+                          >
+                          </el-option>
+                </el-select>
+        </el-form-item>
+        <el-form-item label="v" :label-width="formLabelWidth2">
+      <el-select 
+                  size="mini"
+                  v-model="vSalar"
+                  placeholder="select boundary"
+                >
+                   <el-option
+                            v-for="scalar in volumScalars"
+                            :key="scalar"
+                            :label="scalar"
+                            :value="scalar"
+                          >
+                          </el-option>
+                </el-select>
+        </el-form-item>
+            <el-form-item label="w" :label-width="formLabelWidth2">
+      <el-select 
+                  size="mini"
+                  v-model="vSalar"
+                  placeholder="select boundary"
+                >
+                   <el-option
+                            v-for="scalar in volumScalars"
+                            :key="scalar"
+                            :label="scalar"
+                            :value="scalar"
+                          >
+                          </el-option>
+                </el-select>
+        </el-form-item>
+    </div>
+          <div class="line">
+      <div class="linetext"> 参数设置</div>
+    </div>  
+       <el-form-item label="标度因子" :label-width="formLabelWidth2" >
+      <el-input value="" autocomplete="off"></el-input>
+      </el-form-item>
+     
+  </el-form>
+  <div slot="footer" class="dialog-footer">
+        <el-button   @click="dialog.Vector_visiable= false"
+          >{{ $t("HCFD.file.cancel")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Vector_visiable = false"
+          >{{ $t("HCFD.file.ok")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Vector_visiable = false"
+          >Apply</el-button
+        >
+      </div>
+</el-dialog>
+<!--Solid Surface固体 -->
+ <el-dialog  :visible.sync="dialog.Solid_Surface" 
+     v-if="active=='five8-0'"
+    :modal='false'
+    :close-on-click-modal="false"
+    @close='activecleer()'
+    custom-class='dialoglocation dialog_color'
+     width="385px"
+     :style="styX"
+       >
+            <div slot="title" class=dialog_header>
+     <el-image class="imge" :src="p4" fit="cover" />
+     <span class="text-color">Solid Surface</span>
+  </div>
+  <el-form :model="form">
+   <div class="heigeinput">
+        <el-form-item label="颜色">
+         <div class="saninput titleinput"> R
+      <el-input v-model="form.name" autocomplete="off"></el-input>G
+       <el-input v-model="form.name" autocomplete="off"></el-input>B
+        <el-input v-model="form.name" autocomplete="off"></el-input>
+          <el-color-picker
+            v-model="lineColor"
+            show-alpha
+            :predefine="predefineColors">
+          </el-color-picker>
+        </div>  
+    </el-form-item>
+     <div class="yiinpu heigeinput">
+    <el-form-item label="透明度" :label-width="formLabelWidth2">
+      <el-input v-model="form.name" autocomplete="off"></el-input>
+         <span style="width:80px">值范围0~1</span>
+    </el-form-item>
+ </div>
+    <div class="radio_text text_color liangf">
+              <div class="classfelx" style="text-align: center;">
+                <el-radio
+                      v-model="parameterObj.nmlParam.noninertial_Reference_Frame"
+                      label="on"
+                      >hide</el-radio>
+                  </div>
+                    <div class="classfelx">
+                    <el-radio
+                      v-model="parameterObj.nmlParam.noninertial_Reference_Frame"
+                      label="off"
+                      >show</el-radio
+                    >
+                    </div>
+                    </div>
+ </div> 
+  </el-form>
+  <div slot="footer" class="dialog-footer">
+        <el-button   @click="dialog.Solid_Surface= false"
+          >{{ $t("HCFD.file.cancel")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Solid_Surface= false"
+          >{{ $t("HCFD.file.ok")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Solid_Surface = false"
+          >Apply</el-button
+        >
+      </div>
+</el-dialog>
+<!--Curve Select曲线选择 -->
+ <el-dialog  :visible.sync="dialog.Curve_Select" 
+     v-if="active=='five10-0'"
+    :modal='false'
+    :close-on-click-modal="false"
+    @close='activecleer()'
+    custom-class='dialoglocation dialog_color'
+     width="385px"
+     :style="styX"
+       >
+            <div slot="title" class=dialog_header>
+     <el-image class="imge" :src="p4" fit="cover" />
+     <span class="text-color"> 选择</span>
+  </div>
+  <el-form :model="form">
+   <div class="heigeinput selecr">
+        <div class="line">
+      <div class="linetext">结果曲线</div>
+    </div> 
+         <el-form-item label="选择区域" :label-width="formLabelWidth2">
+      <el-select 
+                  size="mini"
+                  v-model="vSalar"
+                  placeholder="select boundary"
+                >
+                   <el-option
+                            v-for="scalar in volumScalars"
+                            :key="scalar"
+                            :label="scalar"
+                            :value="scalar"
+                          >
+                          </el-option>
+                </el-select>
+        </el-form-item>
+     <div class="line">
+      <div class="linetext">类型</div>
+    </div> 
+      <div class="listbtn"> 
+       <el-button plain class="anniu">点</el-button>
+        <el-button plain class="anniu">Cells</el-button>
+      </div>
+         <el-form-item label="标量名称" :label-width="formLabelWidth2">
+      <el-select 
+                  size="mini"
+                  v-model="vSalar"
+                  placeholder="select boundary"
+                >
+                   <el-option
+                            v-for="scalar in volumScalars"
+                            :key="scalar"
+                            :label="scalar"
+                            :value="scalar"
+                          >
+                          </el-option>
+                </el-select>
+        </el-form-item>
+         <div class="listbtn"> 
+       <el-button plain class="anniu">清除</el-button>
+        <el-button plain class="anniu">输出量</el-button>
+      </div>
+ </div> 
+  </el-form>
+  <div slot="footer" class="dialog-footer">
+        <el-button   @click="dialog.Curve_Select= false"
+          >{{ $t("HCFD.file.cancel")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Curve_Select= false"
+          >{{ $t("HCFD.file.ok")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Curve_Select = false"
+          >Apply</el-button
+        >
+      </div>
+</el-dialog>
+<!--Curve Disp1ay曲线
+曲线选择 -->
+ <el-dialog  :visible.sync="dialog.Curve_Disp1ay" 
+     v-if="active=='five10-1'"
+    :modal='false'
+    :close-on-click-modal="false"
+    @close='activecleer()'
+    custom-class='dialoglocation dialog_color'
+     width="385px"
+     :style="styX"
+       >
+            <div slot="title" class=dialog_header>
+     <el-image class="imge" :src="p4" fit="cover" />
+     <span class="text-color"> 选择</span>
+  </div>
+  <el-form :model="form">
+    <div class="Squareline selecr " >
+        <div class="line">
+      <div class="linetext">结果曲线</div>
+    </div> 
+   
+    </div>
+   <div class="heigeinput selecr">
+      
+
+      
+      
+ </div> 
+  </el-form>
+  <div slot="footer" class="dialog-footer">
+        <el-button   @click="dialog.Curve_Disp1ay= false"
+          >{{ $t("HCFD.file.cancel")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Curve_Disp1ay= false"
+          >{{ $t("HCFD.file.ok")}}</el-button
+        >
+        <el-button type="primary" @click="dialog.Curve_Disp1ay = false"
+          >Apply</el-button
+        >
+      </div>
+</el-dialog>
      <!-- 单位计算开始 -->
        <el-dialog  :visible.sync="visiable" 
      v-if="active=='six-0'"
@@ -2115,6 +2522,24 @@ export default {
         projectId:'',
         projectDesc:'',
       },
+      // 颜色选择
+      lineColor: 'rgba(255, 69, 0, 0.68)',
+        predefineColors: [
+          '#ff4500',
+          '#ff8c00',
+          '#ffd700',
+          '#90ee90',
+          '#00ced1',
+          '#1e90ff',
+          '#c71585',
+          'rgba(255, 69, 0, 0.68)',
+          'rgb(255, 120, 0)',
+          'hsv(51, 100, 98)',
+          'hsva(120, 40, 94, 0.5)',
+          'hsl(181, 100%, 37%)',
+          'hsla(209, 100%, 56%, 0.73)',
+          '#c7158577'
+        ],
         // current:0,
         lsolverState:"2",
         footerShow:true,
@@ -2239,9 +2664,9 @@ export default {
             { icon:p4, titlie:'几何距离'},
         ],
         displaylist:[
-            { icon:p3, titlie:'Contour Displsy'},
-            { icon:p9, titlie:'Line Displsy'},
-            { icon:p4, titlie:'Vector'},
+            { icon:p3, titlie:'轮廓显示'},
+            { icon:p9, titlie:'线'},
+            { icon:p4, titlie:'矢量'},
         ],
         displaylist2:[
            { icon:p9, titlie:'Solid Surface'},
@@ -2516,6 +2941,12 @@ export default {
         swap_visiable: false,
         SurfaceGrid_visiable:false,
         VolumeGrid_visiable:false,
+        contour_visiable:false,
+        Line_visiable:false,
+        Vector_visiable:false,
+        Solid_Surface:false,
+        Curve_Select:false,
+        Curve_Disp1ay:false,
       },
       geneal: {
         //数据存储
@@ -2930,6 +3361,7 @@ hcfdparam(){
 var e=e||window.Event
 this.styX.left=e.clientX+'px';
     this.active=key;
+    console.log(key);
   switch(key){
     case 'info1-0':
       this.name="New"
@@ -3014,15 +3446,35 @@ this.styX.left=e.clientX+'px';
        case 'five-1':
         this.dialog.VolumeGrid_visiable = true;
        break;
-        case 'six-0':
-        this.visiable=true;
+      case 'five7-0':
+        this.dialog.contour_visiable = true;
+       break;
+        case 'five7-1':
+        this.dialog.Line_visiable = true;
        break;
-     case 'six-1':
-         this.Yvisiable= true;
+        case 'five7-2':
+        this.dialog.Vector_visiable = true;
        break;
-          case 'six-2':
-         this.llsvisiable = true;
+          case 'five8-0':
+        this.dialog.Solid_Surface = true;
        break;
+        case 'five10-0':
+        this.dialog.Curve_Select = true;
+       break;
+        case 'five10-1':
+        this.dialog.Curve_Disp1ay = true;
+       break;
+      
+
+    //     case 'six-0':
+    //     this.visiable=true;
+    //    break;
+    //  case 'six-1':
+    //      this.Yvisiable= true;
+    //    break;
+    //       case 'six-2':
+    //      this.llsvisiable = true;
+    //    break;
   }
 
   },
@@ -4436,6 +4888,11 @@ body {
   padding: 20px;
   overflow: auto;
 }
+.Squareline{
+  border: 1px solid;
+  padding: 10px;
+  //  transform: translateX(-50%);
+}
 .radiogroup{
   display:flex;
 }
@@ -4567,4 +5024,9 @@ vertical-align:middle;
  .textselsect .el-input__inner{
       background-color: rgba(255, 255, 255, 0);
   }
+  .el-color-picker__trigger{
+    height: 30px;
+    width: 33px;
+    padding: 3px;
+  }
 </style>

+ 4 - 1
src/views/index/geometry/index.vue

@@ -1116,7 +1116,7 @@ v-if="active=='info2-0'"
          <el-button plain class="anniu">方向</el-button>
     </div>
          </div>
-           <div class="dan heigeinput inputtext">
+           <div class="dan heigeinput inputtext inputbolck">
               <el-input v-model="form.name" autocomplete="off"></el-input>
               <el-input v-model="form.name" autocomplete="off"></el-input>
               <el-input v-model="form.name" autocomplete="off"></el-input>
@@ -3235,7 +3235,10 @@ line-height: 30px;
    align-items: center;
     display: flex;
 }
+.inputbolck .el-input{
+  display:block;
 
+}
 </style>
 <style lang="scss">
 @import '@/styles/variables.scss';

Some files were not shown because too many files changed in this diff