homepage.wxml 2.8 KB
  <view class="videohead">
  	<image src='{{thumbinal}}'></image>
  </view>
  <view class="videobox">
  	<view class="search">
  		<view class="searchright" bindtap="gosearch">
  			<view class="searchfightimg">
  				<image src="/img/sousuo.png"></image>
  			</view>
  			<view class="searchrightname">
  				<input placeholder='点击这里搜一搜' />
  			</view>
  		</view>
  		<!-- <div class="wrapper" bindtap="gosearch">
  			<div class="circle">
  				<image src="/img/hand.png"></image>
  			</div>
  		</div> -->
  	</view>

		<view class="nodata"  wx:if="{{sortlist.length==0}}">暂无数据</view>
  	<view class="searchvideo" wx:else>
  		<view wx:for="{{sortlist}}" wx:key="index" bindtap="govideo" data-id="{{item.id}}">
  			<view class="searchvideoimg">
  				<image src="{{item.image}}"></image>
					<image src="/img/videotop.png" class="shipintop"></image>
		<image src="/img/videotop.png" class="shipinbot"></image>
  			</view>
  			<view class="picname">{{item.name}}</view>
  		</view>
  	</view>
  </view>
  <!-- 预留电话 -->
  <view class="register" wx:if="{{phoneshow}}" bindtap="hidewrap">
  	<view class="phonewrap" catchtap='enter'>
  		<view class="phonename">请输入您的手机号</view>
  		<view class="phoneenter">
  			<input placeholder='请输入手机号' bindinput="enterphone" type="number" />
  		</view>
  		<view class="surebtn" bindtap="surebtn">确定</view>
  	</view>
  </view>
  <view class="crema" bindtap="yuyue">
  	<view class="cremaimg">
  		<image src="/img/crema1.png"></image>
  	</view>
  	<view class='yuyeu'>取景地</view>
  </view>
  <!-- 底部导航 -->
  <view class="teacherfooter">
  	<view class="teacherfootitem" bindtap="footersel" data-id="1">
  		<view class="teacherfootitemtop shou">
  			<image src="{{footersel==1?'/img/shouyeactive.png':'/img/shouye.png'}}"></image>
  		</view>
  		<view class="teacherfootname {{footersel==1?'selactive':''}}">首页</view>
  	</view>


  	<view class="teacherfootitem" bindtap="footersel" data-id="2">
  		<view class="teacherfootitemtop order">
  			<image src="{{footersel==2?'/img/kindactive.png':'/img/kind.png'}}"></image>
  		</view>
  		<view class="teacherfootname {{footersel==2?'selactive':''}}">分类</view>
  	</view>
  	<view class="cremaimgox"></view>

  	<view class="teacherfootitem" bindtap="footersel" data-id="3">
  		<view class="teacherfootitemtop rili">
  			<image src=" {{footersel==3?'/img/cartactive.png':'/img/cart.png'}}"></image>
  		</view>
  		<view class="teacherfootname {{footersel==3?'selactive':''}}">收藏夹</view>
  	</view>


  	<view class="teacherfootitem" bindtap="footersel" data-id="4">
  		<view class="teacherfootitemtop show">
  			<image src="{{footersel==4?'/img/mineactive.png':'/img/mine.png'}}"></image>
  		</view>
  		<view class="teacherfootname {{footersel==4?'selactive':''}}">我的</view>
  	</view>

  </view>