hookehuyr

style(ActivityHistoryPage): 格式化代码缩进和换行

...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
27 27
28 <!-- List --> 28 <!-- List -->
29 <div class="px-4 py-4 space-y-4"> 29 <div class="px-4 py-4 space-y-4">
30 - <div v-for="item in activities" :key="item.id" class="bg-white rounded-xl py-4 pr-4 pl-0 shadow-sm relative overflow-hidden flex"> 30 + <div v-for="item in activities" :key="item.id"
31 + class="bg-white rounded-xl py-4 pr-4 pl-0 shadow-sm relative overflow-hidden flex">
31 32
32 <!-- Blue Marker (Absolute or Flex) --> 33 <!-- Blue Marker (Absolute or Flex) -->
33 <!-- Based on image, it is sticking to the left edge but inside the card padding area potentially, or flush left --> 34 <!-- Based on image, it is sticking to the left edge but inside the card padding area potentially, or flush left -->
...@@ -62,8 +63,7 @@ ...@@ -62,8 +63,7 @@
62 </div> 63 </div>
63 64
64 <!-- Fixed Bottom Buttons --> 65 <!-- Fixed Bottom Buttons -->
65 - <div 66 + <div v-if="!userInfo.has_activity_registration"
66 - v-if="!userInfo.has_activity_registration"
67 class="fixed bottom-0 left-0 right-0 bg-white/60 backdrop-blur-md p-4 pb-8 z-30 shadow-[0_-2px_10px_rgba(0,0,0,0.05)]"> 67 class="fixed bottom-0 left-0 right-0 bg-white/60 backdrop-blur-md p-4 pb-8 z-30 shadow-[0_-2px_10px_rgba(0,0,0,0.05)]">
68 <van-button block color="#0052D9" class="!rounded-lg !mb-3 !h-[44px] !text-base !font-bold" 68 <van-button block color="#0052D9" class="!rounded-lg !mb-3 !h-[44px] !text-base !font-bold"
69 @click="handleCollectCoins"> 69 @click="handleCollectCoins">
...@@ -151,6 +151,7 @@ const handleCollectCoins = async () => { ...@@ -151,6 +151,7 @@ const handleCollectCoins = async () => {
151 icon: 'error' 151 icon: 'error'
152 }) 152 })
153 } 153 }
154 + }
154 } 155 }
155 156
156 const handleSubmitMissing = () => { 157 const handleSubmitMissing = () => {
......