syshxcx/pages/neighbor/help/helpDetail.wxml
dong_bo0602 a1f9e23f6d 0607
2022-06-07 15:43:05 +08:00

61 lines
2.7 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 class="good" bindtap="clickGood">
<image src="/images/good.png"></image>
<text>100</text>
</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 class="photo-box" wx:for="{{helpDetail.photo}}" wx:if="{{item}}" wx:key="index" bindtap="viewImg" data-id="{{item}}">
<image src="{{serviceUrl + baseImgUrl + item}}" mode="heightFix"></image>
</view>
</view>
<view class="help-video" wx:if="{{helpDetail.video}}">
<video src="{{serviceUrl + baseImgUrl + helpDetail.video}}"></video>
</view>
<!-- <view class="help-date">{{helpDetail.gmtCreate}}</view> -->
</view>
<!-- <view class="explain">
<view class="explain-title">补充说明</view>
<view class="explain-detail">{{helpDetail.contentSupplement}}</view>
</view> -->
<view class="reply" wx:if="{{replyList.length > 0}}">
<view class="reply-title">回复</view>
<view class="reply-box" wx:for="{{replyList}}" wx:key="index" bindtap="getFocus" data-user="{{item.userName}}" data-id="{{item.neighborCommentId}}" data-name="{{item.userName}}" data-neighbor="{{item.neighborId}}">
<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 class="good">
<image src="/images/good.png"></image>
<text>100</text>
</view> -->
</view>
<view class="talk-content">
{{item.content}}
</view>
<view class="reply-reply">
<view class="reply-row" wx:key="index" wx:for="{{item.subCommentList}}" wx:for-item="child" catchtap="getFocus" data-user="{{child.userName}}" data-id="{{item.neighborCommentId}}" data-name="{{child.userName}}" data-neighbor="{{child.neighborId}}">
<text>{{child.userName}}</text> 回复 <text>{{child.replyUserName}}</text> : {{child.content}}
</view>
</view>
</view>
</view>
<view class="answer">
<input type="text" placeholder="输入回答" model:value="{{reply}}" bindconfirm="doReply" placeholder="{{placeholder}}" model:value="{{reply}}" bindconfirm="doReply" focus="{{isGetFocus}}" bindblur="inputBlur"/>
</view>