50 lines
2.9 KiB
Plaintext
50 lines
2.9 KiB
Plaintext
<view class="help-detail">
|
|
<view class="talk-user">
|
|
<view class="user-info">
|
|
<image src="{{helpDetail.headPortrait}}"></image>
|
|
<view class="user-name">
|
|
<view class="name">{{helpDetail.nickName}}</view>
|
|
<view class="time">{{helpDetail.gmtCreate}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="talk-content"> {{helpDetail.content}} </view>
|
|
<view class="help-type">{{helpDetail.problemTypeName}}</view>
|
|
<view class="help-photo" wx:if="{{helpDetail.photo.length>0}}">
|
|
<view bindtap="viewImg" class="photo-box help-photo-box photo-one" data-id="{{photo}}" wx:if="{{helpDetail.photo.length==1}}" wx:for="{{helpDetail.photo}}" wx:for-item="photo" wx:key="photo">
|
|
<image mode="widthFix" src="{{serviceUrl+baseImgUrl+photo}}"></image>
|
|
</view>
|
|
<view bindtap="viewImg" class="photo-box help-photo-box photo-four" data-id="{{photo}}" wx:if="{{helpDetail.photo.length==4}}" wx:for="{{helpDetail.photo}}" wx:for-item="photo" wx:key="photo">
|
|
<image mode="widthFix" src="{{serviceUrl+baseImgUrl+photo}}"></image>
|
|
</view>
|
|
<view bindtap="viewImg" class="photo-box help-photo-box photo-more" data-id="{{photo}}" wx:if="{{helpDetail.photo.length>1&&helpDetail.photo.length!=4}}" wx:for="{{helpDetail.photo}}" wx:for-item="photo" wx:key="photo">
|
|
<image mode="widthFix" src="{{serviceUrl+baseImgUrl+photo}}"></image>
|
|
</view>
|
|
</view>
|
|
<view class="help-video" wx:if="{{helpDetail.video}}">
|
|
<video src="{{serviceUrl+baseImgUrl+helpDetail.video}}"></video>
|
|
</view>
|
|
</view>
|
|
<view class="reply" wx:if="{{replyList.length>0}}">
|
|
<view class="reply-title">回复</view>
|
|
<view bindtap="getFocus" class="reply-box" data-id="{{item.neighborCommentId}}" data-name="{{item.userName}}" data-neighbor="{{item.neighborId}}" data-user="{{item.userName}}" wx:for="{{replyList}}" wx:key="index">
|
|
<view class="talk-user">
|
|
<view class="user-info">
|
|
<image src="{{item.headPortrait}}"></image>
|
|
<view class="user-name">
|
|
<view class="name">{{item.userName}}</view>
|
|
<view class="time">{{item.gmtCreate}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="talk-content"> {{item.content}} </view>
|
|
<view class="reply-reply">
|
|
<view catchtap="getFocus" class="reply-row" data-id="{{item.neighborCommentId}}" data-name="{{child.userName}}" data-neighbor="{{child.neighborId}}" data-user="{{child.userName}}" wx:for="{{item.subCommentList}}" wx:for-item="child" wx:key="index">
|
|
<text>{{child.userName}}</text> 回复 <text>{{child.replyUserName}}</text> : {{child.content}} </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="answer">
|
|
<input bindblur="inputBlur" bindconfirm="doReply" focus="{{isGetFocus}}" value="{{reply}}" placeholder="{{placeholder}}" type="text"></input>
|
|
</view>
|