<!-- #ifdef MP-WEIXIN -->
<scroll-view class="scroll-view h-full w-full" scroll-y type="custom">
<grid-builder
:list="viewedCircles"
:child-count="viewedCircles.length"
:cross-axis-count="2"
:cross-axis-gap="8"
:main-axis-gap="4"
>
<view slot:item slot:index class="bg-blue" style="height: 200px">
<view>{{ item }}-{{ index }}</view>
</view>
</grid-builder>
</scroll-view>
<!-- #endif -->
viewedCircles.value = [
{
id: 1,
logo: 'https://picsum.photos/200/200',
name: '摄影爱好者',
heat: 1234,
},
{
id: 2,
logo: 'https://picsum.photos/200/200',
name: '美食分享',
heat: 2345,
},
{
id: 3,
logo: 'https://picsum.photos/200/200',
name: '旅行探索',
heat: 3456,
},
{
id: 4,
logo: 'https://picsum.photos/200/200',
name: '科技资讯',
heat: 4567,
},
{
id: 5,
logo: 'https://picsum.photos/200/200',
name: '读书会',
heat: 5678,
},
];