[Frontend] [首頁] 載入3D模型

This commit is contained in:
wanli 2022-12-04 01:16:30 +08:00
parent b9c2f76f11
commit a986a0abbe

View File

@ -1,7 +1,7 @@
<main id="js-page-content" role="main" class="page-content"> <main id="js-page-content" role="main" class="page-content">
<div class="row"> <div class="row">
<div class="col-sm-12 col-xl-4"> <div class="col-sm-12 col-xl-4">
<img src="img/clouds.png" class="img-fluid" style="min-height: 520px;"> <div id="forgeViewer"></div>
</div> </div>
<div class="col-sm-12 col-xl-4"> <div class="col-sm-12 col-xl-4">
<div class="row"> <div class="row">
@ -300,6 +300,7 @@
var tarElePath = ''; var tarElePath = '';
$(document).ready(function () { $(document).ready(function () {
show3DModel();
getSubList(); getSubList();
getFirstEletric(); getFirstEletric();
/* init datatables */ /* init datatables */
@ -777,4 +778,8 @@
//}) //})
} }
function show3DModel() {
launchViewer('dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6dGEzaHFzZmZ6cWJub3V4a3BsZGt1a3NldzRzajIxdzUtYmltc19tb2RlbHMvJUUzJTgwJTkwJUU1JThGJUIwJUU1JThDJTk3JUU0JUI4JUFEJUU4JThGJUIxJUU1JUE0JUE3JUU2JUE4JTkzJUUzJTgwJTkxQVJDMjAyMjEyMDEubndk');
}
</script> </script>