<!--pages/kabaw/viplist.wxml-->
<view class="main">
  <include src='/components/common/common'></include>
<view class="info">
    <image class="bg" src="../../images/bg.png"></image>
    <image src="{{users.avatar_url}}" class="usering" bindtap="gousers"></image>
    <view class="txt userid">{{users.nickname}}</view>
    <view class="txt userlv" style="font-size:12px;">LV:{{is_vip==1?'尊贵会员':levelname}}</view>
    <!-- <view class="go_center" bindtap="bevip" wx:if="{{is_vip!=1}}">
      <view>成为会员</view>
      <image src="../../images/user-integral-arrow.png" class="go"></image>
    </view> -->
    <view class="go_center" bindtap="govip">
      <view>我的会员卡</view>
    </view>
    <view class="go_center" bindtap="gocenter" style="top:58px;">
      <view>卡券中心</view>
    </view>
  </view>
<!-- <view class="sousuo">
  <input class="souinput" bindinput="sou" placeholder="请输入搜索内容"></input>
</view> -->
  <view class="cardlist">
    <view class="cardbox" bindtap="godetail" wx:for="{{mycoupon}}" data-id="{{item.id}}">
      <view class="name">{{item.shop_name}}</view>
      <view class="cardimg">
        <image class="bg" src="{{item.pic_url}}"></image>
        <view class="title" style="background: rgba(0,0,0,0.1);">{{item.title}}</view>
        <!-- <view class="txt" style="background: rgba(0,0,0,0.1);">{{item.shop_name}}</view> -->
      </view>
    </view>
  </view>
  <!-- <view class="more">
    <image class="moreimg" src="../../images/more.png"></image>
    <view>发现更多会员卡</view>
  </view> -->
</view>

<view class="foot">
  <view class="box" bindtap="gokaquan">
    <image src="../../images/kq2.png"></image>
    <view class="name">卡券中心</view>
  </view>
  <view class="box nativ" bindtap="gohuiyuan">
    <image src="../../images/hy2.png"></image>
    <view class="name">会员卡中心</view>
  </view>
</view>