<view class="courselivecontinor" id="time-mo">

 
<!-- 怼社区头部 -->
<view class="communityhead">
    <view class="communityheadleft">
        <image src="https://ndnd.duiduiedu.com/uploads/pics/headclass.png"></image>
    </view>
    <view class="communityheadmiddle">
    <text>{{classintorgg['intro']}}</text>
    </view>
    <view class="communityheadright" id="{{active}}" bindtap="clickmyroom">
        <image src="https://ndnd.duiduiedu.com/uploads/pics/headclass2.png"></image>
    </view>
</view>
<!-- 怼社区头部 -->


  <block> 
<view class="containerclass">
    <image src="https://ndnd.duiduiedu.com/uploads/pics/myclass1.png"  id="1" bindtap="clickclassintro"></image>
    <image src="https://ndnd.duiduiedu.com/uploads/pics/myclass2.png"   id="2" bindtap="clickclassintro"></image>
    <image src="https://ndnd.duiduiedu.com/uploads/pics/myclass3.png"  id="3" bindtap="clickclassintro"></image>
    <image src="https://ndnd.duiduiedu.com/uploads/pics/myclass4.png"  id="4" bindtap="clickclassintro"></image>
    <image src="https://ndnd.duiduiedu.com/uploads/pics/myclass5.png"  id="5" bindtap="clickclassintro"></image>
</view>
</block>

<!-- 怼社区滑动 -->
<view class="curriculumup">
    <view class="curriculumupstart">
        <scroll-view class="scroll-box" scroll-x scroll-with-animation scroll-into-view="{{toView}}" bindtouchstart="touchStart" bindtouchend="touchEnd">
            <view wx:for="{{list}}" wx:key="item" class="card-box" id="{{index}}">
                <view class="card" id="{{item.id}}" bindtap="touchecard">
                    <image wx:if="{{active==item.id}}" src="{{baseurl+item.itemactiveimage}}"></image>
                    <image wx:else src="{{baseurl+item.itemimage}}"></image>
                </view>
            </view>
        </scroll-view>
    </view>
</view>
<view class="lineclass"></view>
<!-- 怼社区滑动 -->

<!-- 回复留言区域 -->
<view class="messagecontent" wx:for="{{replylist}}" wx:for-index="indexitem" wx:key="indexitem">
    <view class="msseagehead">
        <view class="headleft" id="{{item.id}}">
            <image src="{{item.userinfo['avatar']}}"></image>
        </view>
        <view class="vipimage" wx:if="{{item.userinfo['score']>=1}}">
            <image src="https://ndnd.duiduiedu.com/uploads/pics/vip.png"></image>
        </view>
        <view class="headright">
            <view class="headrightup">
                <text>{{item.userinfo['nickname']}}</text>
            </view>
            <view class="headrightdown">
                <text>{{item.times}}</text>
            </view>
        </view>
        <view class="itemright">
            <!-- <image src="{{baseurl+item.itemactiveimage}}"  wx:for="{{item.wordstype}}" wx:for-index="index" wx:key="index"></image>          -->
            <image wx:if="{{item.indextop=='1'}}" src="https://ndnd.duiduiedu.com/uploads/pics/top.png"></image>
        </view>
    </view>
    <view class="msseagemiddle">
        <view class="mssagemiddleup" id="{{item.id}}" bindtap="communityinfoclick">
            <text>{{item.name}} </text>
        </view>
        <view class="mssagemiddledownone" wx:if="{{item.imagecount==1}}">
            <image style="width: 30%;height: 265rpx;padding-right: 10rpx;" src="{{baseurl+itemwlmcchina}}" wx:for="{{item.pics}}" wx:for-index="index" wx:for-item='itemwlmcchina' wx:key="index" data-id="{{index}}" bindtap="preview" data-src="{{baseurl+itemwlmcchina}}" data-pics="{{indexitem}}"></image>
        </view>  
        <view class="mssagemiddledown" wx:if="{{item.imagecount==2}}">
            <image style="width: 30%;height: 265rpx;padding-right: 10rpx;" src="{{baseurl+itemwlmcchina}}" wx:for-item='itemwlmcchina' data-pics="{{indexitem}}" data-id="{{index}}" bindtap="preview" data-src="{{baseurl+itemwlmcchina}}" wx:for="{{item.pics}}" wx:for-index="index" wx:key="index"></image>
        </view>

        <view class="mssagemiddledown" wx:if="{{item.imagecount>=3}}">
            <image style="width: 30%;height: 265rpx;padding-right: 10rpx;" src="{{baseurl+itemwlmcchina}}" wx:for-item='itemwlmcchina' data-pics="{{indexitem}}" data-id="{{index}}" bindtap="preview" data-src="{{baseurl+itemwlmcchina}}" wx:for="{{item.pics}}" wx:for-index="index" wx:key="index"></image>
        </view>

        <view class="mssagemiddledownone" >
            <image style="width: 30%;height: 265rpx;padding-right: 10rpx;" src="{{baseurl+itemwlmcchina}}" wx:for="{{item.replyimages}}" wx:for-index="index" wx:for-item='itemwlmcchina' wx:key="index" data-id="{{index}}" bindtap="preview1" data-src="{{baseurl+itemwlmcchina}}" data-pics="{{indexitem}}"></image>
        </view>
    </view>
    <view class="messageend" style="display:none;">
        <view class="messageendleft" id="{{item.id}}" bindtap="communityinfoclick">
            <image src="https://ndnd.duiduiedu.com/uploads/pics/viewcontent.png"></image>
        </view>

        <view class="messageendmiddle" id="{{item.id}}" bindtap="communityinfocommentclick">
            <image src="https://ndnd.duiduiedu.com/uploads/pics/replaycontent.png"></image> <text>{{item.plcommentcount}}</text>
        </view>

        <view class="messageendright" id="{{item.id}}" bindtap="wordsclick">
            <image src="https://ndnd.duiduiedu.com/uploads/pics/clickbtn.png"></image><text>{{item.wordsclickcount}}</text>
        </view>
    </view>
    <view class="feigexian">

    </view>
</view>
<!-- 回复留言区域 -->
<!-- 回复留言区域 -->
<!-- 留言区域 -->
<form bindsubmit="formSubmit" class="{{showview?'header_view_show':'header_view_hide'}}">
    <view class="areaclass" data-detail="detail2">
        <textarea auto-height auto-focus placeholder="我也说两句" name="wordsname" value="{{wordstextname}}" bindblur="bindTextAreaBlur"></textarea>
    </view>
    <view class="areafooter" data-detail="setsite">
        <view class="areafooterleft">
            <image src="https://ndnd.duiduiedu.com/uploads/pics/picselect.png" bindtap="uploadpic"></image>
        </view>
        <view class="areafooterright">
            <button formType="submit" size="default">发布</button>
        </view>
    </view>
</form>
<!-- 留言区域 -->
<view class="round-click">
    <image src="https://ndnd.duiduiedu.com/uploads/pics/pushdata.png" bindtap="displayview"></image>
</view>

</view>