You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
2.0 KiB
45 lines
2.0 KiB
2 years ago
|
<!--pages/searchShow/searchShow.wxml-->
|
||
|
|
||
|
<scroll-view scroll-y="true" class="container" bindscrolltoupper="upper" upper-threshold="10" lower-threshold="5" bindscrolltolower="lower" scroll-into-view="{{toView}}" scroll-top="{{scrollTop}}">
|
||
|
<!-- 搜索结果展示 -->
|
||
|
<block wx:for="{{re}}" wx:for-index="idx" wx:for-item="item" data-idx="{{idx}}">
|
||
|
<view class="feed-item">
|
||
|
<view class="feed-source">
|
||
|
<a class="">
|
||
|
<view class="avatar">
|
||
|
<image src="{{item.feed_source_img}}"></image>
|
||
|
<!--<open-data type="userAvatarUrl"></open-data>-->
|
||
|
|
||
|
</view>
|
||
|
<text>{{item.feed_source_name}}</text>
|
||
|
<!-- <open-data type="userNickName"></open-data>-->
|
||
|
</a>
|
||
|
<image class="item-more" mode="aspectFit" src="../../images/more.png"></image>
|
||
|
</view>
|
||
|
<view class="feed-content">
|
||
|
<view class="question" bindtap="bindItemTap" data-aid="{{item._id}}">
|
||
|
<a class="question-link">
|
||
|
<text>{{item.title}}</text>
|
||
|
</a>
|
||
|
</view>
|
||
|
<view class="answer-body">
|
||
|
<view >
|
||
|
<text class="answer-txt" bindtap="bindItemTap" data-aid="{{item._id}}">{{item.content}}</text>
|
||
|
</view>
|
||
|
<view class="answer-actions" bindtap="bindItemTap">
|
||
|
<view class="like dot">
|
||
|
<a>{{item.good_num}} 赞同 </a>
|
||
|
</view>
|
||
|
<view class="follow-it">
|
||
|
<text decode="{{true}}">  </text>
|
||
|
</view>
|
||
|
<view class="comments dot">
|
||
|
<a>{{item.comment_num}} 评论 </a>
|
||
|
</view>
|
||
|
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</block>
|
||
|
</scroll-view>
|