Browse Source

feat: 保存

gemercheung 1 năm trước cách đây
mục cha
commit
917dc7f296

+ 0 - 1
src/components/exhibitionBox.vue

@@ -7,7 +7,6 @@
       <div class="info">
         <div class="title">{{ title }}</div>
         <div class="content—box">
-          <!-- <div v-html="content"></div> -->
           {{ pureText(content) }}
         </div>
         <div class="label-box">

+ 1 - 1
src/components/heroSubTitle.vue

@@ -7,7 +7,7 @@
 </template>
 <script setup>
 import { computed } from "vue";
-import { computedAsync } from "@vueuse/core";
+// import { computedAsync } from "@vueuse/core";
 
 defineOptions({
   name: "hero-sub-title",

+ 1 - 2
src/components/infoBox.vue

@@ -57,8 +57,7 @@ defineProps({
  
   --n-padding-left: 0 !important;
   --n-padding-bottom: 0 !important;
-  // width: 32.1875rem;
-  // height: 26.5rem;
+  
   background: #f5f5f5;
   box-shadow: 0rem 0.125rem 0.25rem 0rem rgba(46, 25, 16, 0.16);
   border-radius: 0.8125rem;

+ 3 - 2
src/components/showCase.vue

@@ -116,7 +116,7 @@
 </template>
 
 <script setup>
-import { ref, computed, unref, watch } from "vue";
+import { ref, computed, unref } from "vue";
 import { useFullscreen } from "@vueuse/core";
 
 const iframeRef = ref();
@@ -184,6 +184,7 @@ const audioPlay = () => {
 const audioPause = () => {
   audioSound.value && audioSound.value.pause();
 };
+
 const handleSlideUpdate = (index) => {
   if (unref(props.gallery).length > 1) {
     currentSlideIndex.value = index + 1;
@@ -275,7 +276,7 @@ const handleExitFullScreen = () => {
       justify-content: center;
       position: absolute;
       opacity: 0;
-      transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
+      transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
       &:hover {
         opacity: 1;
       }

+ 0 - 1
src/store/collect.js

@@ -160,7 +160,6 @@ export const useCollectStore = defineStore({
     },
     async loadMore(level) {
       if (!this.isLoadMoreLock && !this.isLast) {
-        console.log("loadMore -c-2", this.isLoad);
         this.isLoadMoreLock = true;
         this.pagination.dictLevel = level;
         const page =

+ 0 - 1
src/views/exhibition-detail.vue

@@ -25,7 +25,6 @@
                 <span v-if="detail.publishDate">{{ detail.publishDate }}</span>
               </div>
             </div>
-
             <div class="text" v-html="detail.richText"></div>
           </div>
         </div>