<!--packageH/newRetail/newRetailRetailLink/newRetailRetailLink.wxml-->
<view id="newRetail-retailLink" wx:if="{{isShowPage}}">
    <view class="main">
      <view class="ewm-bg">
        <image class="img-box" src="{{info.small_url}}" alt="" />
      </view>
      <view class="btn-box">
        <view class="btn-child" catchtap="saveImg">保存二维码</view>
        <view class="btn-child red-color" >分享好友
          <button style="position:absolute;width:100%;height:100%;opacity:0;top: 0;right: 0;" open-type="share"></button>
        </view>
      </view>
    </view>
    <div class="remaining-time" wx:if="{{info.remaining_time}}">等待支付，剩余时间
      <van-count-down time="{{remaining_time}}" wx:if="{{remaining_time > 0}}" />
      <view wx:else >00:00:00</view>
    </div>
    <view class="order-box">
      <view class="box-title">包含商品</view>
      <view class="good-info" wx:for="{{info.goods}}" wx:for-item="good">
        <image class="good-img" src="{{good.goods_thumb}}" alt="" />
        <view class="goods-main">
          <view class="good-title">{{ good.goods_title }}</view>
          <view class="good-other">
            <view class="goods-sku">
              <block wx:if="{{good.goods_option}}">规格：{{ good.option_title }}</block> X{{ good.goods_num }}
            </view>
            <view class="good-num">￥{{ good.goods_price }}</view>
          </view>
        </view>
      </view>
      <view class="order-price">
        合计：
        <view class="order-price-red">{{ info.money }}元</view>
      </view>
    </view>
    <view style="height:4rem;"></view>
  </view>
