词库性格区分

This commit is contained in:
远野千束 2024-06-02 23:15:38 +08:00
parent 1d03b3f28f
commit e563f18d31

View File

@ -8,6 +8,7 @@ fetch('https://bot.liteyuki.icu/assets/resources.json')
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
items.value = data items.value = data
}) })
.catch(error => console.error(error)) .catch(error => console.error(error))
@ -18,7 +19,7 @@ fetch('https://bot.liteyuki.icu/assets/resources.json')
<h1>主题/资源商店</h1> <h1>主题/资源商店</h1>
<div class="market"> <div class="market">
<!-- 布局商品--> <!-- 布局商品-->
<ItemCard v-for="item in items" :key="item.id" :item="item" /> <ItemCard v-for="item in [...items].reverse()" :key="item.id" :item="item" />
</div> </div>
</div> </div>
</template> </template>