Showing
6 changed files
with
17 additions
and
19 deletions
| ... | @@ -105,8 +105,7 @@ import { useRouter } from 'vue-router' | ... | @@ -105,8 +105,7 @@ import { useRouter } from 'vue-router' |
| 105 | import { useTitle } from '@vueuse/core' | 105 | import { useTitle } from '@vueuse/core' |
| 106 | import { showToast } from 'vant' | 106 | import { showToast } from 'vant' |
| 107 | 107 | ||
| 108 | -// Assets | 108 | +const historyBg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/history_bg@2x.png' |
| 109 | -import historyBg from '@/assets/images/recall/history_bg@2x.png' | ||
| 110 | 109 | ||
| 111 | const router = useRouter() | 110 | const router = useRouter() |
| 112 | useTitle('活动历史') | 111 | useTitle('活动历史') | ... | ... |
| ... | @@ -76,9 +76,8 @@ import { useRoute, useRouter } from 'vue-router' | ... | @@ -76,9 +76,8 @@ import { useRoute, useRouter } from 'vue-router' |
| 76 | import { useTitle } from '@vueuse/core' | 76 | import { useTitle } from '@vueuse/core' |
| 77 | import { showToast } from 'vant' | 77 | import { showToast } from 'vant' |
| 78 | 78 | ||
| 79 | -// Assets | 79 | +const bgImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/bg01@2x.png' |
| 80 | -import bgImg from '@/assets/images/recall/bg01@2x.png' | 80 | +const starImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/xing@2x.png' |
| 81 | -import starImg from '@/assets/images/recall/xing@2x.png' | ||
| 82 | 81 | ||
| 83 | // Route | 82 | // Route |
| 84 | const route = useRoute() | 83 | const route = useRoute() | ... | ... |
| ... | @@ -71,9 +71,9 @@ import { useTitle } from '@vueuse/core' | ... | @@ -71,9 +71,9 @@ import { useTitle } from '@vueuse/core' |
| 71 | import { showToast } from 'vant' | 71 | import { showToast } from 'vant' |
| 72 | 72 | ||
| 73 | // Assets | 73 | // Assets |
| 74 | -import bgImg from '@/assets/images/recall/bg01@2x.png' | 74 | +const bgImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/bg01@2x.png' |
| 75 | -import starImg from '@/assets/images/recall/xing@2x.png' | 75 | +const starImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/xing@2x.png' |
| 76 | -import emptyStateImg from '@/assets/images/recall/no@2x.png' | 76 | +const emptyStateImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/no@2x.png' |
| 77 | 77 | ||
| 78 | const route = useRoute() | 78 | const route = useRoute() |
| 79 | const router = useRouter() | 79 | const router = useRouter() | ... | ... |
| ... | @@ -52,9 +52,10 @@ | ... | @@ -52,9 +52,10 @@ |
| 52 | <script setup> | 52 | <script setup> |
| 53 | import { useRouter, useRoute } from 'vue-router' | 53 | import { useRouter, useRoute } from 'vue-router' |
| 54 | import { useTitle } from '@vueuse/core' | 54 | import { useTitle } from '@vueuse/core' |
| 55 | -import titleImg from '@/assets/images/recall/title02@2x.png' | 55 | + |
| 56 | -import bgImg from '@/assets/images/recall/bg01@2x.png' | 56 | +const titleImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/title02@2x.png' |
| 57 | -import starImg from '@/assets/images/recall/xing@2x.png' | 57 | +const bgImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/bg01@2x.png' |
| 58 | +const starImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/xing@2x.png' | ||
| 58 | 59 | ||
| 59 | const router = useRouter() | 60 | const router = useRouter() |
| 60 | const route = useRoute() | 61 | const route = useRoute() | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="recall-login w-full min-h-screen relative overflow-hidden flex flex-col items-center"> | 2 | <div class="recall-login w-full min-h-screen relative overflow-hidden flex flex-col items-center"> |
| 3 | <!-- Starry Background Effect --> | 3 | <!-- Starry Background Effect --> |
| 4 | - <!-- <StarryBackground bg-image="https://cdn.ipadbiz.cn/mlaj/images/test-bgg03.jpg" /> --> | ||
| 5 | <StarryBackground :bg-image="bgImg" /> | 4 | <StarryBackground :bg-image="bgImg" /> |
| 6 | 5 | ||
| 7 | <!-- Title Section --> | 6 | <!-- Title Section --> |
| ... | @@ -91,8 +90,8 @@ import { showToast } from 'vant' | ... | @@ -91,8 +90,8 @@ import { showToast } from 'vant' |
| 91 | import { useTitle } from '@vueuse/core' | 90 | import { useTitle } from '@vueuse/core' |
| 92 | import { smsAPI } from '@/api/common' | 91 | import { smsAPI } from '@/api/common' |
| 93 | 92 | ||
| 94 | -import titleImg from '@/assets/images/recall/title01@2x.png' | 93 | +const titleImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/title01@2x.png' |
| 95 | -import bgImg from '@/assets/images/recall/bg01@2x.png' | 94 | +const bgImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/bg01@2x.png' |
| 96 | 95 | ||
| 97 | // 路由相关 | 96 | // 路由相关 |
| 98 | const $route = useRoute() | 97 | const $route = useRoute() | ... | ... |
| ... | @@ -94,11 +94,11 @@ import { Swiper, SwiperSlide } from 'swiper/vue' | ... | @@ -94,11 +94,11 @@ import { Swiper, SwiperSlide } from 'swiper/vue' |
| 94 | import { Mousewheel } from 'swiper/modules' | 94 | import { Mousewheel } from 'swiper/modules' |
| 95 | import 'swiper/css' | 95 | import 'swiper/css' |
| 96 | 96 | ||
| 97 | -// Assets | 97 | + |
| 98 | -import bgImg from '@/assets/images/recall/bg01@2x.png' | 98 | +const bgImg = 'https://cdn.ipadbiz.cn/mlaj/recall/img/bg01@2x.png' |
| 99 | -import title03 from '@/assets/images/recall/title03@2x.png' | 99 | +const title03 = 'https://cdn.ipadbiz.cn/mlaj/recall/img/title03@2x.png' |
| 100 | -import title04 from '@/assets/images/recall/title04@2x.png' // Assuming title04 is "我的BEHALO足迹" | 100 | +const title04 = 'https://cdn.ipadbiz.cn/mlaj/recall/img/title04@2x.png' |
| 101 | -import arrowDown from '@/assets/images/recall/xia@2x.png' | 101 | +const arrowDown = 'https://cdn.ipadbiz.cn/mlaj/recall/img/xia@2x.png' |
| 102 | 102 | ||
| 103 | // Context (Mocking auth for now as we might be in a detached flow, | 103 | // Context (Mocking auth for now as we might be in a detached flow, |
| 104 | // but try to use useAuth if available or fallback to local storage/mock) | 104 | // but try to use useAuth if available or fallback to local storage/mock) | ... | ... |
-
Please register or login to post a comment