    <!-- 怼社区头部 -->
    <view class="communityhead">
        <view class="communityheadleft">
            <view class="communityheadleftitem1">
                <view class="messageitem" bindtap="messageclick" id="{{item.id}}" wx:for="{{messagelist}}" wx:for-index="index" wx:key="index">
                    {{item.name}}
                </view>
            </view>
            <view class="communityheadleftitem2" bindtap="messagelistclick">
                <image src="https://ndnd.duiduiedu.com/uploads/pics/communtlistmore.png"></image>
            </view>
        </view>

    </view>
    <!-- 怼社区头部 -->

    <!-- 课程学习 -->
    <view class="challenge" wx:if="{{challengeactive==1}}">
        <view class="challengeleft" bindtap="challengeclickleft" id='1'>
            <image src="https://ndnd.duiduiedu.com/uploads/pics/challengeleftclassleft1.png"></image>
        </view>
        <view class="challengeright" bindtap="challengeclickleft" id='2'>
            <image src="https://ndnd.duiduiedu.com/uploads/pics/challengeleftclass1.png"></image>
        </view>
    </view>

    <view class="challenge2" wx:else>
        <view class="challenge2left" bindtap="challengeclickleft" id='1'>
            <image src="https://ndnd.duiduiedu.com/uploads/pics/challengeleftclassright1.png"></image>
        </view>
        <view class="challenge2right" bindtap="challengeclickleft" id='2'>
            <image src="https://ndnd.duiduiedu.com/uploads/pics/challengeleftright2.png"></image>
        </view>
    </view>
    <block>
        <view class="examitemlist" wx:for="{{itemdata}}" wx:for-index="index" wx:key="index">
            <view class="itemleft">
                <image src="{{baseurl+item.image}}"></image>
            </view>
            <view class="itemright" bindtap="examingbtnclick" id="{{item.id}}">
                <text>{{item.name}}</text>
            </view>
        </view>
    </block>
