|
@@ -4,7 +4,7 @@
|
|
|
<div class="icon-point" @click="openModal(item.code, item.label, item.leftV, item.topV)" :style="{ left: item.leftV, top: item.topV }">
|
|
|
<img :src="item.imgSrc" alt="" />
|
|
|
<span
|
|
|
- :class="{ 'icon-text-c': item.align == 'center', 'icon-text-l': item.align == 'left', 'icon-text-r': item.align == 'right' }"
|
|
|
+ :class="{ 'icon-text-c': item.align == 'center', 'icon-text-l': item.align == 'left', 'icon-text-r': item.align == 'right','icon-text-b':item.align=='bottom' }"
|
|
|
:style="{ color: item.textColor }"
|
|
|
>{{ item.label }}</span
|
|
|
>
|
|
@@ -120,7 +120,7 @@
|
|
|
textColor: '#fff',
|
|
|
align: 'left',
|
|
|
},
|
|
|
- { code: 'sdmtjtsgtmk', imgSrc: warningLevel1, label: '石圪台矿', leftV: '514px', topV: '250px', textColor: '#fff', align: 'right' },
|
|
|
+ { code: 'sdmtjtsgtmk', imgSrc: warningLevel1, label: '石圪台矿', leftV: '514px', topV: '250px', textColor: '#fff', align: 'bottom' },
|
|
|
{
|
|
|
code: 'sdmtjtbltmk',
|
|
|
imgSrc: warningLevel1,
|
|
@@ -130,7 +130,7 @@
|
|
|
textColor: '#fff',
|
|
|
align: 'left',
|
|
|
},
|
|
|
- { code: 'sdmtjthlgmk', imgSrc: warningLevel1, label: '哈拉沟矿', leftV: '641px', topV: '268px', textColor: '#fff', align: 'right' },
|
|
|
+ { code: 'sdmtjthlgmk', imgSrc: warningLevel1, label: '哈拉沟矿', leftV: '641px', topV: '258px', textColor: '#fff', align: 'bottom' },
|
|
|
{
|
|
|
code: 'sdmtjtswmk',
|
|
|
imgSrc: warningLevel3,
|
|
@@ -140,8 +140,8 @@
|
|
|
textColor: '#fff',
|
|
|
align: 'left',
|
|
|
},
|
|
|
- { code: 'sdmtjtdltmkhjtj', imgSrc: warningLevel1, label: '活鸡兔井', leftV: '598px', topV: '358px', textColor: '#fff', align: 'left' },
|
|
|
- { code: 'sdmtjtdltmk', imgSrc: warningLevel2, label: '大柳塔井', leftV: '598px', topV: '308px', textColor: '#fff', align: 'right' },
|
|
|
+ { code: 'sdmtjtdltmkhjtj', imgSrc: warningLevel1, label: '活鸡兔井', leftV: '598px', topV: '368px', textColor: '#fff', align: 'bottom' },
|
|
|
+ { code: 'sdmtjtdltmk', imgSrc: warningLevel2, label: '大柳塔井', leftV: '598px', topV: '308px', textColor: '#fff', align: 'bottom' },
|
|
|
{
|
|
|
code: 'sdmtjtjjmk',
|
|
|
imgSrc: warningLevel1,
|
|
@@ -149,7 +149,7 @@
|
|
|
leftV: '575px',
|
|
|
topV: '460px',
|
|
|
textColor: '#fff',
|
|
|
- align: 'center',
|
|
|
+ align: 'bottom',
|
|
|
},
|
|
|
{ code: 'sdmtjtyjlmk', imgSrc: warningLevel1, label: '榆家梁矿', leftV: '748px', topV: '370px', textColor: '#fff', align: 'center' },
|
|
|
{
|
|
@@ -248,6 +248,16 @@
|
|
|
top: -20px;
|
|
|
left: -12px;
|
|
|
}
|
|
|
+ .icon-text-b{
|
|
|
+ position: absolute;
|
|
|
+ font-size: 12px;
|
|
|
+ padding: 0px 5px;
|
|
|
+ display: block;
|
|
|
+ width: 100px;
|
|
|
+ text-align: center;
|
|
|
+ left: -28px;
|
|
|
+ bottom:-20px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|