homepage.wxml 3.5 KB
<view class="videobox">
  <view class="videohead" bindtap="govideo">
    <image src='{{thumbinal}}'></image>

    <view class="anniu">
      <image src="/img/anniu.png"></image>
    </view>
  </view>

  <view class="search" >
    <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
      <!-- <view class="picker">
      当前选择:{{array[index]}}
    </view> -->

      <view class="searchleft">
        <view class="searchleftname">{{array[index]}}</view>
        <view class="searchsanjiao">
          <image src='/img/sanjiaodown.png'></image>
        </view>
      </view>
    </picker>

    <view class="picxian"></view>

    <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 class="finger">
          <image src="/img/shou2.png"></image>
        </div> -->
    </div>
  </view>

  <!-- 搜索内容 -->
  <view class="searchbox">
    <!-- 搜索图片 -->

    <view class="searchboximg" bindtap="picbox">
      <view class="searchimg">
        <image src="{{pic}}"></image>
      </view>
    </view>

    <!-- 搜索视频 -->
    <view class="searchvideo" bindtap="videobox">
      <view class="searchvideoimg">
        <image src="{{image}}"></image>

        <view class="anniu">
          <image src="/img/anniu.png"></image>
        </view>
      </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/crema.png"></image>
    </view>

   
    <!-- <view class='yuyeu'>预约</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>