history.wxml 7.0 KB
<view class="pinglunlist">
  <view class='top_tab'>
    <scroll-view class='tab_box' scroll-left="{{navScrollLeft}}" scroll-x='true' scroll-with-animation='true'>
      <block wx:for="{{tabList}}" wx:key=''>
        <view class="tab_item {{selectindex == index?'active':''}}" data-current='{{item.url}}' bindtap='tabCharge' data-index='{{index}}' data-beau="0">{{item.name}}</view>
      </block>
    </scroll-view>
  </view>
  <view class='comment_list'>
    <!-- <view class="pinglunitem" wx:for='{{list}}' wx:key=''>
      <view class="pinglunitemleft">
        <view class="leftimg">
          <image src="{{item.avatar}}"></image>
        </view>
        <view class="pinglunright">
          <view class="righttop">{{item.user_nickname}}</view>
          <view class="rightbottom">{{item.create_time}}</view>
        </view>
        <view class='eidt {{item.checked?"choose":""}}' bindtap='choose' id='{{index}}' data-chooseId='{{item.id}}' wx:if='{{edit}}'>
          <image src='/img/pinglun_xz.png'></image>
        </view>
      </view>
      <view class="pinglunmiddle">
        {{item.content}}
      </view>
      <view class="pinglunbottom">
        <view class="pingbottomleft">
          <image src="{{item.article.thumb}}"></image>
        </view>
        <view class='pingbottomright'>
          <view class='xinxi'>{{item.article.title}}</view>
          <view class="biangjiubottom">
            <view class='rightbottomimg'>
              <image src='{{item.article.avatar}}'></image>
            </view>
            <text class="niangjiutext">{{item.article.name}}</text>
          </view>
        </view>
      </view>
    </view> -->
    <view class="zhinengbox" wx:if='{{selectindex==0}}'>
      <view class="searchitem" wx:for='{{list}}' wx:key=''>
        <view class="searchitemleft">
          <view class="itemleftimg">
            <image src="{{item.logo}}" mode='widthFix'></image>
          </view>
          <view class="itemiddle">
            <view class="itemidelename">{{item.name}}</view>
            <view class="nambottom">
              <text class="namebottomitem">{{item.sort_name}}</text>
              <text class="namebottomitem">{{item.country}}</text>
              <text class="namebottomitem">{{item.city}}</text>
              <text class="namebottomitem">{{item.odor_name}}</text>
            </view>
          </view>
        </view>

        <view class="starimg">
          <!-- aicon_010x.png -->
          <image src="{{item.is_favorite==0?'/img/aicon_09.png':'/img/aicon_10.png'}}"></image>
        </view>

      </view>
    </view>
    <view class="zhinengbox winebrand" wx:if='{{selectindex==1}}'>
      <view class="searchitem" wx:for='{{list}}' wx:key=''>
        <view class="searchitemleft">
          <view class="itemleftimg">
            <image src="{{item.logo}}"></image>
          </view>
          <view class="itemiddle">
            <view class="itemidelename">{{item.name}}</view>
            <view class="nambottom">
              <text class="namebottomitem">{{item.degree_name}}</text>
              <text class="namebottomitem">{{item.odor_name}}</text>
              <text class="namebottomitem">{{item.price}}</text>
              <text class="namebottomitem">{{item.ml}}</text>
            </view>
          </view>
        </view>
        <view class="starimg">
          <!-- aicon_010x.png -->
          <image src="{{item.is_favorite==0?'/img/aicon_09.png':'/img/aicon_10.png'}}"></image>
        </view>
      </view>
    </view>
    <!-- 酒企 -->
    <view class="zhinengbox winebrand" wx:if='{{selectindex==2}}'>
      <view class="searchitem" wx:for='{{list}}' wx:key=''>
        <view class="searchitemleft">
          <view class="itemleftimg">
            <image src="{{item.logo}}"></image>
          </view>
          <view class="itemiddle">
            <view class="itemidelename">{{item.name}}</view>
            <view class="nambottom">
              <text class="namebottomitem">{{item.country}}</text>
              <text class="namebottomitem">{{item.city}}</text>
              <text class="namebottomitem">{{item.sort_name}}</text>
              <text class="namebottomitem">{{item.concern_count}}</text>
            </view>
          </view>
        </view>
        <!-- <view class="starimg"> -->
        <!-- aicon_010x.png -->
        <!-- <image src="{{item.is_favorite==0?'/img/aicon_09.png':'/img/aicon_10.png'}}"></image> -->
        <view class='focus_btn {{item.is_concern==0?"":"active"}}'>
          已关注
        </view>
        <!-- </view> -->
      </view>
    </view>

    <view class='wine_list' wx:if='{{selectindex==3}}' bindtap='closeShareAction'>
      <view class='list_item' wx:for='{{list}}' wx:key=''>
        <view class='img_box'>
          <image src='{{item.thumb}}' mode='widthFix'></image>
        </view>
        <view class='wine_title'>{{item.title}}</view>
        <view class='wine_name'>{{item.user_nickname}}</view>
        <view class='wine_leavel'>lv{{item.level}}</view>
        <view class='action_box'>
          <view class='single_action'>
            <view class='zan_icon'>
              <image src='{{!item.is_good?"/img/aicon_47.png":"/img/aicon_46.png"}}' mode='widthFix'></image>
            </view>
            {{item.good_count}}
          </view>
          <view class='single_action'>
            <view class='zan_icon'>
              <image src='/img/aicon_67.png' mode='widthFix'></image>
            </view>
            {{item.comment_count}}
          </view>
          <view class='single_action {{item.show?"active":""}}' catchtap='shareAction' id='{{index}}'>
            <image src='/img/gengduo.png' mode='widthFix' class='moreIcon'></image>
            <view class='min_action_box'>
              <view class='action_btn {{item.is_favorite?"active":""}}'>{{!item.is_favorite?"收藏":"已收藏"}}</view>
              <view class='action_btn'>分享 <button open-type='share'></button></view>
            </view>
          </view>
        </view>
      </view>
      <!-- <view class='list_item'>
        <view class='img_box'>
          <image src='/img/aicon_65.png'></image>
        </view>
        <view class='wine_title'>万丈红尘一人醉</view>
        <view class='wine_name'>唐国强</view>
        <view class='wine_leavel'>lv12</view>
        <view class='action_box'>
          <view class='single_action'>
            <view class='zan_icon'>
              <image src='/img/aicon_47.png' mode='widthFix'></image>
            </view>
            618
          </view>
          <view class='single_action'>
            <view class='zan_icon'>
              <image src='/img/aicon_67.png' mode='widthFix'></image>
            </view>
            54
          </view>
          <view class='single_action'>
            <image src='/img/gengduo.png' mode='widthFix' class='more'></image>
            
          </view>
        </view>
      </view> -->
    </view>
    <view class='showall' wx:if='{{noMore&&noData}}'>已显示全部内容</view>
  </view>
</view>

<view class='noData' wx:if='{{!noData}}'>
  暂无相关数据
</view>