update 银川地图中心点做特殊处理

This commit is contained in:
zk
2024-05-21 16:07:12 +08:00
parent f3f100cd18
commit 16e85fe15d
5 changed files with 77 additions and 18 deletions
+16 -2
View File
@@ -4,7 +4,10 @@
<div class="title-d-left">
{{ dayTimeO }}
</div>
<div class="title-d-middle"> 银川应急就医服务中心</div>
<div class="title-d-middle">
<span>{{ title }}</span>
<span class="phone">{{ phone }}</span>
</div>
<div class="title-d-right"> 累计运行时间{{ dayTimeT }}</div>
</div>
<div class="body-d">
@@ -15,7 +18,7 @@
<DailyWorkTrends :refreshState="refreshState" class="daily-work-trends" />
</div>
<div class="body-d-middle">
<china-map />
<china-map :showFooter="false" :computedCenter="false" :mapOptions="YinChuanOption" />
</div>
<div class="body-d-right">
<!--健康终端报警-->
@@ -52,11 +55,15 @@
import { useRoute } from 'vue-router';
import { DataType, getSettings } from '/@/utils/settings.ts';
import { ServerDetailType } from '/@/components/body-d-left/bodyLeftHooks.ts';
import { YinChuanOption } from '/@/assets/mapUtils/mapConstant.ts';
const title = ref('银川片应急就医服务中心');
const phone = '(0951-6805199)';
const route = useRoute();
const setting = getSettings(DataType.yinChuan);
onMounted(() => {
init();
document.title = title.value;
document.addEventListener('visibilitychange', checkTabState);
});
onUnmounted(() => {
@@ -210,6 +217,13 @@
text-align: center;
}
.title-d-middle {
.phone {
font-size: 27px;
margin-left: 4px;
}
}
> :nth-child(1) {
width: 29%;
}