12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <!--pages/particulars/particulars.wxml-->
- <view class="content">
- <scroll-view scroll-y="true" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true">
- <!-- 科学艺术 -->
- <view class="works">
- <view class="share-con">
- <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: 30rpx; display: block;">{{time}}</text>
- <text class='content-data' style="display: block; color: #000; font-size: 36rpx; margin-top: 20rpx;">{{productionData.title}}</text>
- </view>
- </view>
- <view class="picture" wx:if="{{type == 2}}">
- <block wx:for="{{productionData.imagesList}}" wx:for-item="items" wx:key="{{items}}">
- <image mode="aspectFill" src="{{items}}" bindtap="listenerButtonPreviewImage" data-img="{{items}}"></image>
- </block>
- </view>
- <view class="icon" wx:if="{{type == 2}}">
- <view bindtap="like">
- <image src="../../pages/image/zan.png" class="zan" wx:if="{{like}}"></image>
- <image src="../../pages/image/nozan.png" class="zan" wx:else></image>
- <text>{{favors ? favors : '0'}}</text>
- </view>
- <view>
- <image src="../../pages/image/weatch.png" class="weatch"></image>
- <text>{{productionData.postsAttributeInfo ? productionData.postsAttributeInfo.views : '0'}}</text>
- </view>
- <view bindtap="discuss">
- <image src="../../pages/image/discuss.png" class="discuss"></image>
- <text>{{messageLength}}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="comment" >
- <view wx:for="{{discussDatas}}" wx:key="{{item.id}}" style="border-bottom: 1rpx solid #ccc;padding-bottom: 10rpx;">
- <view style="color: {{productionData.userId == item.userId ? '#000' : '#f7085e'}}">{{item.featureMap.wechatName ? item.featureMap.wechatName : '方老师'}}</view>
- <view style="height: 30rpx; display: block; color: #C3C3C3">{{discussTime[index]}}</view>
- <view style="margin-top: 20rpx;">{{item.content}}</view>
- </view>
- </view>
- </scroll-view>
- </view>
- <view class="text">
- <image src="../../pages/image/input.png" class="input-img"></image>
- <view class="input-text">
- <input placeholder="请输入评论内容" value="{{text}}" bindinput="bindKeyInput" type="text" focus="{{hike}}"/>
- <view bindtap="sendText" data-id="{{productionData.id}}"></view>
- </view>
- </view>
|