地图文字超出隐藏

This commit is contained in:
hh
2022-01-12 17:38:36 +08:00
parent 71ec949be7
commit ea36a118c4
6 changed files with 21 additions and 6 deletions

View File

@ -26,7 +26,7 @@
<div class="b">专家数量</div>
</div>
<div v-if="Object.keys(getIndustry(snapTree)).length > 0" v-for="(v,k) in getIndustry(snapTree)">
<div class="a">{{ k }}</div>
<div class="a" :title="k">{{ k }}</div>
<div class="b">{{ v }}</div>
</div>
<div v-else>
@ -447,6 +447,9 @@ function loadMap (mapName, data) {
border-right: 1px solid #0054ff;
text-align: center;
line-height: 42px;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.b {
text-align: center;

View File

@ -26,7 +26,7 @@
<div class="b">实验室数量</div>
</div>
<div v-if="Object.keys(getIndustry(snapTree)).length > 0" v-for="(v,k) in getIndustry(snapTree)">
<div class="a">{{ k }}</div>
<div class="a" :title="k">{{ k }}</div>
<div class="b">{{ v }}</div>
</div>
<div v-else>
@ -445,6 +445,9 @@ function loadMap (mapName, data) {
border-right: 1px solid #DCDCDC;
text-align: center;
line-height: 42px;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.b {
text-align: center;

View File

@ -26,7 +26,7 @@
<div class="b">成果数量</div>
</div>
<div v-if="Object.keys(getIndustry(snapTree)).length > 0" v-for="(v,k) in getIndustry(snapTree)">
<div class="a">{{ k }}</div>
<div class="a" :title="k">{{ k }}</div>
<div class="b">{{ v }}</div>
</div>
<div v-else>
@ -447,6 +447,9 @@ function loadMap (mapName, data) {
border-right: 1px solid #0054ff;
text-align: center;
line-height: 42px;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.b {
text-align: center;

View File

@ -26,7 +26,7 @@
<div class="b">需求数量</div>
</div>
<div v-if="Object.keys(getIndustry(snapTree)).length > 0" v-for="(v,k) in getIndustry(snapTree)">
<div class="a">{{ k }}</div>
<div class="a" :title="k">{{ k }}</div>
<div class="b">{{ v }}</div>
</div>
<div v-else>
@ -445,6 +445,9 @@ function loadMap (mapName, data) {
border-right: 1px solid #DCDCDC;
text-align: center;
line-height: 42px;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.b {
text-align: center;

View File

@ -26,7 +26,7 @@
<div class="b">企业数量</div>
</div>
<div v-if="Object.keys(getIndustry(snapTree)).length > 0" v-for="(v,k) in getIndustry(snapTree)">
<div class="a">{{ k }}</div>
<div class="a" :title="k">{{ k }}</div>
<div class="b">{{ v }}</div>
</div>
<div v-else>
@ -447,6 +447,9 @@ function loadMap (mapName, data) {
border-right: 1px solid #0054ff;
text-align: center;
line-height: 42px;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.b {
text-align: center;

View File

@ -30,7 +30,7 @@ import index7 from './comp/index7.vue';
import index8 from './comp/index8.vue';
let state = reactive({
showBox: 0,
showBox: 2,
boxList: [
{
comp: index1,