| <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="detail_section"> | 
|     <view class="detail_content"> | 
|       <view class="detail_top"> | 
|         <view class="detail-group"> | 
|           <view class='iprice detail_iprice'>¥{{goodsInfo.price}}</view> | 
|           <view class='grey original_iprice' wx:if="{{goodsInfo.markedPrice != null}}">¥{{goodsInfo.markedPrice}}</view> | 
|           <view class="share" bind:tap="share"> | 
|             <image src="/image/share.png"></image> | 
|           </view> | 
|           <!-- <button open-type="share" class="share"><image src="/image/share.png"></image></button> --> | 
|   | 
|         </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="detail_middle"> | 
|       <view class="couple"> | 
|        <!--  | 
|         <view class='firms'> | 
|           <view class='threeblack'>促销活动</view> | 
|           <view class='couple_right'> | 
|             <view wx:if="{{activity.length>0}}"> | 
|               <block wx:for="{{activity}}"> | 
|                 <text style="margin-right:20rpx;" class="coupon-lable">{{item.cname}}</text> | 
|               </block> | 
|             </view> | 
|           </view> | 
|         </view> | 
|   | 
|         <view class='couple-list' wx:if="{{couponList.length!=0}}" bind:tap="couple"> | 
|           <text class='threeblack'>领券</text> | 
|           <view class='couple_right'> | 
|   | 
|             <view class='couple_icon' wx:for="{{couponList}}" wx:if="{{index<2}}" wx:key="ids"> | 
|               <view class='price'>{{item.offsetAmount}}元</view> | 
|               <image wx:if="{{index<2}}" src='/image/pocon.png' class='couple-image'></image>  | 
|             </view> | 
|   | 
|           </view> | 
|           <view class=" iconfont icon-youbian"></view> | 
|         </view> | 
|         --> | 
|   | 
|         <view class='firms' bind:tap="showNorms"> | 
|           <view class='threeblack'>规格</view> | 
|           <view class='couple_right'> | 
|             <text>{{specification}}</text> | 
|             <view class=" iconfont icon-youbian"></view> | 
|           </view> | 
|         </view> | 
|       </view> | 
| <!--  | 
|       <view class='evaluate_container' wx:if="{{evaluateNum>0}}"> | 
|         <view class='evaluate_box grey'> | 
|           <view class="product_eval" data-id="{{goodsInfo.id}}" bind:tap="evaluate"> | 
|             <view class='threeblack eval_text'>商品评价({{evaluateNum}})</view> | 
|             <view class="all"> | 
|               <text>查看全部</text> | 
|               <text class='iconfont icon-youbian'></text> | 
|             </view> | 
|           </view> | 
|           <view class="evaluate_detail" wx:for="{{evaluateList}}" wx:for-item="evaluate"> | 
|             <view> | 
|               <view class="evaluate-info"> | 
|                 <image src='{{evaluate.avatarUrl}}' class="avatarUrl"></image> | 
|                 <view class='user_name'>{{evaluate.nickName}}</view> | 
|               </view> | 
|               <view class='star'> | 
|                 <image class='stars' bindtap="changeColor" data-index='{{index}}' data-value="{{item}}" wx:for-index="id" wx:for-item="star" wx:for="{{stardata}}" wx:key="ids" src="{{evaluate.comScore>=star? '/image/star1.png': '/image/star2.png'}}" /> | 
|               </view> | 
|               <text>{{evaluate.dateToStrTime}}</text> | 
|             </view> | 
|             <text class='status' wx:if="{{evaluate.comContent != ''}}">{{evaluate.comContent}}</text> | 
|             <text class='status' wx:else>默认好评</text> | 
|           </view> | 
|         </view> | 
|       </view> | 
|       <view class='evaluate_container' wx:else> | 
|         <view class='evaluate_box grey'> | 
|           <view class="product_eval" data-id="{{goodsInfo.id}}"> | 
|             <view class='threeblack eval_text'>暂无评价</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) && goodsInfo.isPrescription !=1}}"> | 
|   <!--  <view class='service'> | 
|       <view class='contact_list'> | 
|         <button open-type='contact' send-message-title="{{title}}" send-message-img="{{imgSrc}}" show-message-card="true" send-message-path="../details/details?id={{id}}&&isShare=1"> | 
|           <view class="iconfont icon-kefu1"></view> | 
|           客服 | 
|         </button> | 
|       </view> | 
|     </view> | 
|   | 
|     <view wx:if="{{!checkCollect}}" class='detail_collected' bindtap='collect'> | 
|       <view class="iconfont icon-soucang"></view> | 
|       <text>收藏</text> | 
|     </view> | 
|   | 
|     <view wx:else class='detail_collected' bindtap='cancel'> | 
|       <view class="iconfont icon-shoucang"></view> | 
|       <text>收藏</text> | 
|     </view> --> | 
|     <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 && goodsInfo.isService==2 }}" class='detail_cart detail_pay' bindtap='buy'>立刻购买</view> | 
|      <view wx:if="{{goodsInfo.stockNum>0 && goodsInfo.isService==1 }}" class='detail_cart detail_pay' bindtap='yuyue'>预约</view> | 
|      | 
|     <view wx:if="{{goodsInfo.stockNum<1}}" class='detail_cart detail_pay'>已售罄</view> | 
|   </view> | 
|   | 
|   | 
|   <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'>¥{{item.price}}</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> |