1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <wxs src='../../pages/wxs/util.wxs' module='filter' />
- <view class="list septal-bottom-line borderRadiu" wx:for="{{activeData}}" wx:key="unique" >
- <view bindtap="goDetails" data-aid="{{item.aid}}" data-title="{{item.title}}">
- <view class="content-pad">
- <view class="listBan">
- <image src="{{filter.formatImg(imgPath, item.logo)}}" mode="aspectFill" lazy-load="true" binderror="binderror" data-aid="{{item.aid}}" data-index="{{index}}"></image>
- <view class="label" wx:if="{{history}}">
- <text class="labelText gray"><text class="icon icon-finish"></text> 往期活动</text>
- </view>
- <view class='label' wx:else>
- <text class="labelText statusDisabled" wx:if="{{item.status == 1}}"><text class="icon icon-finish"></text> 已结束</text>
- <text class="labelText statusAll" wx:elif="{{item.status == 2}}"><text class="icon icon-full"></text> 已满额</text>
- <view wx:elif="{{item.status == 0}}">
- <text class="labelText discountLG" wx:if="{{(item.discount == '早鸟+拼团折扣' || item.discount == '拼团+早鸟折扣') && item.presellOpen == 0}}">拼团+早鸟折扣</text>
- <text class='labelText discountG' wx:elif="{{item.discount == '拼团折扣' && item.presellOpen == 0}}">拼团折扣</text>
- <text class='labelText discountL' wx:elif="{{item.discount == '早鸟折扣' && item.presellOpen == 0}}">早鸟折扣</text>
- <text class='labelText discountG' wx:elif="{{item.presellOpen == 1}}"><text class="icon icon-pressel"></text> 预售中</text>
- </view>
- <text class='labelText statusSoon' wx:elif="{{(item.status == 3 && item.presellOpen == 0) || item.presellOpen == 2}}"><text class="icon icon-soon"></text> 即将开始</text>
- </view>
- <view class="listPos">
- <view class="left">
- <text wx:if="{{item.sparent!=2}}" class="theme">
- <text class="icon {{item.sparent==0?'icon-guarder':'icon-me'}}" style="color: #3E3A39;"></text>{{item.sparent==0?'亲子':'独立'}}营
- </text>
- <text class="icon icon1 icon-time" style="margin-left:20rpx;"></text>{{item.days}}天<text class="icon icon-children icon1" style="margin-left:20rpx;"></text>{{item.ages?item.ages+'岁':'所有'}}
- </view>
- <view class="right">
- <text class="saleCount" wx:if="{{item.saleCount > 10}}">{{item.saleCount}}人参加</text>
- </view>
- </view>
- </view>
- </view>
- <view class="card-bottom">
- <view class="card-bottom-info">
- <view class="titleT">{{item.title}}</view>
- <view class="act-sign font12">
- <text wx:if="{{item.presellOpen == 1}}">预付折扣</text>
- <block wx:if="{{item.discount}}">
- <text wx:for="{{item.discount}}" wx:for-item="el" wx:key="unique" wx:if="{{(el != '早鸟' && el != '早鸟折扣' && item.presellOpen != 0)|| item.presellOpen == 0}}">{{el}}</text>
- </block>
- <text wx:if="{{item.maxUserCoin&&item.maxUserCoin>0}}">宝贝币最高可抵{{item.maxUserCoin/10}}元</text>
- </view>
- <view class="listInfo">
- <block wx:if="{{item.tags.length > 0}}">
- <view class="gray6 font12"><text><block wx:for="{{item.tags}}" wx:for-index="idx" wx:for-item="it" wx:key="unique">{{idx > 0 ? ' | ':''}}{{it.tagValue}}</block></text></view>
- </block>
- <!-- <view class='gray font12'>{{item.sessionsDays || ''}}</view> -->
- </view>
- </view>
- <view class="listTitle">
- <view class="listPrice">
- <view class="{{item.originalPrice?'actualPrice':'noOriginPrice'}}">¥{{item.price}}</view>
- <view class="s" wx:if="{{item.originalPrice}}">¥{{item.originalPrice}}</view>
- </view>
- </view>
- </view>
- </view>
- </view>
|