update:优化金币

This commit is contained in:
2026-08-20 16:10:17 +08:00
parent 42cfb5c3d8
commit 45957d04b1
14 changed files with 247 additions and 39 deletions
+8 -2
View File
@@ -1,14 +1,20 @@
<script setup>
defineProps({
const props = defineProps({
store: {
type: Object,
required: true,
},
});
const emit = defineEmits(["select"]);
const selectStore = () => {
emit("select", props.store);
};
</script>
<template>
<view class="store-card">
<view class="store-card" hover-class="none" @click="selectStore">
<image class="store-card__photo" :src="store.image" mode="aspectFill" />
<text class="store-card__name">{{ store.name }}</text>
<view class="store-card__info">