82 lines
2.5 KiB
Plaintext

<!--index.wxml-->
<view class="container">
<view class="content-bg"></view>
<view class="content-wrapper">
<view class="top-swiper">
<swiper indicator-dots="{{true}}" indicator-color="#fff" autoplay="{{true}}">
<block wx:for="{{swiperList}}" wx:key="*this">
<swiper-item>
<view class="swiper-item">
<image src="{{item.image}}" />
</view>
</swiper-item>
</block>
</swiper>
</view>
<view class="recommend-wrapper">
<view class="panel">
<view class="panel-title">
<text>精选活动</text>
</view>
<view class="panel-body">
<view class="goods-list goods-list-row">
<view wx:for="{{recommendItems}}" wx:key="id" class="goods-item">
<view class="image">
<image src="{{item.cover}}"></image>
</view>
<view class="title">
<text>{{item.title}}</text>
</view>
<view class="goods-action">
<view class="price">
<text>{{item.price}}积分</text>
</view>
<view class="actions">
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="index-act-1">
<image src="https://file.wx.wm-app.xyz/os/picture/project/uestc/mini-app/18005888-5c529143bfc58.jpg"></image>
</view>
<view class="hot-wrapper">
<view class="hot-title">
<text>热门超值兑换</text>
</view>
<view class="panel">
<view class="panel-body">
<view class="goods-list normal-list">
<view wx:for="{{goodsItems}}" wx:key="id" class="goods-item">
<view class="image">
<image src="{{item.cover}}"></image>
</view>
<view class="goods-info">
<view class="title">
<text>{{item.title}}</text>
</view>
<view class="goods-action">
<view class="price">
<text>{{item.price}}积分</text>
</view>
<view class="actions">
<button data-data="{{item}}" bindtap="createOrder">立即兑换</button>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>