diff --git a/public/background.jpg b/public/background.jpg deleted file mode 100644 index c48a337..0000000 Binary files a/public/background.jpg and /dev/null differ diff --git a/public/background.png b/public/background.png new file mode 100644 index 0000000..9fa1b50 Binary files /dev/null and b/public/background.png differ diff --git a/src/components/customUI/Pagination.vue b/src/components/customUI/Pagination.vue index 8418768..2cf7f05 100644 --- a/src/components/customUI/Pagination.vue +++ b/src/components/customUI/Pagination.vue @@ -97,7 +97,7 @@ const pageInput = computed(() => { :key="`page${page}`" :class=" twMerge( - 'w-10 h-10 mx-1 border-2 border-sub-success rounded-full flex items-center justify-center', + 'w-10 h-10 mx-1 border-2 border-sub-success rounded-full flex items-center justify-center cursor-pointer', currentPage === page ? 'bg-sub-success' : 'bg-transparent' ) " diff --git a/src/components/customUI/Table.vue b/src/components/customUI/Table.vue index 7cd640a..5bea466 100644 --- a/src/components/customUI/Table.vue +++ b/src/components/customUI/Table.vue @@ -231,17 +231,19 @@ watch( v-if="filterColumn[column.key]" >
- +
+ +
{ const tree = viewer.model.getData().instanceTree; hideAllObjects(tree, visibleDbid.value); - + visibleDbid.value.forEach((dbid) => { + if (dbid === 58) { + viewer.setThemingColor(dbid, new THREE.Vector4(1, 0, 0, 1)); + } + }); // 印出被點選物件的 dbid // viewer.addEventListener( // Autodesk.Viewing.SELECTION_CHANGED_EVENT, diff --git a/src/components/navbar/Navbar.vue b/src/components/navbar/Navbar.vue index 8cea6f1..e91a828 100644 --- a/src/components/navbar/Navbar.vue +++ b/src/components/navbar/Navbar.vue @@ -18,7 +18,7 @@ onMounted(() => {