|
|
@@ -6,7 +6,7 @@ |
|
|
|
<swiper class="index-slide" bindchange="swiperChange" indicator-dots="true" autoplay="true" circular="false" current="{{swiperCurrent}}"> |
|
|
|
<block wx:for="{{coverPicture}}" wx:key="unique"> |
|
|
|
<swiper-item> |
|
|
|
<image data-data="{{item}}" src="{{item}}" class="index-slide-image" /> |
|
|
|
<image data-data="{{item}}" src="{{item}}" class="index-slide-image" /> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
@@ -77,7 +77,8 @@ |
|
|
|
<text class='time'>满{{data.usePriceStr}}元可用</text> |
|
|
|
</view> |
|
|
|
<view class='rest'> |
|
|
|
<text class='txt01'>限购条件:</text><text class='time'>每人限购{{data.useLimitQuantity}}张</text> |
|
|
|
<text class='txt01'>限购条件:</text> |
|
|
|
<text class='time'>每人限购{{data.useLimitQuantity}}张</text> |
|
|
|
<text class='timess' wx:if='{{limitCondition==1}}'>(仅限新用户活动)</text> |
|
|
|
<text class='timess' wx:if='{{limitCondition==2&&(minLimit||minLimit==0)&&maxLimit}}'>({{minLimit}}-{{maxLimit}}成长值)</text> |
|
|
|
<text class='timess' wx:if='{{limitCondition==2&&minLimit&&!maxLimit}}'>(大于{{minLimit}}成长值)</text> |
|
|
@@ -86,11 +87,11 @@ |
|
|
|
</view> |
|
|
|
<view class='applyshop'>适用门店</view> |
|
|
|
<view class='posi' style='overflow:{{hidden}};height:{{height}}'> |
|
|
|
<view class='posi_logo' wx:for="{{data.merchantVoList}}" wx:key="index" bindtap='gotoDetail' data-id='{{item.id}}'> |
|
|
|
<view> |
|
|
|
<view class='posi_logo' wx:for="{{data.merchantVoList}}" wx:key="index"> |
|
|
|
<view bindtap='gotoDetail' data-id='{{item.id}}'> |
|
|
|
<image src='{{item.merchantImgUrl}}'></image> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view bindtap='gotoDetail' data-id='{{item.id}}'> |
|
|
|
<text>{{item.merchantName}}</text> |
|
|
|
<view class='shopVoList'> |
|
|
|
<view wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="itemName"> |
|
|
@@ -133,7 +134,7 @@ |
|
|
|
</view> |
|
|
|
</form> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view wx:if="{{data.remainInventory!=0&&data.type==8}}" class="btns clearfix" hover-class="none" hover-stop-propagation="false"> |
|
|
|
<button class='goback' bindtap='goback'> |
|
|
|
<image src='{{wmhome}}' mode="widthFix"></image> |
|
|
@@ -145,7 +146,7 @@ |
|
|
|
</button> |
|
|
|
</form> |
|
|
|
<form bindsubmit="inviteFriend" report-submit='true' class="fr"> |
|
|
|
<button form-type="submit" style='background:transparent;color:#fff;font-size:32rpx;line-height:91rpx;' disabled='{{showbutton1}}'> |
|
|
|
<button form-type="submit" style='background:transparent;color:#fff;font-size:32rpx;line-height:91rpx;' disabled='{{showbutton1}}'> |
|
|
|
发起砍价 |
|
|
|
</button> |
|
|
|
</form> |
|
|
@@ -198,18 +199,18 @@ |
|
|
|
</view> |
|
|
|
<!-- 分享弹框 --> |
|
|
|
<!-- <c-shareposter bind:myevent="" class="business" couponChannelId="{{data.id}}" wx:if="{{isshowposter}}"/> --> |
|
|
|
<!-- 分享弹框 --> |
|
|
|
<view class='modal' wx:if="{{isshowposter}}" bindtap='hidemodal'> |
|
|
|
<view class='modal-content'> |
|
|
|
<view> |
|
|
|
<button class='share user-motto' data-id='{{data.id}}' data-couponId='{{data.couponId}}' data-title='{{data.title}}' id="shareBtn" open-type="share" hover-class="other-button-hover"></button> |
|
|
|
<image src='./../../../assets/images/wechat.png' mode='aspectFit'></image> |
|
|
|
<text>微信好友</text> |
|
|
|
</view> |
|
|
|
<view bindtap='showPoster'> |
|
|
|
<image src='./../../../assets/images/picture.png' mode='aspectFit'></image> |
|
|
|
<text>生成海报</text> |
|
|
|
</view> |
|
|
|
<!-- 分享弹框 --> |
|
|
|
<view class='modal' wx:if="{{isshowposter}}" bindtap='hidemodal'> |
|
|
|
<view class='modal-content'> |
|
|
|
<view> |
|
|
|
<button class='share user-motto' data-id='{{data.id}}' data-couponId='{{data.couponId}}' data-title='{{data.title}}' id="shareBtn" open-type="share" hover-class="other-button-hover"></button> |
|
|
|
<image src='./../../../assets/images/wechat.png' mode='aspectFit'></image> |
|
|
|
<text>微信好友</text> |
|
|
|
</view> |
|
|
|
<view bindtap='showPoster'> |
|
|
|
<image src='./../../../assets/images/picture.png' mode='aspectFit'></image> |
|
|
|
<text>生成海报</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |