12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <!--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>
- <text class="uploading" bindtap="uploadImage" wx:if="{{productionData.list}}">{{query}}</text>
- </view>
- <view wx:if="{{productionData.list}}">
- <view class="share-con" wx:for="{{productionData.list}}" wx:key="{{index}}">
- <view bindtap="particulars" data-postsId="{{item.id}}" data-type="{{type}}">
- <view class="head">
- <view class="head-img">
- <image src="{{item.featureMap.headImgUrl}}"></image>
- </view>
- <view class="lesson-name">
- <text>{{item.featureMap.wechatName}}</text>
- <text class="content-data" style="height: 100%">{{item.title}}</text>
- </view>
- <view wx:if="{{type == 1 && (item.currentReplyCount > 0)}}" class="message"></view>
- </view>
- <view class="picture" wx:if="{{type == 2}}">
- <block wx:for="{{item.imagesList}}" wx:for-item="items" wx:key="{{items}}">
- <image mode="aspectFill" src="{{items}}" catchtap="listenerButtonPreviewImage" data-img="{{items}}"></image>
- </block>
- </view>
- <view class="icon" wx:if="{{type == 2}}">
- <view>
- <image src="../../pages/image/zan.png" class="zan"></image>
- <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.favors : '0'}}</text>
- </view>
- <view>
- <image src="../../pages/image/weatch.png" class="weatch"></image>
- <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.views : '0'}}</text>
- </view>
- <view>
- <image src="../../pages/image/discuss.png" class="discuss"></image>
- <text>{{item.replyCount}}</text>
- </view>
- </view>
- </view>
- <!--分享按钮 -->
- <view class="share-up-box" wx:if="{{type == 2}}" bindtap="shareImage" data-postsId="{{item.id}}" data-imgUrl="{{item.imagesList}}">
- <image class="share_up" src="../../pages/image/share_up.png"></image>
- </view>
- <!--
- <button class='transmit' open-type="share" id="transmit" data-userId="{{userId}}" data-postId="{{item.id}}" wx:if="{{type == 2}}">
- <image class="share_up" src="../../pages/image/share_up.png"></image>
- </button>
- -->
- </view>
- <view class="more" wx:if="{{more}}" bindtap="examine">查看更多</view>
- </view>
- <view class="no-con" wx:if="{{(productionData.list.length === 0) && type == 2}}">
- <view class="state">你还没有上传作品</view>
- <view class="upload-works" bindtap="uploadImage">
- <image src="../../pages/image/work_box.png" class="work-box"></image>
- <image src="../../pages/image/uploading_works.png" class="uploading-works"></image>
- <text>上传作品</text>
- </view>
- </view>
- <view class="no-con" wx:if="{{(productionData.list.length === 0) && type == 1}}">
- <view class="state">你还没有提问过问题</view>
- <view class="upload-works" bindtap="uploadImage">
- <image src="../../pages/image/work_box.png" class="work-box"></image>
- <image src="../../pages/image/questions.png" class="uploading-works"></image>
- <text>提问问题</text>
- </view>
- </view>
- </view>
- <share wx:if="{{type == 2}}" id="share"/>
|