|
@@ -135,13 +135,13 @@
|
|
</view>
|
|
</view>
|
|
<view class="content" wx:if='{{comment_list}}'>
|
|
<view class="content" wx:if='{{comment_list}}'>
|
|
<view class="list" wx:for="{{comment_list}}">
|
|
<view class="list" wx:for="{{comment_list}}">
|
|
- <image src="{{item.user_avatar}}" ></image>
|
|
|
|
|
|
+ <image src="{{item.user_avatar}}" data-id="{{item.user_id}}" bind:tap="userCenter" ></image>
|
|
<view class="msg">
|
|
<view class="msg">
|
|
- <text class="_name">{{item.user_name}}</text>
|
|
|
|
|
|
+ <text class="_name" data-id="{{item.user_id}}" bind:tap="userCenter">{{item.user_name}}</text>
|
|
<view class="_content">{{item.content}}</view>
|
|
<view class="_content">{{item.content}}</view>
|
|
<view class="answer" wx:if="{{item.children.length>0}}">
|
|
<view class="answer" wx:if="{{item.children.length>0}}">
|
|
<view wx:for="{{item.children}}" wx:for-item='i'>
|
|
<view wx:for="{{item.children}}" wx:for-item='i'>
|
|
- <text>{{i.user_name}}:</text>
|
|
|
|
|
|
+ <text data-id="{{i.user_id}}" bind:tap="userCenter">{{i.user_name}}:</text>
|
|
{{i.content}}</view>
|
|
{{i.content}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="addr">
|
|
<view class="addr">
|