|
|
<!-- 轮播图 -->
|
|
|
<view class="banner">
|
|
|
<swiper class="swiper" autoplay interval="2500" duration="2000" previous-margin="45rpx" next-margin="45rpx" circular bindchange="bindchange">
|
|
|
<swiper-item class="swiper_item" wx:for="{{banner_list}}">
|
|
|
<image class="img {{swiperIdx == index ? 'active' : 'quiet'}}" src="{{item.pic}}" data-key='{{item.route_path+item.key}}' bindtap="banner_nav"></image>
|
|
|
<view class="shadow" />
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
<view class="indicator_dsn">
|
|
|
<view class="dot {{swiperIdx == index ? 'active' : 'quiet'}}" wx:for="{{banner_list}}" />
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- <view class='pageBox'>
|
|
|
<swiper class='swiperClass' autoplay indicator-color="white" indicator-active-color="red" indicator-dots
|
|
|
interval="200000" duration="1000" previous-margin="50px" next-margin="50px" circular bindchange="bindchange">
|
|
|
<block wx:for="{{banner_list}}" wx:key="index">
|
|
|
<swiper-item>
|
|
|
<image src="{{item}}" class="slide-image {{swiperIdx == index ? 'active' : 'quiet'}}"></image>
|
|
|
</swiper-item>
|
|
|
</block>
|
|
|
</swiper>
|
|
|
</view> -->
|
|
|
<!-- 开屏广告 -->
|
|
|
<view class="markinfo" wx:if="{{isActionMarkShow}}" bindtouchstart='buttonStart' catchtouchmove='buttonMove'>
|
|
|
<view class="fiexbox">
|
|
|
<view class="box" bind:tap="onlinkurl" data-id="{{screen_list.id}}" data-link_url="{{screen_list.link_url}}">
|
|
|
<image
|
|
|
src="{{screen_list.img_url}}"
|
|
|
></image>
|
|
|
</view>
|
|
|
<view class="btn" catchtap="cancle_mark" data-id="{{screen_list.id}}">×</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 礼物弹窗 -->
|
|
|
<view class="surprise" bindtap="advertisementMark_show" wx:if="{{isGiftMarkShow}}">
|
|
|
<view class="img"></view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 搜索栏 -->
|
|
|
<view class="search_area">
|
|
|
<view class="cal">
|
|
|
<van-icon name="/images/ui/calendar.png" bind:click="calendar_nav" />
|
|
|
</view>
|
|
|
<view class="_search">
|
|
|
<view class="_search1">
|
|
|
<text bindtap="area_nav">{{city}}</text>
|
|
|
<text style="color:#FF446B;" decode="{{true}}"> | </text>
|
|
|
<!-- <input placeholder="开心麻花" placeholder-style="color: #ACACAC;" bindinput="write_in" bindconfirm="search"
|
|
|
type="text" confirm-type="search" /> -->
|
|
|
<input class="input" placeholder="{{placeholder}}" disabled placeholder-style="color: #ACACAC;" bindinput="write_in" bindtap="search1"
|
|
|
type="text" confirm-type="search" />
|
|
|
</view>
|
|
|
<van-icon size="14" name="/images/ui/search.png" bind:click="search1" />
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 列表 -->
|
|
|
<view class='line'>
|
|
|
<view class='topLine {{swith_area==index?"active":" "}}' wx:for="{{swich_space}}" wx:key='index'
|
|
|
data-index='{{index}}' bindtap='swith_tab'>{{item}}</view>
|
|
|
</view>
|
|
|
<view class="_list">
|
|
|
<view class="_demo" wx:for="{{current_list}}" data-cycle_id="{{item.cycle_id}}" bindtap="show_detail">
|
|
|
<view>
|
|
|
<image src="{{item.show_pic}}" class="list_img" />
|
|
|
|
|
|
<view class="_ln">
|
|
|
<view class="_ln1"><text>{{item.start_date}}-{{item.end_date}}</text>
|
|
|
<van-icon name="/images/ui/low_price.png" size='18' wx:if="{{item.is_discount==1}}" />
|
|
|
</view>
|
|
|
<view class="_ln2"><text>{{item.show_name}}</text></view>
|
|
|
|
|
|
<view class="_ln3">
|
|
|
<view class="_ln4"><text style="font-size: 24rpx;color: #FF1D42;">¥</text><text
|
|
|
style="font-size: 36rpx;font-weight: bold;color: #FF1D42;margin: 0 2rpx;">{{item.lowest_price}}</text><text
|
|
|
style="font-size: 20rpx;color: #7B7B7B;">起</text></view>
|
|
|
<button class="_detail" data-cycle_id="{{item.cycle_id}}" >详情</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="more" wx:if="{{no_more}}">别滑了,已经到底啦~</view> |