9.28问题修复
parent
a7a686fd52
commit
5f7273b6e2
|
@ -10,9 +10,9 @@
|
|||
/>
|
||||
<script src="/cdn/webcfg.js?20250913"></script>
|
||||
<script>
|
||||
window.yanzhuAppTitle =window.webCfg?.webTitle||"数字建安施工";
|
||||
window.yanzhuAppTitle = window.webCfg?.webTitle || "数字建安施工";
|
||||
</script>
|
||||
<link rel="icon" href="/cdn/bsimages/faviconnew.ico?v=4" />
|
||||
<link rel="icon" href="/cdn/bsimages/faviconnew.ico?v=6" />
|
||||
<title>数字建安施工</title>
|
||||
<script
|
||||
type="text/javascript"
|
||||
|
@ -27,8 +27,6 @@
|
|||
|
||||
<link rel="stylesheet" href="/cdn/Cesium/Widgets/widgets.css" />
|
||||
|
||||
|
||||
|
||||
<!--[if lt IE 11
|
||||
]><script>
|
||||
window.location.href = "/html/ie.html";
|
||||
|
@ -217,6 +215,42 @@
|
|||
color: #fff;
|
||||
opacity: 0.5;
|
||||
}
|
||||
#translate {
|
||||
position: absolute;
|
||||
top: 11px;
|
||||
left: 50%;
|
||||
}
|
||||
/* 隐藏原生的 select 样式 */
|
||||
#translate select {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
padding: 7px;
|
||||
border: 1px solid rgb(159, 206, 255);
|
||||
border-radius: 5px;
|
||||
background-color: rgb(235, 245, 255);
|
||||
color: rgb(72, 162, 255);
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
/* 美化 select 的下拉箭头 */
|
||||
#translate::after {
|
||||
content: "▼"; /* Unicode编码,表示向下的箭头 */
|
||||
position: absolute;
|
||||
color: rgb(72, 162, 255);
|
||||
top: 8px;
|
||||
right: 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* 美化选项内容 */
|
||||
#translate option {
|
||||
padding: 5px;
|
||||
background-color: #f9f9f9;
|
||||
color: rgb(72, 162, 255);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
@ -233,5 +267,35 @@
|
|||
<script>
|
||||
window.document.title = window.yanzhuAppTitle;
|
||||
</script>
|
||||
<!-- 全局配置-多语言切换-开始 -->
|
||||
<!-- <script src="<%= BASE_URL %>static/translate.js"></script> -->
|
||||
<script src="/cdn/tools/translate.js"></script>
|
||||
<script>
|
||||
//设置本地语种(当前网页的语种)。如果不设置,默认就是 'chinese_simplified' 简体中文
|
||||
// translate.language.setDefaultTo('english') //设置默认翻译为的语种
|
||||
// translate.language.setLocal('english')
|
||||
translate.service.use("client.edge");
|
||||
//翻译自定义
|
||||
// translate.nomenclature.append(
|
||||
// 'chinese_simplified',
|
||||
// 'english'
|
||||
// )
|
||||
//开启html页面变化的监控,对变化部分会进行自动翻译
|
||||
translate.listener.start();
|
||||
//不显示语言选择标签
|
||||
translate.selectLanguageTag.show = true;
|
||||
//执行翻译初始化操作,显示出select语言选择
|
||||
//translate.execute();
|
||||
|
||||
//VUE的渲染需要时间,所以留出一点点时间来进行翻译切换
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
// //页面 DOM 已渲染完毕,当然最好是能监控到整个vue渲染完毕后触发最好
|
||||
translate.execute();
|
||||
// //2秒后再一次,避免有遗漏
|
||||
setTimeout(function () {
|
||||
translate.execute()
|
||||
}, 2000)
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -37,7 +37,9 @@ export default {
|
|||
}, 400);
|
||||
// 大小自适应
|
||||
window.addEventListener("resize", () => {
|
||||
if(this.chart){
|
||||
this.chart.resize();
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -139,6 +139,9 @@ function getCookie() {
|
|||
|
||||
getCode()
|
||||
getCookie()
|
||||
setTimeout(()=>{
|
||||
translate.execute();
|
||||
},1000);
|
||||
</script>
|
||||
|
||||
<style lang='scss'>
|
||||
|
|
|
@ -165,6 +165,7 @@ function getList() {
|
|||
return;
|
||||
}
|
||||
loading.value = true;
|
||||
queryParams.value.noBim=1;
|
||||
listPlan(queryParams.value).then((response) => {
|
||||
let tmps = response.data || [];
|
||||
// tmps.forEach(tmp => {
|
||||
|
|
Loading…
Reference in New Issue