<!--pages/spellDetail/index.wxml-->
<navbar back home text="拼团券" background='#fff'></navbar>
<view style="height:{{navigationBarHeight}} "></view>
<view class='container'  >
   <!-- 拼团产品详情 -->
  <view class='detail'>
    <view class='detail-top'>
      <view class='detail-top01'>
        <image src='{{data.coverImg}}' mode="aspectFill"></image>
      </view>
      <view class='detail-top02'>
        <view class='title'>{{data.title}}</view>
        <view class='des'>{{data.subTitle}}</view>
      </view>
      <view class='detail-top03'>
        <view class='detail-p-price'>{{data.salePrice/100}}元</view>
        <view class='detail-p-name'>拼团价</view>
      </view>
    </view>
    <image class="frImg" wx:if="{{data.status == 0}}" src="{{blueImg}}" mode="aspectFill" lazy-load="true"><text>去支付</text></image>
  </view>

  <!-- 拼团订单信息 -->
  <view class='order'>
    <view class='order-list'>
      <view class='order-title'>订单编号：</view>
      <view class='order-text'>{{paramData.orderId}}</view>
    </view>
  </view>
  <view class='edit'>
    <button class='user-motto' bindtap='gotoPay' disabled="{{disabled}}">去支付</button>
  </view>
  <view class='al-bg' wx:if='{{showErr}}'></view>
  <view class='al-content' wx:if='{{showErr}}'>
    <view class='al-top'>
      <image src='{{orderGroupFail}}' mode="widthFix"></image>
    </view>
    <view class='al-center'>您的拼团未成功，退款将在24小时内返回到您的支付账号</view>
    <view class='al-bottom' bindtap='gotoIndex'>返回首页</view>
  </view>
</view>
