ry-vue-map 0.0.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.MD
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="switch-map" v-if="mapTypeAndLayer && mapTypeAndLayer.length > 0">
|
|
3
3
|
<div class="top" :style="{height:height + 'px'}">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
<template v-if="!isDisabled" >
|
|
5
|
+
<p
|
|
6
|
+
:class="bottomRight?(isExpand?'el-icon-arrow-left':'el-icon-arrow-right'):(!isExpand?'el-icon-arrow-left':'el-icon-arrow-right')"
|
|
7
|
+
@click="changeExpand"
|
|
8
|
+
/>
|
|
9
|
+
</template>
|
|
10
|
+
<p v-else style="width: 10px;"></p>
|
|
8
11
|
<ul>
|
|
9
12
|
<li
|
|
10
13
|
v-for="(obj,index) in mapTypeCopy"
|
|
@@ -173,7 +176,7 @@ export default {
|
|
|
173
176
|
this.$emit('changeSwitchMap', {
|
|
174
177
|
mapType: this.mapTypeActive,
|
|
175
178
|
layerType: this.mapStyleActive,
|
|
176
|
-
|
|
179
|
+
cisDisabled:false,
|
|
177
180
|
});
|
|
178
181
|
},
|
|
179
182
|
mapStyleClick({id}) {
|
|
@@ -192,6 +195,8 @@ export default {
|
|
|
192
195
|
.switch-map {
|
|
193
196
|
ul {
|
|
194
197
|
list-style: none;
|
|
198
|
+
padding: 0;
|
|
199
|
+
margin: 0;
|
|
195
200
|
}
|
|
196
201
|
|
|
197
202
|
.top {
|