qujingkindsecond.wxml 2.6 KB
<view class="pagebox">

<view class="sousuo">
  <view class="search">

    <!-- <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
      <view class="searchleft">
        <view class="searchleftname">{{array[index]}}</view>
        <view class="searchsanjiao">
          <image src='/img/sanjiaodown.png'></image>
        </view>
      </view>
    </picker> -->
    <view class="searchright">

      <view class="searchfightimg" bindtap="sousuo" wx:if="{{sousuoword}}">
        <image src="/img/sousuo.png"></image>
      </view>
      <view class="searchfightimg" wx:else>
        <image src="/img/sousuo.png"></image>
      </view>
      <view class="searchrightname">
        <input placeholder='不同的搜索内容用空格隔开' bindinput='enterword' bindblur='shuru' value="{{keyword}}"/>
      </view>
    </view>
  </view>
  <view class="sousuoname" bindtap="sousuo" wx:if="{{sousuoword}}">搜索</view>
  <view class="sousuoname" wx:else>搜索</view>
</view>








  <view class="nodata" wx:if="{{kindesecondlist.length==0}}">暂无数据</view>

  <view wx:else>
    <!-- 搜索视频 -->
    <!-- <view class="searchlist" wx:if="{{showlist==1}}">

      <view class="searchlistbox">

        <view wx:for="{{searcharr}}" wx:key='' bindtap="govideo" data-url="{{item.video}}" data-id="{{item.id}}">
          <view class="searchboximg">
            <image src="{{item.image}}"></image>

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


          </view>
          <view class="picboxname">{{item.title}}</view>
        </view>




      </view>


    </view> -->



    <!-- 搜素图片 -->
    <view class="searchimglist" >

      <view wx:for="{{kindesecondlist}}" wx:key='' bindtap="qujingdetail" data-id="{{item.id}}">
        <view class="searchimgitem">
          <image src="{{item.image}}"></image>

				<image src="/img/shipin.png" class="shipintop"></image>
		<image src="/img/shipin.png" class="shipinbot"></image>
        </view>
        <view class="picboxname">{{item.title}}</view>
      </view>
    </view>
    <!-- 搜素精美大片 -->
    <!-- <view class="searchlist" wx:if="{{showlist==3}}">

      <view class="searchlistbox">
        <view class="searchboximg" wx:for="{{searcharr}}" wx:key='' bindtap="govideomei" data-url="{{item.video}}">
          <image src="{{item.thumbnail}}"></image>
          <view class="anniu">
            <image src="/img/anniu.png"></image>
          </view>

        </view>
        <view class="picboxname">{{item.title}}</view>
      </view>
    </view> -->
  </view>
</view>