1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!--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: 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" 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>
- <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}}">
- <text style="color: {{productionData.userId == item.userId ? '#000' : '#f7085e'}}">{{item.featureMap.wechatName}}:</text>
- <text>{{item.content}}</text>
- </view>
- </view>
- </scroll-view>
- </view>
- <view class="text">
- <image src="../../pages/image/input.png" class="input-img"></image>
- <view class="input-text">
- <input placeholder="Enter You My Essage" value="{{text}}" bindinput="bindKeyInput" type="text" />
- <view bindtap="sendText" data-id="{{productionData.id}}"></view>
- </view>
- </view>
|