<!--nova-werun/components/circle/index.wxml-->
<!-- <circle-nav type="back" bind:iconClick='gourl' title='步小圈' background-color="{{'#72AEF9'}}" front-color="{{'#333333'}}"></circle-nav> -->
<view class="all" style="height: {{screenHeight}}rpx;">
    <view class="navbox" style="height: {{navheight}}rpx;">
        <view class="nav">
            <image bindtap="gourl" data-url="../../pages/circle/send-circle/index" src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241223/83a1pf052319260.png?imageView2/1/w/200/h/200"></image>
            <view class="nav-title">步小圈</view>
        </view>
    </view>
    <scroll-view class="trends" scroll-y="true" bindscrolltolower="loadMoreData" style="height: {{contentHeight}}rpx;">
        <view class="activebox">
            <view class="titlebox">
                <view class="title">热门活动</view>
                <view class="alltitlebox">
                    <view class="all-text"  bindtap="gourl" data-url="../../pages/activity/index">全部活动</view>
                    <image src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241224/1llau7102344568.png?imageView2/1/w/200/h/200"></image>
                </view>
            </view>
            <view class="acbox">
                <view class="ac-picbox" wx:for="{{ActivityList}}" wx:key="index" bindtap="goactivity" data-url="../../pages/activity/detail-activity/index" data-acid="{{item.objectId}}">
                    <image src="{{item.cover[0]}}"></image>
                    <view class="picbox">
                        <view class="pic-tex">立即报名</view>
                    </view>
                </view>

            </view>
        </view>
        <view style="width: 100%;padding-left: 32rpx;padding-right: 32rpx;">
            <block wx:for="{{cardList}}" wx:key="index">
                <circle-card objectId='{{item.objectId}}' type='surface'></circle-card>
            </block>
        </view>
        <view wx:if="{{noMoreItems&&cardList.length>0}}" class="no-more">没有更多动态了</view>
        <van-empty wx:if="{{cardList.length==0}}" description="暂无动态" />
    </scroll-view>
    <!-- <view class="publishbox" bindtap="gourl" data-url="../../pages/circle/send-circle/index">
        <image src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241105/8qes51030838243.png?imageView2/1/w/200/h/200"></image>
    </view> -->
</view>