|
|
@@ -1,5 +1,16 @@
|
|
|
<import src="../../../utils/wxParse/wxParse.wxml"/>
|
|
|
<view class="app detail-bg">
|
|
|
+ <view class="sharetips" bindtap="sharetips" wx:if="{{showsharetips}}">
|
|
|
+ <view class="sharetips-triangle"></view>
|
|
|
+ <view class="sharetips-txt">请点击右上角选择分享到朋友圈</view>
|
|
|
+ </view>
|
|
|
+ <view class="toolBox">
|
|
|
+ <button open-type="share" class="toolBox-item" wx:if="{{readOnly != 1}}">
|
|
|
+ <image src="../../../images/footer/wx.png" />
|
|
|
+ </button>
|
|
|
+ <button class="toolBox-item" bindtap="toTop" wx:if="{{backTopValue}}"><image src="../../../images/footer/totop.png" /></button>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="detail-green" wx:if="{{project.is_support_poor === 1}}"></view>
|
|
|
<view class="detail-info">
|
|
|
<swiper indicator-dots="{{indicatorDots}}"
|
|
|
@@ -29,7 +40,7 @@
|
|
|
</view>
|
|
|
|
|
|
<h3 class="detail-width detail-title"><i wx:if="{{project.pv < project.price}}" style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">特惠</i>{{project.name}}</h3>
|
|
|
- <button open-type="share" class="sharebtn" wx:if="{{readOnly != 1}}"><image src="../../../images/footer/share.png" /><text>分享</text></button>
|
|
|
+ <button bindtap="sharetips" class="sharebtn" wx:if="{{readOnly != 1}}"><image src="../../../images/footer/pyq.png" /><text>分享到朋友圈</text></button>
|
|
|
<!--<view class="detail-width">
|
|
|
<text class="detail-normal detail-mr">价格</text>
|
|
|
<currency symbol="¥" value="{{project.price}}" class="detail-price"></currency>
|
|
|
@@ -191,11 +202,16 @@
|
|
|
<button class="detail-footer-item detail-yellow" bindtap="toCart" wx:if="{{!project.is_deliver &&project.left_count > 0 && project.seckill_state !='end'}}">
|
|
|
<text>加入购物车</text>
|
|
|
</button>
|
|
|
- <form bindsubmit="toPay" report-submit="{{true}}" wx:if="{{!project.is_deliver &&project.left_count > 0 && project.seckill_state !='end'}}" class="detail-footer-item">
|
|
|
+ <form bindsubmit="toPay" report-submit="{{true}}" wx:if="{{!project.is_deliver &&project.left_count > 0 && (project.seckill_state !='end' && project.seckill_state !='preparing')}}" class="detail-footer-item">
|
|
|
<button class=" detail-red" formType="submit">
|
|
|
立即购买
|
|
|
</button>
|
|
|
</form>
|
|
|
+ <form wx:if="{{!project.is_deliver &&project.left_count > 0 && project.seckill_state =='preparing'}}" class="detail-footer-item">
|
|
|
+ <button class="detail-red" disabled="disabled" style="background: #ccc !important;color: #FFF !important;">
|
|
|
+ 秒杀尚未开始
|
|
|
+ </button>
|
|
|
+ </form>
|
|
|
<form wx:if="{{!project.is_deliver &&project.left_count > 0 && project.seckill_state =='end'}}" class="detail-footer-item">
|
|
|
<button class="detail-red" disabled="disabled" style="background: #ccc !important;color: #FFF !important;">
|
|
|
秒杀已结束
|