find.wxml 6.9 KB
<view class="swiper_image">
  <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange" circular="true">
    <block wx:for="{{imgUrls}}" wx:key="doct">
      <swiper-item>
        <image src="{{item.image}}" data-index='{{index}}' 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 class="middlehead" bindtap="everyjiu">
  <view class="rilihead">
    <view class="rili">
      <image src="{{url}}aicon_62x.png" mode="aspectFit"></image>
    </view>
    <view class="every">
      <image src="{{url}}aicon_63x.png" mode="aspectFit"></image>
    </view>
  </view>

  <view class="more">
    <view class="moreword">更多</view>
    <view class="moreimg">
      <image src="{{url}}aicon_61x.png"></image>
    </view>
  </view>

</view>
<view class="dayjiu" bindtap="everyjiu">
  <view class="tast" wx:for="{{news}}" wx:key='' catchtap="jumpnewdetail" data-id="{{item.wine_id}}">
    <view class="tastimg">
      <image src="{{item.thumb}}"></image>
    </view>

    <view class="tastcontent">
      <view class="tasttitle">{{item.title}}</view>
      <view class="tasttext">{{item.description}}</view>
    </view>

  </view>
</view>


<view class="wineblock" wx:for="{{list}}" wx:key="">
  <view class="middlehead" bindtap="jump" data-type="{{item.type}}" data-id="{{item.id}}">
    <view class="rilihead">
      <view class="rili">
        <image src="{{item.icon}}" mode="aspectFit"></image>
      </view>
      <view class="jiudan">
        {{item.name}}
      </view>
    </view>

    <view class="more">
      <view class="moreword">更多</view>
      <view class="moreimg">
        <image src="{{url}}aicon_61x.png"></image>
      </view>
    </view>

  </view>
  <view class="winetitle" bindtap='enterdetail' data-id="{{item.article.id}}" data-type="{{item.type}}" data-winemaker_id="{{item.article.winemaker_id}}">{{item.article.title}}</view>



  <view class="wineimg" wx:if="{{item.type==2}}" data-url="{{item.article.video}}" catchtap='entervideo' bindtap='enterdetail' data-id="{{item.article.id}}" data-type="{{item.type}}">
    <image src="{{item.article.video_image}}"></image>

    <view class="vioimg">
      <image src="{{url}}/aicon_70x.png"></image>
    </view>
  </view>
  <view class="wineimg" wx:else bindtap='enterdetail' data-id="{{item.article.id}}" data-type="{{item.type}}" data-winemaker_id="{{item.article.winemaker_id}}">
    <image src="{{item.article.thumb}}"></image>
  </view>


  <view class="winebottom">
    <view class="winebottomleft">
      <view class="winebottomleftimg">
        <image src="{{item.article.avatar}}"></image>
      </view>
      <view class="wineeng">{{item.article.name}}</view>
    </view>
    <view class="winebottonright">

      <view class="winerighttou">
        <view class="winerighttouimg" catchtap='dianzan' data-userid="{{item.article.user_id}}" data-type="{{item.type}}" data-id="{{item.article.id}}" data-winemaker_id="{{item.article.winemaker_id}}">
          <image src="{{url}}aicon_71x.png" wx:if="{{item.article.is_good==1}}"></image>
          <image src="{{url}}aicon_66x.png" wx:else></image>

        </view>
        <view class="winezan">{{item.article.good_count}}</view>
      </view>
      <view class="winerighttou" bindtap="ping" data-id="{{item.article.id}}" data-type="{{item.type}}" data-winemaker_id="{{item.article.winemaker_id}}">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_67x.png"></image>
        </view>
        <view class="winezan">{{item.article.comment_count}}</view>
      </view>

      <view class="winerighttou">
        <view class="winerighttouimg" catchtap='share'>
          <image src="{{url}}aicon_68x.png"></image>
          <button class="lj_share" bindtap="buildshare" open-type='share' data-id="{{item.article.id}}" data-type="{{item.type}}" data-winemaker_id="{{item.article.winemaker_id}}"></button>
        </view>


      </view>
    </view>

  </view>

</view>
<!-- <view class="wineblock">
  <view class="middlehead">
    <view class="rilihead">
      <view class="pin">
        <image src="{{url}}aicon_69x.png"></image>
      </view>
      <view class="jiudan">
       专家品酒
      </view>
    </view>

    <view class="more">
      <view class="moreword">更多</view>
      <view class="moreimg">
        <image src="{{url}}aicon_61x.png"></image>
      </view>
    </view>

  </view>
  <view class="winetitle">浓香酒酿酒大师:沈才宏</view>

  <view class="wineimg">
    <image src="{{url}}aicon_64.png"></image>
  </view>

  <view class="winebottom">
    <view class="winebottomleft">
      <view class="winebottomleftimg">
        <image src="{{url}}aicon_65x.png"></image>
      </view>
      <view class="wineeng">WinesBook</view>
    </view>
    <view class="winebottonright">

      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_66x.png"></image>
        </view>
        <view class="winezan">18</view>
      </view>
      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_67x.png"></image>
        </view>
        <view class="winezan">54</view>
      </view>

      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_68x.png"></image>
        </view>

      </view>
    </view>

  </view>

</view>

<view class="wineblock">
  <view class="middlehead">
    <view class="rilihead">
      <view class="rili">
        <image src="{{url}}aicon_72x.png"></image>
      </view>
      <view class="jiudan">
       酿酒大师
      </view>
    </view>

    <view class="more">
      <view class="moreword">更多</view>
      <view class="moreimg">
        <image src="{{url}}aicon_61x.png"></image>
      </view>
    </view>

  </view>
  <view class="winetitle">浓香酒酿酒大师:沈才宏</view>

  <view class="wineimg">
    <image src="{{url}}aicon_64.png"></image>
  </view>

  <view class="winebottom">
    <view class="winebottomleft">
      <view class="winebottomleftimg">
        <image src="{{url}}aicon_65x.png"></image>
      </view>
      <view class="wineeng">WinesBook</view>
    </view>
    <view class="winebottonright">

      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_66x.png"></image>
        </view>
        <view class="winezan">18</view>
      </view>
      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_67x.png"></image>
        </view>
        <view class="winezan">54</view>
      </view>

      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_68x.png"></image>
        </view>

      </view>
    </view>

  </view>

</view> -->