添加朋友圈功能

This commit is contained in:
bobobobo
2026-01-13 01:12:29 +08:00
parent ac67fa30f4
commit 06e026c8b8
8 changed files with 319 additions and 44 deletions

View File

@@ -6,10 +6,13 @@
import { navigateTo } from '@/utils/router'
const list = ref([])
const loading = ref(true)
const getData = async () => {
loading.value = true
const res = await getMyGroupList()
list.value = res.data
console.log(res.data)
loading.value = false
}
const onGo = id => {
@@ -22,7 +25,8 @@
</script>
<template>
<view class="shop-together">
<view v-if="!loading" class="shop-together">
<cb-empty v-if="!loading && list.length === 0"></cb-empty>
<view
v-for="item in list"
:key="item.id"