|
@@ -2,17 +2,29 @@
|
|
|
<view class="app_page-header-search">
|
|
|
<view class="app_page-header-search-warp app_width-690">
|
|
|
<label for="header-search">
|
|
|
- <image src=""></image>
|
|
|
+ <image src="../../image/common/search@2x.png"></image>
|
|
|
</label>
|
|
|
- <input placeholder-class="app_header-search-placeholder" value="" placeholder="搜索"></input>
|
|
|
+ <input
|
|
|
+ placeholder-class="app_header-search-placeholder"
|
|
|
+ value="{{searchForm.key_words}}"
|
|
|
+ placeholder="搜索信息"
|
|
|
+ data-formkey="key_words"
|
|
|
+ bind:input="handleKeyWords"></input>
|
|
|
</view>
|
|
|
<view class="leaving-a-message" bind:tap="jumpLeavingAMessage" wx:if="{{false}}">
|
|
|
<image src="../../image/common/message@2x.png"></image>
|
|
|
<view>8</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <customer-tab
|
|
|
+ nav="{{nav}}"
|
|
|
+ active="{{active}}"
|
|
|
+ bind:change="handleNav"/>
|
|
|
<view class="main">
|
|
|
- <view class="list">
|
|
|
+ <view
|
|
|
+ class="list"
|
|
|
+ wx:for="{{listData}}"
|
|
|
+ wx:key="id">
|
|
|
<view class="top">
|
|
|
<view class="portrait">
|
|
|
<image src=""></image>
|
|
@@ -21,18 +33,23 @@
|
|
|
<view class="user-name">农户张三</view>
|
|
|
<view class="business-name">商铺:xxxx西瓜店</view>
|
|
|
</view>
|
|
|
- <button class="follow">关注</button>
|
|
|
+ <button
|
|
|
+ class="follow"
|
|
|
+ wx:if="{{item.follow_status === 0}}"
|
|
|
+ data-item="{{item}}"
|
|
|
+ bind:tap="followUser">关注
|
|
|
+ </button>
|
|
|
</view>
|
|
|
<view class="news">
|
|
|
- <view class="text">
|
|
|
- 哈拉啊啊啊啦啦啦啦啦啦阿拉,啊啦啦啦阿拉啦啦啦啦啦啦,啦啦啦啦啦阿拉啦啦。啦啦啦啦啦啦啦啦,啦啦啦啦啦啦啦阿拉啦啦啦啦。阿卡卡卡卡看。
|
|
|
- </view>
|
|
|
+ <view class="text">{{item.track_content}}</view>
|
|
|
<view class="photo-wrap">
|
|
|
<view
|
|
|
class="box"
|
|
|
- wx:for="{{6}}"
|
|
|
- wx:key="index">
|
|
|
- <image src=""></image>
|
|
|
+ wx:for="{{item.track_img_url}}"
|
|
|
+ wx:for-item="img"
|
|
|
+ wx:for-index="idx"
|
|
|
+ wx:key="idx">
|
|
|
+ <image src="{{img}}"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -60,6 +77,15 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view
|
|
|
+ class="pullup-wrapper"
|
|
|
+ wx:if="{{!isRefresh}}">
|
|
|
+ <van-loading
|
|
|
+ wx:if="{{!finished}}"
|
|
|
+ size="24px"
|
|
|
+ type="spinner">加载中...
|
|
|
+ </van-loading>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view
|