You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.7 KiB
42 lines
1.7 KiB
<!--pages/index/index.wxml-->
|
|
<view class="content">
|
|
<view class='header'>
|
|
<view class='top-left'>
|
|
<picker class='address' bindchange="bindAddrChange" value="{{addrIndex1}}" range="{{addrArray.name}}">
|
|
<view>
|
|
<text>{{addrArray.name[addrIndex]}}</text>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<image class='title_img' src='{{img1}}' mode='widthFix'></image>
|
|
<view class='top-right'></view>
|
|
</view>
|
|
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
|
|
<block wx:for="{{imgUrls}}" wx:key="imgUrl">
|
|
<swiper-item>
|
|
<image src="{{item.imgUrl}}" class="slide-image" mode='widthFill' />
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
<view class='menu'>
|
|
<view class='list'>
|
|
<view wx:for-items="{{menu_list}}" wx:if="{{index < 4}}" class="view" wx:key="name">
|
|
<button class='{{item.className}}'>{{item.name}}</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:for-items="{{activityList}}" wx:key="goodsNo">
|
|
<view class='activity_list_view' bindtap='loading' data-item='{{item.goodsNo}}'>
|
|
<view class='view'>
|
|
<image src='{{item.showUrl}}' class='image'></image>
|
|
<text class="num">{{item.limitNum}}人团</text>
|
|
</view>
|
|
<text class="p1">{{item.activityName}}</text>
|
|
<view class="p3">
|
|
<view class='p2'>¥</view>{{item.participantPrice / 100}}
|
|
<text class="del">原价:{{item.originalPrice / 100}}</text>
|
|
</view>
|
|
<button class='openBtn' bindtap='openGroup' form-type="submit" data-item='{{item.activityNo}}' >去开团</button>
|
|
</view>
|
|
</view>
|
|
</view>
|