1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <view class="wrapper">
- <view class="app_page-header-search">
- <view class="app_page-header-search-warp app_width-690">
- <label for="header-search">
- <image src="../../image/common/search@2x.png"></image>
- </label>
- <input
- placeholder-class="app_header-search-placeholder"
- value="{{searchForm.key_words}}"
- placeholder="搜索信息"
- data-formkey="key_words"
- bind:input="handleKeyWords"></input>
- </view>
- </view>
- <view class="page-section">
- <swiper
- indicator-color="rgba(145, 179, 121, 0.6)"
- indicator-active-color="rgba(145, 179, 121, 1)"
- interval="{{2000}}"
- autoplay="{{false}}"
- bind:change="handleSwiperChange">
- <block
- wx:for="{{lunboList}}"
- wx:key="*this">
- <swiper-item
- class="swiper-item-wrap"
- data-item="{{item}}"
- bind:tap="jumpMediaDetail">
- <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>
- <text class="label">频道:</text>
- </view>
- <view class="value-wrap">
- <view class="name">{{item.video_type_name}}</view>
- <view class="address">{{item.video_name}}</view>
- </view>
- </view>
- </view>
- </swiper-item>
- </block>
- </swiper>
- <view
- class="swiper-dots"
- wx:if="{{lunboList.length > 1}}">
- <view
- class="{{swiperActiveDot === index ? 'active' : ''}}"
- wx:for="{{lunboList}}"
- wx:key="index"></view>
- </view>
- </view>
- <customer-tab
- nav="{{nav}}"
- active="{{searchForm.type}}"
- bind:change="handleNav"/>
- <view class="main">
- <view
- class="list"
- wx:for="{{listData}}"
- wx:key="id"
- data-item="{{item}}"
- bind:tap="jumpMediaDetail">
- <video-item-normal item="{{item}}"/>
- </view>
- <!-- 无数据 -->
- <view class="list-bitmap" wx:if="{{finished && listData.length < 1}}">
- <image src="../../image/common/bitmap.png"></image>
- <text>暂无数据</text>
- </view>
- <view class="pullup-wrapper" wx:if="{{!isRefresh}}">
- <van-loading
- wx:if="{{!finished}}"
- size="24px"
- type="spinner">加载中...
- </van-loading>
- </view>
- </view>
- </view>
|