whj hai 1 semana
pai
achega
5c340d79d2
Modificáronse 2 ficheiros con 6 adicións e 5 borrados
  1. 4 3
      pages/card/index.uvue
  2. 2 2
      pages/catalog/index.uvue

+ 4 - 3
pages/card/index.uvue

@@ -64,8 +64,8 @@ onMounted(async () => {
 })
 </script>
 <template>
-  <Loading v-if="isLoading" />
-  <cl-page v-else>
+  <Loading v-show="isLoading" />
+  <cl-page v-show="!isLoading">
     <Back />
     <!-- 顶部标题栏 -->
     <view class="content">
@@ -205,7 +205,8 @@ onMounted(async () => {
       }
 
       .card-title {
-        @apply text-center font-bold absolute bottom-[13%] left-0 w-full text-[#0E3E87] text-[1.5vw];
+        @apply text-center font-bold absolute left-0 w-full text-[#0E3E87] text-[1.5vw];
+        bottom: 13%;
       }
     }
   }

+ 2 - 2
pages/catalog/index.uvue

@@ -1,6 +1,6 @@
 <template>
-  <Loading v-if="isLoading" />
-  <cl-page v-else>
+  <Loading v-show="isLoading" />
+  <cl-page v-show="!isLoading">
     <Back />
     <img src="https://oss.xiaoxiongcode.com/static/home/2.png" alt="" class="w-full h-full object-cover" />
     <!-- 精灵图动画 -->