teachplanlist.wxml 4.1 KB
<view class="morehomelistregister" catchtouchmove='true' bindtap="listselecthide" wx:if="{{listselecthide}}">
  <view class="morehomelsitwrap">
    <view class="blend" wx:if="{{currentTab==0}}">

      <view class="nodata" wx:if="{{list.condition.comprehensive.length==0}}">暂无数据</view>
      <block wx:else>
        <view class="blenditem" wx:for="{{list.condition.comprehensive}}" wx:key="" data-idx="{{index}}" catchtap='rank'>{{item.label}}</view>

      </block>
    </view>

    <view class="blend" wx:if="{{currentTab==1}}">

      <view class="nodata" wx:if="{{list.condition.grade.length==0}}">暂无数据</view>
      <block wx:else>
        <view class="blenditem" wx:for="{{list.condition.grade}}" wx:key="" data-idx="{{index}}" catchtap='rank'>{{item.label}}</view>
      </block>
    </view>
    <view class="blend" wx:if="{{currentTab==2}}">

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

      <block wx:else>
        <view class="blenditem" wx:for="{{list.condition.price}}" wx:key="" data-idx="{{index}}" catchtap='rank'>{{item.label}}</view>
      </block>

    </view>
  </view>
</view>


<view class="headtop">
<view class="head">

  <view class="search" bindtap="search">
    <view class="iconfont icon-sousuo"></view>
    <view class="enterword">
      <!-- <input placeholder='搜索' class="searchword"></input> -->

      <input bindinput="bindKeyInput" value="搜索" />
    </view>
  </view>


  <view class="swiper_image">
    <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
      <block wx:for="{{imgUrls}}" wx:key="doct">
        <swiper-item>
          <image src="{{item.image}}" class="slide-image" width="355" height="150" />
        </swiper-item>
      </block>
    </swiper>

    <view class="dots">
      <block wx:for="{{imgUrls}}" wx:key="">
        <view class="dot{{index == currentSwiper ? ' active' : ''}}"></view>
      </block>
    </view>

  </view>

</view>

<view class="kindnav teachnav">
  <view wx:for="{{navbar}}" data-idx="{{index}}" class="kindnav_item {{currentTab==index ? 'kindactive' : ''}}" wx:key="unique" bindtap="navbarTap">{{item}}
  </view>
</view>
</view>




<view class="content">
<view class="nodata" wx:if="{{goods_list.length==0}}">暂无数据</view>
<view class="projectlist" wx:else>
  <view class="projectitem" bindtap="detail" wx:for="{{goods_list}}" wx:key="" data-id="{{item.id}}" data-free="{{item.goods_price}}">
    <view class="projectitemtitle">{{item.goods_name}}</view>
    <view class="projectitemimg">
      <image src="{{item.thumbnail}}"></image>
    </view>

    <view class="projectsee">
      <view class="projectnum">浏览{{item.hit_num}}</view>

      <view class="projectmoney {{item.goods_price=='免费'?'':'moneynum'}}" wx:if="{{state==1}}">{{item.goods_price}}</view>

    </view>
  </view>
  <!-- <view class="projectitem">
        <view class="projectitemtitle">儿童插画我要唱歌这里</view>
        <view class="projectitemimg">
            <image src="http://bronet.wangshuwen.com/kliuytyt@2x.png"></image>
        </view>

        <view class="projectsee">
            <view class="projectnum">浏览12万</view>
            <view class="projectmoney moneynum">123元</view>
        </view>
    </view>
    <view class="projectitem">
        <view class="projectitemtitle">儿童插画我要唱歌这里</view>
        <view class="projectitemimg">
            <image src="http://bronet.wangshuwen.com/kliuytyt@2x.png"></image>
        </view>

        <view class="projectsee">
            <view class="projectnum">浏览12万</view>
            <view class="projectmoney">免费</view>
        </view>
    </view>
    <view class="projectitem">
        <view class="projectitemtitle">儿童插画我要唱歌这里</view>
        <view class="projectitemimg">
            <image src="http://bronet.wangshuwen.com/kliuytyt@2x.png"></image>
        </view>

        <view class="projectsee">
            <view class="projectnum">浏览12万</view>
            <view class="projectmoney">免费</view>
        </view>
    </view> -->

</view>
</view>