Browse Source

卷帘修改

maxiaoxiao 4 months ago
parent
commit
5e9a516f00

+ 8 - 7
src/components/sceneAtttribute/otherOptions/otherOptions.vue

@@ -55,10 +55,11 @@
     <div class="flexbox">
       <label class="sm-viewshed-label-right">{{ Resource.useRoller }}</label>
       <input type="checkbox" v-model="useRoller" />
-      <label class="sm-viewshed-label-right">{{
+      <div style="width: 45%"></div>
+      <!-- <label class="sm-viewshed-label-right">{{
         Resource.imageryRoller
       }}</label>
-      <input type="checkbox" v-model="imageryRoller" />
+      <input type="checkbox" v-model="imageryRoller" /> -->
     </div>
     <div class="sm-function-module-sub-section flexbox">
       <label class="label-container rollerLaber" for="lrRoller">{{
@@ -82,7 +83,7 @@
         v-model="lrtbRoller"
       />
     </div>
-    <div
+    <!-- <div
       class="sm-function-module-sub-section flexbox"
       v-show="lrtbRoller == 'lrRoller'"
     >
@@ -131,7 +132,7 @@
         value="bomRoller"
         v-model="tbRoller"
       />
-    </div>
+    </div> -->
   </div>
 </template>
 
@@ -158,7 +159,7 @@ export default {
       threshold: 0.6,
       bloomIntensity: 2.0,
       useRoller: false,
-      imageryRoller: false,
+      imageryRoller: true,
       lrtbRoller: "lrRoller",
       lrRoller: "leftRoller",
       tbRoller: "topRoller",
@@ -200,8 +201,8 @@ export default {
       initroller();
     },
 
-    setImageryRollers(imageryLayer) {
-      if (this.imageryRoller) setImageryRoller(imageryLayer);
+    setImageryRollers(imageryLayer,splitDirection) {
+      if (this.imageryRoller) setImageryRoller(imageryLayer,splitDirection);
       else hideImageryRoller(imageryLayer);
     },
   },

+ 1 - 1
src/components/sceneAtttribute/splitScreen/rollerScreen.vue

@@ -80,7 +80,7 @@ export default {
           // this.$set(this.checkedKeys, splitId, obj.id);
         }
         let sceneLayer = store.state.layerparamslist[obj.id];
-        let splitDirection = (splitId == 0 ? 1 : 2) * this.type;
+        let splitDirection = (splitId == 0 ? 2 : 1) * this.type;
         if (sceneLayer) {
           this.bus.$emit("setImageryRoller", sceneLayer, splitDirection);
         } else {