@@ -7,7 +7,7 @@ | |||||
<view bindtap='gotoDetail' data-id='{{item.id}}'> | <view bindtap='gotoDetail' data-id='{{item.id}}'> | ||||
<view class='name'>{{item.merchantName}}</view> | <view class='name'>{{item.merchantName}}</view> | ||||
<view class='shopVoList'> | <view class='shopVoList'> | ||||
<view wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="itemName"> | |||||
<view wx:for="{{item.shopVoList}}" wx:key="index" wx:for-item="itemName"> | |||||
<text>{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text> | <text>{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text> | ||||
<text class='douhao' wx:if="{{item.shopVoList.length>1}}">,</text> | <text class='douhao' wx:if="{{item.shopVoList.length>1}}">,</text> | ||||
</view> | </view> | ||||
@@ -44,7 +44,7 @@ | |||||
<c-banner wx:key="unique" list="{{list}}" /> | <c-banner wx:key="unique" list="{{list}}" /> | ||||
<!-- 频道 --> | <!-- 频道 --> | ||||
<view class="channelBox" wx:if="{{ifStoreApp!=1&&moduleList.length>0}}" style="{{typeLsit.sy_mbg.styleClass}}"> | <view class="channelBox" wx:if="{{ifStoreApp!=1&&moduleList.length>0}}" style="{{typeLsit.sy_mbg.styleClass}}"> | ||||
<view class='kjBox' bindtap='goPage' data-obj="{{item}}" wx:for="{{moduleList}}" wx:key="{{index}}"> | |||||
<view class='kjBox' bindtap='goPage' data-obj="{{item}}" wx:for="{{moduleList}}" wx:key="index"> | |||||
<image src='{{item.icon}}' mode='aspectFill'></image> | <image src='{{item.icon}}' mode='aspectFill'></image> | ||||
<view class="text">{{item.name}}</view> | <view class="text">{{item.name}}</view> | ||||
</view> | </view> | ||||
@@ -8,7 +8,7 @@ | |||||
<view style='float: left;' class='left'> | <view style='float: left;' class='left'> | ||||
<scroll-view scroll-y scroll-with-animation scroll-left="{{scrollLength}}" class='scrollY' style='height: {{windowHeight-160}}px;'> | <scroll-view scroll-y scroll-with-animation scroll-left="{{scrollLength}}" class='scrollY' style='height: {{windowHeight-160}}px;'> | ||||
<view class='all clear'> | <view class='all clear'> | ||||
<block wx:for="{{lists}}" wx:key="{{index}}"> | |||||
<block wx:for="{{lists}}" wx:key="index"> | |||||
<view bindtap='jumpIndex' data-menuindex='{{item.id}}'> | <view bindtap='jumpIndex' data-menuindex='{{item.id}}'> | ||||
<view class="{{indexId==item.id?'text-style':'text-styleHover'}}"> | <view class="{{indexId==item.id?'text-style':'text-styleHover'}}"> | ||||
<text class="{{indexId==item.id?'active1':''}}">{{item.title}}</text> | <text class="{{indexId==item.id?'active1':''}}">{{item.title}}</text> | ||||
@@ -31,7 +31,7 @@ | |||||
<view class='merchantName'>{{item.merchantName}}</view> | <view class='merchantName'>{{item.merchantName}}</view> | ||||
<view class='shopVo'> | <view class='shopVo'> | ||||
<view class='shopVoList'> | <view class='shopVoList'> | ||||
<text wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="itemName">{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text> | |||||
<text wx:for="{{item.shopVoList}}" wx:key="index" wx:for-item="itemName">{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -24,7 +24,7 @@ | |||||
</view> | </view> | ||||
<view class='bottom' bindtap='more' wx:if="{{showMore}}">{{more}}</view> | <view class='bottom' bindtap='more' wx:if="{{showMore}}">{{more}}</view> | ||||
<text class='title' wx:if="{{supportTransfer!=1}}">交易记录</text> | <text class='title' wx:if="{{supportTransfer!=1}}">交易记录</text> | ||||
<view wx:for="{{data}}" wx:key="{{index}}" class='list'> | |||||
<view wx:for="{{data}}" wx:key="index" class='list'> | |||||
<view class='record clearfix record1'> | <view class='record clearfix record1'> | ||||
<text class='fl'>{{item.merchantName}}</text> | <text class='fl'>{{item.merchantName}}</text> | ||||
<text class='fr'>-{{item.deductionAmount/100}}元</text> | <text class='fr'>-{{item.deductionAmount/100}}元</text> | ||||
@@ -26,7 +26,7 @@ | |||||
</view> | </view> | ||||
<view class='contain clearfix'> | <view class='contain clearfix'> | ||||
<!-- 优惠券 --> | <!-- 优惠券 --> | ||||
<navigator wx:for="{{data.coupons}}" wx:key="{{index}}" url="/pages/coupon/detail/index?couponChannelId={{item.id}}&couponId{item.couponId}}"> | |||||
<navigator wx:for="{{data.coupons}}" wx:key="index" url="/pages/coupon/detail/index?couponChannelId={{item.id}}&couponId{item.couponId}}"> | |||||
<!-- 首页优惠券列表页面 --> | <!-- 首页优惠券列表页面 --> | ||||
<view class="coupons1" style="{{mouldConfig.publicitYchildBoxH}}"> | <view class="coupons1" style="{{mouldConfig.publicitYchildBoxH}}"> | ||||
<view class="coupons1-img" style="{{mouldConfig.publicitYchildH}}"> | <view class="coupons1-img" style="{{mouldConfig.publicitYchildH}}"> | ||||
@@ -10,7 +10,7 @@ | |||||
<!-- 砍价商品 --> | <!-- 砍价商品 --> | ||||
<view class="bargaingoods" style='padding-bottom:120rpx;' wx:if="{{bargaingoods&&lists.length>0}}" hover-class="none" hover-stop-propagation="false"> | <view class="bargaingoods" style='padding-bottom:120rpx;' wx:if="{{bargaingoods&&lists.length>0}}" hover-class="none" hover-stop-propagation="false"> | ||||
<view class="list" hover-class="none" hover-stop-propagation="false"> | <view class="list" hover-class="none" hover-stop-propagation="false"> | ||||
<view class="listitem clearfix" wx:for="{{lists}}" wx:key="{{index}}" hover-stop-propagation="false" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | |||||
<view class="listitem clearfix" wx:for="{{lists}}" wx:key="index" hover-stop-propagation="false" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | |||||
<image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true" binderror="" | <image class="fl" src="{{item.coverImg}}" mode="aspectFill" lazy-load="true" binderror="" | ||||
bindload=""></image> | bindload=""></image> | ||||
<view class="fl ri" hover-class="none" hover-stop-propagation="false"> | <view class="fl ri" hover-class="none" hover-stop-propagation="false"> | ||||
@@ -41,7 +41,7 @@ | |||||
<view class="tit"> | <view class="tit"> | ||||
适用门店 | 适用门店 | ||||
</view> | </view> | ||||
<view wx:for="{{data.merchantVoList}}" wx:key="{{index}}"> | |||||
<view wx:for="{{data.merchantVoList}}" wx:key="index"> | |||||
<view class='posi_logo'> | <view class='posi_logo'> | ||||
<view> | <view> | ||||
<image src='{{item.merchantImgUrl}}'></image> | <image src='{{item.merchantImgUrl}}'></image> | ||||
@@ -1,6 +1,6 @@ | |||||
<navbar back home text="{{barTitle}}" background='#fff'></navbar> | <navbar back home text="{{barTitle}}" background='#fff'></navbar> | ||||
<view wx:if="{{showPage}}" > | |||||
<view style="height:{{navigationBarHeight}} "></view> | |||||
<view wx:if="{{showPage}}"> | |||||
<view style="height:{{navigationBarHeight}} "></view> | |||||
<!-- 券的详情页面 --> | <!-- 券的详情页面 --> | ||||
<view class='coupons'> | <view class='coupons'> | ||||
<view class="coupons-body"> | <view class="coupons-body"> | ||||
@@ -28,7 +28,7 @@ | |||||
<view class='distance' wx:if="{{data.targetAd==2&&data.endTime!=undefined||data.type==10}}"> | <view class='distance' wx:if="{{data.targetAd==2&&data.endTime!=undefined||data.type==10}}"> | ||||
<view style='text-align:center;display:inline-block;'> | <view style='text-align:center;display:inline-block;'> | ||||
<image class='clock' src='{{clockUrl}}' mode='widthFix' wx:if="{{data.type!=10}}"></image> | <image class='clock' src='{{clockUrl}}' mode='widthFix' wx:if="{{data.type!=10}}"></image> | ||||
<image class='clock' src='{{yushouUrl}}' mode='widthFix' wx:if="{{data.type==10}}"></image> | |||||
<image class='clock' src='{{yushouUrl}}' mode='widthFix' wx:if="{{data.type==10}}"></image> | |||||
<text class="qiang" wx:if="{{data.activityStatus!=0}}">距结束 :</text> | <text class="qiang" wx:if="{{data.activityStatus!=0}}">距结束 :</text> | ||||
<text class="qiang" wx:if="{{data.activityStatus==0}}">距开始 :</text> | <text class="qiang" wx:if="{{data.activityStatus==0}}">距开始 :</text> | ||||
</view> | </view> | ||||
@@ -59,7 +59,7 @@ | |||||
<view class="original">{{origPriceStr}}</view> | <view class="original">{{origPriceStr}}</view> | ||||
</view> | </view> | ||||
<view class="earnestTime time" wx:if="{{data.type==10}}"> 预购时间:{{validStartDate}}至{{validEndDate}}</view> | <view class="earnestTime time" wx:if="{{data.type==10}}"> 预购时间:{{validStartDate}}至{{validEndDate}}</view> | ||||
<view class="finalTime time" wx:if="{{data.type==10}}">提货时间:{{pickStartDate}}至{{pickEndDate}}</view> | <view class="finalTime time" wx:if="{{data.type==10}}">提货时间:{{pickStartDate}}至{{pickEndDate}}</view> | ||||
<!-- 预售 --> | <!-- 预售 --> | ||||
@@ -94,7 +94,7 @@ | |||||
<text class='time'>{{validDays}}</text>天内有效 | <text class='time'>{{validDays}}</text>天内有效 | ||||
<text class="use">(请在有效期内使用)</text> | <text class="use">(请在有效期内使用)</text> | ||||
</view> | </view> | ||||
<view class='rest' wx:if="{{data.validType==1&&data.type!=10}}"> | |||||
<view class='rest' wx:if="{{data.validType==1&&data.type!=10}}"> | |||||
<text class='time'>{{validStartDate}}至{{validEndDate}}</text> | <text class='time'>{{validStartDate}}至{{validEndDate}}</text> | ||||
</view> | </view> | ||||
<view class='rest' wx:if="{{data.type==5}}"> | <view class='rest' wx:if="{{data.type==5}}"> | ||||
@@ -120,8 +120,8 @@ | |||||
<store merchantVoList="{{merchantVoList}}" wx:if="{{data.type!=12}}"></store> | <store merchantVoList="{{merchantVoList}}" wx:if="{{data.type!=12}}"></store> | ||||
<!-- 券包子券样式 --> | <!-- 券包子券样式 --> | ||||
<!-- <view class="childText">购买须知</view> --> | <!-- <view class="childText">购买须知</view> --> | ||||
<view class="childBox" > | |||||
<view class="childItem" wx:for="{{data.giftCouponList}}" bindtap="gochild" data-id="{{item.id}}" wx:key = "{{index}}"> | |||||
<view class="childBox"> | |||||
<view class="childItem" wx:for="{{data.giftCouponList}}" bindtap="gochild" data-id="{{item.id}}" wx:key="index"> | |||||
<image class="childImg" mode='widthFix' src="{{item.coverImg}}"></image> | <image class="childImg" mode='widthFix' src="{{item.coverImg}}"></image> | ||||
<view class="childName">{{item.title}}</view> | <view class="childName">{{item.title}}</view> | ||||
<view class="childMoney">¥{{item.priceStr}}</view> | <view class="childMoney">¥{{item.priceStr}}</view> | ||||
@@ -141,10 +141,10 @@ | |||||
</view> | </view> | ||||
<view wx:if="{{couponList.length!=0}}" style="color: #333;letter-spacing: 0;font-size: 30rpx;height: 70rpx;line-height: 70rpx;margin-left: 35rpx;">其他活动</view> | <view wx:if="{{couponList.length!=0}}" style="color: #333;letter-spacing: 0;font-size: 30rpx;height: 70rpx;line-height: 70rpx;margin-left: 35rpx;">其他活动</view> | ||||
<view class='couponsL clearfix'> | <view class='couponsL clearfix'> | ||||
<c-coupons wx:if="{{couponList.length!=0}}" wx:for="{{couponList}}" from="fromMerchant" paramAtoB="{{loading}}" wx:key="unique" data="{{item}}" list="{{couponList}}" /> | |||||
<c-coupons wx:if="{{couponList.length!=0}}" wx:for="{{couponList}}" from="fromMerchant" paramAtoB="{{loading}}" wx:key="unique" data="{{item}}" list="{{couponList}}" /> | |||||
</view> | </view> | ||||
<view class='detailImg' wx:if="{{detailPicture.length>0}}"> | <view class='detailImg' wx:if="{{detailPicture.length>0}}"> | ||||
<image wx:for="{{detailPicture}}" wx:key="{{index}}" wx:for-item="item" src='{{item}}' mode='widthFix'></image> | |||||
<image wx:for="{{detailPicture}}" wx:key="index" wx:for-item="item" src='{{item}}' mode='widthFix'></image> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -156,12 +156,10 @@ | |||||
</button> | </button> | ||||
<button form-type="submit" disabled='{{showbutton}}' hover-class='active' class='buy' wx:if="{{data.type!=11&&data.type!=8&&data.type!=50&&data.type!=51&&data.salePriceStr!=0&&data.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}"> | <button form-type="submit" disabled='{{showbutton}}' hover-class='active' class='buy' wx:if="{{data.type!=11&&data.type!=8&&data.type!=50&&data.type!=51&&data.salePriceStr!=0&&data.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}"> | ||||
<text class='txt'>{{data.salePriceStr}}元</text>马上购买</button> | <text class='txt'>{{data.salePriceStr}}元</text>马上购买</button> | ||||
<button wx:if="{{data.type==11}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" | |||||
data-shippingtype="2" class="home">配送到家 | |||||
</button> | |||||
<button wx:if="{{data.type==11}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" | |||||
data-shippingtype="1" class="arrive">到店购买 | |||||
</button> | |||||
<button wx:if="{{data.type==11}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" data-shippingtype="2" class="home">配送到家 | |||||
</button> | |||||
<button wx:if="{{data.type==11}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" data-shippingtype="1" class="arrive">到店购买 | |||||
</button> | |||||
<button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type!=8&&data.type!=50&&data.type!=51&&data.salePriceStr==0&&data.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}">免费领取</button> | <button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type!=8&&data.type!=50&&data.type!=51&&data.salePriceStr==0&&data.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}">免费领取</button> | ||||
<button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type==51&&data.remainInventory!=0||data.type==50&&data.remainInventory!=0}}">马上兑换</button> | <button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type==51&&data.remainInventory!=0||data.type==50&&data.remainInventory!=0}}">马上兑换</button> | ||||
<button class='buy buyHr' disabled='true' wx:if="{{data.sendType!=3&&(data.remainInventory==0&&endtime!='活动已结束'||data.remainInventory==0&&data.type==8)}}">已售罄</button> | <button class='buy buyHr' disabled='true' wx:if="{{data.sendType!=3&&(data.remainInventory==0&&endtime!='活动已结束'||data.remainInventory==0&&data.type==8)}}">已售罄</button> | ||||
@@ -202,7 +200,7 @@ | |||||
<text class='titles'>{{questionnaire.title}}</text> | <text class='titles'>{{questionnaire.title}}</text> | ||||
<!-- 单选 --> | <!-- 单选 --> | ||||
<radio-group class="radio-group" wx:if="{{questionnaire.flag=='single'}}" data-flags="single" bindchange="formSubmit" data-questionId="{{questionId}}"> | <radio-group class="radio-group" wx:if="{{questionnaire.flag=='single'}}" data-flags="single" bindchange="formSubmit" data-questionId="{{questionId}}"> | ||||
<label class="radios" wx:for="{{questionnaire.answers}}" wx:key="{{index}}"> | |||||
<label class="radios" wx:for="{{questionnaire.answers}}" wx:key="index"> | |||||
<radio value="{{item.id}}" checked="{{item.checked}}" />{{item.name}} | <radio value="{{item.id}}" checked="{{item.checked}}" />{{item.name}} | ||||
</label> | </label> | ||||
</radio-group> | </radio-group> | ||||
@@ -1,6 +1,6 @@ | |||||
<navbar back home text="{{barTitle}}" background='#fff'></navbar> | <navbar back home text="{{barTitle}}" background='#fff'></navbar> | ||||
<view wx:if="{{showPage}}" > | |||||
<view style="height:{{navigationBarHeight}} "></view> | |||||
<view wx:if="{{showPage}}"> | |||||
<view style="height:{{navigationBarHeight}} "></view> | |||||
<!-- 券的详情页面 --> | <!-- 券的详情页面 --> | ||||
<view class='coupons'> | <view class='coupons'> | ||||
<view class="coupons-body"> | <view class="coupons-body"> | ||||
@@ -8,7 +8,7 @@ | |||||
<swiper class="index-slide swiper-box" style="{{mouldConfig.swiperDetailsH}}" bindchange="swiperChange" indicator-dots="true" circular="false" current="{{swiperCurrent}}"> | <swiper class="index-slide swiper-box" style="{{mouldConfig.swiperDetailsH}}" bindchange="swiperChange" indicator-dots="true" circular="false" current="{{swiperCurrent}}"> | ||||
<block wx:for="{{coverPicture}}" wx:key="unique"> | <block wx:for="{{coverPicture}}" wx:key="unique"> | ||||
<swiper-item> | <swiper-item> | ||||
<image data-data="{{item}}" src="{{item}}" class="index-slide-image" style="{{mouldConfig.swiperDetailsH}}"/> | |||||
<image data-data="{{item}}" src="{{item}}" class="index-slide-image" style="{{mouldConfig.swiperDetailsH}}" /> | |||||
</swiper-item> | </swiper-item> | ||||
</block> | </block> | ||||
</swiper> | </swiper> | ||||
@@ -28,7 +28,7 @@ | |||||
<view class='distance' wx:if="{{data.targetAd==2&&data.endTime!=undefined||data.type==10}}"> | <view class='distance' wx:if="{{data.targetAd==2&&data.endTime!=undefined||data.type==10}}"> | ||||
<view style='text-align:center;display:inline-block;'> | <view style='text-align:center;display:inline-block;'> | ||||
<image class='clock' src='{{clockUrl}}' mode='widthFix' wx:if="{{data.type!=10}}"></image> | <image class='clock' src='{{clockUrl}}' mode='widthFix' wx:if="{{data.type!=10}}"></image> | ||||
<image class='clock' src='{{yushouUrl}}' mode='widthFix' wx:if="{{data.type==10}}"></image> | |||||
<image class='clock' src='{{yushouUrl}}' mode='widthFix' wx:if="{{data.type==10}}"></image> | |||||
<text class="qiang" wx:if="{{data.activityStatus!=0}}">距结束 :</text> | <text class="qiang" wx:if="{{data.activityStatus!=0}}">距结束 :</text> | ||||
<text class="qiang" wx:if="{{data.activityStatus==0}}">距开始 :</text> | <text class="qiang" wx:if="{{data.activityStatus==0}}">距开始 :</text> | ||||
</view> | </view> | ||||
@@ -59,7 +59,7 @@ | |||||
<view class="original">{{origPriceStr}}</view> | <view class="original">{{origPriceStr}}</view> | ||||
</view> | </view> | ||||
<view class="earnestTime time" wx:if="{{data.type==10}}"> 预购时间:{{validStartDate}}至{{validEndDate}}</view> | <view class="earnestTime time" wx:if="{{data.type==10}}"> 预购时间:{{validStartDate}}至{{validEndDate}}</view> | ||||
<view class="finalTime time" wx:if="{{data.type==10}}">提货时间:{{pickStartDate}}至{{pickEndDate}}</view> | <view class="finalTime time" wx:if="{{data.type==10}}">提货时间:{{pickStartDate}}至{{pickEndDate}}</view> | ||||
<!-- 预售 --> | <!-- 预售 --> | ||||
@@ -94,7 +94,7 @@ | |||||
<text class='time'>{{validDays}}</text>天内有效 | <text class='time'>{{validDays}}</text>天内有效 | ||||
<text class="use">(请在有效期内使用)</text> | <text class="use">(请在有效期内使用)</text> | ||||
</view> | </view> | ||||
<view class='rest' wx:if="{{data.validType==1&&data.type!=10}}"> | |||||
<view class='rest' wx:if="{{data.validType==1&&data.type!=10}}"> | |||||
<text class='time'>{{validStartDate}}至{{validEndDate}}</text> | <text class='time'>{{validStartDate}}至{{validEndDate}}</text> | ||||
</view> | </view> | ||||
<view class='rest' wx:if="{{data.type==5}}"> | <view class='rest' wx:if="{{data.type==5}}"> | ||||
@@ -120,8 +120,8 @@ | |||||
<store merchantVoList="{{merchantVoList}}" wx:if="{{data.type!=12}}"></store> | <store merchantVoList="{{merchantVoList}}" wx:if="{{data.type!=12}}"></store> | ||||
<!-- 券包子券样式 --> | <!-- 券包子券样式 --> | ||||
<!-- <view class="childText">购买须知</view> --> | <!-- <view class="childText">购买须知</view> --> | ||||
<view class="childBox" > | |||||
<view class="childItem" wx:for="{{data.giftCouponList}}" bindtap="gochild" data-id="{{item.id}}" wx:key = "{{index}}"> | |||||
<view class="childBox"> | |||||
<view class="childItem" wx:for="{{data.giftCouponList}}" bindtap="gochild" data-id="{{item.id}}" wx:key="index"> | |||||
<image class="childImg" mode='aspectFill' src="{{item.coverImg}}"></image> | <image class="childImg" mode='aspectFill' src="{{item.coverImg}}"></image> | ||||
<view class="childName">{{item.title}}</view> | <view class="childName">{{item.title}}</view> | ||||
<view class="childMoney">¥{{item.priceStr}}</view> | <view class="childMoney">¥{{item.priceStr}}</view> | ||||
@@ -141,10 +141,10 @@ | |||||
</view> | </view> | ||||
<view wx:if="{{couponList.length!=0}}" style="color: #333;letter-spacing: 0;font-size: 30rpx;height: 70rpx;line-height: 70rpx;margin-left: 35rpx;">其他活动</view> | <view wx:if="{{couponList.length!=0}}" style="color: #333;letter-spacing: 0;font-size: 30rpx;height: 70rpx;line-height: 70rpx;margin-left: 35rpx;">其他活动</view> | ||||
<view class='couponsL clearfix'> | <view class='couponsL clearfix'> | ||||
<c-coupons wx:if="{{couponList.length!=0}}" wx:for="{{couponList}}" from="fromMerchant" paramAtoB="{{loading}}" wx:key="unique" data="{{item}}" list="{{couponList}}" /> | |||||
<c-coupons wx:if="{{couponList.length!=0}}" wx:for="{{couponList}}" from="fromMerchant" paramAtoB="{{loading}}" wx:key="unique" data="{{item}}" list="{{couponList}}" /> | |||||
</view> | </view> | ||||
<view class='detailImg' wx:if="{{detailPicture.length>0}}"> | <view class='detailImg' wx:if="{{detailPicture.length>0}}"> | ||||
<image wx:for="{{detailPicture}}" wx:key="{{index}}" wx:for-item="item" src='{{item}}' mode='widthFix'></image> | |||||
<image wx:for="{{detailPicture}}" wx:key="index" wx:for-item="item" src='{{item}}' mode='widthFix'></image> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -156,14 +156,12 @@ | |||||
</button> | </button> | ||||
<button form-type="submit" disabled='{{showbutton}}' hover-class='active' class='buy' wx:if="{{data.type!=11&&data.type!=8&&data.type!=50&&data.type!=51&&priceAndStockObj.salePrice/100!=0&&priceAndStockObj.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}"> | <button form-type="submit" disabled='{{showbutton}}' hover-class='active' class='buy' wx:if="{{data.type!=11&&data.type!=8&&data.type!=50&&data.type!=51&&priceAndStockObj.salePrice/100!=0&&priceAndStockObj.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}"> | ||||
<text class='txt'>{{priceAndStockObj.salePrice/100}}元</text>马上购买</button> | <text class='txt'>{{priceAndStockObj.salePrice/100}}元</text>马上购买</button> | ||||
<button wx:if="{{data.type==11&&priceAndStockObj.remainInventory!=0}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" | |||||
data-shippingtype="2" class="home">配送到家 | |||||
</button> | |||||
<button wx:if="{{data.type==11&&priceAndStockObj.remainInventory!=0}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" | |||||
data-shippingtype="1" class="arrive">到店自提 | |||||
</button> | |||||
<button wx:if="{{data.type==11&&priceAndStockObj.remainInventory!=0}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" data-shippingtype="2" class="home">配送到家 | |||||
</button> | |||||
<button wx:if="{{data.type==11&&priceAndStockObj.remainInventory!=0}}" bindtap="gohome" data-couponchannelid="{{couponChannelId}}" data-couponid="{{couponId}}" data-shippingtype="1" class="arrive">到店自提 | |||||
</button> | |||||
<button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type!=8&&data.type!=50&&data.type!=51&&priceAndStockObj.salePrice/100==0&&priceAndStockObj.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}">免费领取</button> | <button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type!=8&&data.type!=50&&data.type!=51&&priceAndStockObj.salePrice/100==0&&priceAndStockObj.remainInventory!=0&&endtime!='活动已结束'&&data.activityStatus!=0}}">免费领取</button> | ||||
<button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type==51&&priceAndStockObj.remainInventory!=0||data.type==50&&priceAndStockObj.remainInventory!=0}}">马上兑换</button> | <button form-type="submit" disabled='{{showbutton}}' class='buy' wx:if="{{data.type==51&&priceAndStockObj.remainInventory!=0||data.type==50&&priceAndStockObj.remainInventory!=0}}">马上兑换</button> | ||||
<button class='buy buyHr' disabled='true' wx:if="{{data.sendType!=3&&(priceAndStockObj.remainInventory==0&&endtime!='活动已结束'||priceAndStockObj.remainInventory==0&&data.type==8)}}">已售罄</button> | <button class='buy buyHr' disabled='true' wx:if="{{data.sendType!=3&&(priceAndStockObj.remainInventory==0&&endtime!='活动已结束'||priceAndStockObj.remainInventory==0&&data.type==8)}}">已售罄</button> | ||||
<button class='buy' disabled='true' wx:if="{{priceAndStockObj.remainInventory==0&&data.type==50||priceAndStockObj.remainInventory==0&&data.type==51}}">已兑完</button> | <button class='buy' disabled='true' wx:if="{{priceAndStockObj.remainInventory==0&&data.type==50||priceAndStockObj.remainInventory==0&&data.type==51}}">已兑完</button> | ||||
@@ -185,8 +183,8 @@ | |||||
<text>立即购买</text> | <text>立即购买</text> | ||||
</button> | </button> | ||||
</form> | </form> | ||||
<form bindsubmit="inviteFriend" report-submit='true' class="fr" > | |||||
<button form-type="submit" class="kanjiaBtn" style='background:{{!showbutton1?"transparent":"#ccc"}};' disabled='{{showbutton1}}'> | |||||
<form bindsubmit="inviteFriend" report-submit='true' class="fr"> | |||||
<button form-type="submit" class="kanjiaBtn" style='background:{{!showbutton1?"transparent":"#ccc"}};' disabled='{{showbutton1}}'> | |||||
发起砍价 | 发起砍价 | ||||
</button> | </button> | ||||
</form> | </form> | ||||
@@ -203,7 +201,7 @@ | |||||
<text class='titles'>{{questionnaire.title}}</text> | <text class='titles'>{{questionnaire.title}}</text> | ||||
<!-- 单选 --> | <!-- 单选 --> | ||||
<radio-group class="radio-group" wx:if="{{questionnaire.flag=='single'}}" data-flags="single" bindchange="formSubmit" data-questionId="{{questionId}}"> | <radio-group class="radio-group" wx:if="{{questionnaire.flag=='single'}}" data-flags="single" bindchange="formSubmit" data-questionId="{{questionId}}"> | ||||
<label class="radios" wx:for="{{questionnaire.answers}}" wx:key="{{index}}"> | |||||
<label class="radios" wx:for="{{questionnaire.answers}}" wx:key="index"> | |||||
<radio value="{{item.id}}" checked="{{item.checked}}" />{{item.name}} | <radio value="{{item.id}}" checked="{{item.checked}}" />{{item.name}} | ||||
</label> | </label> | ||||
</radio-group> | </radio-group> | ||||
@@ -74,7 +74,7 @@ | |||||
<view bindtap='gotoDetail' data-id='{{item.id}}'> | <view bindtap='gotoDetail' data-id='{{item.id}}'> | ||||
<view class='name'>{{item.merchantName}}</view> | <view class='name'>{{item.merchantName}}</view> | ||||
<view class='shopVoList'> | <view class='shopVoList'> | ||||
<view wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="itemName"> | |||||
<view wx:for="{{item.shopVoList}}" wx:key="index" wx:for-item="itemName"> | |||||
<text>{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text> | <text>{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text> | ||||
<text class='douhao' wx:if="{{item.shopVoList.length>1}}">,</text> | <text class='douhao' wx:if="{{item.shopVoList.length>1}}">,</text> | ||||
</view> | </view> | ||||
@@ -9,7 +9,7 @@ | |||||
<view class=''> | <view class=''> | ||||
<text class='title'>成长值明细</text> | <text class='title'>成长值明细</text> | ||||
<view wx:if="{{list.length>0}}"> | <view wx:if="{{list.length>0}}"> | ||||
<view class='content clearfix' wx:for="{{list}}" wx:key="{{index}}"> | |||||
<view class='content clearfix' wx:for="{{list}}" wx:key="index"> | |||||
<view class='le'> | <view class='le'> | ||||
<text wx:if="{{item.scoreType==1}}">每日登录</text> | <text wx:if="{{item.scoreType==1}}">每日登录</text> | ||||
<text wx:if="{{item.scoreType==2}}">消费</text> | <text wx:if="{{item.scoreType==2}}">消费</text> | ||||
@@ -29,7 +29,7 @@ | |||||
</view> | </view> | ||||
<view class='title'>成长值权益</view> | <view class='title'>成长值权益</view> | ||||
<view class='quanyi'> | <view class='quanyi'> | ||||
<view class='part' wx:for="{{levelList}}" wx:key="{{index}}"> | |||||
<view class='part' wx:for="{{levelList}}" wx:key="index"> | |||||
<view class='clearfix'> | <view class='clearfix'> | ||||
<image wx:if="{{index==0}}" class="grade fl" mode='widthFix' src="{{gradeUrl}}"></image> | <image wx:if="{{index==0}}" class="grade fl" mode='widthFix' src="{{gradeUrl}}"></image> | ||||
<image wx:if="{{index==1}}" class="grade fl" mode='widthFix' src="{{grade1Url}}"></image> | <image wx:if="{{index==1}}" class="grade fl" mode='widthFix' src="{{grade1Url}}"></image> | ||||
@@ -36,7 +36,7 @@ | |||||
<text>商户位置:</text> | <text>商户位置:</text> | ||||
</view> | </view> | ||||
<view class='merchants'> | <view class='merchants'> | ||||
<text wx:for="{{shopVoList}}" wx:key="{{index}}" > | |||||
<text wx:for="{{shopVoList}}" wx:key="index" > | |||||
{{item.buildingName}}{{item.floorName}}--{{item.shopNumber}} | {{item.buildingName}}{{item.floorName}}--{{item.shopNumber}} | ||||
</text> | </text> | ||||
</view> | </view> | ||||
@@ -51,7 +51,7 @@ | |||||
<view class='no-data-text'>暂无数据</view> | <view class='no-data-text'>暂无数据</view> | ||||
</view> | </view> | ||||
<view class='content' wx:if='{{lists.length>0}}' > | <view class='content' wx:if='{{lists.length>0}}' > | ||||
<view class='sepll-list' wx:for="{{lists}}" wx:key="{{index}}" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | |||||
<view class='sepll-list' wx:for="{{lists}}" wx:key="index" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | |||||
<view class='spell-left'> | <view class='spell-left'> | ||||
<image src='{{item.coverImg}}' mode="aspectFill"></image> | <image src='{{item.coverImg}}' mode="aspectFill"></image> | ||||
</view> | </view> | ||||
@@ -9,7 +9,7 @@ | |||||
<view class=''> | <view class=''> | ||||
<text class='title'>积分明细</text> | <text class='title'>积分明细</text> | ||||
<view wx:if="{{list.length>0}}"> | <view wx:if="{{list.length>0}}"> | ||||
<view class='content clearfix' wx:for="{{list}}" wx:key="{{index}}"> | |||||
<view class='content clearfix' wx:for="{{list}}" wx:key="index"> | |||||
<view class='le'> | <view class='le'> | ||||
<text>{{item.changePurpose?item.changePurpose:item.creditTypeName}}</text> | <text>{{item.changePurpose?item.changePurpose:item.creditTypeName}}</text> | ||||
<text>{{item.createDate}}</text> | <text>{{item.createDate}}</text> | ||||
@@ -19,7 +19,7 @@ | |||||
</view> | </view> | ||||
<view class='card-content'> | <view class='card-content'> | ||||
<scroll-view scroll-y style="height: 500rpx;" bindscroll="scroll" scroll-into-view="{{toView}}" scroll-top="{{scrollTop}}"> | <scroll-view scroll-y style="height: 500rpx;" bindscroll="scroll" scroll-into-view="{{toView}}" scroll-top="{{scrollTop}}"> | ||||
<view wx:if="{{item.flag}}" class='card-items {{item.flag?"":"opcacity"}}' wx:for="{{cardList}}" wx:key="{{index}}" data-remainingAmount='{{item.remainingAmount/100}}' data-id="{{item.id}}" data-flags="check" bindtap='check'> | |||||
<view wx:if="{{item.flag}}" class='card-items {{item.flag?"":"opcacity"}}' wx:for="{{cardList}}" wx:key="index" data-remainingAmount='{{item.remainingAmount/100}}' data-id="{{item.id}}" data-flags="check" bindtap='check'> | |||||
<view class='card-items-left'> | <view class='card-items-left'> | ||||
<view class='card-items-left-img'> | <view class='card-items-left-img'> | ||||
<image src='{{item.coverImg}}'></image> | <image src='{{item.coverImg}}'></image> | ||||
@@ -33,7 +33,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view wx:if='{{item.remainingAmount/100<inputValue||!item.flag}}' class='card-items {{item.flag?"":"opcacity"}}' wx:for="{{cardList}}" wx:key="{{index}}"> | |||||
<view wx:if='{{item.remainingAmount/100<inputValue||!item.flag}}' class='card-items {{item.flag?"":"opcacity"}}' wx:for="{{cardList}}" wx:key="index"> | |||||
<view class='card-items-left'> | <view class='card-items-left'> | ||||
<view class='card-items-left-img'> | <view class='card-items-left-img'> | ||||
<image src='{{item.coverImg}}'></image> | <image src='{{item.coverImg}}'></image> | ||||
@@ -1,6 +1,6 @@ | |||||
<navbar back home text="我的收货地址" background='#FD832D' color="white"></navbar> | <navbar back home text="我的收货地址" background='#FD832D' color="white"></navbar> | ||||
<view style="height:{{navigationBarHeight}} "></view> | <view style="height:{{navigationBarHeight}} "></view> | ||||
<view class="siteItem" wx:for="{{list}}" wx:key="{{index}}"> | |||||
<view class="siteItem" wx:for="{{list}}" wx:key="index"> | |||||
<view class="siteBox"> | <view class="siteBox"> | ||||
<view class="titleBox"> | <view class="titleBox"> | ||||
@@ -14,7 +14,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='cards clearfix'> | <view class='cards clearfix'> | ||||
<view class='card' wx:for="{{discountMerchantList}}" wx:key="{{index}}" wx:if="{{discountMerchantList.length>0}}"> | |||||
<view class='card' wx:for="{{discountMerchantList}}" wx:key="index" wx:if="{{discountMerchantList.length>0}}"> | |||||
<view class='txt01'> | <view class='txt01'> | ||||
<view class="triangle"> | <view class="triangle"> | ||||
<text><i>></i></text> | <text><i>></i></text> | ||||
@@ -24,7 +24,7 @@ | |||||
<text class='tit'>{{item.merchantName}}</text> | <text class='tit'>{{item.merchantName}}</text> | ||||
<view class='clearfix footer'> | <view class='clearfix footer'> | ||||
<view class='fl' style='margin-top:-30rpx;margin-left:10rpx;'> | <view class='fl' style='margin-top:-30rpx;margin-left:10rpx;'> | ||||
<view class='building' wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="list"> | |||||
<view class='building' wx:for="{{item.shopVoList}}" wx:key="index" wx:for-item="list"> | |||||
{{list.buildingName}}{{list.floorName}} | {{list.buildingName}}{{list.floorName}} | ||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -66,7 +66,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='detailImg' wx:if="{{detailPicture.length>0}}"> | <view class='detailImg' wx:if="{{detailPicture.length>0}}"> | ||||
<image mode='widthFix' wx:for="{{detailPicture}}" wx:key="{{index}}" wx:for-item="item" src='{{item}}'></image> | |||||
<image mode='widthFix' wx:for="{{detailPicture}}" wx:key="index" wx:for-item="item" src='{{item}}'></image> | |||||
</view> | </view> | ||||
<view class='edit'> | <view class='edit'> | ||||
<button class='goback' bindtap='gotoIndex'> | <button class='goback' bindtap='gotoIndex'> | ||||
@@ -120,7 +120,7 @@ | |||||
<text class='titles'>{{questionnaire.title}}</text> | <text class='titles'>{{questionnaire.title}}</text> | ||||
<!-- 单选 --> | <!-- 单选 --> | ||||
<radio-group class="radio-group" wx:if="{{questionnaire.flag=='single'}}" data-flags="single" bindchange="formSubmit" data-questionId="{{questionId}}"> | <radio-group class="radio-group" wx:if="{{questionnaire.flag=='single'}}" data-flags="single" bindchange="formSubmit" data-questionId="{{questionId}}"> | ||||
<label class="radios" wx:for="{{questionnaire.answers}}" wx:key="{{index}}"> | |||||
<label class="radios" wx:for="{{questionnaire.answers}}" wx:key="index"> | |||||
<radio value="{{item.id}}" checked="{{item.checked}}" />{{item.name}} | <radio value="{{item.id}}" checked="{{item.checked}}" />{{item.name}} | ||||
</label> | </label> | ||||
</radio-group> | </radio-group> | ||||
@@ -16,7 +16,7 @@ | |||||
<view class='no-data-text'>暂无数据</view> | <view class='no-data-text'>暂无数据</view> | ||||
</view> | </view> | ||||
<view class='content'> | <view class='content'> | ||||
<view class='sepll-list' wx:if='{{flag=="spellList"}}' wx:for="{{lists}}" wx:key="{{index}}" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | |||||
<view class='sepll-list' wx:if='{{flag=="spellList"}}' wx:for="{{lists}}" wx:key="index" data-couponId='{{item.couponId}}' data-id='{{item.id}}' bindtap='invite'> | |||||
<view class='spell-left' style="{{mouldConfig.imgHomeH}}"> | <view class='spell-left' style="{{mouldConfig.imgHomeH}}"> | ||||
<image src='{{item.coverImg}}' style="{{mouldConfig.imgHomeH}}" mode="aspectFill"></image> | <image src='{{item.coverImg}}' style="{{mouldConfig.imgHomeH}}" mode="aspectFill"></image> | ||||
</view> | </view> | ||||
@@ -37,7 +37,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class='sepll-list' wx:if='{{flag=="myspellList"}}' wx:for="{{lists}}" wx:key="{{index}}" style='position:relative;height:auto;'> | |||||
<view class='sepll-list' wx:if='{{flag=="myspellList"}}' wx:for="{{lists}}" wx:key="index" style='position:relative;height:auto;'> | |||||
<view class='spell-top'> | <view class='spell-top'> | ||||
<view class='spell-top-left' wx:if='{{item.orderStatus!=15&&item.orderStatus!=16&&!(item.orderStatus==13&&item.couponStatus==1)}}'> | <view class='spell-top-left' wx:if='{{item.orderStatus!=15&&item.orderStatus!=16&&!(item.orderStatus==13&&item.couponStatus==1)}}'> | ||||
<view class='top-title' wx:if='{{item.remainPeople!=0}}'>距离成团还差</view> | <view class='top-title' wx:if='{{item.remainPeople!=0}}'>距离成团还差</view> | ||||
@@ -18,7 +18,7 @@ | |||||
<view class='contain clearfix'> | <view class='contain clearfix'> | ||||
<!-- 优惠券 --> | <!-- 优惠券 --> | ||||
<view class='navigator' wx:for="{{data.couponList}}" wx:key="{{index}}" data-couponId='{{item.couponId}}' data-type='{{item.type}}' data-couponChannelId='{{item.id}}' bindtap='gotoDetail'> | |||||
<view class='navigator' wx:for="{{data.couponList}}" wx:key="index" data-couponId='{{item.couponId}}' data-type='{{item.type}}' data-couponChannelId='{{item.id}}' bindtap='gotoDetail'> | |||||
<!-- 首页优惠券列表页面 --> | <!-- 首页优惠券列表页面 --> | ||||
<view class="coupons1" style="{{mouldConfig.specialBox}}"> | <view class="coupons1" style="{{mouldConfig.specialBox}}"> | ||||
<view class="coupons1-img" style="{{mouldConfig.specialImg}}"> | <view class="coupons1-img" style="{{mouldConfig.specialImg}}"> | ||||
@@ -33,7 +33,7 @@ | |||||
}, | }, | ||||
"compileType": "miniprogram", | "compileType": "miniprogram", | ||||
"libVersion": "2.11.2", | "libVersion": "2.11.2", | ||||
"appid": "wxfa116c4a29453fc9", | |||||
"appid": "wxfa336cad86ed598d", | |||||
"projectname": "oldC", | "projectname": "oldC", | ||||
"simulatorType": "wechat", | "simulatorType": "wechat", | ||||
"simulatorPluginLibVersion": {}, | "simulatorPluginLibVersion": {}, | ||||