瀏覽代碼

feat: 保存

gemercheung 1 年之前
父節點
當前提交
39f1fa06a6
共有 2 個文件被更改,包括 4 次插入5 次删除
  1. 3 1
      src/components/showCase.vue
  2. 1 4
      src/views/viewer.vue

+ 3 - 1
src/components/showCase.vue

@@ -275,6 +275,7 @@ const handleExitFullScreen = () => {
       justify-content: center;
       position: absolute;
       opacity: 0;
+      transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
       &:hover {
         opacity: 1;
       }
@@ -283,7 +284,8 @@ const handleExitFullScreen = () => {
       svg {
         width: 80px;
         height: 80px;
-        color: #907a6b;
+        color: #666;
+        opacity: 0.9;
         pointer-events: auto;
         cursor: pointer;
       }

+ 1 - 4
src/views/viewer.vue

@@ -27,10 +27,7 @@ const props = defineProps({
 });
 
 const url = computed(
-  () =>
-    `https://sit-qiushoubwg.4dage.com/scene/index.html#/?m=${
-      props.id || "1196"
-    }`
+  () => `https://sit-qiushoubwg.4dage.com/scene/index.html#/?m=${props.id}`
 );
 const handleBack = () => {
   console.log("handleBack");