You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
2.0 KiB
Plaintext

9 months ago
<template name="lucky">
<view class="lucky" catchtouchmove="preventTouchMove">
<view class="lucky-hongbao">
<view class="lucky-hongbao-header">
<image src="http://pos.juweiyun.cn/373001/file/wechatAppmemberccc.png"></image>
</view>
<view class="lucky-hongbao-list">
<scroll-view scroll-y class="{{'lucky-hongbao-scroll '+'lucky-hongbao-scroll'+(luckyData.length>2?'n':luckyData.length)}}">
<block wx:if="{{upWindowList.length>0}}">
<view class="lucky-hongbao-item" wx:for="{{upWindowList}}" wx:key="item">
<view class="upWindowItemLeft">
<image src='/images/upwindowbg.png' style='width:530rpx;height:150rpx;'></image>
<image class="lucky-hongbao-icon" src="{{item.logoUrl}}"></image>
</view>
<!-- {{item.logoUrl}} -->
<view class="lucky-hongbao-middle">
<view class="lucky-hongbao-name">{{item.title}}</view>
<view class="lucky-hongbao-rule">{{item.content}}</view>
<view class="lucky-hongbao-time">{{item.time}}</view>
</view>
<view class="lucky-hongbao-right">
<view class="lucky-hongbao-money">
<view class="lucky-hongbao-amount">{{item.cardTypeCn}}</view>
</view>
<form bindsubmit="" reportSubmit="true">
<button class="lucky-hongbao-share has-share2" formType="submit">{{item.quantity}} 张</button>
</form>
</view>
</view>
</block>
</scroll-view>
<form bindsubmit="receiveUpWindow" reportSubmit="true" data-=''>
<button class="lucky-hongbao-share2 has-share" formType="submit">一键领取</button>
</form>
</view>
<form bindsubmit="closeUpWindows" class="lucky-hongbao-close" reportSubmit="true">
<button class="close-btn" formType="submit">
<image src="/components/Lucky/media/close.png"></image>
</button>
</form>
</view>
</view>
</template>