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.
67 lines
2.2 KiB
67 lines
2.2 KiB
<!--pages/fourm/fourm.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}}">
|
|
|
|
<view class="search-right flex-item" bindtap="goto">
|
|
+
|
|
</view>
|
|
|
|
|
|
<view class="sousuokuang">
|
|
<view class="sousuo">
|
|
<view class="shurukuang">
|
|
<input placeholder="搜索" value="{{inputValue}}" bindinput="GetSearchInput"></input>
|
|
</view>
|
|
<view class="sousuo_anniu" bindtap="ToSearch">
|
|
<text>搜索</text>
|
|
<icon type="search" size="20"></icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<block wx:for="{{feed}}" 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" bindtap="delete_p" data-aid="{{item._id}}" 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>
|
|
<view class="loading" hidden="{{!loadMore}}">正在载入更多...</view>
|
|
<view class="loading" hidden="{{!loadAll}}">已加载全部</view>
|
|
</scroll-view> |