| <view class="detail_container"> | 
|   <swiper indicator-dots="true" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-active-color='#00C085' indicator-color='#BDD8D0'> | 
|     <block wx:for="{{imgUrls}}" wx:key="key"> | 
|       <swiper-item> | 
|         <image src="{{item.imgPath}}" class="slide-image" bind:tap="onSwiperEvent" data-id="{{item.id}}" data-index="{{index}}" mode="widthFix"></image> | 
|       </swiper-item> | 
|     </block> | 
|   </swiper> | 
|   | 
|   <view class="djs"> | 
|     <text class="js">拼团</text> | 
|     <view class="time"> | 
|       <view>距结束仅剩</view> | 
|       <view>{{djs.day}}天{{djs.hour}}时{{djs.minute}}分{{djs.second}}秒</view>  | 
|     </view> | 
|   </view> | 
|   | 
|   <view class="detail_section"> | 
|     <view class="detail_content"> | 
|       <view class="detail_top"> | 
|         <view class="detail-group"> | 
|           <view class='iprice detail_iprice'>¥{{currentGrooupPrice.gpPrice}} </view> | 
|            | 
|           <view class="groupNum">{{currentGrooupPrice.gpCount}}人团</view> | 
|           <view class='grey original_iprice'  >¥{{goodsInfo.price}}</view> | 
|           <view class="share" bind:tap="share"> | 
|             <image src="/image/share.png"></image> | 
|           </view> | 
|         </view> | 
|         <view class="detail_info"> | 
|           <view class="detail_name threeblack">{{goodsInfo.title}}</view> | 
|           <view class='grey'>月销:{{goodsInfo.dsVolume}}</view> | 
|         </view> | 
|         <view class='grey explain'>{{goodsInfo.briefIntroduction}}</view> | 
|       </view> | 
|     </view> | 
|   | 
|     <view class='item-line ' wx:if="{{showModel==1}}"> | 
|       <view class='fl color-gray font-12'>拼团类型</view> | 
|       <view class="fr groupNums"> | 
|         <view wx:for="{{groupPriceList}}" wx:key="i" bindtap="changeGroupType"  data-index="{{index}}" class="groupNum {{currentGrooupPriceIndex==index?'active':''}} ">{{item.gpCount}}人团</view> | 
|       </view> | 
|     </view> | 
|   | 
|     <view class="line-weight"></view> | 
|   | 
|     <view class='item-box font-10 ' wx:if="{{showModel==1 && groupList.length>0}}"> | 
|       <view class='item-line'> | 
|         <text class="font-10 fl"> {{groupList.length}}人正在拼团,您可以直接参与</text> | 
|       <!--  | 
|         <navigator url='/pages/groupbuy/allPt' class="font-10 fr color_gray" bindtap="showAllPt"> 查看更多 > </navigator> | 
|       --> | 
|   | 
|       </view> | 
|   | 
|       <view class="cllist  item-line" wx:for="{{groupList}}"> | 
|   | 
|         <view class="slide-item "> | 
|           <image src="{{item.avatarUrl}}" class="headimg" /> | 
|           <text class='name'>{{item.createBy}}</text> | 
|         </view> | 
|   | 
|         <view class="slide-item cllist "> | 
|           <text class='count'>{{item.groupPrice.gpCount}}人团(还差{{item.groupPrice.gpCount-1-item.theLast}}人)</text> | 
|           <navigator > | 
|             <button bindtap="joinBuy" data-gjId="{{item.id}}" size='mini' class="ctbtn">去参团</button> | 
|           </navigator> | 
|         </view> | 
|   | 
|   | 
|       </view> | 
|     </view> | 
|   | 
|   | 
|     <view class='item-line '> | 
|       <view class='fl color-gray font-12'>拼团玩法</view> | 
|       <view class="fr"> | 
|         <text class='font-12 color_gray'>开团/参团>邀请好友参团>人满成团</text> | 
|       </view> | 
|     </view> | 
|   | 
|   | 
|     <!--  组团信息 --> | 
|     <view class="item-box" wx:if="{{showModel==2||showModel==3|| showModel==4|| showModel==5}}"> | 
|       <view class="item-line headDjs "> | 
|         <text>{{ownerGroupInfo.createBy}}发起的拼团</text> | 
|         <text  wx:iff="{{showModel==2}}" >剩余{{ptDjs.hour}}时{{ptDjs.minute}}分{{ptDjs.second}}秒</text> | 
|       </view> | 
|       <view class="cllist  item-line" wx:for="{{joinUserList}}"> | 
|         <view class="slide-item "> | 
|           <image src="{{item.avatarUrl}}" class="headimg" /> | 
|           <text class='name'>{{item.createBy}}</text> | 
|         </view> | 
|         <view class="slide-item cllist "> | 
|           <text class='count'>{{item.createTime}}</text> | 
|         </view> | 
|       </view>  | 
|       <view class="queshi">还差{{ownerGroupInfo.theLast}}人成团</view> | 
|     </view> | 
|   | 
|   | 
|   | 
|     <view class="detail_middle"> | 
|       <view class="couple"> | 
|         <view class='firms' bind:tap="showNorms"> | 
|           <view class='threeblack'>规格</view> | 
|           <view class='couple_right'> | 
|             <text>{{specification}}</text> | 
|             <view class=" iconfont iconright"></view> | 
|           </view> | 
|         </view> | 
|       </view> | 
|   | 
|      | 
|   | 
|       <!-- 图文说明 --> | 
|       <view class='detail_imagetext'> | 
|         <view class='imagetext_box'> | 
|           <block wx:for="{{imagetext}}" wx:key="ids"> | 
|             <view class="imagetext_item {{currentTabsIndex==index?'selected':''}}" bindtap='onTabsItemEvent' data-index="{{index}}"> | 
|               {{item}} | 
|             </view> | 
|           </block> | 
|         </view> | 
|   | 
|         <view class="imagetext_detail_box"> | 
|           <view class="tabs_content" hidden="{{currentTabsIndex!=0}}"> | 
|             <view> | 
|               <rich-text class='price_content' nodes="{{goodsInfo.mobileDetails}}"></rich-text> | 
|             </view> | 
|           </view> | 
|           <view class="tabs_content explain_tabs" hidden="{{currentTabsIndex!=1}}"> | 
|             <view wx:for="{{goodsInfo.params}}" wx:key="ids"> | 
|               <view class='title'>{{item.paramName}}</view> | 
|               <view class='content name'>{{item.paramValue}}</view> | 
|             </view> | 
|   | 
|           </view> | 
|         </view> | 
|       </view> | 
|     </view> | 
|   </view> | 
|   | 
|   <!--下架后进入产品页控制操作 --> | 
|   <view class="detail_footer footer-grey" wx:if="{{goodsInfo.status == 2 || goodsInfo.delFlag == 1}}"> | 
|     <view class='detail_collected' bindtap="goIndex"> | 
|       <view class="iconfont icondianpu"></view> | 
|       <text>店铺</text> | 
|     </view> | 
|     <view class='service'> | 
|       <view class='contact_list'> | 
|         <button open-type='contact'> | 
|           <view class="iconfont iconkefu"></view> | 
|           客服 | 
|         </button> | 
|       </view> | 
|     </view> | 
|   | 
|     <view class='detail_cart detail_pay'>加入购物车</view> | 
|     <view class='detail_buy detail_pay'>已下架</view> | 
|   </view> | 
|   <!--下架后进入产品页控制操作END --> | 
|   | 
|   | 
|   | 
|   <!-- 底部按钮操作栏  --> | 
|   <view class="detail_footer " wx:if="{{goodsInfo.status == 1 && goodsInfo.delFlag == 2}}"> | 
|   | 
|     <view class='detail_collected' bindtap="goIndex"> | 
|       <view class="iconfont icondianpu"></view> | 
|       <text>店铺</text> | 
|     </view> | 
|     <view class='service'> | 
|       <view class='contact_list'> | 
|         <button open-type='contact'> | 
|           <view class="iconfont iconkefu"></view> | 
|           客服 | 
|         </button> | 
|       </view> | 
|     </view> | 
|   | 
|   | 
|     <view wx:if="{{goodsInfo.stockNum>0 && showModel==1 }}"  class='detail_cart detail_pay singer'  | 
|     bindtap='singelBuy' >单独购买</view> | 
|     <view wx:if="{{goodsInfo.stockNum>0 && showModel==1 }}" class='detail_cart detail_pay headBuy' bindtap='groupBuy'> | 
|      | 
|     <view>发起拼团</view> | 
|      <view class="headprice" wx:if="{{currentGrooupPrice.gpHeadPrice}}" >团长价¥{{currentGrooupPrice.gpHeadPrice}} </view> | 
|     </view> | 
|   | 
|   | 
|   | 
|     <button    | 
|     open-type="share" wx:if="{{goodsInfo.stockNum>0 &&   showModel==2  }}" class='detail_cart detail_pay_big cleanbtn btn-center' > | 
|     邀请好友参团</button> | 
|   | 
|      | 
|     <button    bindtap="goOrder"   wx:if="{{goodsInfo.stockNum>0 &&   showModel==5 }}" class='detail_cart detail_pay_big cleanbtn btn-center' > | 
|     立刻支付</button> | 
|   | 
|   | 
|   | 
|   | 
|     <view wx:if="{{goodsInfo.stockNum>0 &&   showModel==3 }}" class='detail_cart detail_pay_big' bindtap='groupBuy'>和他TA组团</view> | 
|   | 
|   | 
|     <view wx:if="{{showModel==4 }}" class='detail_cart detail_pay_over'  >拼团结束</view> | 
|   | 
|   | 
|     <view wx:if="{{goodsInfo.stockNum<1}}" class='detail_cart detail_pay'>已售罄</view> | 
|   | 
|   | 
|   </view> | 
|  <!-- 底部按钮操作栏end  --> | 
|   | 
|   | 
|   | 
|   | 
|   <view class="detail_couple"> | 
|     <view class='detail_coupon'></view> | 
|   </view> | 
|   | 
|   <!--\\\\\\\\\\\\\\\\\\\\\\\\\\\\\规格选择\\\\\\\\\\\\\\\\\   --> | 
|   <view class='popup-container' wx:if="{{normspopup}}"> | 
|     <view class='popup' bind:tap="popupTap"></view> | 
|     <view class='norms-container'> | 
|       <view class="norms-list"> | 
|         <view> | 
|           <view class='norms-detail'> | 
|             <block wx:for="{{normsList}}" wx:key="ids"> | 
|               <view class='norms-item' hidden="{{currentIndex!=index}}"> | 
|                 <image src='{{item.imgPath}}'></image> | 
|                 <view class='norms-content'> | 
|                   <text class='title'>{{goodsInfo.title}}</text> | 
|                   <text class='stock grey'>库存:{{item.stock}}</text> | 
|                   <text class='price'>¥{{currentGrooupPrice.gpPrice}}</text> | 
|                 </view> | 
|               </view> | 
|             </block> | 
|             <view class='close iconfont icon-quxiao' bind:tap="cancelNorms"></view> | 
|           </view> | 
|         </view> | 
|         <view class='norms-select'> | 
|           <text class='threeblack'>规格</text> | 
|           <view> | 
|             <view class='norms-box'> | 
|               <block wx:for="{{normsList}}" wx:key="ids"> | 
|                 <view class='norms-box-item {{currentIndex == index?"selectedNorms":""}}' bindtap="norms" data-index="{{index}}" data-value="{{item.name}}" data-price="{{item.price}}" data-id="{{item.id}}">{{item.name}}</view> | 
|               </block> | 
|             </view> | 
|           </view> | 
|         </view> | 
|   | 
|         <view class='norms-number'> | 
|           <text class='threeblack'>数量</text> | 
|           <view class="cart-count-box"> | 
|             <!-- iconfont icon-jian --> | 
|             <view class="cart-count-down " bindtap="minusCount" data-obj="{{obj}}" data-index="{{index}}"> | 
|               <image src='/image/jian.png'></image> | 
|             </view> | 
|   | 
|             <text class="cart-count-num">{{num}}</text> | 
|             <view class="cart-count-add" bindtap="addCount" data-index="{{index}}"> | 
|               <image src='/image/jia.png'></image> | 
|             </view> | 
|           </view> | 
|         </view> | 
|       </view> | 
|       <view class='norms-footer'> | 
|         <view class='norms-join' bindtap='buy'>立刻购买</view> | 
|       </view> | 
|     </view> | 
|   </view> | 
|   <!--\\\\\\\\\\\\\\\\\\\\\\\\\\\\\规格选择END\\\\\\\\\\\\\\\\\   --> | 
|   | 
|   <!--\\\\\\\\\\\\\\\\\\\\\\\\\\\\\优惠券\\\\\\\\\\\\\\\\\   --> | 
|   <view class='popup-container' wx:if="{{popup}}"> | 
|     <view class='popup' bind:tap="popupTap"></view> | 
|     <view class='coupons-list'> | 
|   | 
|       <view wx:for="{{couponList}}" wx:key="ids" data-id="{{item.id}}"> | 
|         <view class='coupons  counpons-list'> | 
|           <view class="coupons-explain"> | 
|             <text>满减券</text> | 
|           </view> | 
|           <view class='money'> | 
|             <view class='money-num'> | 
|               <text style='font-size:34rpx'>¥</text> | 
|               <text style='font-size:60rpx'>{{item.offsetAmount}}</text> | 
|             </view> | 
|             <view class='money-info'> | 
|               <text>满{{item.minAmount}}元可用</text> | 
|             </view> | 
|           </view> | 
|   | 
|           <view class='content'> | 
|             <view class="content-title">{{item.cname}}</view> | 
|             <view class='content-info'></view> | 
|             <view class='content-time'>有效期至{{item.endTimeWx}}</view> | 
|           </view> | 
|           <view class='right'> | 
|             <view class='draw radius {{drawIndex==index?"active":""}}' wx:if="{{item.canReceive == 1}}" bindtap="getCoupon" data-value="{{item}}" data-index="{{index}}"> | 
|               <text>立即领取</text> | 
|             </view> | 
|   | 
|             <view wx:else class='draw radius alreadyGet' bindtap="drawevent" data-value="{{item}}" data-index="{{index}}"> | 
|               <text>领取成功</text> | 
|             </view> | 
|           </view> | 
|         </view> | 
|       </view> | 
|     </view> | 
|   </view> | 
| </view> | 
| <!--\\\\\\\\\\\\\\\\\\\\\\\\\\\\\优惠券END\\\\\\\\\\\\\\\\\   --> | 
|   | 
|   | 
| <view class="popup-item" wx:if="{{shareShow}}"> | 
|   <view class='popup' bind:tap="popupTap" wx:if="{{popupShow}}"></view> | 
|   <view class="pupup-bottom popup-content"> | 
|     <view class="share-container"> | 
|       <view class="hr"></view> | 
|       <text class="share-text">分享到</text> | 
|     </view> | 
|     <view class="share-box"> | 
|       <button open-type="share" data-index="{{index}}" bind:tap="popupTap"> | 
|         <image src="/image/wx.png"></image> | 
|         微信 | 
|       </button> | 
|       <view class="card"> | 
|         <form bindsubmit="formSubmit"> | 
|           <button formType="submit" style="width:200rpx;"> | 
|             <image src="/image/tp.png"></image> | 
|             生成卡片 </button> | 
|         </form> | 
|       </view> | 
|   | 
|     </view> | 
|     <view class="cancel padding" bind:tap="popupTap">取消</view> | 
|   </view> | 
| </view> | 
|   | 
|   | 
|   | 
|   | 
|   | 
|   | 
|   | 
| <!-- 回到首页 --> | 
| <view class="index" bind:tap="goIndex" wx:if="{{isShare}}"> | 
|   <image src="/image/goIndex.png"></image> | 
| </view> |