| | |
| | | <img :src="item.iconSelecd" alt="" v-if="active === index && checked"/> |
| | | <img :src="item.icon" alt="" v-else/> |
| | | <span v-if="active === index && checked">{{ item.label }}</span> |
| | | <span v-else>{{ item.label }}</span> |
| | | <span v-else class="default-span">{{ item.label }}</span> |
| | | </el-button> |
| | | <el-button v-for="(itemT,indexT) in item.items" :key="indexT" @click="choiceItem(itemT,indexT)" |
| | | v-show="item.index!=='2'"> |
| | |
| | | name: 'ToolBoxPanel', |
| | | data () { |
| | | return { |
| | | checked: false, |
| | | isShow: true, |
| | | currentBaseMapCode: 'tianditu_img', |
| | | basemapList: [], |
| | |
| | | map: null, |
| | | active: -1, |
| | | Selecd: -1, |
| | | isSelecd: false, |
| | | checked: false, |
| | | checkbutton: -1, |
| | | menuList: [ |
| | | { |
| | |
| | | display: block; |
| | | color: @color-shadow; |
| | | } |
| | | a { |
| | | .default-span { |
| | | display: block; |
| | | color: @color-over; |
| | | } |