浏览代码

日照分析和操作页面调整

maxiaoxiao 5 月之前
父节点
当前提交
5499b238d8

+ 5 - 1
src/components/3DAnalysis/ShadowQuery/ShadowQueryNew.vue

@@ -1,10 +1,14 @@
 <template>
-  <div v-show="analysisShow && shadowqueryComb"></div>
+  <div v-show="analysisShow && shadowqueryComb">
+    <SunlightAnalysis></SunlightAnalysis>
+  </div>
 </template>
 
 <script>
+import SunlightAnalysis from "@/views/ConstructionApplication3D/SunlightAnalysis/SunlightAnalysis.vue";
 export default {
   name: "Sm3dShadowquery",
+  components: { SunlightAnalysis },
   data() {
     return {
       sharedState: store.state,

+ 9 - 2
src/components/Combinations/analysisCombination/analysisCombination.vue

@@ -1,7 +1,8 @@
 <template>
-  <div id="3DAnalysis" class="sm-panel" v-show="analysisShow" v-drag>
+  <div id="3DAnalysis" class="sm-panel analysis" v-show="analysisShow" v-drag>
     <div class="sm-content">
-      <div class="sm-panel-header headertwo">
+      <div class="sm-panel-header">
+        <!-- headertwo -->
         <span :class="{ titleColor: sightlineShow }" class="title-txt" @click="choose(0)">{{ Resource.sightline
           }}</span>
         <span :class="{ titleColor: viewshedShow }" class="title-txt" @click="choose(1)">{{ Resource.viewShed }}</span>
@@ -105,3 +106,9 @@ export default {
   },
 };
 </script>
+<style scoped>
+.analysis{
+  width: 400px;
+  max-width: 400px;
+}
+</style>