<view wx:if="{{showPage}}">
  <view class='coupons'>
    <view class="coupons-body">
      <view class='banner'>
        <image src='{{data.coverImg}}'></image>
      </view>
      <view class='coupons_info' style='position:relative;z-index:9'>
        <view class='fenxiang'>
          <image class="fenxiang" src='{{fenxiangUrl}}' mode="widthFix"></image>
          <button class='share user-motto' data-id='{{data.id}}' data-couponId='{{data.couponId}}' data-title='{{data.title}}' id="shareBtn" open-type="share" hover-class="other-button-hover"></button>
        </view>
        <view>
          <text class='title'>{{data.title}}</text>
          <text class="subTitle">{{data.subTitle}}</text>
          <view class='salePriceStr clearfix'>
            <view class="fl">售价:
              <text class="pri01">{{data.salePriceStr}}</text>
              <text class="yuan">元</text>
              <text class='throgh' wx:if="{{data.unit==0}}">{{data.priceStr}}元</text>
              <text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text>
            </view>
            <text class="restNum fr">剩余<text>{{data.remainInventory}}件</text></text>
          </view>
          <view class='rest' wx:if="{{data.validType==2}}">有效期:自领取之日起
            <text class='time'>{{validDays}}</text>天内有效</view>
          <view class='rest' wx:if="{{data.validType==1}}">有效期：
            <text class='time'>{{validStartDate}}至{{validEndDate}}</text>
          </view>
          <view class='rest' wx:if="{{data.type==5}}">
            <text class='time'>当次有效</text>
          </view>
          <view class='rest' wx:if="{{data.type==1}}">
            <text class='txt01'>使用条件：</text>
            <text class='time'>满{{data.usePriceStr}}元可用</text>
          </view>
          <view class='rest'>
            <text class='txt01'>限购条件：</text>
            <text class='time'>每人{{data.useLimitQuantity}}张</text>
          </view>
        </view>
      </view>
      <view class='posi'>
        <view class='posi_logo' wx:for="{{data.merchantVoList}}" wx:key="index">
          <view>
            <image src='{{item.merchantImgUrl}}'></image>
          </view>
          <view>
            <text>{{item.merchantName}}</text>
            <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
          </view>
          <image bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
        </view>
      </view>
      <view class='notes'>
        <view>
          <text>购买须知</text>
        </view>
        <view>
          <text><text class='spot'></text>{{data.remark}}</text>
        </view>
      </view>
    </view>
  </view>
</view>