This commit is contained in:
2024-02-02 22:31:01 +08:00
parent 06a5f041bf
commit 486ea5013a
77 changed files with 17507 additions and 122 deletions

18
src/pages/home/index.vue Normal file
View File

@@ -0,0 +1,18 @@
<template>
<view class='flex flex-col items-center justify-center'>
<swiper class='swiper'>
<swiper-item v-for='(item, index) in bannerList' :key='index'>
<image :src='item' mode='aspectFill' />
</swiper-item>
</swiper>
</view>
</template>
<script setup lang='ts'>
import { useUserStore } from '@/store';
const store = useUserStore();
const bannerList = ref<string[]>(['1', '2', '3', '4']);
console.log('store.user_name', store.user_name);
</script>