|
@@ -2,12 +2,14 @@
|
|
|
<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>
|
|
|
+ value="{{searchForm.key_words}}"
|
|
|
+ placeholder="搜索信息"
|
|
|
+ data-formkey="key_words"
|
|
|
+ bind:input="handleKeyWords"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="page-section">
|
|
@@ -18,12 +20,12 @@
|
|
|
autoplay="{{false}}"
|
|
|
bind:change="handleSwiperChange">
|
|
|
<block
|
|
|
- wx:for="{{background}}"
|
|
|
+ wx:for="{{lunboList}}"
|
|
|
wx:key="*this">
|
|
|
<swiper-item
|
|
|
class="swiper-item-wrap">
|
|
|
- <view class="swiper-item {{item}}">
|
|
|
- <image class="photo" src=""></image>
|
|
|
+ <view class="swiper-item">
|
|
|
+ <image class="photo" src="{{item.video_cover_url}}"></image>
|
|
|
<view class="info">
|
|
|
<view class="label-wrap">
|
|
|
<image class="icon" src="../../image/common/video.png"></image>
|
|
@@ -31,7 +33,7 @@
|
|
|
</view>
|
|
|
<view class="value-wrap">
|
|
|
<view class="name">村长说农货</view>
|
|
|
- <view class="address">浙江省嵊州菜园</view>
|
|
|
+ <view class="address">{{item.video_name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -41,18 +43,18 @@
|
|
|
<view class="swiper-dots">
|
|
|
<view
|
|
|
class="{{swiperActiveDot === index ? 'active' : ''}}"
|
|
|
- wx:for="{{background}}"
|
|
|
+ wx:for="{{lunboList}}"
|
|
|
wx:key="index"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<customer-tab
|
|
|
nav="{{nav}}"
|
|
|
- active="{{active}}"
|
|
|
+ active="{{searchForm.type}}"
|
|
|
bind:change="handleNav"/>
|
|
|
<view class="main">
|
|
|
<view
|
|
|
class="list"
|
|
|
- wx:for="{{4}}"
|
|
|
+ wx:for="{{listData}}"
|
|
|
wx:key="item"
|
|
|
data-item="{{item}}"
|
|
|
bind:tap="jumpMediaDetail">
|