|
@@ -41,6 +41,15 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<Fzyp v-show="activeIndex == 3"></Fzyp>
|
|
|
+ <div class="innerContainer legendPane" v-drag>
|
|
|
+ <div class="xz_box">
|
|
|
+ 图例
|
|
|
+ <div v-for="(litem, li) in legends" :key="litem.label">
|
|
|
+ <span :class="`legend${li}`" class="lcolor"></span>
|
|
|
+ <span class="legLabel">{{ litem.label }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -54,6 +63,7 @@ import Gdzl from "./gdzl/index.vue";
|
|
|
// import Details from "./components/details.vue";
|
|
|
// import Contrast from "./components/contrast.vue";
|
|
|
import Fzyp from "./index.vue";
|
|
|
+import { legends } from "./config.js";
|
|
|
import * as pick_cockpit_vector from "@/components/Query/clickQuery/pick_cockpit_vector.js";
|
|
|
export default {
|
|
|
name: "farmlandProtectionNew",
|
|
@@ -82,6 +92,7 @@ export default {
|
|
|
],
|
|
|
activeIndex: 0,
|
|
|
iscontrast: false,
|
|
|
+ legends: legends,
|
|
|
};
|
|
|
},
|
|
|
computed: {
|