<!--compontents/chat/chat.wxml-->
<view class="works">
    <view class="title">
        <image src="../../pages/image/xing.png" class="xing"></image>
        <text class="">{{title}}</text>
        <image src="../../pages/image/xing.png" class="xing"></image>
    </view>
    <view class="share-con" wx:key="{{index}}">
        <view class="head">
            <view class="head-img">
                <image src="{{productionData.featureMap.headImgUrl}}"></image>
            </view>    
            <view class="lesson-name">
                <text>{{productionData.featureMap.wechatName}}</text>
                <text style="height: 100%">{{productionData.title}}</text>
            </view>
        </view>
        <view class="picture" wx:if="{{type == 2}}">
            <block wx:for="{{productionData.imagesList}}" wx:for-item="items" wx:key="{{items.id}}">
                <image src="{{items.path}}" bindtap="listenerButtonPreviewImage" data-img="{{items.path}}"></image>
            </block>
        </view>
        <view class="icon">
            <view>
                <image src="../../pages/image/zan.png" class="zan"></image>
                <text>{{productionData.postsAttributeInfo ? productionData.postsAttributeInfo.favors : '0'}}</text>
            </view>
            <view>
                <image src="../../pages/image/weatch.png" class="weatch"></image>
                <text>{{productionData.postsAttributeInfo ? productionData.postsAttributeInfo.views : '0'}}</text>
            </view>
            <view>
                <image src="../../pages/image/discuss.png" class="discuss"></image>
                <text>{{productionData.replyCount}}</text>
            </view>
        </view>
        <discuss discussData="{{productionData.replyList}}" uid="{{productionData.userId}}" postsId="{{productionData.id}}" id="discuss" type="{{type}}"/>
    </view>
</view>