This commit is contained in:
李志鹏
2026-05-27 09:29:47 +08:00
parent 9b86a9f65e
commit d0dc9b2af0
8 changed files with 34 additions and 16 deletions

View File

@@ -8,7 +8,7 @@
<br />
digital visionsa virtual realm where creativity collides and evolves.
</div>
<button custom="black">Shop All</button>
<button custom="black" @click="onShopAll">Shop All</button>
<div class="list">
<div v-for="v in list" :key="v.url">
<img :src="v.url" alt="" />
@@ -22,6 +22,9 @@
<script setup lang="ts">
import { computed, ref } from 'vue'
import { useRouter } from 'vue-router'
const router = useRouter()
const list = ref([
{
title: 'Womens Itemk',
@@ -44,6 +47,9 @@
url: 'http://118.31.39.42:3000/falls/digital-items-4.png'
}
])
const onShopAll = () => {
router.push({ name: 'digitalItem' })
}
</script>
<style lang="less">